Hello,
I'm trying to detect a UART_ERROR_BREAK on an USB ACM CDC interface of the nRF5340 using NCS2.7.
static void interrupt_handler(const struct device *dev, void *user_data) { uint32_t err = uart_err_check(dev); LOG_DBG("Error: %x", err);
The returned error code is always 0xffffffa8. How do I clear the error?
Furthermore, is there a way to generate a BREAK-Error? Unfortunately, some of our old devices used this approach to signalize the PC a specific condition. Now we have to emulate this behaviour with the nRF5340.
Many thanks for your answers in advance.
Kind regards,
Christian