Skip to content
Michael Linder edited this page Feb 22, 2021 · 6 revisions

Source

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

Interface

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

Clone this wiki locally