Hi,
I want to use flexCan interrupt, and I debug it with S32 Debug Probe. The flexCan work in loop-back mode.
I set a breakpoint at can data sending function, I find the breakpoint cause a problem that the CPU can not enter recieve IRQ function.
When pause program, IFLAG1 and IMASK1 register BIT1 is '1'. it indicate the interrupt occur,but not execute IRQ function.
Hi @aiweixin
Which MCU and SDK are you using?
Hi VaneB,
chip: S32R45
S32DS version: 3.4
RTD version: S32 RTD AUTOSAR 4.4 Version 4.0.0
project: FlexCAN_Ip_Example_S32R45_M7
The FlexCan Project demo use polling to recieve data, i have modified it to use FlexCan receive interrupt.
When set a breakpoint at FlexCAN_Ip_Send() function, this problem occur; when no breakpoint, no problem.