Hello, sending a 'can' command immediately upon power on will cause a blockage, resulting in the inability to reverse initialize the 'can' command,
tatus_t FLEXCAN_DRV_Deinit(uint8_t instance);
How can I unblock the network and make FLEXCAN_SRV_Seinit work properly,
Sending other instructions with the same baud rate will not result in this situation
Hi @zhouqicheng,
Please share some details from your project. Which device is this? Also, are you using an example or is this your code?
Does FLEXCAN_DRV_Deinit return STATUS_ERROR? Please clarify what is meant by "blocked network".
Best regards,
Julián
Hello, using the official can bootloader program, which is used to jump the app program to exit can, requires CAN_Seinit. If you keep sending the can command, you will be stuck in the/* Wait for entering the freeze mode */function of CAN_Seinit. Other commands will not have this phenomenon
Hello, I noticed that I am unable to enter freeze mode
NOTRDY and FRZACK bits are both zero
After checking the registers, I still haven't entered low-power mode. Is there any other reason why I can't enter freeze mode? Why don't similar commands have this phenomenon
Hi @zhouqicheng,
Please check 55.1.9.1 Freeze mode entry; it describes the steps needed for entering freeze mode:
Best regards,
Julián