I have configured a CAN with peripheral clock. And the system is running with 16MHZ IRC.
The CAN communication is not seems to be consistent. Most of the time it works but sometime its struct with error ISR of CAN.
Can you give your view on this?
Unfortunately you did not specify the device, so just generally.
There are several requirements coming from the FlexCAN module, in summary…
- A valid CAN bit timing must be programmed, as indicated in RM.
- The peripheral clock frequency can not be smaller than the selected CPI clock frequency.
- There must be a minimum ratio between the peripheral clock frequency and the CAN bit rate, as specified in “Arbitration and Matching Timing” chapter of the RM.
Retrieving data ...