Part Number: TMS320F28386D
Other Parts Discussed in Thread: MG2, C2000WARE
Tool/software:
I'm developing a control loop system and facing a priority issue with interrupts. My setup is as follows:
1. The control loop ISR (triggered by ADC) should have the highest priority.
2. Other tasks are managed using FreeRTOS.
3. It is running in the c28x core.
Problem:
I've noticed that the control loop ISR is experiencing a delay of approximately 1.8us each 1ms, coinciding with the FreeRTOS timer ISR trigger.
Current Considerations are:
- Removing FreeRTOS and implementing a custom solution.
- Exploring ways to optimize within the FreeRTOS framework
Questions:
1. How can I ensure that the control loop ISR maintains the highest priority without being interrupted by FreeRTOS?
2. Is it possible to enable nesting of the FreeRTOS timer ISR to minimize its impact on the control loop?
3. Are there any FreeRTOS configurations or best practices to address this kind of timing-sensitive scenario?
I'd greatly appreciate any insights, suggestions, or alternative approaches to resolve this issue while maintaining the benefits of using FreeRTOS.
Thanks in Advance
Kind Regards
Agustin J. Gomez