7 Replies Latest reply on Jul 15, 2019 12:20 PM by user_1669321

    PDL 3.1.0 gets stuck in deepsleep, HardFault_Handler() is called

    user_1669321

      Hi,

       

      We use a CYBLE-416045-02. I recently updated the PDL from 3.0.4 to 3.1.0. Code that used to run really well using 3.0.4 now doesn't work. I see the device advertising, but I can't connect to it, and the module becomes unresponsive. It looks like the device gets stuck in HardFault_Handler() after calling Cy_SysPm_DeepSleep(CY_SYSPM_WAIT_FOR_INTERRUPT).

       

      If I switch back to 3.0.4, delete the Generated_Source folder (it doesn't build properly if I don't do this step), clean and build, and program, then the code runs smoothly, I can connect and pair with the device, BLE communication works fine, and the device does not get stuck in deepsleep. This is all with the same code running, only the PDL version changed.

       

      What could be the problem?

       

      Thank you,

      Fred