118
FX3 Programmers Manual, Doc. # 001-64707 Rev. *C
FX3 Serial Peripheral Register Access
9.1.3.7
UART_SOCKET register
This register is used to select the LPP DMA sockets through which the UART block will send or
receive data.
9.1.3.8
UART_RX_BYTE_COUNT register
This register specifies the length of data to be received through the UART interface. This register is
only relevant in DMA mode of transfer, and will be continually decremented by the UART block while
data transfer is ongoing. Once this counter reaches zero, the UART_STATUS.RX_DONE bit will be
set.
9.1.3.9
UART_TX_BYTE_COUNT register
This register specifies the length of data to be transmitted through the UART interfaces, and is rele-
vant only in DMA mode. The counter will be decremented by the UART block as it is transmitting
data; and the TX_DONE status will be set when the count reaches zero.
9.1.3.10
UART_ID register
The block ID register is a read-only register that allows the CPU to identify whether the UART block
is powered on.
Bits
Field Name
HW
Access
SW
Access
Default
Value
Description
7:0
EGRESS_SOCKET R
RW
0
Socket number for egress data
0 - 7: Supported
This field should be set to 3.
15:8
INGRESS_SOCKET R
RW
0
Socket number for ingress data
0 - 7: Supported
This field should be set to 6.
Bits
Field Name
HW
Access
SW
Access
Default Value
Description
31:0
BYTE_COUNT
RW
RW
0xFFFFFFFF
Number of bytes left to receive.
0xFFFFFFFF indicates infinite trans-
fer (counter will not decrement).
Bits
Field Name
HW
Access
SW
Access
Default Value
Description
31:0
BYTE_COUNT
RW
RW
0xFFFFFFFF
Number of bytes left to transmit.
0xFFFFFFFF indicates infinite trans-
fer (counter will not decrement).
Bits
Field Name
HW
Access
SW
Access
Default Value
Description
15:0
BLOCK_ID
R
0x0002
A unique number identifying the
block in the memory space.
31:16
BLOCK_VERSION
R
0x0001
Version number for the block.
Содержание EX-USB FX3
Страница 8: ...8 FX3 Programmers Manual Doc 001 64707 Rev C Contents...
Страница 12: ...12 FX3 Programmers Manual Doc 001 64707 Rev C Introduction...
Страница 48: ...48 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Overview...
Страница 74: ...74 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Firmware...
Страница 76: ...76 FX3 Programmers Manual Doc 001 64707 Rev C FX3 APIs...
Страница 84: ...84 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Application Examples...
Страница 98: ...98 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Application Structure...
Страница 148: ...148 FX3 Programmers Manual Doc 001 64707 Rev C FX3 P Port Register Access...
Страница 153: ...FX3 Programmers Manual Doc 001 64707 Rev C 153 FX3 Development Tools 2 Select General Existing projects into Workspace...
Страница 165: ...FX3 Programmers Manual Doc 001 64707 Rev C 165 FX3 Development Tools Click next...
Страница 178: ...178 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools Click on Apply...
Страница 180: ...180 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools d Start the GDB server...
Страница 185: ...FX3 Programmers Manual Doc 001 64707 Rev C 185 FX3 Development Tools...
Страница 186: ...186 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools...
Страница 187: ...FX3 Programmers Manual Doc 001 64707 Rev C 187 FX3 Development Tools...
Страница 188: ...188 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools...
Страница 192: ...192 FX3 Programmers Manual Doc 001 64707 Rev C GPIF II Designer...