ESD get reset cause

When an ESD shock to the PCBA causes the nrf52840 to reboot, what reset code should we expect to show up with hwinfo_get_reset_cause()? RESET_BROWNOUT? 

Using Zephyr NCS v2.8.0

Parents
  • Hi Eric, 

    I wouldn't assume that ESD always gives RESET_BROWNOUT. There can be many reasons for reset such as power-on, pin, software, watchdog etc. and voltage drop (or brownout) is one of them. So, when hwinfo_get_reset_cause() converts them into flags, it may give RESET_POR, RESET_BROWNOUT, RESET_WATCHDOG according to the reason. Therefore, there isn't one specific flag you will get for ESD reset but it depends on the reason. 

    Best Regards,

    Samruddhi

Reply
  • Hi Eric, 

    I wouldn't assume that ESD always gives RESET_BROWNOUT. There can be many reasons for reset such as power-on, pin, software, watchdog etc. and voltage drop (or brownout) is one of them. So, when hwinfo_get_reset_cause() converts them into flags, it may give RESET_POR, RESET_BROWNOUT, RESET_WATCHDOG according to the reason. Therefore, there isn't one specific flag you will get for ESD reset but it depends on the reason. 

    Best Regards,

    Samruddhi

Children
No Data
Related