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

NFC trigger hard fault

Hi,

I have a problem of crash device after trying to connect my device to the PC via NFC. 

The issue is very rare.

I think that the issue occurs because of an assert in the function nrf_drv_clock_hfclk_release - ASSERT(m_clock_cb.hfclk_requests > 0).

How can I solve that?

In addition - I noticed that the functions in that file can be called form an interrupt context - isn't that unsafe to enter critical regions from an interrupt context? Maybe that can also cause some errors.

Thanks!

Parents Reply Children
No Data
Related