FLEXCAN_SRV_Seinit

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FLEXCAN_SRV_Seinit

401 Views
zhouqicheng
Contributor I

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

0 Kudos
Reply
4 Replies

378 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

359 Views
zhouqicheng
Contributor I

zhouqicheng_0-1722495752401.png

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

0 Kudos
Reply

353 Views
zhouqicheng
Contributor I

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           

zhouqicheng_0-1722503675257.png

 

0 Kudos
Reply

304 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @zhouqicheng,

Please check 55.1.9.1 Freeze mode entry; it describes the steps needed for entering freeze mode:

Julin_AragnM_0-1722890532297.png

Best regards,
Julián

 

0 Kudos
Reply