pico-examples
pico-examples copied to clipboard
uart_advanced.c appears to incorporate a 1 second delay
I have documented the issue on the raspberry pi forum. In my example on the forum, I slightly modified the example to match my Python client code (also on the forum post), but if I run uart_advanced.c unmodified I see similar behavior.
There's too many "moving parts" in your forum post to be able to tell what's going on. Please try to produce a standalone reproducible example here in this GH issue (without referencing forum posts), using the serial UART on a Raspberry Pi, as shown in section 4.5 of https://datasheets.raspberrypi.org/pico/getting-started-with-pico.pdf
@lurch As mentioned above, if I run the stock uart_advanced.c driving it with my Python test script I see the delay. If I run the same Python script using a modified version of hello_usb.c (to loop; the data back), there is no delay.
The only variable is the C application. I still believe there is an issue. Have you run the example and if you are not seeing any delay, what are you using as a data driver?