Re: Seeed BLE Micro (nrf51822) hangs on k_msleep
Chettimada, Vinayak Kariappa
Please create a github issue detailing the steps to reproduce, please mention the diff/changes of the upstream master samples you are using. Also upload the “.config” file of your build.
You can assign it to me, for starters.’
That said, be stuck at sleep/WFI indicates stopped 32KHz clock due to missing/damaged external crystal and misconfigure LFCLOCK source.
From: users@... <users@...> On Behalf Of Matias N. via lists.zephyrproject.org
Sent: 16 June 2020 23:29
To: Vinayak Kariappa <vinayak.kariappa@...>
Subject: Re: [Zephyr-users] Seeed BLE Micro (nrf51822) hangs on k_msleep
sorry for the delay. I just tried your suggestion and it does not seem to make a difference. As I mentioned, on debugging it seems to be halted at the WFI instruction. From my understanding, there should be an interrupt firing via the RTC but this is not happening and the MCU does not get out of the WFI (I placed a breakpoint at the rtc1_nfr_isr) and it never reaches there.
I also tried to simply modify the in-tree board definition for BLE nano, changing the LED gpio pin and setting the appropriate UART pins for my board and then flashing the blinky sample. I got the same result of the LED staying fixed.
Furthermore, the board came with nordic's UART/BLE demonstration firmware and this works (I can bind from my phone) so I would rule out defective hardware.
I can't really understand what could be happening. Any idea on what I should try?
On Wed, Jun 10, 2020, at 21:42, Vinayak Kariappa wrote: