Reputation: 586
I am using can-bus on the stm32f3 and transmitter. I send and receive data over a 1Mb/s can-bus line populated with 2 devices.
I analysed the line with an oscilloscope and detected no problem. But how can I make sure each data sent is received ?
Upvotes: 0
Views: 1216
Reputation: 416
If you observed via the oscilloscope that messages were being transmitted then if you want to be sure that all your data is being transmitted, you should handle the bus errors. If there is no error, everything is being transmitted.
For more information on CAN Bus Error Handling, see here
Upvotes: 2
Reputation: 125
you may define a counter (1,2,3 ..) and check the arrival of all number on the other side.
Upvotes: 0