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

APP_UART_DATA_READY reset nRF52832

Hi, I am a beginner programmer and I have the next problem.

I am working with nRF52832 SDK 12.2 trying to send AT commands to an ESP8266. I send the AT commands byte by byte through UART which I managed with APP_UART_TX_EMPTY. Then I receive the ESP8266 response in APP_UART_DATA_READY and when I should get a response such as \r\nOK\r\n I get half data instead. When it happens the nRF52 resets. The ESP8266 is working rigth because I check the response with a terminal so I think I could be a problem with UART. Any help will be appreciated.

Thanks in advance

Parents
  • I meant I receive \r\nO or \r\nOK instead of \r\nOK\r\n. I have checked the data with both digital analyzer and segger RTT and I get the completely response from modem so it is \r\nOK\r\n. The problem I have is when I am getting the data through the uart_event_handle() in APP_UART_DATA_READY nRF52 resets. I have tried with lower baudrates and it do the same, but I am not using flow control.

    Thanks Matt

Reply
  • I meant I receive \r\nO or \r\nOK instead of \r\nOK\r\n. I have checked the data with both digital analyzer and segger RTT and I get the completely response from modem so it is \r\nOK\r\n. The problem I have is when I am getting the data through the uart_event_handle() in APP_UART_DATA_READY nRF52 resets. I have tried with lower baudrates and it do the same, but I am not using flow control.

    Thanks Matt

Children
No Data
Related