Texas Instruments TMS320C6727, TMS320C6726, TMS320C6722, 4.15.1 I2C Device-SpecificInformation

Models: TMS320C6726 TMS320C6722 TMS320C6727

1 114
Download 114 pages 15.41 Kb
Page 93
Image 93
4.15.1 I2C Device-Specific Information

TMS320C6727, TMS320C6726, TMS320C6722

Floating-Point Digital Signal Processors

www.ti.com

SPRS268E –MAY 2005 –REVISED JANUARY 2007

4.15 Inter-Integrated Circuit Serial Ports (I2C0, I2C1)

4.15.1 I2C Device-Specific Information

Having two I2C modules on the C672x simplifies system architecture, since one module may be used by the DSP to control local peripherals ICs (DACs, ADCs, etc.) while the other may be used to communicate with other controllers in a system or to implement a user interface. Figure 4-37is block diagram of the C672x I2C Module.

Each I2C port supports:

Compatible with Philips® I2C Specification Revision 2.1 (January 2000)

Fast Mode up to 400 Kbps (no fail-safe I/O buffers)

Noise Filter to Remove Noise 50 ns or less

Seven- and Ten-Bit Device Addressing Modes

Master (Transmit/Receive) and Slave (Transmit/Receive) Functionality

Events: DMA, Interrupt, or Polling

General-Purpose I/O Capability if not used as I2C

CAUTION

The C672x I2C pins use a standard ±8 mA LVCMOS buffer, not the slow I/O buffer defined in the I2C specification. Series resistors may be necessary to reduce noise at the system level.

 

C672x I2C Module

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Clock Prescaler

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Prescaler

 

 

 

Own Address

 

 

 

 

 

 

 

 

I2CPSCx

 

 

I2CCOARx

 

 

 

 

 

 

 

 

Register

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Slave Address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I2CSARx

 

 

 

Noise

 

 

 

Bit Clock Generator

 

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I2Cx_SCL

 

 

 

 

 

 

 

 

 

Clock Divide

 

 

 

 

 

 

Filter

 

 

 

I2CCLKHx

 

 

I2CCMDRx

Mode Register

 

 

 

 

 

 

High Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Clock Divide

 

 

 

Extended Mode

 

 

 

 

 

 

 

 

I2CCLKLx

 

 

I2CEMDRx

 

 

 

 

 

 

 

 

Low Register

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Data Count

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I2CCNTx

Register

 

 

 

 

 

 

 

Transmit

Transmit Shift

 

 

 

Peripheral ID

 

 

 

 

 

 

 

 

I2CXSRx

 

 

I2CPID1

 

 

 

 

 

 

 

 

 

 

Register 1

 

 

 

 

 

 

 

 

 

 

 

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Peripheral ID

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I2CPID2

 

I2Cx_SDA

 

Noise

 

 

 

I2CDXRx

Transmit Buffer

 

 

 

Register 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Filter

 

 

 

 

 

 

 

 

 

 

 

Interrupt/DMA

Interrupt Enable

 

 

 

 

 

Receive

 

 

 

I2CIERx

 

 

 

 

 

 

 

 

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I2CDRRx

Receive Buffer

 

 

 

Interrupt Status

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I2CSTRx

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

Receive Shift

 

 

 

 

 

 

 

 

 

 

 

I2CRSRx

 

 

I2CSRCx

Interrupt Source

 

 

 

 

 

 

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Control

Pin Function

 

 

 

Pin Data Out

 

 

 

 

 

 

 

 

I2CPFUNC

 

 

I2CPDOUT

 

 

 

 

 

 

 

 

Register

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Pin Direction

 

 

 

Pin Data Set

 

 

 

 

 

 

 

 

I2CPDIR

 

 

I2CPDSET

 

 

 

 

 

 

 

 

Register

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Pin Data In

 

 

 

Pin Data Clear

 

 

 

 

 

 

 

 

I2CPDIN

 

 

I2CPDCLR

 

 

 

 

 

 

 

 

Register

 

 

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Peripheral

Configuration

Bus

Interrupt DMA

Requests

Figure 4-37. I2C Module Block Diagram

Submit Documentation Feedback

Peripheral and Electrical Specifications

93

Page 93
Image 93
Texas Instruments warranty TMS320C6727, TMS320C6726, TMS320C6722, Floating-PointDigital Signal Processors