-
Notifications
You must be signed in to change notification settings - Fork 220
Open
Description
Trying to get uart working on my atsam board with this crate. I am using the Atmel SAM D21 Xplained kit (ATSAMD21J18A) on sercom0. I am able to transmit from the board, but having a difficult time receiving.
If I call
let mut rx_buffer = [0x00; 50];
uart_rx.read(rx_buffer )
The call to read blocks forever. However, if I make an unsafe block and use let bytes = uart_rx.read_data() , I can see that the bytes are being received by the board.
I may have missed something very silly, if that is the case I apologize!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels