S32K118 Power Cycle(on -> Down -> on) Application Not a work

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

S32K118 Power Cycle(on -> Down -> on) Application Not a work

1,113 Views
Juns
Contributor I


hello, everyone

 

I am currently working on S32K118 application practice. After completing all tasks, I debugged the program using the P&E debugger. However, after disconnecting the debugger cable and performing a power-off and power-on sequence, the client I developed, which was functioning correctly before the power-off, does not respond at all after powering it back on.

I suspect this might be a clock issue, and I have properly assigned values to the board's SOSC. Could you also check if the following part might be the issue?

Juns_0-1737443611174.png

 

Let me know if you'd like to make further refinements!

 

 

I'm using S32DS v3.5

Gcc 6.3

SDK 4.0.1

 

0 Kudos
Reply
6 Replies

1,076 Views
Juns
Contributor I

Juns_0-1737501075163.png

 

0 Kudos
Reply

1,040 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Juns,

You just mentioned like 4 different issues.

Initially, you could build it, but the MCU did not work after POR.

As I said, it is either in system reset or stuck somewhere in the code, you need to test it.

 

And now, you can't even build it.

The SDK verision is supported officially in S32DS 3.4.

danielmartynek_0-1737534622810.png

 

Regards,

Daniel

0 Kudos
Reply

1,093 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Juns.,

After the Power-on reset, the MCU can be either in a periodic reset or stuck somewhere in the code.

Can you scope the rest_b pin (PTA5)?

If the pin is not toggling, attach the debugger back to the MCU (without reset) and halt the execution, you should see where it is stuck.

danielmartynek_0-1737472409908.png

 

 

Regards,

Daniel

 

0 Kudos
Reply

1,074 Views
Juns
Contributor I
And just like before, when I build for the first time, it says it can’t find the ‘Clock.manager.h(?)’ header file
0 Kudos
Reply

1,079 Views
Juns
Contributor I
And when I first launch S32DS 3.5 IDE, it shows a message saying it can’t link the SBC UJA chip. Could this also be causing the issue?
0 Kudos
Reply

1,080 Views
Juns
Contributor I
I suspect it(PTA5 Pin) might not work. I followed the method you suggested, but the same issue still occurs. Could it be due to compatibility issues with Windows 11 for version 4.0.0, or possibly because S32DS 3.5 isn’t compatible with version 4.0.0 of the SDK, causing this problem?
0 Kudos
Reply