Re: s32k312 Software reset time

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

Re: s32k312 Software reset time

Jump to solution
255 Views
sensen_1
Contributor I
hi,julian:
Sorry, I made a mistake. I used block0 as the boot program area and block1 as the app program area. From the upper computer giving the boot program reset command, to the boot reset and jumping to the app for UDS response, the upper computer gave 0.2 seconds, but the normal response takes about 0.45 seconds after the reset command.
0 Kudos
Reply
1 Solution
245 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @sensen_1,

I imagine you mean 2ms and 4.5ms for the response after a reset, correct?

You could try skipping most initialization until after you respond to the UDS. For example, check for a functional reset with Power_Ip_GetResetReason() API. After this, don’t switch to FXOSC/PLL until after the first UDS reply. FIRC is available quickly by default; FXOSC stabilization and PLL lock could cause additional overhead when initializing.

You can also try sending an NRC 0x78 (ResponsePending) command before issuing the reset to buy some time to respond to upper computer.

Best regards,
Julián

View solution in original post

0 Kudos
Reply
1 Reply
246 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @sensen_1,

I imagine you mean 2ms and 4.5ms for the response after a reset, correct?

You could try skipping most initialization until after you respond to the UDS. For example, check for a functional reset with Power_Ip_GetResetReason() API. After this, don’t switch to FXOSC/PLL until after the first UDS reply. FIRC is available quickly by default; FXOSC stabilization and PLL lock could cause additional overhead when initializing.

You can also try sending an NRC 0x78 (ResponsePending) command before issuing the reset to buy some time to respond to upper computer.

Best regards,
Julián

0 Kudos
Reply