Part Number: TMS320F28379D
hii there
i am facing a issues in CAN message transmit and receive
so i am able to receive the message from board but i am unable to transmit the CAN command to the board can you give some solution to these problem
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.
Part Number: TMS320F28379D
hii there
i am facing a issues in CAN message transmit and receive
so i am able to receive the message from board but i am unable to transmit the CAN command to the board can you give some solution to these problem
Vishanth,
The fact that you are able to receive successfully indicates that there are no H/W issues. Please download my Application report http://www.ti.com/lit/SPRACE5. and look at the Debug tips provided. Most CAN issues can be resolved by going through this checklist.
I want to Kown more about the CAN error handling and CAN error frame can you suggest any of the document or any source of information which help to get more understanding of these topics
thankyou
Vishanth,
In a properly designed/configured network, communication errors should be rare. Common reasons for errors are
(i) Loose oscillator tolerance
(ii) Improper sampling-point selection
(iii) Mismatched bit-rates between nodes. This can happen, among other things, due to loose oscillator tolerance
(iv) Electrical noise. If the noise is transient, the bus should recover on its own once the disturbances vanish. That is how the protocol is designed.
Bus-off is a severe error condition. You should investigate the root-cause of the errors (leading to bus-off) during communication.
The TRM chapter explains the CAN protocol implementation in the MCU. i.e. it explains the functions of the various registers/bits. However, it does not explain the protocol itself. For protocol information, refer to these excellent videos:
https://training.ti.com/automotive-can-overview
There are plenty of online resources that explain error-handling in CAN. Many books also deal with this topic extensively. Here is a list of available CAN books: