S32G2 intCtrlConfig undeclared

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

S32G2 intCtrlConfig undeclared

1,308 次查看
viswa_kondapall
Contributor IV

Hi ,

We are using NXP CAN2CAN project. initially it is working fine but once we added few GPIO's and UART and Intrctrl module then this error is occured.

//-------------------------

Building file: ../generate/IntCtrl_Ip/IntCtrl_Ip_Cfg.c
../generate/src/Platform_Ipw_Cfg.c:101:6: error: 'intCtrlConfig' undeclared here (not in a function); did you mean 'IntCtrlConfig_0'?
101 | &intCtrlConfig,
| ^~~~~~~~~~~~~
| IntCtrlConfig_0
Building file: ../board/Siul2_Port_Ip_Cfg.c

//---------------------------------------------

Once replaced intCtrlConfig with IntCtrlConfig_0 then it is working. Why is this error is coming. 

With this GPIO's and Uart1 is not working  We enabled in GPIO in intrctrl for interrupt and uart1 irq handled also given in the list. but not working. for this error occurred then GPIO are not working and UART also not working.  These are software changes after this array difference nothing working.

Regads,

Viswa 

0 项奖励
回复
3 回复数

1,223 次查看
nxf92355
NXP Employee
NXP Employee

Hi Viswanath

I have added Intrctrl component in same example and compiled to regenerate issue. i am not getting such error. can you please tell steps or way you used to add modules in example. so that i can reproduce the issue.

 

Regards ,

Tushar

0 项奖励
回复

1,273 次查看
nxf92355
NXP Employee
NXP Employee

Hi Viswanath

hope you are doing well.

 

Are you using Can_Llce_DS_Can2Can_S32G274A_M7  example project ?

can you tell us which gpio and uart you added ?

and also tells which vertion of RTD and S32DS you are using?

 

Thanks & Regards

Tushar

0 项奖励
回复

1,270 次查看
viswa_kondapall
Contributor IV

Hi,

Are you using Can_Llce_DS_Can2Can_S32G274A_M7  example project ?

Yes.

can you tell us which gpio and uart you added ?

UART1 port  -RXD- PB_00 ,TXD- PA_13

and also tells which vertion of RTD and S32DS you are using?

RTD-4.4.3.0.2.

Regards,

Viswanath K

0 项奖励
回复