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

UART NRF_SERIAL_EVENT_DRV_ERR

Hi I have create a firmware to exchange sensor data through UART /  RS485 (MODBUS Slave).

I succeeded to create my firmware and test it with a USD Serial to RS485 device. So far so good.

Now i tried to run it to communicate with a Modbus Master PLC. But i get all the time error on the event NRF_SERIAL_EVENT_DRV_ERR of method

static void serial1_rx_cb(struct nrf_serial_s const *p_serial, nrf_serial_event_t event)

I have tried to read NRF_UART0->ERRORSRC but i am getting only 0. 

What should i do?

I am using sdk 15.3.0 on a nrf52840.

Parents Reply Children
No Data
Related