external reset problem using S32K314 & FS6500

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

external reset problem using S32K314 & FS6500

579 Views
zhaoning
Contributor II

HI NXP experts,

We are using S32K314 and sbc FS6500 in our controller. Now we have one problem using them together. We are now facing a problem using soft reset from S32K314. We find that reset pin of MCU cannot stay high as spc5744, and so once we perform a soft reset the fault eror counter of SBC will increase.(https://community.nxp.com/t5/S32K/S32K3-Function-Reset-causes-Reset-B-Pin-to-perform-reset-action/m-...) After some time ,the entire controller swich off. How can we use the soft reset function of S32K314(perform reset related register of s32k314) without increasing the fault error counter of FS6500? Can we solve this problem by connecting a reverse diode in series between the reset pin of S32K314 and RSTB of FS6500? But does this disable the monitoring function of 6500 on the RSTB pin? Are there any better solutions to meet our software reset requirements (FS6500 should not generate internal errors as a result, and MCU should be able to maintain RAM data without loss after a software reset for bootloader and application interaction)?

 

zhaoning_0-1703257619972.png

zhaoning_1-1703257500534.png

 

 

Tags (1)
0 Kudos
4 Replies

512 Views
guoweisun
NXP TechSupport
NXP TechSupport

您好,我这边是只负责SBC FS65XX的。

我想知道您说的软起动,对于SBC来讲是做了什么?是MCU 通过自己的软起动把 SBC FS65 RSTB拉低了吗?

然后FS65重启 进入初始化阶段吗?然后退出初始化的时候发生了 fault error counter ?

0 Kudos

493 Views
zhaoning
Contributor II

S32K314在调用自己的复位接口时,会输出复位信号导致FS65 的RSTB被拉低,并且这个功能无法像5744一样关闭复位输出信号。这样按照6500的external reset功能监控来说,是不是对6500来说就是发生了一次故障,fault error counter会自加? 还是如果MCU输出复位信号导致6500的RSTB拉低后会让6500复位? 可以看下我们逻辑分析仪抓的截图,6500进入normal模式后,调用MCU软复位,RSTB会被拉低,然后我们断开MCU与6500的RST连接线,还是会看到后续的6500自己输出的RESET信号,连续几次之后6500关闭了供电输出,整个控制器下电了。

0 Kudos

489 Views
zhaoning
Contributor II

原理图截图那, 是后来我们加了一个二极管,使MCU输出的拉低复位信号不能作用到6500上,防止6500发生异常。但这样的话6500是不是就失去了监控外部RST引脚状态是否有非预期拉低的功能了?还有更好的办法应对这个问题吗?

0 Kudos

471 Views
guoweisun
NXP TechSupport
NXP TechSupport

硬件上面最好不要改动。

这个是external RSTB 触发了FLT_ERR_CNT +1的行为,是不是 FLT_ERR_CNT设置到最大FLT_ERR_FS = 0/Intermediate = 3; Final = 6已经,在external RSTB拉低以后 fault error counter 会+1,不过这个时候正常刷新WD 这个值应该会减下去的从而不会进入deep FS的模式

guoweisun_0-1704432951882.png

 

0 Kudos