FS26 can't be waken up by CSB

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

FS26 can't be waken up by CSB

1,368 次查看
shoubing
Contributor I

Hi experts,

I currently encounter an issue that FS26 can't be waken up via CSB occasionally.  I use S32K342 and FS26. Only CSB is configured as the wake up source.  So far, there were 5 cases among 1000 sample cars.  After the issue occurred, it could only be recovered after re-connected to the power supply. Till now, I can't reproduce the issue.  When the 3rd case reported, it was suspected that the  M_WIO_CFG was lost abnormally. A robust mechanism was added to check the M_WIO_CFG before instruct FS26 to standby.  Unfortunately it seems that it was not the root cause.  There are 2 questions.

1.  Are there any other case that M_WIO_CFG might be reset?  The only case I can reproduce is that the supply power voltage is dropped to 2v, FS26 is reset and is wake up by default. 

2. Are there any other cause that CSB can't wake up FS26?

Thanks. 

0 项奖励
回复
18 回复数

1,300 次查看
shoubing
Contributor I

当前MCU每次唤醒后会检查M_WIO_CFG这个寄存器,如果不是期望的,会重新设置,重复3次,进入休眠前也会做同样的检查。

shoubing_0-1750814986813.png

 

0 项奖励
回复

1,297 次查看
guoweisun
NXP TechSupport
NXP TechSupport

这个issue一旦出现唤醒不了以后只能重启才可以?没有任何的反应?

0 项奖励
回复

1,290 次查看
shoubing
Contributor I

只有重新上下电才恢复,实际发生有非常多次休眠唤醒。

0 项奖励
回复

1,275 次查看
guoweisun
NXP TechSupport
NXP TechSupport

当这个issue发生时你看看通过下面的条件是不是可以恢复不要re-power。

我是怀疑SBC进入DFS了。

guoweisun_0-1750851401976.png

 

0 项奖励
回复

1,273 次查看
shoubing
Contributor I

我们判断没有进入DFS,因为如果进入DFS,LDO1没有输出,MCU工作不了,实际MCU是可以工作的。然后WAKE1可以触发退出。

0 项奖励
回复

1,268 次查看
guoweisun
NXP TechSupport
NXP TechSupport

那是在什么模式?

0 项奖励
回复

1,226 次查看
shoubing
Contributor I

基于我们OTP配置LDO2和VREF standby没有输入的现象,我们判定在standby状态

0 项奖励
回复

1,223 次查看
guoweisun
NXP TechSupport
NXP TechSupport

所以你是可以用下面的方式唤醒但是就是除了 CSB H TO L 不行?

但是你之前说的要power on reset  SBC才能活过了,好像有点冲突

guoweisun_0-1750855278282.png

 

0 项奖励
回复

1,139 次查看
shoubing
Contributor I

实际只有配置CSB唤醒源。我意思如果真的进入DFS,MCU就不会工作,因为LDO1没有输出了。另外DFS状态下,WAKE1无论有没有配置,都可以触发退出。

0 项奖励
回复

1,136 次查看
guoweisun
NXP TechSupport
NXP TechSupport

DFS下:

WK1DFS_DIS_OTP = 0 & WAKE1 pin low to high transition

只有WK1DFS_DIS_OTP = 0的情况下WAKE1 L to H 才能唤醒,但是DFS确实没电了power rail.

假如是在standby下你的MCU还能读取SBC的寄存器吗?如果是可以读出来的话在CSB无法唤醒的时候你能读出来CSB enable bit的值验证吗?

0 项奖励
回复

1,092 次查看
shoubing
Contributor I

因为这个是整车上偶发的,没有办法读出寄存器的值,CAN芯片因为没有5V供电,已经没法收发报文了

0 项奖励
回复

1,087 次查看
guoweisun
NXP TechSupport
NXP TechSupport

两个点需要核实的:

1: CSB 的唤醒 波形正确与否

2:CSB 唤醒的enable bit是否设置了

不管是整车还是单元测试debug的话就是要先确认这两个条件验证是否达到了要求,否则很难剥离出问题细分。

假如是你能确认上面两条是正确的然而还是有问题,你要更换SBC看看问题能否重现,如果更换以后无法复现问题那就是单颗芯片的质量问题。

 

0 项奖励
回复

1,083 次查看
shoubing
Contributor I

1. 拆件后测量CSB波形无异常

这个问题重新上下电后就不复现了,但是到现在出现5例。

0 项奖励
回复

1,077 次查看
guoweisun
NXP TechSupport
NXP TechSupport

五例都拆下来一个都无法复现?

若是这样的话无法复现就无法debug了死循环

0 项奖励
回复

1,272 次查看
shoubing
Contributor I

我意思如果真的进入DFS,wake1可以触发退出,实际故障过程中有多次wake1触发

0 项奖励
回复

1,336 次查看
guoweisun
NXP TechSupport
NXP TechSupport

请问你是从哪个状态下唤醒?

guoweisun_0-1750732112161.png

 

唤醒之前CSB_EN enable吗?reset以后这个bit是disable的

guoweisun_1-1750732387467.png

 

0 项奖励
回复

1,332 次查看
shoubing
Contributor I

1. wakeup from standby mode

2 CSB wakeup is enabled and only CSB wakeup is enable

0 项奖励
回复

1,318 次查看
guoweisun
NXP TechSupport
NXP TechSupport

你是如何保证在每一次wakeup之前都把CSBWUEN bit设置为了’1‘?

0 项奖励
回复