2017-01-05 04:32 AM
Hello,
I am new to CAN and I was trying to understand how the HAL CAN APIs work. Based on my understanding of CAN 2.0 standard each data frame should have CRC field.
How is this handled in bxCAN? Am I misunderstanding something?
Can anyone guide me on how to go about this?
Note: I was able to run the example STM32Cube/HAL CAN code for the L4 Eval board and send some messages between the two.
Thanks for your help!
2017-01-05 07:14 AM
The peripheral generates the complete frames, including the CRC and EOF
The Reference Manual should cover the frame format and peripheral registers.
From the programming perspective you need to supply the ID, flags, length and payload data.