RX FIFO Max
Level
Progammable
Threshold
(RXTRSH)
Zero Byte
RXTRSH
RRDY Condition
(Active Low)
Preliminary
www.ti.com
Architecture
When the interrupt signal is activated, the Local Host must read the I2C_IRQSTATUS_RAW register to
define the type of the interrupt, process the request, and then write into these registers the correct
value to clear the interrupt flag.
7.2.11 DMA Events
The I2C module can generate two DMA requests events, read (I2C_DMA_RX) and write
(I2C_DMA_TX) that can be used by the DMA controller to synchronously read received data from the
I2C_DATA or write transmitted data to the I2C_DATA register. The DMA read and write requests are
generated in a similar manner as RRDY and XRDY, respectively.
The I2C DMA request signals (I2C_DMA_TX and I2C_DMA_RX) are activated according to the FIFO
Management subsection.
7.2.12 Interrupt and DMA Events
I2C has two DMA channels (Tx and Rx). For event numbers, see the data manual.
I2C has one interrupt line for all the interrupt requests. For the interrupt number, see the data manual.
7.2.13 FIFO Management
The I2C module implements two internal 32-bytes FIFOs with dual clock for RX and TX modes. The
depth of the FIFOs can be configured at integration via a generic parameter which will also be reflected
in I2C_IRQSTATUS_RAW.FIFODEPTH register.
7.2.13.1 FIFO Interrupt Mode Operation
In FIFO interrupt mode (relevant interrupts enabled via I2C_IRQENABLE_SET register), the processor
is informed of the status of the receiver and transmitter by an interrupt signal. These interrupts are
raised when receive/transmit FIFO threshold (defined by I2C_BUF.TXTRSH or I2C_BUF.RXTRSH) are
reached; the interrupt signals instruct the Local Host to transfer data to the destination (from the I2C
module in receive mode and/or from any source to the I2C FIFO in transmit mode).
and
, respectively, illustrate receive and transmit operations from FIFO
management point of view.
Figure 7-9. Receive FIFO Interrupt Request Generation
Note that in
, the RRDY Condition illustrates that the condition for generating a RRDY
interrupt is achieved. The interrupt request is generated when this signal is active, and it can be cleared
only by the CPU by writing a 1 in the corresponding interrupt flag. If the condition is still present after
clearing the previous interrupt, another interrupt request will be generated.
853
SPRUGX9 – 15 April 2011
Inter-Integrated Circuit (I2C) Controller Module
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...