Memory Map¶
Base Address |
Bank Name |
Description |
---|---|---|
0x00000000 |
Provides control and status for UART_CH1 |
|
0x01000000 |
Provides control and status for UART_CH2 |
|
0x02000000 |
RESERVED |
RESERVED |
0x03000000 |
RESERVED |
RESERVED |
0x04000000 |
RESERVED |
RESERVED |
Note
Memory Maps are typically divided into regions, or banks to organize and partition a design’s functionality
UART_CH1¶
Offset |
Register Name |
Description |
Default Value |
---|---|---|---|
0x0 |
Enables UART channel |
0x00000000 |
|
0x4 |
Selects UART rate |
0x00000000 |
|
0x8 |
Buffers UART TX data |
0x00000000 |
|
0xC |
Enables UART transmission of FIFO data |
0x00000000 |
|
0x10 |
Buffers UART RX data |
0x00000000 |
Note
The registers in this template are either read-only/write-only and adopt the
following naming convention, to be as descriptive as possible and intuitive
to work with from an end-user perspective: <BANK
NAME>_<FUNCTION>_<POKE/PEEK>
UART_CH1_EN_POKE¶
Field |
Description |
---|---|
[31:1] |
RESERVED |
[0] |
‘1’ : Enable UART’s RS422 IC
‘0’ : Disable UART’s RS422 IC
|
UART_CH1_RATE_POKE¶
Field |
Description |
---|---|
[31:3] |
RESERVED |
[2:0] |
‘000’ : 115.2k (default)
‘001’ : 57.6k
‘010’ : 19.2k
‘011’ : 9600
‘100’ : 4800
|
UART_CH1_TX_FIFO_POKE¶
Field |
Description |
---|---|
[31:0] |
Write data |
UART_CH1_TX_SEND_POKE¶
Field |
Description |
---|---|
[31:1] |
RESERVED |
[0] |
‘1’ : Start sending
‘0’ : Stop sending
|
UART_CH1_RX_FIFO_PEEK¶
Field |
Description |
---|---|
[31:0] |
Read data |
UART_CH2¶
Offset |
Register Name |
Description |
Default Value |
---|---|---|---|
0x0 |
Enables UART channel |
0x00000000 |
|
0x4 |
Selects UART rate |
0x00000002 |
|
0x8 |
Buffers UART TX data |
0x00000000 |
|
0xC |
Enables UART transmission of FIFO data |
0x00000000 |
|
0x10 |
Buffers UART RX data |
0x00000000 |
UART_CH2_EN_POKE¶
Field |
Description |
---|---|
[31:1] |
RESERVED |
[0] |
‘1’ : Enable UART’s LVDS IC
‘0’ : Disable UART’s LVDS IC
|
UART_CH2_RATE_POKE¶
Field |
Description |
---|---|
[31:3] |
RESERVED |
[2:0] |
‘000’ : 115.2k
‘001’ : 57.6k
‘010’ : 19.2k (Default)
‘011’ : 9600
‘100’ : 4800
|
UART_CH2_TX_FIFO_POKE¶
Field |
Description |
---|---|
[31:0] |
Write data |
UART_CH2_TX_SEND_POKE¶
Field |
Description |
---|---|
[31:1] |
RESERVED |
[0] |
‘1’ : Start sending
‘0’ : Stop sending
|
UART_CH2_RX_FIFO_PEEK¶
Field |
Description |
---|---|
[31:0] |
Read data |