FDCAN fail to run with OTA firmware
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-08-14 5:52 AM
Hi there!
Kindly help me to find the reason for the same?
Regards
Govinda
- Labels:
-
STM32G4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-08-14 11:56 PM
Hello,
Out of curiosity, since it is working with the debugger, have you checked the 5V level on the FDCAN transceiver at the moment you try to send or receive data ? I know that some transceivers have an undervoltage lockout (UVLO) level at around 4.5V, maybe more. Since the microcontroller will start operating at 2.7V (maybe less), it may be the issue.
So use an oscilloscope and probe the 5V as well as CAN_Tx and CAN_Rx.
Or check the bus off flag in the FDCAN peripheral.
Or add a sufficiently long delay at startup before configuring the FDCAN peripheral.
Best regards,
Kraal
