2 of 2 people found this helpful
As mentioned in CYW20719 datasheet section 6.3 Peripheral UART interface, PUART has 256 byte transmit and receive FIFO.So you cannot send 300 bytes here.
None of the wiced_hal_puart write functions have return values and there is no way for me to read UART registers so I assume all the functions will block until all data is put into the FIFO but I guess this is not the case. wiced_hal_puart_write() seems to work so does this function block until the data is put into the FIFO?
are there any update on this topic. I 'm experiencing the same as "JeHu_3414236". I need to toggle a gpio when all the bytes have been sent through the UART port and it seems I cannot rely on the wiced_hal_puart write function.