CAN Communication Issue
2 posters
Page 1 of 1
CAN Communication Issue
Hello Sir,
I tried to run TI F2808 eCAN example code to exercise CAN communication on the dsp. I also use National Instrument's Bus Monitor tool associated with their USB-8473 CAN card to monitor the communication. I set both side to be 125kbps. When I ran the example code, the oscillosope showed data on the bus, however, there were no data shown in the Bus Monitor tool. Do you any clue what could be wrong?
I tried to run TI F2808 eCAN example code to exercise CAN communication on the dsp. I also use National Instrument's Bus Monitor tool associated with their USB-8473 CAN card to monitor the communication. I set both side to be 125kbps. When I ran the example code, the oscillosope showed data on the bus, however, there were no data shown in the Bus Monitor tool. Do you any clue what could be wrong?
lyh8- Posts : 14
Join date : 2008-08-25
Re: CAN Communication Issue
To make CAN communication successfully, you must make right the following three things.
1. Each end of the CAN bus must have a 120 ohm termination resistor.
2. Each node must run at the same baud rate. Use your scope to measure the bit width of the data sent from your target. As your baud rate is 250 kbps, the bit width should be 8 us, because 1/8us = 125 kbps.
3. The sampling point of each node should be similar, for example, all nodes are sampled at 80% point.
Hope that helps.
1. Each end of the CAN bus must have a 120 ohm termination resistor.
2. Each node must run at the same baud rate. Use your scope to measure the bit width of the data sent from your target. As your baud rate is 250 kbps, the bit width should be 8 us, because 1/8us = 125 kbps.
3. The sampling point of each node should be similar, for example, all nodes are sampled at 80% point.
Hope that helps.
lzmind- Posts : 18
Join date : 2008-08-20
Re: CAN Communication Issue
Thank you for your advice. It was true that my target baud rate was not 125 kbps, I had wrong BRP setting that I thought it was. Now the data are shown in Bus Monitor window.
lyh8- Posts : 14
Join date : 2008-08-25
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|