Using S32K146EVB with TJA1128EVB: D1 blinking

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

Using S32K146EVB with TJA1128EVB: D1 blinking

Jump to solution
1,156 Views
janSiroky
Contributor II

Hi.

While using S32K146EVB with TJA1128EVB, D1 is blinking. Where could i find a key what does it mean and why.

interconnections with my board:

I supply both EVB by 12V, use JTAG programator and Vector analyzer on LIN I/O.

The led is blinking even if i supply only S32K146EVB by usb.

Thanks

Jan

0 Kudos
1 Solution
1,129 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Jan,

This is the TJA1128 reset, probably driven by the TJA1128 WDOG.

danielmartynek_0-1622628863165.png

You can restore factory state of the SBC (Config mode) where the WDOG is disabled.

danielmartynek_1-1622628960198.png

And you can use the watchdog software development mode.

danielmartynek_2-1622629151608.png

 

Regards,
Daniel

 

View solution in original post

0 Kudos
6 Replies
1,134 Views
janSiroky
Contributor II

* Periodical reseting

Caused by signal GPO on TJA1128EVB (J3-3). I did not manage to find out what is the reason so as a workaround i disconnected this pin from S32K146EVB and no more reseting happens for now.

UsageFault_Handler

Sources of this error described here: https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447

in my case:

- seting GPIO function mux without initialize the GPIO clock before

- setting UART interrupts in S32_NVIC withou initialize the uart before

1,130 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Jan,

This is the TJA1128 reset, probably driven by the TJA1128 WDOG.

danielmartynek_0-1622628863165.png

You can restore factory state of the SBC (Config mode) where the WDOG is disabled.

danielmartynek_1-1622628960198.png

And you can use the watchdog software development mode.

danielmartynek_2-1622629151608.png

 

Regards,
Daniel

 

0 Kudos
1,124 Views
janSiroky
Contributor II

Thank you.

I missread the TJA1128EVB schematic. The J3-3 pin is not GPO signal but reset as you said.

Jan

0 Kudos
1,140 Views
janSiroky
Contributor II

Additional info..

When i launch my app in debugmode in S32SD and connect TJA1128EVB, the debugger stops the app on a breakpoint trap called UsageFault_Handler() and the reseting starts.

0 Kudos
1,145 Views
janSiroky
Contributor II

Hi Daniel!

Thanks for your answer.

The period of the reset is 5-6Hz approx. Unfortunately i dont have acces to osciloscope now.

I can reprogram MCU

I have never been working with the CAN transceiver so i supose it is in factory state.

The reseting hapens only if i connect the TJA1128EVB.

Jumper J104 is on 2-3 position because i dont use openSDA, i use j-link segger programer. But anyway, the reseting happens in all jumper settings.

Do you have any additional hint please?

 

Thx a lot

Jan

0 Kudos
1,148 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The D1 LED indicates the reset signal is driven LOW by either the S32K146 MCU, SBC, SW5 or the OpenSDA on-board debugger.

Please refer to the S32K146 EVB schematic.

It can be found at the link below under

Design Resources
Design Tools & Files
Printed Circuit Boards and Schematics

https://www.nxp.com/design/development-boards/automotive-development-platforms/s32k-mcu-platforms/s3...

What is the period of the reset?

Can you reprogram the S32K146 MCU?

Have you been working with the SBC (UJA1169) or it is in the factory state (forced normal mode, watchdog disabled)?

 

Regards,
Daniel

 

 

 

 

 

 

0 Kudos