-
Notifications
You must be signed in to change notification settings - Fork 1
UART
Michael Linder edited this page Feb 22, 2021
·
6 revisions
I'm using the UART from the spinalhdl lib (Apb3UartCtrl)
#Specification 115200 8N1 : 115.2 kBaud, 8 data bits, 1 stop bit, no parity, 3.3V example packets: _-_______- payload=1, _-_-___--- payload = 11000101b
APB3 interface as follows:
| Register | Offset | R / W | Name | Description |
|---|---|---|---|---|
| 0 | 0 | W | Send payload | Write payload to be sent |
| 0 | 0 | R | Receive payload | The last received payload |
| 0 | 16 | R | Received valid | 1: the received payload is valid 0: received payload not valid |
| 4 | 24 | R | rx fifo occupancy | ??? |
| 4 | 16 | R | tx occupancy | ??? |
| 4 | 15 | R | stream valid | |
ToDo: Add the registers to read / write the configuration