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

Error in the boron module due to UART communication

 In the main of my program I have this(UBLOX_PWR_PIN = Pin16 of nrf),

uart_init();
nrf_gpio_cfg_output(UBLOX_PWR_PIN);
nrf_gpio_pin_set(UBLOX_PWR_PIN);
nrf_delay_ms(200);
nrf_gpio_pin_clear(UBLOX_PWR_PIN);

While if the "mode" button is pressed, I will reset the ublox module.(UBLOX_RST_PIN=Pin12)

case BSP_EVENT_KEY_0:
   if (m_conn_handle != BLE_CONN_HANDLE_INVALID)
   {
       nrf_gpio_cfg_output(UBLOX_RST_PIN);//activar buffer del modem
       nrf_gpio_pin_clear(UBLOX_RST_PIN);
       nrf_delay_ms(200);
       nrf_gpio_pin_set(UBLOX_RST_PIN);
}
break;

The cellular connectivity is now correct but this happens when I first load the program. 

It is important to mention that if I reset the ublox module from the "mode" button, no error occurs, but if I reset the boron module from the reset button, the error appears.  the error is that the rgb leds of the boron module remain on for about a second, then it goes out and does not happen again.

The new error is this:

[NRF_ERROR_DATA_SIZE] in APP_ERROR_HANDLER(p_event->data.error_communication); this is the error number12

In this line

case APP_UART_COMMUNICATION_ERROR:
APP_ERROR_HANDLER(p_event->data.error_communication);

[NRF_ERROR_DATA_SIZE] in APP_ERROR_HANDLER(p_event->data.error_communication); this is the error number12

 

Parents Reply Children
No Data
Related