RSTB assertion can be requested by SPI with the bit RSTB_REQ in FS_SAFE_IOS_1,then the software reads the RSTB _ DIAG flag for judgment.
But after the MCU reset, how does the software identify the reset reason is power reset or RSTB_REQ?
Please help me give me a way to implement step4, thank you!
Dear 李 永锋,
please refer to the section 21.3.7 in the FS26 datasheet. If the INTB pin generates a pulse to the MCU, then the source of the RSTB asserted, is a fault. Not a requested by the MCU through the SPI interface. The Table 136. and Table 137. shows list of INTB sources.
With Best Regards,
Jozef