Texas-instruments TMS320DM644x User Manual

Browse online or download User Manual for Photo Accessories Texas-instruments TMS320DM644x. Texas Instruments TMS320DM644x User Manual

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 1 - User's Guide

TMS320DM644x DMSoCGeneral-Purpose Input/Output (GPIO)User's GuideLiterature Number: SPRUE25December 2005

Page 2 - 2 SPRUE25 – December 2005

www.ti.com2.3 GPIO Register StructurePeripheral ArchitectureThe GPIO signals are grouped into banks of 16 signals per bank.The GPIO configuration regi

Page 3 - Contents

www.ti.com2.4 Using a GPIO Signal as an OutputPeripheral ArchitectureTable 1. GPIO Register Bits and Banks Associated With GPIO Pins (continued)GPIO S

Page 4

www.ti.com2.5 Using a GPIO Signal as an InputPeripheral Architecture2.4.2 Controlling the GPIO Output Signal StateThere are three registers that contr

Page 5

www.ti.com2.6 Reset Considerations2.7 Interrupt SupportPeripheral ArchitectureThe GPIO peripheral has two reset sources: software reset and hardware r

Page 6 - Read This First

www.ti.comPeripheral Architecture2.7.3 Configuring GPIO Interrupt Edge TriggeringEach GPIO interrupt source can be configured to generate an interrupt

Page 7 - Trademarks

www.ti.com2.8 EDMA Event Support2.9 Power Management2.10 Emulation ConsiderationsPeripheral ArchitectureThe GPIO peripheral can provide synchronizatio

Page 8

www.ti.com3 RegistersRegistersTable 4 lists the memory-mapped registers for the general-purpose input/output (GPIO). See thedevice-specific data manua

Page 9 - 2.2 Signal Descriptions

www.ti.com3.1 Peripheral Identification Register (PID)RegistersThe peripheral identification register (PID) contains identification data (type, class,

Page 10 - 2.3 GPIO Register Structure

www.ti.com3.2 GPIO Interrupt Per-Bank Enable Register (BINTEN)RegistersThe GPIO interrupt per-bank enable register (BINTEN) is shown in Figure 3 and d

Page 11 - Peripheral Architecture

www.ti.com3.3 GPIO Direction Registers (DIR n)RegistersThe GPIO direction register (DIR n) determines if GPIO pin n in GPIO bank I is an input or an o

Page 12

2 SPRUE25 – December 2005

Page 13 - 2.7 Interrupt Support

www.ti.com3.4 GPIO Output Data Register (OUT_DATA n)RegistersThe GPIO output data register (OUT_DATA n) determines the value driven on the correspondi

Page 14

www.ti.com3.5 GPIO Set Data Register (SET_DATA n)RegistersThe GPIO set data register (SET_DATA n) controls driving high the corresponding GPIO pin n i

Page 15 - 2.10 Emulation Considerations

www.ti.comRegistersTable 9. GPIO Set Data Register (SET_DATA n) Field DescriptionsBit Field Value Description31-16 SET n Set output drive state of GPI

Page 16 - 3 Registers

www.ti.com3.6 GPIO Clear Data Register (CLR_DATA n)RegistersThe GPIO clear data register (CLR_DATA n) controls driving low the corresponding GPIO pin

Page 17 - Registers

www.ti.comRegistersTable 10. GPIO Clear Data Register (CLR_DATA n) Field DescriptionsBit Field Value Description31-16 CLR n Clear output drive state o

Page 18

www.ti.com3.7 GPIO Input Data Register (IN_DATA n)RegistersThe current state of the GPIO signals is read using the GPIO input data register (IN_DATA n

Page 19

www.ti.com3.8 GPIO Set Rising Edge Interrupt Register (SET_RIS_TRIG n)RegistersThe GPIO set rising edge interrupt register (SET_RIS_TRIG n) enables a

Page 20

www.ti.comRegistersFigure 21. GPIO Bank 4 Set Rising Edge Interrupt Register (SET_RIS_TRIG4)31 16ReservedR-015 8ReservedR-07 6 5 4 3 2 1 0Reserved SET

Page 21

www.ti.com3.9 GPIO Clear Rising Edge Interrupt Register (CLR_RIS_TRIG n)RegistersThe GPIO clear rising edge interrupt register (CLR_RIS_TRIG n) disabl

Page 22

www.ti.comRegistersFigure 24. GPIO Bank 4 Clear Rising Edge Interrupt Register (CLR_RIS_TRIG4)31 16ReservedR-015 8ReservedR-07 6 5 4 3 2 1 0Reserved C

Page 23

ContentsPreface ... 61 Int

Page 24

www.ti.com3.10 GPIO Set Falling Edge Interrupt Register (SET_FAL_TRIG n)RegistersThe GPIO set falling edge interrupt register (SET_FAL_TRIG n) enables

Page 25

www.ti.comRegistersFigure 27. GPIO Bank 4 Set Falling Edge Interrupt Register (SET_FAL_TRIG4)31 16ReservedR-015 8ReservedR-07 6 5 4 3 2 1 0Reserved SE

Page 26

www.ti.com3.11 GPIO Clear Falling Edge Interrupt Register (CLR_FAL_TRIG n)RegistersThe GPIO clear falling edge interrupt register (CLR_FAL_TRIG n) dis

Page 27

www.ti.comRegistersFigure 30. GPIO Bank 4 Clear Falling Edge Interrupt Register (CLR_FAL_TRIG4)31 16ReservedR-015 8ReservedR-07 6 5 4 3 2 1 0Reserved

Page 28

www.ti.com3.12 GPIO Interrupt Status Register (INTSTAT n)RegistersThe status of GPIO interrupt events can be monitored by reading the GPIO interrupt s

Page 29

www.ti.comRegistersFigure 33. GPIO Bank 4 Interrupt Status Register (INTSTAT4)31 16ReservedR-015 8ReservedR-07 6 5 4 3 2 1 0Reserved STAT70 STAT69 STA

Page 30

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

Page 31

List of Figures1 GPIO Peripheral Block Diagram ... 92 Peripher

Page 32

List of Tables1 GPIO Register Bits and Banks Associated With GPIO Pins ... 102 GPIO Interrupts t

Page 33

PrefaceSPRUE25 – December 2005Read This FirstAbout This ManualDescribes the general-purpose input/output (GPIO) peripheral in the TMS320DM644x Digital

Page 34

www.ti.comRelated Documentation From Texas InstrumentsSPRU871 — TMS320C64x+ DSP Megamodule Reference Guide. Describes the TMS320C64x+ digitalsignal pr

Page 35

1 Introduction1.1 Purpose of the Peripheral1.2 FeaturesUser's GuideSPRUE25 – December 2005General-Purpose Input/Output (GPIO)The GPIO peripheral

Page 36

www.ti.com1.3 Functional Block DiagramDIRregister logicDirectionregisterSET_DATACLR_DATAregisterOUTDATAregisterGPIOsignalSynchronizing flip−flopsINDAT

Comments to this Manuals

No comments