problem between FS85 and S32k in programming process

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

problem between FS85 and S32k in programming process

297 Views
Luis_HW_26
Contributor I

Hi all,

I've designed a board with a uC s32k and a FS8510A SBC to get safety characteristics. The idea is to power supply the SBC with external 12V and use the output LDO2 (5V) of the SBC to power supply the uC. Also, I have the option to power up the microcontroller externally with 5V.

When I power supply the uC externally, I don't have any problem for programming it and after that, connect the uC to the SBC for configuring the WDG and OPT options using SPI communication. all works correctly.

However, if I power supply from the SBC and I try to program a new code in the microcontroller, the SBC cut off the output voltage and the uC is bricked. I think this problem ocurrs because the WDG is not present during the programming process and the SBC doesn't detect it. I've tried to enter the SBC in debug mode with the aim to avoid the restart of the SBC for the WDG, but in debug mode, the SBC cuts off the LDO output also.

So, my question is: Are there any option for the SBC maintain the LDO output during the debug mode in order to power supply from the SBC in the programming process and not need an external power supply for the uC.

Thanks in Advance!!

Labels (3)
0 Kudos
Reply
1 Reply

275 Views
RafaR
NXP Employee
NXP Employee

Hello Luis_HW_26

Good day!

No, unfortunately the FS85 cannot keep the LDO output active during debugging.

But to perform your test, you can disable watchdogs in the INIT_FS phase.

Here's an example a colleague did in the past:

https://community.nxp.com/t5/Power-Management/Disable-FS85-watchdog-in-normal-mode-for-in-vehicle-pr...

I hope this information has helped you, please let me know if you need help with anything else.

Have a great day and best of luck.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2340407%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eproblem%20between%20FS85%20and%20S32k%20in%20programming%20process%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2340407%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3EI've%20designed%20a%20board%20with%20a%20uC%20s32k%20and%20a%20FS8510A%20SBC%20to%20get%20safety%20characteristics.%20The%20idea%20is%20to%20power%20supply%20the%20SBC%20with%20external%2012V%20and%20use%20the%20output%20LDO2%20(5V)%20of%20the%20SBC%20to%20power%20supply%20the%20uC.%20Also%2C%26nbsp%3BI%20have%20the%20option%20to%20power%20up%20the%20microcontroller%20externally%20with%205V.%3C%2FP%3E%3CP%3EWhen%20I%20power%20supply%20the%20uC%20externally%2C%20I%20don't%20have%20any%20problem%20for%20programming%20it%20and%20after%20that%2C%20connect%20the%20uC%20to%20the%20SBC%20for%20configuring%20the%20WDG%20and%20OPT%20options%20using%20SPI%20communication.%20all%20works%20correctly.%3C%2FP%3E%3CP%3EHowever%2C%20if%20I%20power%20supply%20from%20the%20SBC%20and%20I%20try%20to%20program%20a%20new%20code%20in%20the%20microcontroller%2C%20the%20SBC%20cut%20off%20the%20output%20voltage%20and%20the%20uC%20is%20bricked.%20I%20think%20this%20problem%20ocurrs%20because%20the%20WDG%20is%20not%20present%20during%20the%20programming%20process%20and%20the%20SBC%20doesn't%20detect%20it.%20I've%20tried%20to%20enter%20the%20SBC%20in%20debug%20mode%20with%20the%20aim%20to%20avoid%20the%20restart%20of%20the%20SBC%20for%20the%20WDG%2C%20but%20in%20debug%20mode%2C%20the%20SBC%20cuts%20off%20the%20LDO%20output%20also.%3C%2FP%3E%3CP%3ESo%2C%20my%20question%20is%3A%20Are%20there%20any%20option%20for%20the%20SBC%20maintain%20the%20LDO%20output%20during%20the%20debug%20mode%20in%20order%20to%20power%20supply%20from%20the%20SBC%20in%20the%20programming%20process%20and%20not%20need%20an%20external%20power%20supply%20for%20the%20uC.%3C%2FP%3E%3CP%3EThanks%20in%20Advance!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2340407%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EFS85%26amp%3BFS84%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFunctional%20Safety%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPower%20solution%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2340624%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20problem%20between%20FS85%20and%20S32k%20in%20programming%20process%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2340624%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Luis_HW_26%3C%2FP%3E%0A%3CP%3EGood%20day!%3C%2FP%3E%0A%3CP%3ENo%2C%20unfortunately%20the%20FS85%20cannot%20keep%20the%20LDO%20output%20active%20during%20debugging.%3C%2FP%3E%0A%3CP%3EBut%20to%20perform%20your%20test%2C%20you%20can%20disable%20watchdogs%20in%20the%20INIT_FS%20phase.%3C%2FP%3E%0A%3CP%3EHere's%20an%20example%20a%20colleague%20did%20in%20the%20past%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FPower-Management%2FDisable-FS85-watchdog-in-normal-mode-for-in-vehicle-programming%2Fm-p%2F1832370%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FPower-Management%2FDisable-FS85-watchdog-in-normal-mode-for-in-vehicle-programming%2Fm-p%2F1832370%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EI%20hope%20this%20information%20has%20helped%20you%2C%20please%20let%20me%20know%20if%20you%20need%20help%20with%20anything%20else.%3C%2FP%3E%0A%3CP%3EHave%20a%20great%20day%20and%20best%20of%20luck.%3C%2FP%3E%3C%2FLINGO-BODY%3E