This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I´m using the Launchxl2-570LC43 with FreeRTOS and want to configure a RTI- Timer during runtime, after the FreeRTOS-Scheduler has started.
When I initialize a second RTI Compare in the prvSetupTimerInterrupt(void) in os_port.c everything works fine. But I need to start/stop the timer as well as configure the comparevalue during runtime.
Whenever I try to write the "RTISETINTENA" or "Count0_Comp1"- Registers after calling vTaskStartScheduler(), i receive a "dataEntry" -Interrupt while Debugging.
How can I configure the RTI while the FreeRTOS-Scheduler is running?
Thanks and Regards,
Chris
Hi,
Thank you very much for your reply. The FreeRTOS Software timer didn´t solve my problem.
My Problem was the understanding of different operation modes in the ARM-Architecture in combination with the MPU. So I can´t simply get access to certain registers in user mode. Using the "portPRIVILEGE_BIT"-Setting in the xTaskCreate to give a Task privileged rights solved my issue. Now im able to start a 2. Timer using the Compare1 during runtime.
Best regards,
Chris