FX3 Programmers Manual, Doc. # 001-64707 Rev. *C
111
FX3 Serial Peripheral Register Access
9.1.2.11
I2C_EGRESS_DATA register
This register will hold the data to be written to the I2C slave while in register mode
(I2C_CONFIG.DMA_MODE=0). This data will be added to a TX FIFO maintained by the I2C block
and then sent to the slave.
9.1.2.12
I2C_INGRESS_DATA register
This register holds the data that has been read from the I2C slave in register mode
(I2C_CONFIG.DMA_MODE=0). This register needs to continuously read until all of the data from the
RX FIFO has been drained.
9.1.2.13
I2C_BYTE_COUNT register
Firmware writes to this register to specify the length of data to be transferred from/to the slave.
7
START_FIRST
R
RW
1
1: Send START before the first byte of
preamble
0: Do nothing before the first byte of pre-
amble
28
READ
R
RW
0
0: The data phase is a write operation
1: The data phase is a read operation
After command, the HW will idle if no valid
pre-amble exists, will play preamble if it
does exist.
31:30
I2C_STAT
W
R
0
00: I2C is idle.
01: I2C is playing the preamble.
10: I2C is receiving data.
11: I2C is transmitting data.
Bits
Field Name
HW
Access
SW
Access
Default
Value
Description
7:0
DATA
R
W
0
Data byte to be written to the peripheral in
registered mode.
Bits
Field Name
HW
Access
SW
Access
Default
Value
Description
7:0
DATA
RW
R
0
Data byte read from the peripheral in regis-
tered mode.
Bits
Field Name
HW
Access
SW
Access
Default Value
Description
31:0
BYTE_COUNT
R
RW
0xFFFFFFFF
Number of bytes in the data phase of the
transfer.
Bits
Field Name
HW
Access
SW
Access
Default
Value
Description
Содержание 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...