S32G2 intCtrlConfig undeclared

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

S32G2 intCtrlConfig undeclared

1,309件の閲覧回数
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,224件の閲覧回数
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,274件の閲覧回数
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,271件の閲覧回数
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 件の賞賛
返信