S32K322 When i use ml-universa ,after configuring Flexcan, the program runs to undefined_handler.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K322 When i use ml-universa ,after configuring Flexcan, the program runs to undefined_handler.

2,358件の閲覧回数
zyc0211
Contributor II

When i use ml-universa ,after configuring Flexcan, the program runs to undefined_handler.

But when I tried Jlink, even though I configured Flexcan, the program wouldn't enter undefined_handler.

And I stepped into debugging and found that the program encountered an error while executing the initialization interrupt service function. IntCtrl_Ip_Init(&IntCtrlConfig_0 --------> 

if (pIntCtrlCtrlConfig->aIrqConfig[irqIdx].bIrqEnabled)
{
IntCtrl_Ip_EnableIrq(pIntCtrlCtrlConfig->aIrqConfig[irqIdx].eIrqNumber);
}
else
{
IntCtrl_Ip_DisableIrq(pIntCtrlCtrlConfig->aIrqConfig[irqIdx].eIrqNumber);
}

Here is my code and interrupt configuration

zyc0211_0-1709689980690.png

 

zyc0211_1-1709689727524.png

 

0 件の賞賛
返信
7 返答(返信)

2,316件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @zyc0211,

Could you clarify a bit more about the problem? When using Multilink, the IntCtrl_Ip_Init function does not return an error, but when using Jlink it does? 

Could you confirm this happens with an example from the RTD package as well? 

Best regards,
Julián

0 件の賞賛
返信

2,290件の閲覧回数
zyc0211
Contributor II
NO, whin i using multilink the IntCtrl_Ip_Init function will return an error,but when using Jlink it will not return an error.
0 件の賞賛
返信

2,266件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @zyc0211,

Does this issue happen as well with an example? Such as the S32K344 FlexCAN_IP example? 

Best regards,
Julián

0 件の賞賛
返信

2,238件の閲覧回数
zyc0211
Contributor II
@Julián_AragónM
Hi,can u help me? pls
0 件の賞賛
返信

2,182件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @zyc0211

Is there any chance you could share your project or the configuration for it? As this issue is not reproduced in our side.

Best regards,
Julián

0 件の賞賛
返信

2,257件の閲覧回数
zyc0211
Contributor II
sorry, i don not have S32K344. But i am sure the error will happen in IntCtrl_Ip_Init this fuction when i use multilink.Can u help me to solve this problem.
0 件の賞賛
返信

1,872件の閲覧回数
anakha
Contributor III

Hi @zyc0211 ,

Did you solve the issue?

I am experiencing same thing when enabling only FlexCAN error IRQ like below

IntCtrl_Ip_EnableIrq(FlexCAN1_0_IRQn)

0 件の賞賛
返信