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

NRF52840 USB_CDC_ACM + UART

Hi,

I'm trying to combine serial UART functionality into the USBD_BLE_UART example. The goal is to send data in/out to the hardware UART as well.

I started off by loading the USBD_BLE_UART example, then added the UART functions from the UART peripheral example. Build was successful, but when executing, I get a NRF_INVALID_STATE error. I can only get the firmware to run without errors by commenting out the uart_init() function, but then the UART will not function if I do so.

It seems that the error is caused in APP_UART_FIFO, under nrfx_drv_init.

I'm using SES 3.34b, with SDKv15. 

Any help appreciated. 

Parents Reply Children
No Data
Related