S32K3 CAN transceiver problem

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

S32K3 CAN transceiver problem

1,068 Views
Voledi
Contributor II

 Hi NXP team,

Can i ask why there is a difference between calling and not calling setupCanXCVR()
After calling this function, my CAN_TX pin no longer emits Digital signal

Voledi_0-1735553599047.png

Call setupCanXCVR()

Voledi_1-1735553634244.png

 

 

Notcall setupCanXCVR()

Voledi_2-1735553668685.png

Why does this difference result in the function FlexCAN_Ip_Send(INST_FLEXCAN_0, TX_MB_IDX, &tx_info, MSG_ID, (uint8 *)&dummyData); not working properly?

0 Kudos
Reply
5 Replies

1,024 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Voledi

This code is used to configure the TJA1153 CAN transceiver. If the transceiver you are using is not TJA1153, this code is completely unnecessary.

https://www.nxp.com/products/TJA1153

 

0 Kudos
Reply

1,063 Views
quangvuanh
NXP Employee
NXP Employee

Hi @Voledi can you please let me know what hardware and software package you are using?

0 Kudos
Reply

1,034 Views
Voledi
Contributor II

i'm using S32K3X4-Q172 EVB, and the transceiver used is TJA1153. Base on Example S32K344 FlexCAN_Ip TX/RX/EnhanceRXFIFO test S32DS3.4 RTD200 - NXP Community

0 Kudos
Reply

1,008 Views
quangvuanh
NXP Employee
NXP Employee

Hi, this is a known issue of TJA1153 that we have to clear the vanilla configuration of before reconfiguring the device, it requires some time constrains. 

I migrated the example to the latest version of the RTD, with some modifications, please try and let me know if it could resolve your problem.

0 Kudos
Reply

1,031 Views
Voledi
Contributor II
Software: S32DS 3.6 and RTD 5.0.0
0 Kudos
Reply