Does the CAN bus driver automatically calculate the CRC and send on the bus or the CRC is required to be calculated separately then append to the CAN frame?
If it is calculated by the driver, is it CRC-8, -16 or -32? and what the order of the data to be calculated i.e. MSB-LSB or LSB-MSB?
Download the CAN HAL layer example project and the guide. All your questions will be answered. A read the CAN wiki as well - it covers basic.
Remember CAN wont work unless it connected to another node…
I should do more research. the answer is all over internet. Based on this diagram, the CRC is part of the CAN controller and It is CRC-16