unable to enter interrupt with S32 Debug Probe

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

unable to enter interrupt with S32 Debug Probe

556 Views
aiweixin
Contributor IV

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.

aiweixin_0-1671183687233.png

 

Labels (1)
0 Kudos
2 Replies

539 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @aiweixin 

Which MCU and SDK are you using?

0 Kudos

533 Views
aiweixin
Contributor IV

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.

0 Kudos