S32G2 intCtrlConfig undeclared

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

S32G2 intCtrlConfig undeclared

844 Views
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 Kudos
Reply
3 Replies

759 Views
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 Kudos
Reply

809 Views
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 Kudos
Reply

806 Views
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 Kudos
Reply