Hello,
I first got the USB CDC Zephyr sample with interrupt driven UART to work just fine.
But because I want to to be able to TX outside of interrupts I tried to convert that sample to use Async UART while using USB CDC. I have looked at all tickets that seem related to this but nothing works, maybe because I'm using a newer SDK version, which is v2.4.2.
When I call uart_callback_set I get -ENOSYS. I can see all callbacks for the API are not set which is why I get this. (I print the pointers and they are 0)
I have tried all kings of CONFIG options (from other tickets) and nothing seems to work. I can see the ASYNC code is enabled in the file C:\ncs\v2.4.2\zephyr\drivers\serial\uart_nrfx_uarte.c. I can not see the linkage with the calling of DEVICE_DT_GET_ONE(zephyr_cdc_acm_uart) and driver API callbacks being set correctly.
Last configs I tried are:
My Code
When I connect with pyserial I always get the error NOSYS, 88. You will note I can make some sort of connection to get the baudrate. (below)
After spending hours on this I don't know what else to try. Any help with this would be very much appreciated.
Async UART0 (with EasyDMA) is supposed to work with USB CDC, they are compatible?