wokwi / wokwi-features

Wokwi Feature requests & Bug Reports
https://wokwi.com
72 stars 17 forks source link

Pi Pico uart1 doesn't seem to be working #648

Closed DrJackieBright closed 12 months ago

DrJackieBright commented 12 months ago

Describe the bug uart1 does not transmit or receive any data on pins gp4/5 or 8/9

To Reproduce https://wokwi.com/projects/377341449400065025 Connect pins gp0 and gp1 (uart0) to gp5 and gp4 or gp9 and gp8 and send data between the two uarts

Expected behavior Both uarts receive data from the other and print the result

Environment (please complete the following information):

Additional context I verified that uart0 is working by connecting pins 0&1 together

urish commented 12 months ago

Thanks for reporting, issue reproduced!

DrJackieBright commented 12 months ago

I also just tried it on Android Firefox v118.1.0 and Android Chrome 117.0.5938.61 and got the same result

urish commented 12 months ago

Found the issue, working on a fix

urish commented 12 months ago

Fix is up! Can you please check now?

DrJackieBright commented 12 months ago

Looks like it's working, thank you. This was driving me crazy thinking I had my project hooked up wrong

urish commented 12 months ago

Thanks for checking! Most of the times, the opposite is actually true - users miss something and they blame the simulator. But in your case it was actually a simulator bug. While at it, I noticed that we also don't respect the UART baud rate setting for the RP2040, so a fix to that is also on the way.