Dear NXP,
I'm trying to establish CAN communication between an S32K312-Q172 EVB and a Arduino (Arduino Uno + MCP 2515 CAN) using the MBDT.
I'using the CAN transmit exemple, and I've reffered to configure my Matlab model and the TJA1153 :
But the MCU isn't sending anything.
I can see on freemaster that the status level of the can_write block is 2 and the red LED is on.
The status level of the TJ1153_Init block is 2.
Please give me some advice and help。
Thanks !
已解决! 转到解答。
Hello @SuperBeginner
If you are using the S32K312-EVB, please check its schematics and the transceiver soldered on the board. As far as I know, the S32K312-EVB (as stated on the following link - Block Diagram) uses TJA1043 instead of TJA1153
For testing the CAN communication on the S32K312-EVB, I would recommend you the following steps:
1. Open the s32k3xx_can_transmit_ebt example delivered with the toolbox
2. Change its Hardware Part for S32K312-Q172 from the model's Configuration Parameters3. 3. Click on the TJA1043. This will enable the TJA1043 transceiver initialization, instead of the TJA1153.
4. Build the model and check (e.g using a CAN Analyzer) if the model is able to send messages on the CAN bus.
Could you please try the steps above and let us know if they provide the expected results?
Thank you,
Irina
Hello @SuperBeginner
If you are using the S32K312-EVB, please check its schematics and the transceiver soldered on the board. As far as I know, the S32K312-EVB (as stated on the following link - Block Diagram) uses TJA1043 instead of TJA1153
For testing the CAN communication on the S32K312-EVB, I would recommend you the following steps:
1. Open the s32k3xx_can_transmit_ebt example delivered with the toolbox
2. Change its Hardware Part for S32K312-Q172 from the model's Configuration Parameters3. 3. Click on the TJA1043. This will enable the TJA1043 transceiver initialization, instead of the TJA1153.
4. Build the model and check (e.g using a CAN Analyzer) if the model is able to send messages on the CAN bus.
Could you please try the steps above and let us know if they provide the expected results?
Thank you,
Irina