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

nRF52832 BT832XE randomly disconnects

So, after using my Devkit and everything working OK as far as I can tell, I decided to order up a bare BT832XE module and place it on my PCB. 

Flashed it with the same firmware inside SEGGER using the Nordic PCA10040 devkit. 

Seems to connect, everything works fine. for a little bit. Then I will get a random disconnect. It does not show up at all in the debug terminal. as far as it knows, it still thinks its connected. 

When I hit pause, it stops at DEADBEEF. With no rhyme or reason as to why. 

I tried recompiling as debug, and then tried again. Same thing. the disconnects are random. it can happen 30 seconds in, and it can happen as late as 4 to 8 minutes. But it ALWAYS happens. 

I tried adjusting the Clock to 500 with its internal oscillator (not using a crystal externally). No difference. I even tried adding extra bypass capacitance near the module on my PCB, the voltage going in appears to be stable so thats not it. 

Any thoughts? 

Parents
  • Ok, I got the DevKit doing it. Same exact thing if I mess with the RX pin. This time though, I got an Error Trace:

    <error> app: ERROR 4 [NRF_ERROR_NO_MEM] at Z:\Major\Various\Nordic BT\nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_serial\main.c:1391

    Fault Handler 4001, with 0x00000004 error handler. All starts at the UARTE0_UART0_IRQ handler. 

    (it wont let me copy the stack trace window to bring it in here)

Reply
  • Ok, I got the DevKit doing it. Same exact thing if I mess with the RX pin. This time though, I got an Error Trace:

    <error> app: ERROR 4 [NRF_ERROR_NO_MEM] at Z:\Major\Various\Nordic BT\nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_serial\main.c:1391

    Fault Handler 4001, with 0x00000004 error handler. All starts at the UARTE0_UART0_IRQ handler. 

    (it wont let me copy the stack trace window to bring it in here)

Children
No Data
Related