Hello,
I would like to capture sound using pdm driver and to get this info in the computer using uart. When I have the buffer from pdm I copy some data in a buffer to get out via uart.
This buffer is 80 bytes length and I am trying to get out every 20ms. The micro only do that, stoppping all the other tasks.
I try to use events from uart to don't stop the process:
void uart_event_handle(app_uart_evt_t * p_event){
if(p_event->evt_type == APP_UART_TX_EMPTY ){
//launch every new byte of the buffer