Hello,
My customer is running FreeRTOS on their TMS470MF03107 and is using a FreeRTOS port for MCUs based on the ARM M3, This FreeRTOS port disables interrupts by writing to the M3 BASEPRI register to raise the CPU priority above peripheral interrupt priorities (by writing a lower priority value). Yet the following statement is made on page 283 of the TMS470M's TRM -
'Note: It is not recommended to modify the NVIC BASEPRI or PRIMASK registers during normal operation. Modifying these registers may result in loss of M3VIM - NVIC synchronization and unpredictable system behavior.'
Given the fact that they're just using writes to the BASEPRI register to adjust CPU priority, will they also see this nuances in system behavior and do you have any sense (besides the loss of synchronization) for how the behavior might manifest itself?
Our question after that would be, are you familiar with any other customers who are also running FreeRTOS on TMS470M series MCUs and if so, what strategy are they using to mask interrupts besides needing to modify the BASEPRI register?
Any feedback you can provide is deeply appreciated.
Thanks so much for your time,
-Amanda