unable to enter interrupt with S32 Debug Probe

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

unable to enter interrupt with S32 Debug Probe

805 次查看
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

 

标签 (1)
0 项奖励
回复
2 回复数

788 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @aiweixin 

Which MCU and SDK are you using?

0 项奖励
回复

782 次查看
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 项奖励
回复