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

device restarts after transmitting using uart

I am trying to interface nRF52-DK (PCA10040) with an external MCU (PIC24FJ128GC010) using UART. When trying out the ble_app_uart example in the SDK version nRF5_SDK_15.2.0_9412b96 using a Windows 10 system. I have connected the pin P0.08 (default Rx pin) of the nRF52-DK board to the Tx of the PIC24 MCU and  pin P0.06 (default Tx pin) of the nRF52-DK board to the Rx of the PIC24 MCU ( the Baud rate is set to 115200). I have set up my MCU code such that it transmits through UART for 5 seconds and then doesn't do anything for the next 5 sec. I then give power to the board and MCU from the smae source and the LED on the board starts to blink showing that it has started it's advertising. When I connect to the board through nordic nRF connect app from my android device, the LED stops blinking and they get connected. As soon as I start receiving the Tx (enable Tx characteristic notification in the app), the board transmits the UART string and immediately resets itself.

Parents Reply Children
No Data
Related