You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At first I thought the qemu emulation might be at fault, but I found this forum post where they seem to see a similar problem on real hardware with code that matches the uart write impl here:
This check for txdrdy hangs when trying to send the first byte. The reference manual says the txdrdy event is triggered only when a byte is actually sent. That aligns with the findings in the forum post that show very similar code blocking indefinitely.
Unfortunately I don't have real hardware to test this on at the moment.
The text was updated successfully, but these errors were encountered:
Hello! I am following along the rust discovery uart example by running the microbit v1 (nrf51) in qemu.
At first I thought the qemu emulation might be at fault, but I found this forum post where they seem to see a similar problem on real hardware with code that matches the uart write impl here:
nrf-hal/nrf-hal-common/src/uart.rs
Lines 134 to 141 in 939c017
This check for
txdrdy
hangs when trying to send the first byte. The reference manual says thetxdrdy
event is triggered only when a byte is actually sent. That aligns with the findings in the forum post that show very similar code blocking indefinitely.Unfortunately I don't have real hardware to test this on at the moment.
The text was updated successfully, but these errors were encountered: