This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

HardFault on saadc_init();

Hello! When I start the s132 device, it freezes from time to time. In debug mode, it does not exit the saadc_init () function;



I connected "hardfault.h" and "hardfault_genhf.h", pressed further and still does not exit saadc_init (), but stops at ses_startup_nrf52.s



What is the reason and how can I get rid of this problem?

Parents Reply
  • Yes, thanks, it made life so much easier !! But this did not completely eliminate the problems.
    When I first start it, I can wait for the drv_rtc_init () function to fire for a very long time, up to 15 seconds. When any twi device is connected, read and write functions work for a very long time.
    If I stop running the program several times, I fall back to 00000A60.
    Am I having something wrong with the timing initialization?

Children
Related