Part Number: F29H85X-SOM-EVM
Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
I'm porting my code, which was developed in bare-metal on a F28374D, to F29H85x using FreeRTOS.
I have 3 tasks:
- MAIN_TASK called by freertos every 1ms
- ZCD_Task notified by the MAIN_TASK every 20ms
UART_DBG_TASKnotified by interrupt-driven notifications from uart rx interrupt.
I also use 3 interrupt:
timer1_INTpriority 40uart0_INTpriority 250EPWM0_ET_INTpriority 30
all interrupts were configured as "INT" (they use the software stack and not the hardware stack): everything works!
Then, I tried to change the EPWM0_ET_INT priority from 30 to 10; RTINT threshold was 20

After a few seconds, the code goes into Interrupt_defaultNMIHandler and freezes. Here are the interrupt and task priorities:
timer1_INTpriority 40uart0_INTpriority 250EPWM0_ET_INTpriority 10timer2_INTpriority 255 (used by FreeRTOS)- FreeRTOS
ZCD_TASKpriority 5 - FreeRTOS
MAIN_TASKpriority 5 - FreeRTOS
UART_DBG_TASKpriority 4"
Any idea or suggestion?
thanks


