I am trying to trigger a Timer interrupt in a very high speed few thousand times to read an adc whenever I start the pwm signal. I am running an RTOS with 3 different tasks and want that during runtime I'll be able to send a request to start a pwm signal and enable timer interrupts to start also. However, whenever I do this, the RTOS tasks start to act weird and start to run continously when the task should run each 10 seconds. What I guess is that there is some kind of out of sync that happens or something that triggers the tasks to run the whole time? What could have happened?
Question
hdx
Hi,
I am trying to trigger a Timer interrupt in a very high speed few thousand times to read an adc whenever I start the pwm signal. I am running an RTOS with 3 different tasks and want that during runtime I'll be able to send a request to start a pwm signal and enable timer interrupts to start also. However, whenever I do this, the RTOS tasks start to act weird and start to run continously when the task should run each 10 seconds. What I guess is that there is some kind of out of sync that happens or something that triggers the tasks to run the whole time? What could have happened?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.