S32K144 CAN FD SBC cannot run normally after power off and on again, only run during debug.

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

S32K144 CAN FD SBC cannot run normally after power off and on again, only run during debug.

Jump to solution
1,091 Views
DaoVan
Contributor II

Hi NXP Community,

I have issue with SBC CAN FD in s32k144 evaluation board:

When debugging with IAR SBC CAN FD still running. After that power off and on again the evaluation board only sw run normally because using 1 led for checking, don't see any CAN signal in CAN simulation. And CAN only run only if I use the switch SW5 in evaluation board to reset sw.

Board information: S32K144EVB 29248 C1

Clock information: 80MHz spll clock base on internal oscillator of OSC

Internal oscillator of OSC

/* RUN MODE : */

/* System Clock Source (SCS) = PLL */

/* CORE_CLK = PLLCLK / 1 = 80MHz */

/* SYS_CLK = PLLCLK / 1 = 80MHz */

/* BUS_CLK = PLLCLK / 2 = 40MHz */

/* FLASH_CLK = PLLCLK / 4 = 20MHz */

 

Even I followed Solved: program wor6Bs fine in debug, not working once i do... - NXP Community

but SBC CAN still not working after power off and on again.

 

Thank you in advance.

 

0 Kudos
Reply
1 Solution
1,065 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@DaoVan

1.Restore SBC to factory state

file:///C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_RTM_3.0.0/doc/html_S32K144/sbc_uja1169_s32k14... 

Senlent_0-1696833668634.png

pin RSTN (TP24) is held LOW CANH is pulled up to Vbat CANL is pulled down to GND

View solution in original post

0 Kudos
Reply
4 Replies
1,056 Views
DaoVan
Contributor II

Hi Selent,

Thank you for your help, the issue is solved after restoring SBC to factory state. If you don't mind, please tell me more about the reason why we need to do that. I though the SBC should be transited to Normal mode after power on in order to active CAN transceiver.

0 Kudos
Reply
1,050 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@DaoVan

UJA1169 is enabled with CAN function by factory default, which means that users can achieve CAN sending and receiving without operating UJA1169 at all.

I think you didn't set up UJA1169 correctly. For more details, you need to read the data sheet of UJA1169.

1,066 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@DaoVan

1.Restore SBC to factory state

file:///C:/NXP/S32DS_ARM_v2018.R1/S32DS/S32SDK_S32K1xx_RTM_3.0.0/doc/html_S32K144/sbc_uja1169_s32k14... 

Senlent_0-1696833668634.png

pin RSTN (TP24) is held LOW CANH is pulled up to Vbat CANL is pulled down to GND

0 Kudos
Reply
686 Views
CY9
Contributor III
0 Kudos
Reply