MPC5748G-GW-RDB CAN communication with Vector CANoe not working using default sample code

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

MPC5748G-GW-RDB CAN communication with Vector CANoe not working using default sample code

1,786 Views
hims8111
Contributor II

Hi All,

I am facing issue in CAN/flexCAN communication between MPC5748G-GW board and Vector CANoe. I have referred many posts on this stating sample code for MPC5748G DEVKIT but not sure about MPC5748G-GW board. I also verified bit timing setting on both as described below but still no luck. If someone can share test example covering successful CAN communication between Vector CANoe and MPC5748G-GW board would be highly appreciated.

MPC5748G- Bit time setting in Component Inspector Window:

Clock source : PE Clock (40MHz), Arb Bit Rate :500Kbps, Sampling Point : 62.5%, PropSeg=0, PhaseSeg1=7, PhaseSeg2=5, Pre-scaler=4, SJW=2

CANoe side-Bit time setting in Hardware setting window:

Clock source=80MHz, Arb Bit Rate :500Kbps, Sampling Point : 62.5%, TSeg1=4, Tseg2=3, Pre-scaler=20, SJW=2

Thanks

 

 

 

Tags (1)
0 Kudos
Reply
2 Replies

1,772 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

on this board you need to enable peripheral power supply setting PD12 high. Also if using TJA1043 transceivers enable it too. You can refer to MPC5748G-GW-RDB_ExampleCodes-UserGuide.pdf which is part of 3) MPC5748G-GW-RDB Quick Start Package.

BR, Petr

1,769 Views
hims8111
Contributor II

Hi PetrS,

Thanks I was already following the QSG document. I thought its bit time setting issue but I misinterpreted CAN channel numbering from cable schematics. According to CAN harness schematic VIEW A, P1-P2 (CAN 0) is starting from extreme right from front side. However, I misinterpreted from back side. I confirmed the CAN communication, its working now.  

0 Kudos
Reply