Unable to Debug Power management in S32K142

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

Unable to Debug Power management in S32K142

1,156 Views
geoff_roy
Contributor II

Unable to debug UJA116x sample code (S32K142). Please help me with the same. PN: Code used is RTM 4.0.0

0 Kudos
5 Replies

1,152 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Please specify the IDE version and the example that you use.

Can you share some screenshots of the error messages?

 

Thank you,

Daniel

0 Kudos

1,149 Views
geoff_roy
Contributor II

Hi Daniel,

 

SDK version used: S32_SDK_S32K1xx_RTM_4.0.0

Project: sbc_uja116x_s32k142

IDE used both IAR and S32DS for ARM.

However, the code gets stuck in Devassert after calling SBC_DataTransfer() as this fn returns error.

geoff_roy_1-1615467277118.png

 

Regards,

Geoff Aabel Roy.

 

0 Kudos

1,134 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Geoff,

The SBC_DataTransfer() function tests the received data from the SBC and returns SBC_COMM_ERROR if there is an issue.

This could be because, for example, the SCB is not powered - it needs 12V power supply.

Can you scope the SPI bus with a logic analyzer?

 

Thank you,

Daniel

 

0 Kudos

1,111 Views
geoff_roy
Contributor II

Hi Daniel,

We had ported the project into IAR Embedded workbench and connected 12V power supply to flash the hex over IJET debugger. however, we are still facing the same issue in debugging.

Is it related to any watchdog implementation.

Looking forward to your reply.

Regards,

Geoff Aabel Roy.

 

 

0 Kudos

1,100 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Geoff,

As I said, I would scope the SPI bus.

You can restore the factory preset values of the UJA1169 SBC

7.11.2 Restoring factory preset values

https://www.nxp.com/docs/en/data-sheet/UJA1169.pdf

When the factory presets have been restored successfully, a system reset is generated automatically and UJA1169 switches back to Forced Normal mode.

 

Regards,

Daniel

0 Kudos