Texas Instruments TMS320C642X Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Nein Texas Instruments TMS320C642X herunter. Texas Instruments TMS320C642X User's Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken

Inhaltsverzeichnis

Seite 1 - User's Guide

TMS320C642x DSPInter-Integrated Circuit (I2C) PeripheralUser's GuideLiterature Number: SPRUEN0DMarch 2011

Seite 2 - Submit Documentation Feedback

d765PLL1I2CprescalerPrescaled module clock−−MUST be set to 6.7 to 13.3 MHzI2C input clockExternalinput clockRegister bits(ICPSC[IPSC])I2C clockdivider

Seite 3

WaitstateStart HIGHperiodSCL fromdevice #1SCL fromdevice #2Bus lineSCLwww.ti.comPeripheral ArchitectureThe prescaler (IPSC bit in ICPSC) must only be

Seite 4

Data linestable dataChange of dataallowedSDASCLSDASCLSTARTcondition (S)condition (P)STOPPeripheral Architecturewww.ti.com2.4.2 Data ValidityThe data o

Seite 5

SDASCLMSBAcknowledgementbit from slave(No-)Acknowledgementbit from receiver1 2 7 8 9 1 2 8 9Slave addressACKSTARTcondition (S)STOPcondition (P)R/W ACK

Seite 6 - Read This First

S11 1 1 1 0 A A7A A A A A A A AACK0118ACK1DatanACK1P1A A = 2 MSBs R/W 8 LSBs of slave addressDataDataS1DataACK ACK ACK P1n n n11117 n 7 n1 1 1 1 1 1 1

Seite 7

www.ti.comPeripheral Architecture2.7 Endianness ConsiderationsWhen the device is configured for big-endian mode, in order for the data to be placed in

Seite 8 - 1.3 Functional Block Diagram

Peripheral Architecturewww.ti.com2.9 NACK Bit GenerationWhen the I2C peripheral is a receiver (master or slave), it can acknowledge or ignore bits sen

Seite 9 - 2.1 Bus Structure

10 0 010 0 01 11110Device #1 lost arbitrationand switches offBus lineSCLData fromdevice #1Data fromdevice #2Bus lineSDAwww.ti.comPeripheral Architectu

Seite 10 - 2.2 Clock Generation

Peripheral Architecturewww.ti.com2.11 Reset ConsiderationsThe I2C peripheral has two reset sources: software reset and hardware reset.2.11.1 Software

Seite 11 - 2.4 Signal Descriptions

www.ti.comPeripheral Architecture2.12.1 Configuring the I2C in Master Receiver Mode and Servicing Receive Data via CPUThe following initialization pro

Seite 12 - 2.5 START and STOP Conditions

2SPRUEN0D–March 2011Submit Documentation Feedback© 2011, Texas Instruments Incorporated

Seite 13 - 2.6 Serial Data Formats

Peripheral Architecturewww.ti.com4. Enable the desired interrupt you need to receive by setting the desired interrupt bit field within ICIMRto enable

Seite 14

www.ti.comPeripheral Architecture2.13 Interrupt SupportThe is capable of interrupting the DSP CPU. The CPU can determine which I2C events caused thein

Seite 15 - 2.8 Operating Modes

Registerswww.ti.com2.16 Emulation ConsiderationsThe response of the I2C events to emulation suspend events (such as halts and breakpoints) is controll

Seite 16 - 2.9 NACK Bit Generation

www.ti.comRegisters3.1 I2C Own Address Register (ICOAR)The I2C own address register (ICOAR) is used to specify its own slave address, which distinguis

Seite 17 - 2.10 Arbitration

Registerswww.ti.com3.2 I2C Interrupt Mask Register (ICIMR)The I2C interrupt mask register (ICIMR) is used to individually enable or disable I2C interr

Seite 18 - 2.12 Initialization

www.ti.comRegisters3.3 I2C Interrupt Status Register (ICSTR)The I2C interrupt status register (ICSTR) is used to determine which interrupt has occurre

Seite 19 - Peripheral Architecture

Registerswww.ti.comTable 7. I2C Interrupt Status Register (ICSTR) Field Descriptions (continued)Bit Field Value Description10 XSMT Transmit shift regi

Seite 20

www.ti.comRegistersTable 7. I2C Interrupt Status Register (ICSTR) Field Descriptions (continued)Bit Field Value Description1 NACK No-acknowledgment in

Seite 21 - 2.15 Power Management

Registerswww.ti.com3.4 I2C Clock Divider Registers (ICCLKL and ICCLKH)When the I2C is a master, the prescaled module clock is divided down for use as

Seite 22 - 3 Registers

www.ti.comRegisters3.5 I2C Data Count Register (ICCNT)The I2C data count register (ICCNT) is used to indicate how many data words to transfer when the

Seite 23 - Registers

Preface ... 61 Int

Seite 24

Registerswww.ti.com3.6 I2C Data Receive Register (ICDRR)The I2C data receive register (ICDRR) is used to read the receive data. The ICDRR can receive

Seite 25

www.ti.comRegisters3.8 I2C Data Transmit Register (ICDXR)The CPU or EDMA writes transmit data to the I2C data transmit register (ICDXR). The ICDXR can

Seite 26

Registerswww.ti.com3.9 I2C Mode Register (ICMDR)The I2C mode register (ICMDR) contains the control bits of the I2C.The I2C mode register (ICMDR) is sh

Seite 27

www.ti.comRegistersTable 14. I2C Mode Register (ICMDR) Field Descriptions (continued)Bit Field Value Description10 MST Master mode bit. MST determines

Seite 28

Registerswww.ti.comTable 14. I2C Mode Register (ICMDR) Field Descriptions (continued)Bit Field Value Description2-0 BC 0-7h Bit count bits. BC defines

Seite 29

ICDRR ICRSR01ICSARICOAR01ICDXRICXSR0100DLBSCL_INSCL_OUTAddress/dataTo internal I2C logicFrom internal I2C logicTo internal I2C logicTo ARM CPU or EDMA

Seite 30

Registerswww.ti.com3.10 I2C Interrupt Vector Register (ICIVR)The I2C interrupt vector register (ICIVR) is used by the CPU to determine which event gen

Seite 31

www.ti.comRegisters3.11 I2C Extended Mode Register (ICEMDR)The I2C extended mode register (ICEMDR) is used to indicate which condition generates a tra

Seite 32 - 3.9 I2C Mode Register (ICMDR)

Registerswww.ti.com3.12 I2C Prescaler Register (ICPSC)The I2C prescaler register (ICPSC) is used for dividing down the I2C input clock to obtain the d

Seite 33

www.ti.comRegisters3.13 I2C Peripheral Identification Register (ICPID1)The I2C peripheral identification registers (ICPID1) contain identification dat

Seite 34

www.ti.comList of Figures1 I2C Peripheral Block Diagram... 8

Seite 35 - I2C peripheral

www.ti.comAppendix A Revision HistoryTable 22 lists the changes made since the previous version of this document.Table 22. Document Revision HistoryRe

Seite 36

IMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improveme

Seite 37

www.ti.comList of Tables1 Operating Modes of the I2C Peripheral ... 152 W

Seite 38

PrefaceSPRUEN0D–March 2011Read This FirstAbout This ManualThis document describes the inter-integrated circuit (I2C) peripheral in the TMS320C642x Dig

Seite 39

User's GuideSPRUEN0D–March 2011Inter-Integrated Circuit (I2C) Peripheral1 IntroductionThis document describes the operation of the inter-integrat

Seite 40 - Appendix A Revision History

ICXSR ICDXRICRSR ICDRRClocksynchronizerPrescalerNoise filtersArbitratorI2C INTICREVTPeripheral data busInterruptto CPUSync events toEDMA controllerSDA

Seite 41 - IMPORTANT NOTICE

TI deviceI2CI2CEPROMI2CI2CTI deviceVDDPull-upresistorsSerial data (SDA)Serial clock (SCL)controllerwww.ti.comPeripheral Architecture2 Peripheral Archi

Kommentare zu diesen Handbüchern

Keine Kommentare