This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SN65HVD230 data transfer issue

Other Parts Discussed in Thread: TMS320F28035, SN65HVD230, SN65HVD231, SN65HVD232

While doing the CAN communication between TMS320F28035 and Arduino or Peak CAN analyzer at

1 Mbps, the data transfer was happening for all data’s and all CAN Ids in standard mode.

But once the Baud rate was changed to 500Kbps, the data transfer was happening only when there was NO STUFF BIT requirements (Data’s like 0xAAAAAAAA, 0x55555555). For other data where stuff bit requirement is there, more the errors were coming in Peak CAN saying stuff error, form error, other error, etc. which was not there when the baud rate was 1Mbps.

 I have attached CAN test results.

CAN transceiver used are: -

1. SN65HVD230

2. SN65HVD231

3. SN65HVD232

 

Interesting thing was between two TMS320F28035, the CAN communication happened properly at 500Kpbs.

regards,

syedCAN_TEST_RESULTS.xlsx

  • Hello Syed,

    This sounds like an issue in the data link layer (software) rather than the physical layer (CAN transceiver and connections), especially since you say 500kbps transmission works between two TMS320F28035. I would suggest posting this question in the MCU forum where they can assist with coding related issues and interfacing the TMS320F28035 with other types of hardware. My guess is that the Arduino and Peak CAN analyzer behave differently in response to requirements like stuff bits. It may have something to do with how the CAN controllers in those devices sample the CAN bus (this can sometimes be adjusted in software). 

    You can access the C2000 MCU forum here: https://e2e.ti.com/support/microcontrollers/c2000/

    Best Regards,
    Casey  

  • Thanks Casey.