RTC not working correctly

Hi,

I have a little troubl with RTC and timer1&timer2 not counting impulse.

Program hangs after a while. :(

custom boart sat-tech-sbox232

rtc_20240718_1745.zip

Parents
  • Hi Mariusz,

    I do not see any obvious issues with your use of nrfx_rtc API. I am not able to compile it so I did not get a chance to run and test it myself. There are some issues to compile and I do not want to patch it myself since it will make our setups different.

    Make sure you compile your application with no optimizations and build it for the debug build. Run the program again the debugger and run it until you see that it is hanging. Then pause the debugger (pause/halt - do not exit the debugger).

    When you halt/pause the debugger when you feel that your application is stuck/hanging, then you would see the debugger is pointing the context in which is stuck/looping. It is important to know this context to understand what is happening in your application. The stuck state normally can mean many different things based on the unique context to that application.

    Also check the function call stack to understand the code path of how you application reached there. After this info, we would have more info to proceed into proper debugging direction.

  • In ZIP file I attached our custom boards files - sat_tech_sbox232 - it should then compile.

    Ok, I'll chceck my program as You wrote.boards_sat_tech.zip
    SDK 2.6.1

Reply Children
No Data
Related