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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
547 次查看
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 项奖励
1 解答
521 次查看
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 项奖励
4 回复数
512 次查看
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 项奖励
506 次查看
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.

522 次查看
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 项奖励
142 次查看
CY9
Contributor I
0 项奖励