pico-examples icon indicating copy to clipboard operation
pico-examples copied to clipboard

uart_advanced.c appears to incorporate a 1 second delay

Open MrYsLab opened this issue 4 years ago • 2 comments

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.

MrYsLab avatar Feb 16 '21 15:02 MrYsLab

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 avatar Feb 18 '21 14:02 lurch

@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?

MrYsLab avatar Feb 18 '21 18:02 MrYsLab