AM1806 TI | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 241
Technical content
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 AM1806ARM Microprocessor Check forSamples: AM1806
1 AM1806 ARM Microprocessor
1.1 Features
viasoftwaretosave power• 375/456-MHz ARM926EJ-S ™ RISC MPU
- Register30 ofeach PRU isexportedfrom• Enhanced Direct-Memory-AccessController3 thesubsystem inadditiontothenormal(EDMA3): R31 outputofthePRU cores.– 2 Channel Controllers – Standard power management mechanism– 3 TransferControllers
- Clock gating– 64 IndependentDMA Channels
- Entiresubsystem under a singlePSC– 16 Quick DMA Channels clockgatingdomain– Programmable TransferBurstSize – Dedicatedinterruptcontroller• 1.8Vor 3.3VLVCMOS IOs (exceptforUSB and – DedicatedswitchedcentralresourceDDR2 interfaces)
- USB 2.0OTG PortWith IntegratedPHY (USB0)• Two ExternalMemory Interfaces: – USB 2.0High-/Full-SpeedClient– EMIFA – USB 2.0High-/Full-/Low-SpeedHost• NOR (8-/16-Bit-WideData) – End Point0 (Control)• NAND (8-/16-Bit-WideData) – End Points1,2,3,4(Control,Bulk,Interruptor• 16-BitSDRAM With 128 MB Address ISOC) Rx and TxSpace
- One MultichannelAudio SerialPort:– DDR2/Mobile DDR Memory Controller – Transmit/ReceiveClocks• 16-BitDDR2 SDRAM With 512 MB – Two Clock Zones and 16 SerialData PinsAddress Space or – Supports TDM, I2S,and SimilarFormats• 16-BitmDDR SDRAM With 256 MB Address Space – DIT-Capable
- Three Configurable16550 typeUART Modules: – FIFO buffersforTransmitand Receive – With Modem ControlSignals • Two MultichannelBufferedSerialPorts: – 16-byteFIFO – Transmit/ReceiveClocks – 16x or 13x Oversampling Option – Two Clock Zones and 16 SerialData Pins
- Two SerialPeripheralInterfaces (SPI)Each – Supports TDM, I2S,and SimilarFormats With MultipleChip-Selects – AC97 Audio Codec Interface
- Two MultimediaCard (MMC)/Secure Digital(SD) – Telecom Interfaces(ST-Bus,H100) Card InterfacewithSecure Data I/O(SDIO) – 128-channelTDMInterfaces – FIFO buffersforTransmitand Receive• Two Master/SlaveInter-IntegratedCircuit(I2C • Video PortInterface(VPIF):Bus ™ ) – Two 8-bitSD (BT.656),Single16-bitor Single• One Host-PortInterface(HPI)With 16-Bit-Wide Raw (8-/10-/12-bit)Video Capture ChannelsMuxed Address/DataBus For High Bandwidth – Two 8-bitSD (BT.656),Single16-bitVideo• Programmable Real-TimeUnitSubsystem DisplayChannels(PRUSS) • UniversalParallelPort(uPP):– Two IndependentProgrammable Realtime – High-Speed ParallelInterfacetoFPGAs andUnit(PRU) Cores Data Converters• 32-BitLoad/StoreRISC architecture – Data Width on Each ofTwo Channels is8-to• 4K Byte instructionRAM per core 16-bitInclusive• 512 Bytes dataRAM per core – SingleData Rate or Dual Data Rate Transfers• PRU Subsystem (PRUSS) can be disabled Pleasebe aware thatan importantnoticeconcerningavailability,standardwarranty,and use incriticalapplicationsofTexas Instrumentssemiconductorproductsand disclaimerstheretoappearsattheend ofthisdatasheet. 2ARM926EJ-S isa trademarkofARM Limited. ADVANCE INFORMATION concernsnew productsinthe sampling Copyright© 2010,Texas InstrumentsIncorporatedorpreproductionphase ofdevelopment.Characteristicdataand other specificationsaresubjecttochange withoutnotice.
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com – Supports MultipleInterfaceswithSTART, Dual Edge Asymmetric Outputs ENABLE and WAIT Controls – Dead-Band Generation
- Real-TimeClock With 32 KHz Oscillatorand – PWM Chopping by High-FrequencyCarrier SeparatePower Rail – TripZone Input
- Three One 64-BitGeneral-PurposeTimers • Three 32-BitEnhanced Capture Modules(Configurableas Two 32-BitTimers) (eCAP):
- One 64-bitGeneral-Purpose/WatchdogTimer – Configurableas 3 Capture Inputsor 3(Configurableas Two 32-bitGeneral-Purpose AuxiliaryPulse Width Modulator(APWM)Timers) outputs
- Two Enhanced Pulse Width Modulators – SingleShot Capture ofup toFour Event(eHRPWM): Time-Stamps – Dedicated16-BitTime-Base Counter With • 361-BallPb-FreePlasticBallGridArray(PBGA)PeriodAnd Frequency Control [ZCE Suffix],0.65-mm BallPitch – 6 SingleEdge, 6 Dual Edge Symmetric or 3 • Commercial or Extended Temperature
2 AM1806 ARM Microprocessor Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
1.2 Trademarks
Alltrademarksarethepropertyoftheirrespectiveowners. Copyright© 2010,Texas InstrumentsIncorporated AM1806 ARM Microprocessor 3 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
1.3 Description
The deviceisa Low-power applicationsprocessorbased on ARM926EJ-S ™ . The deviceenables OEMs and ODMs to quicklybringto market devicesfeaturingrobustoperating systems support,richuser interfaces,and high processingperformancelifethroughthe maximum flexibilityofa fullyintegratedmixed processorsolution. The ARM926EJ-S is a 32-bitRISC processorcore thatperforms32-bitor 16-bitinstructionsand processes32-bit,16-bit,or 8-bitdata.The core uses pipeliningso thatallpartsof the processorand memory systemcan operatecontinuously. The ARM core has a coprocessor15 (CP15), protectionmodule, and Data and program Memory Management Units(MMUs) with tablelook-asidebuffers.Ithas separate16K-byte instructionand 16K-bytedatacaches.Both are four-wayassociativewithvirtualindexvirtualtag(VIVT).The ARM core alsohas a 8KB RAM (VectorTable)and 64KB ROM. The peripheralsetincludes:one USB2.0 OTG interface;two inter-integratedcircuit(I2C)Bus interfaces; one multichannelaudio serialport(McASP) with16 serializersand FIFO buffers;two multichannel bufferedserialports (McBSP) withFIFO buffers;two SPI interfaces withmultiplechipselects;four64-bit general-purposetimerseach configurable(oneconfigurableas watchdog);a configurable16-bithostport interface(HPI); up to 9 banks of 16 pinsof general-purposeinput/output(GPIO) withprogrammable interrupt/eventgenerationmodes, multiplexedwithotherperipherals;threeUART interfaces (each with RTS and CTS); two enhanced high-resolutionpulsewidthmodulator(eHRPWM) peripherals;3 32-bit enhanced capture(eCAP) module peripheralswhichcan be configuredas 3 captureinputsor3 auxiliary pulsewidthmodulator(APWM) outputs;and 2 externalmemory interfaces:an asynchronousand SDRAM externalmemory interface(EMIFA) forslowermemories orperipherals,and a higherspeed DDR2/Mobile DDR controller. The UniversalParallelPort(uPP) providesa high-speedinterfaceto many typesof data converters, FPGAs or otherparalleldevices.The UPP supportsprogrammable datawidthsbetween 8- to16-bitson each oftwo channels.Single-daterateand double-dataratetransfersare supportedas wellas START, ENABLE and WAIT signalstoprovidecontrolfora varietyofdataconverters. A VideoPortInterface(VPIF)isincludedprovidinga flexiblevideoinput/outputport. The richperipheralsetprovidesthe abilityto controlexternalperipheraldevicesand communicate with externalprocessors.For detailson each oftheperipherals,see therelatedsectionslaterinthisdocument and theassociatedperipheralreferenceguides. The devicehas a completeset of developmenttoolsforthe ARM . These includeC compilers,and scheduling,and a Windows ™ debuggerinterfaceforvisibilityintosourcecode execution.
4 AM1806 ARM Microprocessor Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION Switched Central Resource (SCR) 16KB I-Cache 16KB D-Cache 4KB ETB ARM926EJ-S CPU With MMU ARM SubsystemJTAG Interface System Control Input Clock(s) 64KB ROM 8KB RAM (Vector Table) Power/Sleep Controller Pin Multiplexing PLL/Clock Generator w/OSC General- Purpose Timer (x3) Serial InterfacesAudio Ports McASP w/FIFO DMA Peripherals Display Internal Memory LCD Ctlr 128KB RAM External Memory InterfacesConnectivity EDMA3 (x2) Control Timers ePWM (x2) eCAP (x3) EMIFA(8b/16B) NAND/Flash 16b SDRAM DDR2/MDDR Controller RTC/ 32-kHz OSC I C (x2)
2 SPI
(x2) UART (x3) McBSP (x2) Video VPIF Parallel Port uPP USB2.0 OTG Ctlr PHY HPI MMC/SD (8b) (x2) Customizable Interface PRU Subsystem AM1806 www.ti.com SPRS658 –FEBRUARY 2010
1.4 FunctionalBlock Diagram
(1) Note:Not allperipheralsareavailableatthesame timedue tomultiplexing. Figure1-1.FunctionalBlock Diagram Copyright© 2010,Texas InstrumentsIncorporated AM1806 ARM Microprocessor 5 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com 6.29 Programmable Real-TimeUnitSubsystem (PRUSS)5.3 ElectricalCharacteristicsOver Recommended
6 Contents Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
2 RevisionHistory
Thisisa placeholderforfuturerevisions. Copyright© 2010,Texas InstrumentsIncorporated RevisionHistory 7 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
3 Device Overview
3.1 Device Characteristics
providesan overviewof the device.The tableshows significantfeaturesof the device,includingthe capacityofon-chipRAM, peripherals,and thepackage typewithpincount. Table3-1.Characteristicsofthedevice HARDWARE FEATURES AM1806 DDR2, 16-bitbus width,up to150 MHzDDR2/mDDR Controller MobileDDR, 16-bitbus width,up to133 MHz Asynchronous(8/16-bitbus width)RAM, Flash,EMIFA 16-bitSDRAM, NOR, NAND FlashCard Interface MMC and SD cardssupported. 64 independentchannels,16 QDMA channels,EDMA3 2 channelcontrollers,3 transfercontrollers 4 64-BitGeneralPurpose(configurableas 2 separate32-bitTimers timers,1 configurableas Watch Dog) UART 3 (eachwithRTS and CTS flowcontrol) SPI 2 (Eachwithone hardwarechipselect) I2C 2 (bothMaster/Slave) MultichannelAudioSerialPort[McASP] 1 (eachwithtransmit/receive,FIFO buffer,16 serializers) MultichannelBufferedSerialPort[McBSP] 2 (eachwithtransmit/receive,FIFO buffer,16) Peripherals 4 SingleEdge,4 DualEdge Symmetric,oreHRPWM 2 DualEdge AsymmetricOutputsNot allperipheralspins areavailableatthe USB 2.0(USB0) High-SpeedOTG Controllerwithon-chipOTG PHY same time(formore General-PurposeInput/OutputPort 9 banks of16-bitdetail,see theDevice Configurationssection).LCD Controller 1 UniversalParallelPort(uPP) 1 VideoPortInterface(VPIF) 1 (videoinand videoout) PRU Subsystem (PRUSS) 2 Programmable PRU Cores Size(Bytes) 168KB RAM, 1088KB BootROM ARM 16KB I-Cache 16KB D-CacheOn-ChipMemory Organization 8KB RAM (VectorTable) 64KB ROM ADDITIONAL MEMORY 128KB RAM C674x CPU ID + CPU ControlStatusRegister(CSR.[31:16]) 0x1400Rev ID C674x Megamodule RevisionID Register(MM_REVID[15:0]) 0x0000Revision JTAG BSDL_ID DEVIDR0 Register 0x0B7D_102F CPU Frequency MHz ARM926 375 MHz (1.2V)or456 MHz (1.3V) 1.2V nominalfor375 MHz verionCore (V) 1.3V nominalfor456 MHz verionVoltage I/O(V) 1.8Vor3.3V 13 mm x 13 mm, 361-Ball0.65mm pitch,PBGA (ZCE) Packages 16 mm x 16 mm, 361-Ball0.80mm pitch,PBGA (ZWT) ProductPreview(PP), ProductStatus(1) Advance Information(AI), AI orProductionData (PD) (1) ADVANCE INFORMATION concernsnew productsinthesamplingorpreproductionphase ofdevelopment.Characteristicdataand otherspecificationsaresubjecttochange withoutnotice.
8 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.2 Device Compatibility
The ARM926EJ-S RISC CPU iscompatiblewithotherARM9 CPUs fromARM Holdingsplc.
3.3 ARM Subsystem
The ARM Subsystem includesthefollowingfeatures:
- ARM926EJ-S RISC processor
- ARMv5TEJ (32/16-bit)instructionset
- Littleendian
- System ControlCo-Processor15 (CP15)
- MMU
- 16KB Instructioncache
- 16KB Data cache
- WriteBuffer
- Embedded TraceModule and Embedded TraceBuffer(ETM/ETB)
- ARM Interruptcontroller
3.3.1 ARM926EJ-S RISC CPU
The ARM Subsystem integratestheARM926EJ-S processor.The ARM926EJ-S processorisa member of ARM9 familyofgeneral-purposemicroprocessors.Thisprocessoristargetedatmulti-taskingapplications where fullmemory management, highperformance,low diesize,and low power are allimportant.The ARM926EJ-S processorsupportsthe32-bitARM and 16 bitTHUMB instructionsets,enablingtheuserto tradeoffbetween high performanceand high code density.Specifically,the ARM926EJ-S processor supportstheARMv5TEJ instructionset,whichincludesfeaturesforefficientexecutionofJava bytecodes, providingJava performancesimilarto JustinTime (JIT)Java interpreter,but withoutassociatedcode overhead. The ARM926EJ-S processorsupportsthe ARM debug architectureand includeslogicto assistinboth hardware and softwaredebug. The ARM926EJ-S processorhas a Harvardarchitectureand providesa completehighperformancesubsystem,including:
- ARM926EJ -S integercore
- CP15 systemcontrolcoprocessor
- Memory Management Unit(MMU)
- Separateinstructionand datacaches
- Writebuffer
- Separateinstructionand data(internalRAM) interfaces
- Separateinstructionand dataAHB bus interfaces
- Embedded TraceModule and Embedded TraceBuffer(ETM/ETB) For more completedetailson theARM9, refertotheARM926EJ-S TechnicalReferenceManual,available athttp://www.arm.com
3.3.2 CP15
The ARM926EJ-S system controlcoprocessor(CP15) isused to configureand controlinstructionand datacaches,Memory Management Unit(MMU), and otherARM subsystemfunctions.The CP15 registers areprogrammed usingtheMRC and MCR ARM instructions,when theARM ina privilegedmode such as supervisororsystemmode. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 9 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
3.3.3 MMU
A singlesetoftwo levelpage tablesstoredinmain memory isused tocontroltheaddresstranslation, permissionchecksand memory regionattributesforbothdataand instructionaccesses.The MMU uses a singleunifiedTranslationLookasideBuffer(TLB) to cache the informationheldinthe page tables.The MMU featuresare:
- StandardARM architecturev4 and v5 MMU mapping sizes,domains and accessprotectionscheme.
- Mapping sizesare: – 1MB (sections) – 64KB (largepages) – 4KB (smallpages) – 1KB (tinypages)
- Access permissionsforlargepages and smallpages can be specifiedseparatelyforeach quarterof thepage (subpagepermissions)
- Hardware page tablewalks
- InvalidateentireTLB, usingCP15 register8
- InvalidateTLB entry,selectedby MVA, usingCP15 register8
- Lockdown ofTLB entries,usingCP15 register10
3.3.4 Caches and WriteBuffer
The sizeoftheInstructioncache is16KB, Data cache is16KB. Additionally,thecaches have thefollowing features:
- Virtualindex,virtualtag,and addressedusingtheModifiedVirtualAddress(MVA)
- Four-waysetassociative,witha cache linelengthofeightwords perline(32-bytesperline)and with two dirtybitsintheDcache
- Dcache supportswrite-throughand write-back(orcopy back)cache operation,selectedby memory regionusingtheC and B bitsintheMMU translationtables
- Critical-wordfirstcache refilling
- Cache lockdownregistersenablecontroloverwhich cache ways are used forallocationon a linefill, providinga mechanism forbothlockdown,and controllingcache corruption
- Dcache storesthePhysicalAddress TAG (PA TAG) correspondingtoeach Dcache entryintheTAG RAM foruse duringthe cache linewrite-backs,inadditionto the VirtualAddress TAG storedinthe TAG RAM. Thismeans thattheMMU isnotinvolvedinDcache write-backoperations,removingthe possibilityofTLB missesrelatedtothewrite-backaddress.
- Cache maintenanceoperationsprovideefficientinvalidationof,theentireDcache orIcache,regionsof theDcache orIcache,and regionsofvirtualmemory. The writebufferisused forallwritestoa noncachablebufferableregion,write-throughregionand write misses toa write-backregion.A separatebufferisincorporatedintheDcache forholdingwrite-backfor cache lineevictionsorcleaningofdirtycache lines.The main writebufferhas 16-worddatabufferand a four-addressbuffer.The Dcache write-backhas eightdataword entriesand a singleaddressentry.
3.3.5 Advanced High-PerformanceBus (AHB)
The ARM Subsystem uses theAHB portoftheARM926EJ-S toconnecttheARM totheConfigbus and theexternalmemories.Arbitersareemployed toarbitrateaccesstotheseparateD-AHB and I-AHB by the ConfigBus and theexternalmemories bus.
3.3.6 Embedded Trace Macrocell(ETM) and Embedded Trace Buffer(ETB)
To supportreal-timetrace,theARM926EJ-S processorprovidesan interfacetoenableconnectionofan Embedded Trace Macrocell(ETM). The ARM926ES-J Subsystem in the AM1808 also includesthe Embedded TraceBuffer(ETB).The ETM consistsoftwo parts:
10 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
- TracePortprovidesreal-timetracecapabilityfortheARM9.
- Triggeringfacilitiesprovidetriggerresources,which includeaddressand data comparators,counter, and sequencers. The AM1808 traceportisnotpinnedoutand isinsteadonlyconnectedtotheEmbedded Trace Buffer. The ETB has a 4KB buffermemory. ETB enableddebug toolsarerequiredtoread/interpretthecaptured tracedata.
3.3.7 ARM Memory Mapping
By defaulttheARM has accesstomost on and offchipmemory areas,includingEMIFA, DDR2, and the additional128K byteon chipSRAM. Likewisealmostalloftheon chipperipheralsare accessibletothe ARM by default. See Table3-2fora detailedtopleveldevicememory map thatincludestheARM memory space. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 11 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
3.4 Memory Map Summary
Table3-2.AM1808 Top LevelMemory Map Start End Address Size ARM Mem Map EDMA Mem Map PRUSS Mem Master LCDC Address Map Peripheral Mem Mem Map Map 0x0000 0000 0x0000 0FFF 4K PRUSS Local Address Space 0x0000 1000 0x01BB FFFF 0x01BC 0000 0x01BC 0FFF 4K ARM ETB memory 0x01BC 1000 0x01BC 17FF 2K ARM ETB reg 0x01BC 1800 0x01BC 18FF 256 ARM Ice Crusher 0x01BC 1900 0x01BF FFFF 0x01C0 0000 0x01C0 7FFF 32K EDMA3 CC 0x01C0 8000 0x01C0 83FF 1K EDMA3 TC0 0x01C0 8400 0x01C0 87FF 1K EDMA3 TC1 0x01C0 8800 0x01C0 FFFF 0x01C1 0000 0x01C1 0FFF 4K PSC 0 0x01C1 1000 0x01C1 1FFF 4K PLL Controller0 0x01C1 2000 0x01C1 3FFF 0x01C1 4000 0x01C1 4FFF 4K SYSCFG0 0x01C1 5000 0x01C1 FFFF 0x01C2 0000 0x01C2 0FFF 4K Timer0 0x01C2 1000 0x01C2 1FFF 4K Timer1 0x01C2 2000 0x01C2 2FFF 4K I2C 0 0x01C2 3000 0x01C2 3FFF 4K RTC 0x01C2 4000 0x01C3 FFFF 0x01C4 0000 0x01C4 0FFF 4K MMC/SD 0 0x01C4 1000 0x01C4 1FFF 4K SPI 0 0x01C4 2000 0x01C4 2FFF 4K UART 0 0x01C4 3000 0x01CF FFFF 0x01D0 0000 0x01D0 0FFF 4K McASP 0 Control 0x01D0 1000 0x01D0 1FFF 4K McASP 0 AFIFO Ctrl 0x01D0 2000 0x01D0 2FFF 4K McASP 0 Data 0x01D0 3000 0x01D0 BFFF 0x01D0 C000 0x01D0 CFFF 4K UART 1 0x01D0 D000 0x01D0 DFFF 4K UART 2 0x01D0 E000 0x01D0 FFFF 0x01D1 0000 0x01D1 07FF 2K McBSP0 0x01D1 0800 0x01D1 0FFF 2K McBSP0 FIFO Ctrl 0x01D1 1000 0x01D1 17FF 2K McBSP1 0x01D1 1800 0x01D1 1FFF 2K McBSP1 FIFO Ctrl 0x01D1 2000 0x01DF FFFF 0x01E0 0000 0x01E0 FFFF 64K USB0 0x01E1 0000 0x01E1 0FFF 4K UHPI 0x01E1 1000 0x01E1 2FFF 0x01E1 3000 0x01E1 3FFF 4K LCD Controller 0x01E1 4000 0x01E1 4FFF 4K Memory ProtectionUnit1 (MPU 1)
12 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table3-2.AM1808 Top LevelMemory Map (continued) Start End Address Size ARM Mem Map EDMA Mem Map PRUSS Mem Master LCDC Address Map Peripheral Mem Mem Map Map 0x01E1 5000 0x01E1 5FFF 4K Memory ProtectionUnit2 (MPU 2) 0x01E1 6000 0x01E1 6FFF 4K UPP 0x01E1 7000 0x01E1 7FFF 4K VPIF 0x01E1 8000 0x01E1 9FFF 0x01E1 A000 0x01E1 AFFF 4K PLL Controller1 0x01E1 B000 0x01E1 BFFF 4K MMCSD1 0x01E1 C000 0x01E1 FFFF 0x01E2 0000 0x01E2 1FFF 0x01E2 2000 0x01E2 2FFF 0x01E2 3000 0x01E2 3FFF 0x01E2 4000 0x01E2 4FFF 0x01E2 5000 0x01E2 5FFF 0x01E2 6000 0x01E2 6FFF 4K GPIO 0x01E2 7000 0x01E2 7FFF 4K PSC 1 0x01E2 8000 0x01E2 8FFF 4K I2C 1 0x01E2 9000 0x01E2 BFFF 0x01E2 C000 0x01E2 CFFF 4K SYSCFG1 0x01E2 D000 0x01E2 FFFF 0x01E3 0000 0x01E3 7FFF 32K EDMA3 CC1 0x01E3 8000 0x01E3 83FF 1K EDMA3 TC2 0x01E3 8400 0x01EF FFFF 0x01F0 0000 0x01F0 0FFF 4K eHRPWM 0 0x01F0 1000 0x01F0 1FFF 4K HRPWM 0 0x01F0 2000 0x01F0 2FFF 4K eHRPWM 1 0x01F0 3000 0x01F0 3FFF 4K HRPWM 1 0x01F0 4000 0x01F0 5FFF 0x01F0 6000 0x01F0 6FFF 4K ECAP 0 0x01F0 7000 0x01F0 7FFF 4K ECAP 1 0x01F0 8000 0x01F0 8FFF 4K ECAP 2 0x01F0 9000 0x01F0 BFFF 0x01F0 C000 0x01F0 CFFF 4K Timer2 0x01F0 D000 0x01F0 DFFF 4K Timer3 0x01F0 E000 0x01F0 EFFF 4K SPI1 0x01F0 F000 0x01F0 FFFF 0x01F1 0000 0x01F1 0FFF 4K McBSP0 FIFO Data 0x01F1 1000 0x01F1 1FFF 4K McBSP1 FIFO Data 0x01F1 2000 0x3FFF FFFF 0x4000 0000 0x5FFF FFFF 512M EMIFA SDRAM data(CS0) 0x6000 0000 0x61FF FFFF 32M EMIFA asyncdata(CS2) 0x6200 0000 0x63FF FFFF 32M EMIFA asyncdata(CS3) 0x6400 0000 0x65FF FFFF 32M EMIFA asyncdata(CS4) 0x6600 0000 0x67FF FFFF 32M EMIFA asyncdata(CS5) 0x6800 0000 0x6800 7FFF 32K EMIFA ControlRegs 0x6800 8000 0x7FFF FFFF 0x8000 0000 0x8001 FFFF 128K On-chipRAM 0x8002 0000 0xAFFF FFFF Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 13 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table3-2.AM1808 Top LevelMemory Map (continued) Start End Address Size ARM Mem Map EDMA Mem Map PRUSS Mem Master LCDC Address Map Peripheral Mem Mem Map Map 0xB000 0000 0xB000 7FFF 32K DDR2 ControlRegs 0xB000 8000 0xBFFF FFFF 0xC000 0000 0xDFFF FFFF 512M DDR2 Data 0xE000 0000 0xFFFC FFFF 0xFFFD 0000 0xFFFD FFFF 64K ARM local ROM 0xFFFE 0000 0xFFFE DFFF 0xFFFE E000 0xFFFE FFFF 8K ARM Interrupt Controller 0xFFFF 0000 0xFFFF 1FFF 8K ARM local ARM Local RAM RAM (PRU0 only) 0xFFFF 2000 0xFFFF FFFF
14 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION W V U T R P N M L K 10987654321 10987654321 DVDD3318_C VP_CLKOUT3/ PRU1_R30[0]/ GP6[1]/ PRU1_R31[1] VSS NC VP_CLKOUT2/ MMCSD1_DA T[2]/ PRU1_R30[2]/ GP6[3]/ PRU1_R31[3] NC NC NC NCNC NC NC NCNC DVDD3318_C DDR_A[1 1] VP_DOUT[15]/ LCD_D[15]/ UPP_XD[7]/ GP7[7]/ BOOT[7] DVDD3318_C DVDD18 DDR_DVDD18 DDR_DVDD18 DDR_D[15]DDR_RASDDR_CLKPDDR_CLKNDDR_A[2]DDR_A[10] VSS LCD_AC_ENB_CS/ GP6[0]/ PRU1_R31[28] DDR_A[13] DDR_CAS DDR_A[5] DDR_CKE DDR_BA[0] VSS CVDDRVDD DDR_A[9] DDR_A[1] DDR_WE DDR_D[10] DDR_A[7] DDR_A[0] DDR_D[12] DDR_A[12] DDR_A[3] DDR_CS DDR_A[6] DDR_DQM[1] VSS CVDD VSS DDR_DVDD18 VP_DOUT[12]/ LCD_D[12]/ UPP_XD[4]/ GP7[4]/ BOOT[4] DDR_VREF DDR_BA[1] DDR_A[8] DDR_A[4] DDR_BA[2] VSS W V U T R P N M L K DDR_D[13] VSS VSS VSS VSS DVDD18 VSS VSS VSS VSS NC VSS VSS VSS VSS CVDD CVDD VSS DDR_DVDD18DDR_DVDD18DDR_DVDD18DDR_DVDD18DVDD3318_C VP_DOUT[13]/ LCD_D[13]/ UPP_XD[5]/ GP7[5]/ BOOT[5] VP_DOUT[14]/ LCD_D[14]/ UPP_XD[6]/ GP7[6]/ BOOT[6] DDR_DVDD18 DDR_DVDD18 DDR_DVDD18 VP_DOUT[9]/ LCD_D[9]/ UPP_XD[1]/ GP7[1]/ BOOT[1] VP_DOUT[10]/ LCD_D[10]/ UPP_XD[2]/ GP7[2]/ BOOT[2] VP_DOUT[1 1]/ LCD_D[1 1]/ UPP_XD[3]/ GP7[3]/ BOOT[3] VP_DOUT[6]/ LCD_D[6]/ UPP_XD[14]/ GP7[14]/ PRU1_R31[14] VP_DOUT[7]/ LCD_D[7]/ UPP_XD[15]/ GP7[15]/ PRU1_R31[15] VP_DOUT[8]/ LCD_D[8]/ UPP_XD[0]/ GP7[0]/ BOOT[0] VP_DOUT[3]/ LCD_D[3]/ UPP_XD[1 1]/ GP7[1 1]/ PRU1_R31[1 1] VP_DOUT[4]/ LCD_D[4]/ UPP_XD[12]/ GP7[12]/ PRU1_R31[12] VP_DOUT[5]/ LCD_D[5]/ UPP_XD[13]/ GP7[13]/ PRU1_R31[13] VP_DOUT[0]/ LCD_D[0]/ UPP_XD[8]/ GP7[8]/ PRU1_R31[8] VP_DOUT[1]/ LCD_D[1]/ UPP_XD[9]/ GP7[9]/ PRU1_R31[9] VP_DOUT[2]/ LCD_D[2]/ UPP_XD[10]/ GP7[10]/ PRU1_R31[10] AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.5 Pin Assignments
Extensiveuse ofpinmultiplexingisused toaccommodate thelargestnumber ofperipheralfunctionsin the smallestpossiblepackage. Pin multiplexingis controlledusing a combinationof hardware configurationatdeviceresetand softwareprogrammableregistersettings.
3.5.1 Pin Map (Bottom View)
The followinggraphicsshow the bottom view of the ZCE and ZWT packages pinassignmentsinfour quadrants(A,B,C, and D).The pinassignmentsforbothpackagesareidentical. Figure3-1.Pin Map (Quad A) Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 15 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION W V U T R P N M L K 191817161514131211 191817161514131211 NC DVDD3318_CCVDD NC DVSS3318_C DDR_DQGATE0 DVDD18DDR_DQGATE1 DDR_D[9] DDR_D[8] DDR_D[11] DVDD18 RTC_CVDD RESET USB0_DM USB0_DP VP_DIN[11]/ UHPI_HD[3]/ UPP_D[3]/ PRU0_R30[11]/ PRU0_R31[11] USB0_VDDA33 USB0_VBUS NC VP_DIN[0]/ UHPI_HD[8]/ UPP_D[8]/ PRU1_R31[29] VP_DIN[1]/ UHPI_HD[9]/ UPP_D[9]/ PRU0_R31[23] VP_DIN[2]/ UHPI_HD[10]/ UPP_D[10]/ PRU0_R31[24] VP_DIN[4]/ UHPI_HD[12]/ UPP_D[12]/ PRU0_R31[26] PRU0_R30[28]/ UHPI_HCNTL1/ UPP_CHA_START/ GP6[10] NC PLL0_VDDA PRU0_R30[30] / PRU1_R30[11]/ GP6[12] UHPI_HINT USB0_VDDA18 VP_DIN[5]/ UHPI_HD[13]/ UPP_D[13]/ PRU0_R31[27] DDR_D[1] VP_DIN[7]/ UHPI_HD[15]/ UPP_D[15]/ PRU0_R31[29] OSCVSS DDR_D[2] VP_DIN[6]/ UHPI_HD[14]/ UPP_D[14]/ PRU0_R31[28] VP_DIN[3]/ UHPI_HD[11]/ UPP_D[11]/ PRU0_R31[25] VP_DIN[14]_ HSYNC/ UHPI_HD[6]/ UPP_D[6]/ PRU0_R30[14]/ PRU0_R31[14] EMU1 VP_DIN[8]/ UHPI_HD[0]/ UPP_D[0]/ GP6[5]/ PRU1_R31[0] USB0_VDDA12 TDI NC PRU0_R30[26]/ UHPI_HR / UPP_CHA_WAIT/ GP6[8]/ PRU1_R31[17] W VP_DIN[12]/ UHPI_HD[4]/ UPP_D[4]/ PRU0_R30[12]/ PRU0_R31[12] RESETOUT UHPI_HAS PRU1_R30[14]/ GP6[15] RSV2 RTCK/ GP8[0] OSCOUT DDR_D[0] PRU0_R30[27]/ UHPI_HHWIL/ UPP_CHA_ENABLE/ GP6[9] VP_DIN[13]_ FIELD/ UHPI_HD[5]/ UPP_D[5]/ PRU0_R30[13]/ PRU0_R31[13] TRST OSCIN VP_CLKIN1/ PRU1_R30[9]/ GP6[6]/ PRU1_R31[16] UHPI_HDS1 VP_DIN[15]_ VSYNC/ UHPI_HD[7]/ UPP_D[7]/ PRU0_R30[15]/ PRU0_R31[15] VP_CLKIN0/ PRU1_R30[10]/ GP6[7]/ UPP_2xTXCLK UHPI_HCS VP_DIN[10]/ UHPI_HD[2]/ UPP_D[2]/ PRU0_R30[10]/ PRU0_R31[10] VSS DVDD3318_B PLL0_VSSA TMS PRU0_R30[31]/ PRU1_R30[12] GP6[13] UHPI_HRDY NC PLL1_VSSA PLL1_VDDA NC USB0_ID VP_DIN[9]/ UHPI_HD[1]/ UPP_D[1]/ PRU0_R30[9]/ PRU0_R31[9] CLKOUT/ PRU1_R30[13]/ GP6[14] UHPI_HDS2 USB0_DRVVBUS DDR_DQS[0] PRU0_R30[29]/ UHPI_HCNTL0/ UPP_CHA_CLOCK/ GP6[11] W V U T R P N M L K DDR_DQM[0] DDR_D[3] DDR_D[4] DDR_D[6] DDR_ZP DDR_D[5] DDR_D[7] DDR_D[14] DDR_DQS[1] VSS VSS VSS VSS VSS CVDD DVDD3318_C DVDD3318_C DVDD3318_C AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure3-2.Pin Map (Quad B)
16 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION H G F E D C B A 19181716151413121 1 19181716151413121 1 CVDD EMA_A[8]/ PRU1_R30[16]/ GP5[8] EMA_A[14]/ MMCSD0_DA T[7]/ PRU1_R30[22]/ GP5[14] EMA_A[15]/ MMCSD0_DA T[6]/ PRU1_R30[23]/ GP5[15] EMA_A[10]/ PRU1_R30[18]/ GP5[10] EMA_A[9]/ PRU1_R30[17]/ GP5[9] EMA_A[13]/ PRU0_R30[21]/ PRU1_R30[21] GP5[13] EMA_A[12]/ PRU1_R30[20]/ GP5[12] EMA_A[16]/ MMCSD0_DA T[5]/ PRU1_R30[24]/ GP4[0] EMA_A[18]/ MMCSD0_DA T[3]/ PRU1_R30[26]/ GP4[2]/ PRU1_R31[18] DVDD3318_B DVDD18 EMA_A[6]/ GP5[6] EMA_A[5]/ GP5[5] EMA_A[2]/ GP5[2] EMA_A7/ PRU1_R30[15]/ GP5[7] EMA_A[4]/ GP5[4] SPI0_SIMO/ EPWMSYNCO/ GP8[5] SPI0_SCS[5]/ UART0_RXD/ GP8[4] SPI1_SCS[1]/ EPWM1A/ PRU0_R30[7]/ GP2[15]/ TM64P2_IN12 SPI0_SCS[4]/ UART0_TXD/ GP8[3] SPI0_CLK/ EPWM0A/ GP1[8] SPI1_SCS[3]/ UART1_RXD/ GP1[1] SPI1_SCS[0]/ EPWM1B/ PRU0_R30[8]/ GP2[14]/ TM64P3_IN12 EMA_OE/ GP3[10] SPI1_SCS[4]/ UART2_TXD/ I2C1_SDA/ GP1[2] EMA_A[3]/ GP5[3] DVDD18 RTC_VSS EMA_WAIT[0]/ PRU0_R30[0]/ GP3[8]/ PRU0_R31[0] EMA_RAS/ PRU0_R30[3]/ GP2[5]/ PRU0_R31[3] SPI0_SCS[3] UART0_CTS GP8[2] SPI0_SCS[0]/ TM64P1_OUT12/ GP1[6]/ TM64P1_IN12 SPI0_SOMI/ EPWMSYNCI/ GP8[6] SPI0_SCS[2] UART0_RTS GP8[1] SPI1_SCS[7]/ I2C0_SCL/ TM64P2_OUT12/ GP1[15] SPI1_SIMO/ GP2[10] SPI1_CLK/ GP2[13] EMA_CS[3]/ GP3[14] VSS VSS SPI1_ENA/ GP2[12] RTC_XO EMA_CS[2]/ GP3[15] EMA_WAIT[1]/ PRU0_R30[1]/ GP2[1]/ PRU0_R31[1] EMA_A[20]/ MMCSD0_DA T[1]/ PRU1_R30[28]/ GP4[4]/ PRU1_R31[20] EMA_BA[1]/ GP2[9] SPI0_ENA/ EPWM0B/ PRU0_R30[6] EMA_CS[5]/ GP3[12] SPI1_SCS[5]/ UART2_RXD/ I2C1_SCL/ GP1[3] EMA_A[0]/ GP5[0] EMA_BA[0]/ GP2[8] EMA_A[1]/ GP5[1] DVDD3318_B SPI0_SCS[1]/ TM64P0_OUT12/ GP1[7]/ TM64P0_IN12 DVDD3318_A SPI1_SCS[6]/ I2C0_SDA/ TM64P3_OUT12/ GP1[4] EMA_CS[0]/ GP2[0] CVDD SPI1_SOMI/ GP2[1 1] H G F E D C B A J TDOTCK EMU0 RTC_XIRSVDN J SPI1_SCS[2]/ UART1_TXD/ GP1[0] EMA_A[1 1]/ PRU1_R30[19]/ GP5[1 1] EMA_A[17]/ MMCSD0_DA T[4]/ PRU1_R30[25] GP4[1] DVDD3318_BDVDD3318_B DVDD18 CVDD DVDD3318_A DVDD3318_A RVDDCVDDCVDD VSS CVDD DVDD18 DVDD3318_B AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure3-3.Pin Map (Quad C) Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 17 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION J H G F E D C B A 10987654321 10987654321 EMA_D[15]/ GP3[7] AXR15/ EPWM0TZ[0]/ ECAP2_APWM2/ GP0[7] ACLKR/ PRU0_R30[20]/ GP0[15]/ PRU0_R31[22] ACLKX/ PRU0_R30[19]/ GP0[14]/ PRU0_R31[21] AHCLKX/ USB_REFCLKIN/ GP0[10]/ PRU0_R31[17] UART1_CTS AFSX/ GP0[12]/ PRU0_R31[19] AFSR/ GP0[13]/ PRU0_R31[20] AXR9/ DX1/ GP0[1] AXR4/ FSR0/ GP1[12] AXR5/ CLKX0/ GP1[13] AXR7/ EPWM1TZ[0]/ PRU0_R30[17] GP1[15]/ PRU0_R31[7] AXR10/ DR1/ GP0[2] AXR1/ DX0/ GP1[9] AXR3/ FSX0/ GP1[1 1] AXR2/ DR0/ GP1[10] MMCSD1_DA T[6]/ LCD_MCLK/ PRU1_R30[6]/ GP8[10]/ PRU1_R31[7] RTC_ALARM/ GP0[8]/ UART2_CTS DEEPSLEEP AXR0/ ECAP0_APWM0/ GP8[7]/ CLKS0 PRU0_R30[24]/ MMCSD1_CLK/ UPP_CHB_ST ART/ GP8[14]/ PRU1_R31[26] MMCSD1_DA T[4]/ LCD_VSYNC/ PRU1_R30[4]/ GP8[8]/ PRU1_R31[5] VSS PRU0_R30[22]/ PRU1_R30[8]/ UPP_CHB_WAIT/ GP8[12]/ PRU1_R31[24] AXR8/ CLKS1/ ECAP1_APWM1/ GP0[0]/ PRU0_R31[8] AXR12/ FSR1/ GP0[4] EMA_D[4]/ GP4[12] AXR14/ CLKR1/ GP0[6] EMA_WEN_DQM[1]/ GP2[2] EMA_D[0]/ GP4[8] EMA_A[19]/ MMCSD0_DA T[2]/ PRU1_R30[27]/ GP4[3]/ PRU1_R31[19] EMA_D[9]/ GP3[1] EMA_A_R / GP3[9] W EMA_A[23]/ MMCSD0_CLK/ PRU1_R30[31]/ GP4[7]/ PRU1_R31[23] EMA_D[8]/ GP3[0] EMA_D[13]/ GP3[5] VP_CLKIN2/ MMCSD1_DA T[3]/ PRU1_R30[3]/ GP6[4]/ PRU1_R31[4] VP_CLKIN3/ MMCSD1_DA T[1]/ PRU1_R30[1]/ GP6[2]/ PRU1_R31[2] AMUTE/ GP0[9]/ PRU0_R31[16] PRU0_R30[16]/ UART2_RTS/ DVDD3318_A DVDD3318_A EMA_WE/ GP3[1 1] EMA_D[10]/ GP3[2] EMA_D[3]/ GP4[1 1] EMA_SDCKE/ PRU0_R30[4]/ GP2[6]/ PRU0_R31[4] EMA_D[14]/ GP3[6] EMA_D[7]/ GP4[15] EMA_D[1]/ GP4[9] EMA_A[22]/ MMCSD0_CMD/ PRU1_R30[30]/ GP4[6]/ PRU1_R31[22] EMA_D[2]/ GP4[10] EMA_A[21]/ MMCSD0_DA T[0]/ PRU1_R30[29]/ GP4[5]/ PRU1_R31[21] PRU0_R30[23]/ MMCSD1_CMD/ UPP_CHB_ENABLE/ GP8[13]/ PRU1_R31[25] AHCLKR/ GP0[1 1]/ PRU0_R31[18] PRU0_R30[18]/ UART1_RTS EMA_D[12]/ GP3[4] EMA_WEN_DQM[0]/ GP2[3] EMA_CLK/ PRU0_R30[5]/ GP2[7]/ PRU0_R31[5] AXR6/ CLKR0/ GP1[14]/ PRU0_R31[6] AXR1 1/ FSX1/ GP0[3] EMA_D[6]/ GP4[14] EMA_D[1 1]/ GP3[3] RVDD EMA_D[5]/ GP4[13] MMCSD1_DA T[7]/ LCD_PCLK/ PRU1_R30[7]/ GP8[1 1] MMCSD1_DA T[5]/ LCD_HSYNC/ PRU1_R30[5]/ GP8[9]/ PRU1_R31[6] PRU0_R30[25]/ MMCSD1_DA T[0]/ UPP_CHB_CLOCK/ GP8[15]/ PRU1_R31[27] AXR13/ CLKX1/ GP0[5] J H G F E D C B A EMA_CS[4]/ GP3[13] EMA_CAS/ PRU0_R30[2]/ GP2[4]/ PRU0_R31[2] DVDD3318_B DVDD3318_B DVDD3318_B DVDD3318_B DVDD18 CVDD CVDD DVDD3318_B DVDD18 VSS DVDD3318_A VSS VSS CVDD CVDD VSS VSS CVDD NC NC DVDD3318_C CVDD VSS VSS AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure3-4.Pin Map (Quad D)
3.6 Pin MultiplexingControl
Devicelevelpinmultiplexingiscontrolledby registersPINMUX0 -PINMUX19 intheSYSCFG module. For thedevicefamily,pinmultiplexingcan be controlledon a pin-by-pinbasis.Each pinthatismultiplexed withseveraldifferentfunctionshas a corresponding4-bitfieldinone ofthePINMUX registers. Pin multiplexingselectswhich ofseveralperipheralpinfunctionscontrolsthepin'sIO bufferoutput data and outputenable valuesonly.The defaultpinmultiplexingcontrolforalmosteverypinistoselect'none' oftheperipheralfunctionsinwhichcase thepin'sIO bufferisheldtri-stated. Note thattheinputfromeach pinisalwaysroutedtoalloftheperipheralsthatsharethepin;thePINMUX registershave no effecton inputfroma pin.
18 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.7 TerminalFunctions
Table3-3toTable3-27identifytheexternalsignalnames, theassociatedpin/ballnumbers alongwiththe mechanicalpackage designator,thepintype(I,O, IO,OZ, orPWR), whetherthepin/ballhas any internal pullup/pulldownresistors,whetherthepin/ballisconfigurableas an IO inGPIO mode, and a functionalpin description.
3.7.1 Device Reset and JTAG
Table3-3.Reset and JTAG TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. RESET RESET K14 I IPU B Deviceresetinput RESETOUT /UHPI_HAS /PRU1_R30[14] / T17 O (4) CP[21] C ResetoutputGP6[15] JTAG TMS L16 I IPU B JTAG testmode select TDI M16 I IPU B JTAG testdatainput TDO J18 O IPU B JTAG testdataoutput TCK J15 I IPU B JTAG testclock TRST L17 I IPD B JTAG testreset EMU[0 ] J16 I/O IPU B Emulationpin EMU[1] K16 I/O IPU B Emulationpin RTCK /GP8[0] (5) K17 I/O IPD B JTAG TestClockReturnClockOutput (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:Formultiplexedpinswhere functionshave differenttypes(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionfor thatparticularperipheral. (2) IPD = InternalPulldownresistor,IPU = InternalPullupresistor.CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C. (4) Open drainmode forRESETOUT function. (5) GP8[0]isinitiallyconfiguredas a reservedfunctionafterresetand willnotbe ina predictablestate.Thissignalwillonlybe stableafter theGPIO configurationforthispinhas been completed.Usersshouldcarefullyconsiderthesystemimplicationsofthispinbeinginan unknown stateafterreset. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 19 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
3.7.2 High-FrequencyOscillatorand PLL
Table3-4.High-FrequencyOscillatorand PLL TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. CLKOUT /UHPI_HDS2 / T18 O CP[22] C PLL ObservationClockPRU1_R30[13] /GP6[14] 1.2-VOSCILLATOR OSCIN L19 I — — Oscillatorinput OSCOUT K19 O — — Oscillatoroutput OSCVSS L18 GND — — Oscillatorground(forfilteronly) 1.2-VPLL0 PLL0_VDDA L15 PWR — — PLL analogVDD (1.2-Vfilteredsupply) PLL0_VSSA M17 GND — — PLL analogVSS (forfilter) 1.2-VPLL1 PLL1_VDDA N15 PWR — — PLL analogVDD (1.2-Vfilteredsupply) PLL1_VSSA M15 GND — — PLL analogVSS (forfilter) (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:Formultiplexedpinswhere functionshave differenttypes(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionfor thatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C.
20 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.7.3 Real-TimeClock and 32-kHz Oscillator
Table3-5.Real-TimeClock (RTC) and 1.2-V,32-kHz OscillatorTerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. RTC_XI J19 I — — RTC 32-kHzoscillatorinput RTC_XO H19 O — — RTC 32-kHzoscillatoroutput RTC_ALARM /UART2_CTS /GP0[8]/DEEPSLEEP F4 O CP[0] A RTC Alarm RTC module corepowerRTC_CVDD L14 PWR — — (isolatedfromchipCV DD ) RTC_V ss H18 GND — — Oscillatorground(forfilter) (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:Formultiplexedpinswhere functionshave differenttypes(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionfor thatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C.
3.7.4 DEEPSLEEP Power Control
Table3-6.DEEPSLEEP Power ControlTerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. RTC_ALARM /UART2_CTS /GP0[8]/DEEPSLEEP F4 I CP[0] A DEEPSLEEP power controloutput (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:Formultiplexedpinswhere functionshave differenttypes(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionfor thatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 21 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
3.7.5 ExternalMemory InterfaceA (EMIFA)
Table3-7.ExternalMemory InterfaceA (EMIFA) TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. EMA_D[15] /GP3[7] E6 I/O CP[17] B EMA_D[14] /GP3[6] C7 I/O CP[17] B EMA_D[13] /GP3[5] B6 I/O CP[17] B EMA_D[12] /GP3[4] A6 I/O CP[17] B EMA_D[11] /GP3[3] D6 I/O CP[17] B EMA_D[10] /GP3[2] A7 I/O CP[17] B EMA_D[9] /GP3[1] D9 I/O CP[17] B EMA_D[8] /GP3[0] E10 I/O CP[17] B EMIFA databus EMA_D[7] /GP4[15] D7 I/O CP[17] B EMA_D[6] /GP4[14] C6 I/O CP[17] B EMA_D[5] /GP4[13] E7 I/O CP[17] B EMA_D[4] /GP4[12] B5 I/O CP[17] B EMA_D[3] /GP4[11] E8 I/O CP[17] B EMA_D[2] /GP4[10] B8 I/O CP[17] B EMA_D[1] /GP4[9] A8 I/O CP[17] B EMA_D[0] /GP4[8] C9 I/O CP[17] B (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C.
22 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table3-7.ExternalMemory InterfaceA (EMIFA) TerminalFunctions(continued) SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. EMA_A[22] /MMCSD0_CMD / A10 O CP[18] BPRU1_R30[30] /GP4[6]/PRU1_R31[22] EMA_A[21] /MMCSD0_DAT[0] / B10 O CP[18] BPRU1_R30[29] /GP4[5]/PRU1_R31[21] EMA_A[20] /MMCSD0_DAT[1] / A11 O CP[18] BPRU1_R30[28] /GP4[4]/PRU1_R31[20] EMA_A[19] /MMCSD0_DAT[2] / C10 O CP[18] BPRU1_R30[27] /GP4[3]/PRU1_R31[19] EMA_A[18] /MMCSD0_DAT[3] / E11 O CP[18] BPRU1_R30[26] /GP4[2]/PRU1_R31[18] EMA_A[17] /MMCSD0_DAT[4] / B11 O CP[18] BPRU1_R30[25] /GP4[1] EMA_A[16] /MMCSD0_DAT[5] / E12 O CP[18] BPRU1_R30[24] /GP4[0] EMA_A[15] /MMCSD0_DAT[6] / C11 O CP[19] BPRU1_R30[23] /GP5[15] EMA_A[14] /MMCSD0_DAT[7] / A12 O CP[19] BPRU1_R30[22] /GP5[14] EMIFA addressbus EMA_A[13] /PRU0_R30[21]/PRU1_R30[21] D11 O CP[19] B/GP5[13] EMA_A[12] /PRU1_R30[20] /GP5[12] D13 O CP[19] B EMA_A[11] /PRU1_R30[19] /GP5[11] B12 O CP[19] B EMA_A[10] /PRU1_R30[18] /GP5[10] C12 O CP[19] B EMA_A[9] /PRU1_R30[17] /GP5[9] D12 O CP[19] B EMA_A[8] /PRU1_R30[16] /GP5[8] A13 O CP[19] B EMA_A[7] /PRU1_R30[15] /GP5[7] B13 O CP[20] B EMA_A[6] /GP5[6] E13 O CP[20] B EMA_A[5] /GP5[5] C13 O CP[20] B EMA_A[4] /GP5[4] A14 O CP[20] B EMA_A[3] /GP5[3] D14 O CP[20] B EMA_A[2] /GP5[2] B14 O CP[20] B EMA_A[1] /GP5[1] D15 O CP[20] B EMA_A[0] /GP5[0] C14 O CP[20] B EMA_BA[0] /GP2[8] C15 O CP[16] B EMIFA bank address EMA_BA[1] /GP2[9] A15 O CP[16] B EMA_CLK /PRU0_R30[5] /GP2[7]/ B7 O CP[16] B EMIFA clockPRU0_R31[5] EMA_SDCKE /PRU0_R30[4] /GP2[6]/ D8 O CP[16] B EMIFA SDRAM clockenablePRU0_R31[4] EMA_RAS /PRU0_R30[3] /GP2[5]/ A16 O CP[16] B EMIFA SDRAM row addressstrobePRU0_R31[3] EMA_CAS /PRU0_R30[2] /GP2[4]/ A9 O CP[16] B EMIFA SDRAM column addressstrobePRU0_R31[2] EMA_CS[0] /GP2[0] A18 O CP[16] B EMA_CS[2] /GP3[15] B17 O CP[16] B EMA_CS[3] /GP3[14] A17 O CP[16] B EMIFA Async ChipSelect EMA_CS[4] /GP3[13] F9 O CP[16] B EMA_CS[5] /GP3[12] B16 O CP[16] B EMA_A_R W /GP3[9] D10 O CP[16] B EMIFA Async Read/Writecontrol EMA_WE /GP3[11] B9 O CP[16] B EMIFA SDRAM writeenable Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 23 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table3-7.ExternalMemory InterfaceA (EMIFA) TerminalFunctions(continued) SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. EMIFA writeenable/datamask forEMA_WEN_DQM[1] /GP2[2] A5 O CP[16] B EMA_D[15:8] EMA_WEN_DQM[0] /GP2[3] C8 O CP[16] B EMIFA writeenable/datamask forEMA_D[7:0] EMA_OE /GP3[10] B15 O CP[16] B EMIFA outputenable EMA_WAIT[0] /PRU0_R30[0] /GP3[8]/ B18 I CP[16] BPRU0_R31[0] EMIFA waitinput/interrupt EMA_WAIT[1] /PRU0_R30[1] /GP2[1]/ B19 I CP[16] BPRU0_R31[1]
24 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.7.6 DDR2 Controller(DDR2)
Table3-8.DDR2 Controller(DDR2) TerminalFunctions SIGNAL TYPE (1) PULL (2) DESCRIPTION NAME NO. DDR_D[15] W10 I/O IPD DDR_D[14] U11 I/O IPD DDR_D[13] V10 I/O IPD DDR_D[12] U10 I/O IPD DDR_D[11] T12 I/O IPD DDR_D[10] T10 I/O IPD DDR_D[9] T11 I/O IPD DDR_D[8] T13 I/O IPD DDR2 SDRAM databus DDR_D[7] W11 I/O IPD DDR_D[6] W12 I/O IPD DDR_D[5] V12 I/O IPD DDR_D[4] V13 I/O IPD DDR_D[3] U13 I/O IPD DDR_D[2] V14 I/O IPD DDR_D[1] U14 I/O IPD DDR_D[0] U15 I/O IPD DDR_A[13] T5 O IPD DDR_A[12] V4 O IPD DDR_A[11] T4 O IPD DDR_A[10] W4 O IPD DDR_A[9] T6 O IPD DDR_A[8] U4 O IPD DDR_A[7] U6 O IPD DDR2 row/columnaddress DDR_A[6] W5 O IPD DDR_A[5] V5 O IPD DDR_A[4] U5 O IPD DDR_A[3] V6 O IPD DDR_A[2] W6 O IPD DDR_A[1] T7 O IPD DDR_A[0] U7 O IPD DDR_CLKP W8 O IPD DDR2 clock(positive) DDR_CLKN W7 O IPD DDR2 clock(negative) DDR_CKE V7 O IPD DDR2 clockenable DDR_WE T8 O IPD DDR2 writeenable DDR_RAS W9 O IPD DDR2 row addressstrobe DDR_CAS U9 O IPD DDR2 column addressstrobe DDR_CS V9 O IPD DDR2 chipselect DDR_DQM[0] W13 O IPD DDR2 datamask outputs DDR_DQM[1] R10 O IPD (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 25 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table3-8.DDR2 Controller(DDR2) TerminalFunctions(continued) SIGNAL TYPE (1) PULL (2) DESCRIPTION NAME NO. DDR_DQS[0] T14 I/O IPD DDR2 datastrobeinputs/outputs DDR_DQS[1] V11 I/O IPD DDR_BA[2] U8 O IPD DDR_BA[1] T9 O IPD DDR2 SDRAM bank address DDR_BA[0] V8 O IPD DDR2 loopbacksignalforexternalDQS gating. DDR_DQGATE0 R11 O IPD Route toDDR and back toDDR_DQGATE1 with same constraintsas used forDDR clockand data. DDR2 loopbacksignalforexternalDQS gating. DDR_DQGATE1 R12 I IPD Route toDDR and back toDDR_DQGATE0 with same constraintsas used forDDR clockand data. DDR2 referenceoutputfordrivestrengthcalibration DDR_ZP U12 O — ofN and P channeloutputs.Tietogroundvia50 ohm resistor@ 0.5% tolerance. DDR voltageinputfortheDDR2/mDDR I/Obuffers. DDR_VREF R6 I — Note even inthecase ofmDDR an externalresistor dividerconnectedtothispinisnecessary. N10, P10,N9, P9,R9, P8,DDR_DVDD18 PWR — DDR PHY 1.8Vpower supplypinsR8, P7,R7,
26 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.7.7 SerialPeripheralInterfaceModules (SPI)
Table3-9.SerialPeripheralInterface(SPI)TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. SPI0 SPI0_CLK /EPWM0A /GP1[8] D19 I/O CP[7] A SPI0 clock SPI0_ENA /EPWM0B /PRU0_R30[6] C17 I/O CP[7] A SPI0 enable SPI0_SCS[0] /TM64P1_OUT12 /GP1[6]/TM64P1_IN12 D17 I/O CP[10] A SPI0_SCS[1] /TM64P0_OUT12 /GP1[7]/TM64P0_IN12 E16 I/O CP[10] A SPI0_SCS[2] /UART0_RTS /GP8[1] D16 I/O CP[9] A SPI0 chipselects SPI0_SCS[3] /UART0_CTS /GP8[2] E17 I/O CP[9] A SPI0_SCS[4] /UART0_TXD /GP8[3] D18 I/O CP[8] A SPI0_SCS[5] /UART0_RXD /GP8[4] C19 I/O CP[8] A SPI0 dataSPI0_SIMO /EPWMSYNCO /GP8[5] C18 I/O/Z CP[7] A slave-in-master-out SPI0 dataSPI0_SOMI /EPWMSYNCI /GP8[6] C16 I/O/Z CP[7] A slave-out-master-in SPI1 SPI1_CLK /GP2[13] G19 I/O CP[15] A SPI1 clock SPI1_ENA /GP2[12] H16 I/O CP[15] A SPI1 enable SPI1_SCS[0] /EPWM1B /PRU0_R30[8] /GP2[14]/TM64P3_IN12 E19 I/O CP[14] A SPI1_SCS[1] /EPWM1A /PRU0_R30[7] /GP2[15]/TM64P2_IN12 F18 I/O CP[14] A SPI1_SCS[2] /UART1_TXD /GP1[0] F19 I/O CP[13] A SPI1_SCS[3] /UART1_RXD /GP1[1] E18 I/O CP[13] A SPI1 chipselects SPI1_SCS[4] /UART2_TXD /I2C1_SDA /GP1[2] F16 I/O CP[12] A SPI1_SCS[5] /UART2_RXD /I2C1_SCL /GP1[3] F17 I/O CP[12] A SPI1_SCS[6] /I2C0_SDA /TM64P3_OUT12 /GP1[4] G18 I/O CP[11] A SPI1_SCS[7] /I2C0_SCL /TM64P2_OUT12 /GP1[5] G16 I/O CP[11] A SPI1 dataSPI1_SIMO /GP2[10] G17 I/O/Z CP[15] A slave-in-master-out SPI1 dataSPI1_SOMI /GP2[11] H17 I/O/Z CP[15] A slave-out-master-in (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 27 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
3.7.8 Programmable Real-TimeUnit(PRU)
Table3-10.Programmable Real-TimeUnit(PRU) TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. PRU0 Output Signals (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C.
28 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table3-10.Programmable Real-TimeUnit(PRU) TerminalFunctions(continued) SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. PRU0_R30[31] /UHPI_HRDY /PRU1_R30[12] /GP6[13] R17 O CP[23] C PRU0_R30[30] /UHPI_HINT /PRU1_R30[11] /GP6[12] R16 O CP[23] C PRU0_R30[29] /UHPI_HCNTL0 /UPP_CHA_CLOCK /GP6[11] U17 O CP[24] C PRU0_R30[28] /UHPI_HCNTL1 /UPP_CHA_START /GP6[10] W15 O CP[24] C PRU0_R30[27] /UHPI_HHWIL /UPP_CHA_ENABLE /GP6[9] U16 O CP[24] C PRU0_R30[26] /UHPI_HR W /UPP_CHA_WAIT /GP6[8]/ T15 O CP[24] CPRU1_R31[17] PRU0_R30[25] /MMCSD1_DAT[0] /UPP_CHB_CLOCK /GP8[15]/ G1 O CP30] CPRU1_R31[27] PRU0_R30[24] /MMCSD1_CLK /UPP_CHB_START /GP8[14]/ G2 O CP[30] CPRU1_R31[26] PRU0_R30[23] /MMCSD1_CMD /UPP_CHB_ENABLE /GP8[13]/ J4 O CP[30] CPRU1_R31[25] PRU0_R30[22] /PRU1_R30[8] /UPP_CHB_WAIT /GP8[12]/ G3 O CP[30] CPRU1_R31[24] EMA_A[13] /PRU0_R30[21] /PRU1_R30[21] /GP5[13] D11 O CP[19] B ACLKR /PRU0_R30[20] /GP0[15]/PRU0_R31[22] A1 O CP[0] A ACLKX /PRU0_R30[19] /GP0[14]/PRU0_R31[21] B1 O CP[0] A AHCLKR /PRU0_R30[18] /UART1_RTS /GP0[11]/PRU0_R31[18] A2 O CP[0] A AXR7 /EPWM1TZ[0] /PRU0_R30[17] /GP1[15]/PRU0_R31[7] D2 O CP[4] A AMUTE /PRU0_R30[16] /UART2_RTS /GP0[9]/PRU0_R31[16] D5 O CP[0] A PRU0 OutputSignalsVP_DIN[15]_VSYNC /UHPI_HD[7] /UPP_D[7] /PRU0_R30[15] / V18 O CP[27] CPRU0_R31[15] VP_DIN[14]_HSYNC /UHPI_HD[6] /UPP_D[6] /PRU0_R30[14] / V19 O CP[27] CPRU0_R31[14] VP_DIN[13]_FIELD/UHPI_HD[5] /UPP_D[5] /PRU0_R30[13] / U19 O CP[27] CPRU0_R31[13] VP_DIN[12]/UHPI_HD[4] /UPP_D[4] /PRU0_R30[12] / T16 O CP[27] CPRU0_R31[12] VP_DIN[11]/UHPI_HD[3] /UPP_D[3] /PRU0_R30[11] / R18 O CP[27] CPRU0_R31[11] VP_DIN[10]/UHPI_HD[2] /UPP_D[2] /PRU0_R30[10] / R19 O CP[27] CPRU0_R31[10] VP_DIN[9]/UHPI_HD[1] /UPP_D[1] /PRU0_R30[9] /PRU0_R31[9] R15 O CP[27] C SPI1_SCS[0]/EPWM1B /PRU0_R30[8] /GP2[14]/TM64P3_IN12 E19 O CP[14] A SPI1_SCS[1]/EPWM1A /PRU0_R30[7] /GP2[15]/TM64P2_IN12 F18 O CP[14] A SPI0_ENA /EPWM0B /PRU0_R30[6] C17 O CP[7] A EMA_CLK /PRU0_R30[5] /GP2[7]/PRU0_R31[5] B7 O CP[16] B EMA_SDCKE /PRU0_R30[4] /GP2[6]/PRU0_R31[4] D8 O CP[16] B EMA_RAS /PRU0_R30[3] /GP2[5]/PRU0_R31[3] A16 O CP[16] B EMA_CAS /PRU0_R30[2] /GP2[4]/PRU0_R31[2] A9 O CP[16] B EMA_WAIT[1] /PRU0_R30[1] /GP2[1]/PRU0_R31[1] B19 O CP[16] B EMA_WAIT[0] /PRU0_R30[0] /GP3[8]/PRU0_R31[0] B18 O CP[16] B PRU0 InputSignals Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 29 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table3-10.Programmable Real-TimeUnit(PRU) TerminalFunctions(continued) SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. VP_DIN[7]/UHPI_HD[15] /UPP_D[15] /PRU0_R31[29] U18 I CP[26] C VP_DIN[6]/UHPI_HD[14] /UPP_D[14] /PRU0_R31[28] V16 I CP[26] C VP_DIN[5]/UHPI_HD[13] /UPP_D[13] /PRU0_R31[27] R14 I CP[26] C VP_DIN[4]/UHPI_HD[12] /UPP_D[12] /PRU0_R31[26] W16 I CP[26] C VP_DIN[3]/UHPI_HD[11] /UPP_D[11] /PRU0_R31[25] V17 I CP[26] C VP_DIN[2]/UHPI_HD[10] /UPP_D[10] /PRU0_R31[24] W17 I CP[26] C VP_DIN[1]/UHPI_HD[9] /UPP_D[9] /PRU0_R31[23] W18 I CP[26] C ACLKR /PRU0_R30[20] /GP0[15]/PRU0_R31[22] A1 I CP[0] A ACLKX /PRU0_R30[19] /GP0[14]/PRU0_R31[21] B1 I CP[0] A AFSR /GP0[13]/PRU0_R31[20] C2 I CP[0] A AFSX /GP0[12]/PRU0_R31[19] B2 I CP[0] A AHCLKR /PRU0_R30[18] /UART1_RTS /GP0[11]/PRU0_R31[18] A2 I CP[0] A AHCLKX /USB_REFCLKIN /UART1_CTS /GP0[10]/ A3 I CP[0] APRU0_R31[17] AMUTE /PRU0_R30[16] /UART2_RTS /GP0[9]/PRU0_R31[16] D5 I CP[0] A VP_DIN[15]_VSYNC /UHPI_HD[7] /UPP_D[7] /PRU0_R30[15] / V18 I CP[27] CPRU0_R31[15] VP_DIN[14]_HSYNC /UHPI_HD[6] /UPP_D[6] /PRU0_R30[14] / V19 I CP[27] C PRU0 InputSignalsPRU0_R31[14] VP_DIN[13]_FIELD/UHPI_HD[5] /UPP_D[5] /PRU0_R30[13] / U19 I CP[27] CPRU0_R31[13] VP_DIN[12]/UHPI_HD[4] /UPP_D[4] /PRU0_R30[12] / T16 I CP[27] CPRU0_R31[12] VP_DIN[11]/UHPI_HD[3] /UPP_D[3] /PRU0_R30[11] / R18 I CP[27] CPRU0_R31[11] VP_DIN[10]/UHPI_HD[2] /UPP_D[2] /PRU0_R30[10] / R19 I CP[27] CPRU0_R31[10] VP_DIN[9]/UHPI_HD[1] /UPP_D[1] /PRU0_R30[9] /PRU0_R31[9] R15 I CP[27] C AXR8 /CLKS1 /ECAP1_APWM1 /GP0[0]/PRU0_R31[8] E4 I CP[3] A AXR7 /EPWM1TZ[0] /PRU0_R30[17] /GP1[15]/PRU0_R31[7] D2 I CP[4] A AXR6 /CLKR0 /GP1[14]/PRU0_R31[6] C1 I CP[5] A EMA_CLK /PRU0_R30[5] /GP2[7]/PRU0_R31[5] B7 I CP[16] B EMA_SDCKE /PRU0_R30[4] /GP2[6]/PRU0_R31[4] D8 I CP[16] B EMA_RAS /PRU0_R30[3] /GP2[5]/PRU0_R31[3] A16 I CP[16] B EMA_CAS /PRU0_R30[2] /GP2[4]/PRU0_R31[2] A9 I CP[16] B EMA_WAIT[1] /PRU0_R30[1] /GP2[1]/PRU0_R31[1] B19 I CP[16] B EMA_WAIT[0] /PRU0_R30[0] /GP3[8]/PRU0_R31[0] B18 I CP[16] B PRU1 Output Signals
30 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table3-10.Programmable Real-TimeUnit(PRU) TerminalFunctions(continued) SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. MMCSD0_CLK /PRU1_R30[31] /GP4[7]/PRU1_R31[23] E9 O CP[18] B EMA_A[22] /MMCSD0_CMD /PRU1_R30[30] /GP4[6]/ A10 O CP[18] BPRU1_R31[22] EMA_A[21] /MMCSD0_DAT[0] /PRU1_R30[29] /GP4[5]/ B10 O CP[18] BPRU1_R31[21] EMA_A[20] /MMCSD0_DAT[1] /PRU1_R30[28] /GP4[4]/ A11 O CP[18] BPRU1_R31[20] EMA_A[19] /MMCSD0_DAT[2] /PRU1_R30[27] /GP4[3]/ C10 O CP[18] BPRU1_R31[19] EMA_A[18] /MMCSD0_DAT[3] /PRU1_R30[26] /GP4[2]/ E11 O CP[18] BPRU1_R31[18] EMA_A[17] /MMCSD0_DAT[4] /PRU1_R30[25] /GP4[1] B11 O CP[18] B EMA_A[16] /MMCSD0_DAT[5] /PRU1_R30[24] /GP4[0] E12 O CP[18] B EMA_A[15] /MMCSD0_DAT[6] /PRU1_R30[23] /GP5[15] C11 O CP[19] B EMA_A[14] /MMCSD0_DAT[7] /PRU1_R30[22] /GP5[14] A12 O CP[19] B EMA_A[13] /PRU0_R30[21] /PRU1_R30[21] /GP5[13] D11 O CP[19] B EMA_A[12] /PRU1_R30[20] /GP5[12] D13 O CP[19] B EMA_A[11] /PRU1_R30[19] /GP5[11] B12 O CP[19] B EMA_A[10] /PRU1_R30[18] /GP5[10] C12 O CP[19] B EMA_A[9] /PRU1_R30[17] /GP5[9] D12 O CP[19] B EMA_A[8] /PRU1_R30[16] /GP5[8] A13 O CP[19] B EMA_A[7] /PRU1_R30[15] /GP5[7] B13 O CP[20] B PRU1 OutputSignalsRESETOUT /UHPI_HAS /PRU1_R30[14] /GP6[15] T17 O CP[21] C CLKOUT /UHPI_HDS2 /PRU1_R30[13] /GP6[14] T18 O CP[22] C PRU0_R30[31] /UHPI_HRDY /PRU1_R30[12] /GP6[13] R17 O CP[23] C PRU0_R30[30] /UHPI_HINT /PRU1_R30[11] /GP6[12] R16 O CP[23] C VP_CLKIN0 /UHPI_HCS /PRU1_R30[10] /GP6[7]/ W14 O CP[25] CUPP_2xTXCLK VP_CLKIN1 /UHPI_HDS1 /PRU1_R30[9] /GP6[6]/PRU1_R31[16] V15 O CP[25] C PRU0_R30[22] /PRU1_R30[8] /UPP_CHB_WAIT /GP8[12]/ G3 O CP[30] CPRU1_R31[24] MMCSD1_DAT[7] /LCD_PCLK /PRU1_R30[7] /GP8[11] F1 O CP[31] C MMCSD1_DAT[6] /LCD_MCLK /PRU1_R30[6] /GP8[10]/ F2 O CP[31] CPRU1_R31[7] MMCSD1_DAT[5] /LCD_HSYNC /PRU1_R30[5] /GP8[9]/ H4 O CP[31] CPRU1_R31[6] MMCSD1_DAT[4] /LCD_VSYNC /PRU1_R30[4] /GP8[8]/ G4 O CP[31] CPRU1_R31[5] VP_CLKIN2 /MMCSD1_DAT[3] /PRU1_R30[3] /GP6[4]/ H3 O CP[30] CPRU1_R31[4] VP_CLKOUT2 /MMCSD1_DAT[2] /PRU1_R30[2] /GP6[3]/ K3 O CP[30] CPRU1_R31[3] VP_CLKIN3 /MMCSD1_DAT[1] /PRU1_R30[1] /GP6[2]/ J3 O CP[30] CPRU1_R31[2] VP_CLKOUT3 /PRU1_R30[0] /GP6[1]/PRU1_R31[1] K4 O CP[30] C PRU1 InputSignals Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 31 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table3-10.Programmable Real-TimeUnit(PRU) TerminalFunctions(continued) SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. VP_DIN[0]/UHPI_HD[8] /UPP_D[8] /PRU1_R31[29] W19 I CP[26] C LCD_AC_ENB_CS /GP6[0]/PRU1_R31[28] R5 I CP[31] C PRU0_R30[25] /MMCSD1_DAT[0] /UPP_CHB_CLOCK /GP8[15]/ G1 I CP[30] CPRU1_R31[27] PRU0_R30[24] /MMCSD1_CLK /UPP_CHB_START /GP8[14]/ G2 I CP[30] CPRU1_R31[26] PRU0_R30[23] /MMCSD1_CMD /UPP_CHB_ENABLE /GP8[13]/ J4 I CP[30] CPRU1_R31[25] PRU0_R30[22] /PRU1_R30[8] /UPP_CHB_WAIT /GP8[12]/ G3 I CP[30] CPRU1_R31[24] MMCSD0_CLK /PRU1_R30[31] /GP4[7]/PRU1_R31[23] E9 I CP[18] B EMA_A[22] /MMCSD0_CMD /PRU1_R30[30] /GP4[6]/ A10 I CP[18] BPRU1_R31[22] EMA_A[21] /MMCSD0_DAT[0] /PRU1_R30[29] /GP4[5]/ B10 I CP[18] BPRU1_R31[21] EMA_A[20] /MMCSD0_DAT[1] /PRU1_R30[28] /GP4[4]/ A11 I CP[18] BPRU1_R31[20] EMA_A[19] /MMCSD0_DAT[2] /PRU1_R30[27] /GP4[3]/ C10 I CP[18] BPRU1_R31[19] EMA_A[18] /MMCSD0_DAT[3] /PRU1_R30[26] /GP4[2]/ E11 I CP[18] BPRU1_R31[18] PRU0_R30[26] /UHPI_HR W /UPP_CHA_WAIT /GP6[8]/ T15 I CP[24] CPRU1_R31[17] VP_CLKIN1 /UHPI_HDS1 /PRU1_R30[9] /GP6[6]/PRU1_R31[16] V15 I CP[25] C PRU1 InputSignals VP_DOUT[7] /LCD_D[7] /UPP_XD[15] /GP7[15]/PRU1_R31[15] U2 I CP[28] C VP_DOUT[6] /LCD_D[6] /UPP_XD[14] /GP7[14]/PRU1_R31[14] U1 I CP[28] C VP_DOUT[5] /LCD_D[5] /UPP_XD[13] /GP7[13]/PRU1_R31[13] V3 I CP[28] C VP_DOUT[4] /LCD_D[4] /UPP_XD[12] /GP7[12]/PRU1_R31[12] V2 I CP[28] C VP_DOUT[3] /LCD_D[3] /UPP_XD[11] /GP7[11]/PRU1_R31[11] V1 I CP[28] C VP_DOUT[2] /LCD_D[2] /UPP_XD[10] /GP7[10]/PRU1_R31[10] W3 I CP[28] C VP_DOUT[1] /LCD_D[1] /UPP_XD[9] /GP7[9]/PRU1_R31[9] W2 I CP[28] C VP_DOUT[0] /LCD_D[0] /UPP_XD[8] /GP7[8]/PRU1_R31[8] W1 I CP[28] C MMCSD1_DAT[6] /LCD_MCLK /PRU1_R30[6] /GP8[10]/ F2 I CP[31] CPRU1_R31[7] MMCSD1_DAT[5] /LCD_HSYNC /PRU1_R30[5] /GP8[9]/ H4 I CP[31] CPRU1_R31[6] MMCSD1_DAT[4] /LCD_VSYNC /PRU1_R30[4] /GP8[8]/ G4 I CP[31] CPRU1_R31[5] VP_CLKIN2 /MMCSD1_DAT[3] /PRU1_R30[3] /GP6[4]/ H3 I CP[30] CPRU1_R31[4] VP_CLKOUT2 /MMCSD1_DAT[2] /PRU1_R30[2] /GP6[3]/ K3 I CP[30] CPRU1_R31[3] VP_CLKIN3 /MMCSD1_DAT[1] /PRU1_R30[1] /GP6[2]/ J3 I CP[30] CPRU1_R31[2] VP_CLKOUT3 /PRU1_R30[0] /GP6[1]/PRU1_R31[1] K4 I CP[30] C VP_DIN[8]/UHPI_HD[0] /UPP_D[0] /GP6[5]/PRU1_R31[0] P17 I CP[27] C
32 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.7.9 Enhanced Capture/AuxiliaryPWM Modules (eCAP0)
The eCAP Module pinsfunctionas eitherinputcapturesorauxiliaryPWM 32-bitoutputs,dependingupon how theeCAP module isprogrammed. Table3-11.Enhanced Capture Module (eCAP) TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. eCAP0 enhanced capture0 inputorAXR0 /ECAP0_APWM0 /GP8[7]/CLKS0 F3 I/O CP[6] A auxiliaryPWM 0 output eCAP1 enhanced capture1 inputorAXR8 /CLKS1 /ECAP1_APWM1 /GP0[0]/PRU0_R31[8] E4 I/O CP[3] A auxiliaryPWM 1 output eCAP2 enhanced capture2 inputorAXR15 /EPWM0TZ[0] /ECAP2_APWM2 /GP0[7] A4 I/O CP[1] A auxiliaryPWM 2 output (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 33 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
3.7.10 Enhanced Pulse Width Modulators(eHRPWM)
Table3-12.Enhanced Pulse Width Modulator(eHRPWM) TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. eHRPWM0 eHRPWM0 A outputSPI0_CLK /EPWM0A /GP1[8] D19 I/O CP[7] A (withhigh-resolution) SPI0_ENA /EPWM0B /PRU0_R30[6] C17 I/O CP[7] A eHRPWM0 B output AXR15 /EPWM0TZ[0] /ECAP2_APWM2 /GP0[7] A4 I/O CP[1] A eHRPWM0 tripzone input SPI0_SOMI /EPWMSYNCI /GP8[6] C16 I/O CP[7] A eHRPWM0 syncinput SPI0_SIMO /EPWMSYNCO /GP8[5] C18 I/O CP[7] A eHRPWM0 syncoutput eHRPWM1 SPI1_SCS[1]/EPWM1A /PRU0_R30[7] /GP2[15]/ eHRPWM1 A outputF18 I/O CP[14] ATM64P2_IN12 (withhigh-resolution) SPI1_SCS[0]/EPWM1B /PRU0_R30[8] /GP2[14]/ E19 I/O CP[14] A eHRPWM1 B outputTM64P3_IN12 AXR7 /EPWM1TZ[0] /PRU0_R30[17] /GP1[15]/ D2 I/O CP[4] A eHRPWM1 tripzone inputPRU0_R31[7] (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C.
34 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.7.11 Boot
Table3-13.Boot Mode SelectionTerminalFunctions(1) SIGNAL POWERTYPE (2) PULL (3) DESCRIPTIONGROUP (4) NAME NO. VP_DOUT[15/]/LCD_D[15]/UPP_XD[7] /GP7[7]/BOOT[7] P4 I CP[29] C VP_DOUT[14] /LCD_D[14] /UPP_XD[6] /GP7[6]/BOOT[6] R3 I CP[29] C VP_DOUT[13] /LCD_D[13] /UPP_XD[5] /GP7[5]/BOOT[5] R2 I CP[29] C VP_DOUT[12] /LCD_D[12] /UPP_XD[4] /GP7[4]/BOOT[4] R1 I CP[29] C BootMode SelectionPins VP_DOUT[11] /LCD_D[11] /UPP_XD[3] /GP7[3]/BOOT[3] T3 I CP[29] C VP_DOUT[10] /LCD_D[10] /UPP_XD[2] /GP7[2]/BOOT[2] T2 I CP[29] C VP_DOUT[9] /LCD_D[9] /UPP_XD[1] /GP7[1]/BOOT[1] T1 I CP[29] C VP_DOUT[8] /LCD_D[8] /UPP_XD[0] /GP7[0]/BOOT[0] U3 I CP[29] C (1) Bootdecodingisdefinedinthebootloaderapplicationreport. (2) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (3) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (4) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 35 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
3.7.12 UniversalAsynchronous Receiver/Transmitters(UART0 ,UART1, UART2)
Table3-14.UniversalAsynchronous Receiver/Transmitter(UART) TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. UART0 SPI0_SCS[5]/UART0_RXD /GP8[4] C19 I CP[8] A UART0 receivedata SPI0_SCS[4]/UART0_TXD /GP8[3] D18 O CP[8] A UART0 transmitdata SPI0_SCS[2]/UART0_RTS /GP8[1] D16 O CP[9] A UART0 ready-to-sendoutput SPI0_SCS[3]/UART0_CTS /GP8[2] E17 I CP[9] A UART0 clear-to-sendinput UART1 SPI1_SCS[3]/UART1_RXD /GP1[1] E18 I CP[13] A UART1 receivedata SPI1_SCS[2]/UART1_TXD /GP1[0] F19 O CP[13] A UART1 transmitdata AHCLKR /PRU0_R30[18] /UART1_RTS /GP0[11]/ A2 O CP[0] A UART1 ready-to-sendoutputPRU0_R31[18] AHCLKX /USB_REFCLKIN /UART1_CTS /GP0[10]/ A3 I CP[0] A UART1 clear-to-sendinputPRU0_R31[17] UART2 SPI1_SCS[5]/UART2_RXD /I2C1_SCL /GP1[3] F17 I CP[12] A UART2 receivedata SPI1_SCS[4]/UART2_TXD /I2C1_SDA /GP1[2] F16 O CP[12] A UART2 transmitdata AMUTE /PRU0_R30[16] /UART2_RTS /GP0[9]/ D5 O CP[0] A UART2 ready-to-sendoutputPRU0_R31[16] RSVD /RTC_ALARM /UART2_CTS /GP0[8]/DEEPSLEEP F4 I CP[0] A UART2 clear-to-sendinput (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.Thepull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C.
36 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.7.13 Inter-IntegratedCircuitModules(I2C0,I2C1)
Table3-15.Inter-IntegratedCircuit(I2C)TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. I2C0 SPI1_SCS[6]/I2C0_SDA /TM64P3_OUT12 /GP1[4] G18 I/O CP[11] A I2C0 serialdata SPI1_SCS[7]/I2C0_SCL /TM64P2_OUT12 /GP1[5] G16 I/O CP[11] A I2C0 serialclock I2C1 SPI1_SCS[4]/UART2_TXD /I2C1_SDA /GP1[2] F16 I/O CP[12] A I2C1 serialdata SPI1_SCS[5]/UART2_RXD /I2C1_SCL /GP1[3] F17 I/O CP[12] A I2C1 serialclock (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.Thepull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 37 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
3.7.14 Timers
Table3-16.Timers TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. TIMER0 SPI0_SCS[1]/TM64P0_OUT12 /GP1[7]/TM64P0_IN12 E16 I CP[10] A Timer0lowerinput. Timer0lowerSPI0_SCS[1]/TM64P0_OUT12 /GP1[7]/TM64P0_IN12 E16 O CP[10] A output TIMER1 (Watchdog) SPI0_SCS[0]/TM64P1_OUT12 /GP1[6]/TM64P1_IN12 D17 I CP[10] A Timer1lowerinput. Timer1lowerSPI0_SCS[0]/TM64P1_OUT12 /GP1[6]/TM64P1_IN12 D17 O CP[10] A output TIMER2 SPI1_SCS[1]/EPWM1A /PRU0_R30[7] /GP2[15]/TM64P2_IN12 F18 I CP[14] A Timer2lowerinput. Timer2lowerSPI1_SCS[7]/I2C0_SCL /TM64P2_OUT12 /GP1[5] G16 O CP[11] A output TIMER3 SPI1_SCS[0]/EPWM1B /PRU0_R30[8] /GP2[14]/TM64P3_IN12 E19 I CP[14] A Timer3lowerinput. Timer3lowerSPI1_SCS[6]/I2C0_SDA /TM64P3_OUT12 /GP1[4] G18 O CP[11] A output (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C.
38 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.7.15 MultichannelAudio SerialPorts(McASP)
Table3-17.MultichannelAudio SerialPortsTerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. McASP0 AXR15 /EPWM0TZ[0] /ECAP2_APWM2 /GP0[7] A4 I/O CP[1] A AXR14 /CLKR1 /GP0[6] B4 I/O CP[2] A AXR13 /CLKX1 /GP0[5] B3 I/O CP[2] A AXR12 /FSR1 /GP0[4] C4 I/O CP[2] A AXR11 /FSX1 /GP0[3] C5 I/O CP[2] A AXR10 /DR1 /GP0[2] D4 I/O CP[2] A AXR9 /DX1 /GP0[1] C3 I/O CP[2] A AXR8 /CLKS1 /ECAP1_APWM1 /GP0[0]/PRU0_R31[8] E4 I/O CP[3] A McASP0 serialdataAXR7 /EPWM1TZ[0] /PRU0_R30[17] /GP1[15]/ D2 I/O CP[4] APRU0_R31[7] AXR6 /CLKR0 /GP1[14]/PRU0_R31[6] C1 I/O CP[5] A AXR5 /CLKX0 /GP1[13] D3 I/O CP[5] A AXR4 /FSR0 /GP1[12] D1 I/O CP[5] A AXR3 /FSX0 /GP1[11] E3 I/O CP[5] A AXR2 /DR0 /GP1[10] E2 I/O CP[5] A AXR1 /DX0 /GP1[9] E1 I/O CP[5] A AXR0 /ECAP0_APWM0 /GP8[7]/CLKS0 F3 I/O CP[6] A AHCLKX /USB_REFCLKIN /UART1_CTS /GP0[10]/ A3 I/O CP[0] A McASP0 transmitmasterclockPRU0_R31[17] ACLKX /PRU0_R30[19]/GP0[14]/PRU0_R31[21] B1 I/O CP[0] A McASP0 transmitbitclock AFSX /GP0[12]/PRU0_R31[19] B2 I/O CP[0] A McASP0 transmitframesync AHCLKR /PRU0_R30[18] /UART1_RTS /GP0[11]/ A2 I/O CP[0] A McASP0 receivemasterclockPRU0_R31[18] ACLKR /PRU0_R30[20] /GP0[15]/PRU0_R31[22] A1 I/O CP[0] A McASP0 receivebitclock AFSR /GP0[13]/PRU0_R31[20] C2 I/O CP[0] A McASP0 receiveframesync AMUTE /PRU0_R30[16] /UART2_RTS /GP0[9]/ D5 I/O CP[0] A McASP0 mute outputPRU0_R31[16] (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 39 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
3.7.16 MultichannelBufferedSerialPorts(McBSP)
Table3-18.MultichannelBufferedSerialPorts(McBSPs) TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. McBSP0 AXR0 /ECAP0_APWM0 /GP8[7]/CLKS0 F3 I CP[6] A McBSP0 sample rategeneratorclockinput AXR6 /CLKR0 /GP1[14]/PRU0_R31[6] C1 I/O CP[5] A McBSP0 receiveclock AXR4 /FSR0 /GP1[12]/ D1 I/O CP[5] A McBSP0 receiveframesync AXR2 /DR0 /GP1[10]/ E2 I CP[5] A McBSP0 receivedata AXR5 /CLKX0 /GP1[13]/ D3 I/O CP[5] A McBSP0 transmitclock AXR3 /FSX0 /GP1[11] E3 I/O CP[5] A McBSP0 transmitframesync AXR1 /DX0 /GP1[9] E1 O CP[5] A McBSP0 transmitdata McBSP1 AXR8 /CLKS1 /ECAP1_APWM1 /GP0[0]/ E4 I CP[3] A McBSP1 sample rategeneratorclockinputPRU0_R31[8] AXR14 /CLKR1 /GP0[6] B4 I/O CP[2] A McBSP1 receiveclock AXR12 /FSR1 /GP0[4] C4 I/O CP[2] A McBSP1 receiveframesync AXR10 /DR1 /GP0[2] D4 I CP[2] A McBSP1 receivedata AXR13 /CLKX1 /GP0[5] B3 I/O CP[2] A McBSP1 transmitclock AXR11 /FSX1 /GP0[3] C5 I/O CP[2] A McBSP1 transmitframesync AXR9 /DX1 /GP0[1] C3 O CP[2] A McBSP1 transmitdata (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C.
40 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.7.17 UniversalSerialBus Modules (USB0)
Table3-19.UniversalSerialBus (USB) TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. USB0 2.0OTG (USB0) USB0_DM M18 A IPD — USB0 PHY dataminus USB0_DP M19 A IPD — USB0 PHY dataplus USB0_VDDA33 N18 PWR — — USB0 PHY 3.3-Vsupply USB0 PHY identificationUSB0_ID P16 A — — (mini-Aormini-Bplug) USB0_VBUS N19 A — — USB0 bus voltage USB0_DRVVBUS K18 0 IPD B USB0 controllerVBUS controloutput. AHCLKX /USB_REFCLKIN /UART1_CTS / A3 I CP[0] A USB_REFCLKIN. OptionalclockinputGP0[10]/PRU0_R31[17] USB0_VDDA18 N14 PWR — — USB0 PHY 1.8-Vsupplyinput USB0_VDDA12 N17 A — — USB0 PHY 1.2-VLDO outputforbypasscap USB_CVDD M12 PWR — — USB0 corelogic1.2-Vsupplyinput (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 41 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
3.7.18 MultimediaCard/SecureDigital(MMC/SD)
Table3-20.MultimediaCard/SecureDigital(MMC/SD) TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. MMCSD0 MMCSD0_CLK /PRU1_R30[31] /GP4[7]/PRU1_R31[23] E9 O CP[18] B MMCSD0 Clock EMA_A[22] /MMCSD0_CMD /PRU1_R30[30] /GP4[6]/ A10 I/O CP[18] B MMCSD0 CommandPRU1_R31[22] EMA_A[14] /MMCSD0_DAT[7] /PRU1_R30[22] /GP5[14] A12 I/O CP[19] B EMA_A[15] /MMCSD0_DAT[6] /PRU1_R30[23] /GP5[15] C11 I/O CP[19] B EMA_A[16] /MMCSD0_DAT[5] /PRU1_R30[24] /GP4[0] E12 I/O CP[18] B EMA_A[17] /MMCSD0_DAT[4] /PRU1_R30[25] /GP4[1] B11 I/O CP[18] B EMA_A[18] /MMCSD0_DAT[3] /PRU1_R30[26] /GP4[2]/ E11 I/O CP[18] BPRU1_R31[18] MMC/SD0 data EMA_A[19] /MMCSD0_DAT[2] /PRU1_R30[27] /GP4[3]/ C10 I/O CP[18] BPRU1_R31[19] EMA_A[20] /MMCSD0_DAT[1] /PRU1_R30[28] /GP4[4]/ A11 I/O CP[18] BPRU1_R31[20] EMA_A[21] /MMCSD0_DAT[0] /PRU1_R30[29] /GP4[5]/ B10 I/O CP[18] BPRU1_R31[21] MMCSD1 PRU0_R30[24] /MMCSD1_CLK /UPP_CHB_START / G2 O CP[30] C MMCSD1 ClockGP8[14]/PRU1_R31[26]/ PRU0_R30[23] /MMCSD1_CMD /UPP_CHB_ENABLE / J4 I/O CP[30] C MMCSD1 CommandGP8[13]/PRU1_R31[25] MMCSD1_DAT[7] /LCD_PCLK /PRU1_R30[7] /GP8[11] F1 I/O CP[31] C MMCSD1_DAT[6] /LCD_MCLK /PRU1_R30[6]/GP8[10]/ F2 I/O CP[31] CPRU1_R31[7] MMCSD1_DAT[5] /LCD_HSYNC /PRU1_R30[5]/GP8[9]/ H4 I/O CP[31] CPRU1_R31[6] MMCSD1_DAT[4] /LCD_VSYNC /PRU1_R30[4]/GP8[8]/ G4 I/O CP[31] CPRU1_R31[5] MMC/SD1 dataVP_CLKIN2 /MMCSD1_DAT[3] /PRU1_R30[3] /GP6[4]/ H3 I/O CP[30] CPRU1_R31[4] VP_CLKOUT2 /MMCSD1_DAT[2] /PRU1_R30[2] /GP6[3]/ K3 I/O CP[30] CPRU1_R31[3] VP_CLKIN3 /MMCSD1_DAT[1] /PRU1_R30[1] /GP6[2]/ J3 I/O CP[30] CPRU1_R31[2] PRU0_R30[25] /MMCSD1_DAT[0] /UPP_CHB_CLOCK /GP8[15]/ G1 I/O CP[30] CPRU1_R31[27] (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C.
42 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.7.19 LiquidCrystalDisplayController(LCD)
Table3-21.LiquidCrystalDisplayController(LCD) TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. VP_DOUT[15] /LCD_D[15] /UPP_XD[7] /GP7[7]/BOOT[7] P4 I/O CP[29] C VP_DOUT[14] /LCD_D[14] /UPP_XD[6] /GP7[6]/BOOT[6] R3 I/O CP[29] C VP_DOUT[13] /LCD_D[13] /UPP_XD[5] /GP7[5]/BOOT[5] R2 I/O CP[29] C VP_DOUT[12] /LCD_D[12] /UPP_XD[4] /GP7[4]/BOOT[4] R1 I/O CP[29] C VP_DOUT[11] /LCD_D[11] /UPP_XD[3] /GP7[3]/BOOT[3] T3 I/O CP[29] C VP_DOUT[10] /LCD_D[10] /UPP_XD[2] /GP7[2]/BOOT[2] T2 I/O CP[29] C VP_DOUT[9] /LCD_D[9] /UPP_XD[1] /GP7[1]/BOOT[1] T1 I/O CP[29] C VP_DOUT[8] /LCD_D[8] /UPP_XD[0] /GP7[0]/BOOT[0] U3 I/O CP[29] C VP_DOUT[7] /LCD_D[7] /UPP_XD[15] /GP7[15]/ U2 I/O CP[28] CPRU1_R31[15] LCD databusVP_DOUT[6] /LCD_D[6] /UPP_XD[14] /GP7[14]/ U1 I/O CP[28] CPRU1_R31[14] VP_DOUT[5] /LCD_D[5] /UPP_XD[13] /GP7[13]/ V3 I/O CP[28] CPRU1_R31[13] VP_DOUT[4] /LCD_D[4] /UPP_XD[12] /GP7[12]/ V2 I/O CP[28] CPRU1_R31[12] VP_DOUT[3] /LCD_D[3] /UPP_XD[11] /GP7[11]/ V1 I/O CP[28] CPRU1_R31[11] VP_DOUT[2] /LCD_D[2] /UPP_XD[10] /GP7[10]/ W3 I/O CP[28] CPRU1_R31[10] VP_DOUT[1] /LCD_D[1] /UPP_XD[9] /GP7[9]/PRU1_R31[9] W2 I/O CP[28] C VP_DOUT[0] /LCD_D[0] /UPP_XD[8] /GP7[8]/PRU1_R31[8] W1 I/O CP[28] C MMCSD1_DAT[7] /LCD_PCLK /PRU1_R30[7] /GP8[11] F1 O CP[31] C LCD pixelclock MMCSD1_DAT[5] /LCD_HSYNC /PRU1_R30[5] /GP8[9]/ H4 O CP[31] C LCD horizontalsyncPRU1_R31[6] MMCSD1_DAT[4] /LCD_VSYNC /PRU1_R30[4] /GP8[8]/ G4 O CP[31] C LCD verticalsyncPRU1_R31[5] LCD AC biasenablechipLCD_AC_ENB_CS /GP6[0]//PRU1_R31[28] R5 O CP[31] C select MMCSD1_DAT[6] /LCD_MCLK /PRU1_R30[6] /GP8[10]/ F2 O CP[31] C LCD memory clockPRU1_R31[7] (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 43 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
3.7.20 UniversalHost-PortInterface(UHPI)
Table3-22.UniversalHost-PortInterface(UHPI)TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. VP_DIN[7]/UHPI_HD[15] /UPP_D[15] /PRU0_R31[29] U18 I/O CP[26] C VP_DIN[6]/UHPI_HD[14] /UPP_D[14] /PRU0_R31[28] V16 I/O CP[26] C VP_DIN[5]/UHPI_HD[13] /UPP_D[13] /PRU0_R31[27] R14 I/O CP[26] C VP_DIN[4]/UHPI_HD[12] /UPP_D[12] /PRU0_R31[26] W16 I/O CP[26] C VP_DIN[3]/UHPI_HD[11] /UPP_D[11] /PRU0_R31[25] V17 I/O CP[26] C VP_DIN[2]/UHPI_HD[10] /UPP_D[10] /PRU0_R31[24] W17 I/O CP[26] C VP_DIN[1]/UHPI_HD[9] /UPP_D[9] /PRU0_R31[23] W18 I/O CP[26] C VP_DIN[0]/UHPI_HD[8] /UPP_D[8] /PRU1_R31[29] W19 I/O CP[26] C VP_DIN[15]_VSYNC /UHPI_HD[7] /UPP_D[7]/PRU0_R30[15] / V18 I/O CP[27] CPRU0_R31[15] UHPI databusVP_DIN[14]_HSYNC /UHPI_HD[6] /UPP_D[6]/PRU0_R30[14] / V19 I/O CP[27] CPRU0_R31[14] VP_DIN[13]_FIELD/UHPI_HD[5] /UPP_D[5] /PRU0_R30[13] / U19 I/O CP[27] CPRU0_R31[13] VP_DIN[12]/UHPI_HD[4] /UPP_D[4] /PRU0_R30[12] / T16 I/O CP[27] CPRU0_R31[12] VP_DIN[11]/UHPI_HD[3] /UPP_D[3] /PRU0_R30[11] / R18 I/O CP[27] CPRU0_R31[11] VP_DIN[10]/UHPI_HD[2] /UPP_D[2] /PRU0_R30[10] / R19 I/O CP[27] CPRU0_R31[10] VP_DIN[9]/UHPI_HD[1] /UPP_D[1] /PRU0_R30[9] /PRU0_R31[9] R15 I/O CP[27] C VP_DIN[8]/UHPI_HD[0] /UPP_D[0] /GP6[5]/PRU1_R31[0] P17 I/O CP[27] C PRU0_R30[29] /UHPI_HCNTL0 /UPP_CHA_CLOCK /GP6[11] U17 I CP[24] C UHPI accesscontrol PRU0_R30[28] /UHPI_HCNTL1 /UPP_CHA_START /GP6[10] W15 I CP[24] C UHPI half-wordPRU0_R30[27] /UHPI_HHWIL /UPP_CHA_ENABLE /GP6[9] U16 I CP[24] C identificationcontrol PRU0_R30[26] /UHPI_HR W /UPP_CHA_WAIT / T15 I CP[24] C UHPI read/writeGP6[8]/PRU1_R31[17] VP_CLKIN0 /UHPI_HCS /PRU1_R30[10] /GP6[7]/UPP_2xTXCLK W14 I CP[25] C UHPI chipselect VP_CLKIN1 /UHPI_HDS1 /PRU1_R30[9] /GP6[6]/PRU1_R31[16] V15 I CP[25] C UHPI datastrobe CLKOUT /UHPI_HDS2 /PRU1_R30[13] /GP6[14] T18 I CP[22] C PRU0_R30[30] /UHPI_HINT /PRU1_R30[11] /GP6[12] R16 I CP[23] C UHPI hostinterrupt PRU0_R30[31] /UHPI_HRDY /PRU1_R30[12] /GP6[13] R17 O CP[23] C UHPI ready RESETOUT /UHPI_HAS /PRU1_R30[14] /GP6[15] T17 I CP[21] C UHPI addressstrobe (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C.
44 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.7.21 UniversalParallelPort(uPP)
Table3-23.UniversalParallelPort(uPP)TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. VP_CLKIN0 /UHPI_HCS1 /PRU1_R30[10]/GP6[7]/ uPP 2x transmitclockW14 I CP[25] CUPP_2xTXCLK input PRU0_R30[25] /MMCSD1_DAT[0] /UPP_CHB_CLOCK / G1 I/O CP[30] C uPP channelB clockGP8[15]/PRU1_R31[27] PRU0_R30[24]/MMCSD1_CLK /UPP_CHB_START /GP8[14]/ G2 I/O CP[30] C uPP channelB startPRU1_R31[26] PRU0_R30[23] /MMCSD1_CMD /UPP_CHB_ENABLE / J4 I/O CP[30] C uPP channelB enableGP8[13]/PRU1_R31[25] PRU0_R30[22] /PRU1_R30[8] /UPP_CHB_WAIT /GP8[12]/ G3 I/O CP[30] C uPP channelB waitPRU1_R31[24] PRU0_R30[29] /UHPI_CNTL0 /UPP_CHA_CLOCK /GP6[11] U17 I/O CP[24] C uPP channelA clock PRU0_R30[28] /UHPI_HCNTL1 /UPP_CHA_START /GP6[10] W15 I/O CP[24] C uPP channelA start PRU0_R30[27] /UHPI_HHWIL /UPP_CHA_ENABLE /GP6[9] U16 I/O CP[24] C uPP channelA enable PRU0_R30[26] /UHPI_HR W /UPP_CHA_WAIT /GP6[8]/ T15 I/O CP[24] C uPP channelA waitPRU1_R31[17] (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 45 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table3-23.UniversalParallelPort(uPP)TerminalFunctions(continued) SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. VP_DOUT[7] /LCD_D[7] /UPP_XD[15] /GP7[15]/ U2 I/O CP[28] CPRU1_R31[15] VP_DOUT[6] /LCD_D[6] /UPP_XD[14] /GP7[14]/ U1 I/O CP[28] CPRU1_R31[14] VP_DOUT[5] /LCD_D[5] /UPP_XD[13] /GP7[13]/ V3 I/O CP[28] CPRU1_R31[13] VP_DOUT[4] /LCD_D[4] /UPP_XD[12] /GP7[12]/ V2 I/O CP[28] CPRU1_R31[12] VP_DOUT[3] /LCD_D[3] /UPP_XD[11] /GP7[11]/ V1 I/O CP[28] CPRU1_R31[11] VP_DOUT[2] /LCD_D[2] /UPP_XD[10] /GP7[10]/ W3 I/O CP[28] CPRU1_R31[10] VP_DOUT[1] /LCD_D[1] /UPP_XD[9] /GP7[9]/PRU1_R31[9] W2 I/O CP[28] C VP_DOUT[0] /LCD_D[0] /UPP_XD[8] /GP7[8]/PRU1_R31[8] W1 I/O CP[28] C VP_DOUT[15] /LCD_D[15] /UPP_XD[7] /GP7[7]/BOOT[7] P4 I/O CP[29] C VP_DOUT[14] /LCD_D[14] /UPP_XD[6] /GP7[6]/BOOT[6] R3 I/O CP[29] C VP_DOUT[13] /LCD_D[13] /UPP_XD[5] /GP7[5]/BOOT[5] R2 I/O CP[29] C VP_DOUT[12] /LCD_D[12] /UPP_XD[4] /GP7[4]/BOOT[4] R1 I/O CP[29] C VP_DOUT[11] /LCD_D[11] /UPP_XD[3] /GP7[3]/BOOT[3] T3 I/O CP[29] C VP_DOUT[10] /LCD_D[10] /UPP_XD[2] /GP7[2]/BOOT[2] T2 I/O CP[29] C VP_DOUT[9] /LCD_D[9] /UPP_XD[1] /GP7[1]/BOOT[1] T1 I/O CP[29] C VP_DOUT[8] /LCD_D[8] /UPP_XD[0] /GP7[0]/BOOT[0] U3 I/O CP[29] C uPP databusVP_DIN[7]/UHPI_HD[15] /UPP_D[15] /PRU0_R31[29] U18 I/O CP[26] C VP_DIN[6]/UHPI_HD[14] /UPP_D[14] /PRU0_R31[28] V16 I/O CP[26] C VP_DIN[5]/UHPI_HD[13] /UPP_D[13] /PRU0_R31[27] R14 I/O CP[26] C VP_DIN[4]/UHPI_HD[12] /UPP_D[12] /PRU0_R31[26] W16 I/O CP[26] C VP_DIN[3]/UHPI_HD[11] /UPP_D[11] /PRU0_R31[25] V17 I/O CP[26] C VP_DIN[2]/UHPI_HD[10] /UPP_D[10] /PRU0_R31[24] W17 I/O CP[26] C VP_DIN[1]/UHPI_HD[9] /UPP_D[9] /PRU0_R31[23] W18 I/O CP[26] C VP_DIN[0]/UHPI_HD[8] /UPP_D[8] /PRU1_R31[29] W19 I/O CP[26] C VP_DIN[15]_VSYNC /UHPI_HD[7] /UPP_D[7]/PRU0_R30[15]/ V18 I/O CP[27] CPRU0_R31[15] VP_DIN[14]_HSYNC /UHPI_HD[6] /UPP_D[6]/PRU0_R30[14] / V19 I/O CP[27] CPRU0_R31[14] VP_DIN[13]_FIELD/UHPI_HD[5] /UPP_D[5] /PRU0_R30[13] / U19 I/O CP[27] CPRU0_R31[13] VP_DIN[12]/UHPI_HD[4] /UPP_D[4]/PRU0_R30[12] / T16 I/O CP[27] CPRU0_R31[12] VP_DIN[11]/UHPI_HD[3] /UPP_D[3]/PRU0_R30[11] / R18 I/O CP[27] CPRU0_R31[11] VP_DIN[10]/UHPI_HD[2] /UPP_D[2]/PRU0_R30[10] / R19 I/O CP[27] CPRU0_R31[10] VP_DIN[9]/UHPI_HD[1] /UPP_D[1]/PRU0_R30[9] / R15 I/O CP[27] CPRU0_R31[9] VP_DIN[8]/UHPI_HD[0] /UPP_D[0] /GP6[5]/PRU1_R31[0] P17 I/O CP[27] C
46 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.7.22 Video PortInterface(VPIF)
Table3-24.Video PortInterface(VPIF)TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. VIDEO INPUT VP_CLKIN0 /UHPI_HCS /PRU1_R30[10] /GP6[7]/ VPIF capturechannel0W14 I CP[25] CUPP_2xTXCLK inputclock VPIF capturechannel1VP_CLKIN1 /UHPI_HDS1/PRU1_R30[9] /GP6[6]/PRU1_R31[16] V15 I CP[25] C inputclock VP_DIN[15]_VSYNC /UHPI_HD[7] /UPP_D[7] /PRU0_R30[15] / V18 I CP[27] CPRU0_R31[15] VP_DIN[14]_HSYNC /UHPI_HD[6] /UPP_D[6]/PRU0_R30[14] / V19 I CP[27] CPRU0_R31[14] VP_DIN[13]_FIELD /UHPI_HD[5] /UPP_D[5] /PRU0_R30[13] / U19 I CP[27] CPRU0_R31[13] VP_DIN[12]/UHPI_HD[4] /UPP_D[4]/PRU0_R30[12] / T16 I CP[27] CPRU0_R31[12] VP_DIN[11]/UHPI_HD[3] /UPP_D[3]/PRU0_R30[11] / R18 I CP[27] CPRU0_R31[11] VP_DIN[10]/UHPI_HD[2] /UPP_D[2] /PRU0_R30[10] / R19 I CP[27] CPRU0_R31[10] VPIF capturedatabusVP_DIN[9]/UHPI_HD[1] /UPP_D[1] /PRU0_R30[9] / R15 I CP[27] CPRU0_R31[9] VP_DIN[8]/UHPI_HD[0] /UPP_D[0] /GP6[5]/PRU1_R31[0] P17 I CP[27] C VP_DIN[7]/UHPI_HD[15] /UPP_D[15] /PRU0_R31[29] U18 I CP[26] C VP_DIN[6]/UHPI_HD[14] /UPP_D[14] /PRU0_R31[28] V16 I CP[26] C VP_DIN[5]/UHPI_HD[13] /UPP_D[13] /PRU0_R31[27] R14 I CP[26] C VP_DIN[4]/UHPI_HD[12] /UPP_D[12] /PRU0_R31[26] W16 I CP[26] C VP_DIN[3]/UHPI_HD[11] /UPP_D[11] /PRU0_R31[25] V17 I CP[26] C VP_DIN[2]/UHPI_HD[10] /UPP_D[10] /PRU0_R31[24] W17 I CP[26] C VP_DIN[1]/UHPI_HD[9] /UPP_D[9] /PRU0_R31[23] W18 I CP[26] C VP_DIN[0]/UHPI_HD[8] /UPP_D[8] /PRU1_R31[29] W19 I CP[26] C VIDEO OUTPUT VP_CLKIN2 /MMCSD1_DAT[3] /PRU1_R30[3] /GP6[4]/ VPIF displaychannel2H3 I CP[30] CPRU1_R31[4] inputclock VP_CLKOUT2 /MMCSD1_DAT[2] /PRU1_R30[2] /GP6[3]/ VPIF displaychannel2K3 O CP[30] CPRU1_R31[3] outputclock VP_CLKIN3 /MMCSD1_DAT[1] /PRU1_R30[1] /GP6[2]/ VPIF displaychannel3J3 I CP[30] CPRU1_R31[2] inputclock VPIF displaychannel3VP_CLKOUT3 /PRU1_R30[0] /GP6[1]/PRU1_R31[1] K4 O CP[30] C outputclock (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 47 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table3-24.Video PortInterface(VPIF)TerminalFunctions(continued) SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. VP_DOUT[15] /LCD_D[15] /UPP_XD[7]/GP7[7]/BOOT[7] P4 O CP[29] C VP_DOUT[14] /LCD_D[14] /UPP_XD[6] /GP7[6]/BOOT[6] R3 O CP[29] C VP_DOUT[13] /LCD_D[13] /UPP_XD[5]/GP7[5]/BOOT[5] R2 O CP[29] C VP_DOUT[12] /LCD_D[12] /UPP_XD[4]/GP7[4]/BOOT[4] R1 O CP[29] C VP_DOUT[11] /LCD_D[11] /UPP_XD[3]/GP7[3]/BOOT[3] T3 O CP[29] C VP_DOUT[10] /LCD_D[10] /UPP_XD[2]/GP7[2]/BOOT[2] T2 O CP[29] C VP_DOUT[9] /LCD_D[9] /UPP_XD[1]/GP7[1]/BOOT[1] T1 O CP[29] C VP_DOUT[8] /LCD_D[8] /UPP_XD[0]/GP7[0]/BOOT[0] U3 O CP[29] C VPIF displaydatabus VP_DOUT[7] /LCD_D[7] /UPP_XD[15]/GP7[15]/PRU1_R31[15] U2 O CP[28] C VP_DOUT[6] /LCD_D[6] /UPP_XD[14]/GP7[14]/PRU1_R31[14] U1 O CP[28] C VP_DOUT[5] /LCD_D[5] /UPP_XD[13]/GP7[13]/PRU1_R31[13] V3 O CP[28] C VP_DOUT[4] /LCD_D[4] /UPP_XD[12]/GP7[12]/PRU1_R31[12] V2 O CP[28] C VP_DOUT[3] /LCD_D[3] /UPP_XD[11]/GP7[11]/PRU1_R31[11] V1 O CP[28] C VP_DOUT[2] /LCD_D[2] /UPP_XD[10]/GP7[10]/PRU1_R31[10] W3 O CP[28] C VP_DOUT[1] /LCD_D[1] /UPP_XD[9]/GP7[9]/PRU1_R31[9] W2 O CP[28] C VP_DOUT[0] /LCD_D[0] /UPP_XD[8]/GP7[8]/PRU1_R31[8] W1 O CP[28] C
48 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.7.23 GeneralPurpose InputOutput
Table3-25.GeneralPurpose InputOutput TerminalFunctions SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. GP0 ACLKR /PRU0_R30[20] /GP0[15] /PRU0_R31[22] A1 I/O CP[0] A ACLKX /PRU0_R30[19] /GP0[14] /PRU0_R31[21] B1 I/O CP[0] A AFSR /GP0[13] /PRU0_R31[20] C2 I/O CP[0] A AFSX /GP0[12] /PRU0_R31[19] B2 I/O CP[0] A AHCLKR /PRU0_R30[18] /UART1_RTS /GP0[11] / A2 I/O CP[0] APRU0_R31[18] AHCLKX /USB_REFCLKIN /UART1_CTS /GP0[10] / A3 I/O CP[0] APRU0_R31[17] AMUTE /PRU0_R30[16] /UART2_RTS /GP0[9] /PRU0_R31[16] D5 I/O CP[0] A GPIO Bank 0RTC_ALARM /UART2_CTS /GP0[8] /DEEPSLEEP F4 I/O CP[0] A AXR15 /EPWM0TZ[0] /ECAP2_APWM2 /GP0[7] A4 I/O CP[1] A AXR14 /CLKR1 /GP0[6] B4 I/O CP[2] A AXR13 /CLKX1 /GP0[5] B3 I/O CP[2] A AXR12 /FSR1 /GP0[4] C4 I/O CP[2] A AXR11 /FSX1 /GP0[3] C5 I/O CP[2] A AXR10 /DR1 /GP0[2] D4 I/O CP[2] A AXR9 /DX1 /GP0[1] C3 I/O CP[2] A AXR8 /CLKS1 /ECAP1_APWM1 /GP0[0] /PRU0_R31[8] E4 I/O CP[3] A GP1 AXR7 /EPWM1TZ[0] /PRU0_R30[17] /GP1[15] /PRU0_R31[7] D2 I/O CP[4] A AXR6 /CLKR0 /GP1[14] /PRU0_R31[6] C1 I/O CP[5] A AXR5 /CLKX0 /GP1[13] D3 I/O CP[5] A AXR4 /FSR0 /GP1[12] D1 I/O CP[5] A AXR3 /FSX0 /GP1[11] E3 I/O CP[5] A AXR2 /DR0 /GP1[10] E2 I/O CP[5] A AXR1 /DX0 /GP1[9] E1 I/O CP[5] A SPI0_CLK /EPWM0A /GP1[8] D19 I/O CP[7] A GPIO Bank 1 SPI0_SCS[1]/TM64P0_OUT12 /GP1[7] /TM64P0_IN12 E16 I/O CP[10] A SPI0_SCS[0]/TM64P1_OUT12 /GP1[6] /TM64P1_IN12 D17 I/O CP[10] A SPI1_SCS[7]/I2C0_SCL /TM64P2_OUT12 /GP1[5] G16 I/O CP[11] A SPI1_SCS[6]/I2C0_SDA /TM64P3_OUT12 /GP1[4] G18 I/O CP[11] A SPI1_SCS[5]/UART2_RXD /I2C1_SCL /GP1[3] F17 I/O CP[12] A SPI1_SCS[4]/UART2_TXD /I2C1_SDA /GP1[2] F16 I/O CP[12] A SPI1_SCS[3]/UART1_RXD /GP1[1] E18 I/O CP[13] A SPI1_SCS[2]/UART1_TXD /GP1[0] F19 I/O CP[13] A (1) I= Input,O = Output,I/O= Bidirectional,Z = Highimpedance,PWR = Supplyvoltage,GND = Ground,A = Analogsignal. Note:The pintypeshown referstotheinput,outputorhigh-impedancestateofthepinfunctionwhen configuredas thesignalname highlightedinbold.Allmultiplexedsignalsmay entera high-impedancestatewhen theconfiguredfunctionisinput-onlyortheconfigured functionsupportshigh-Zoperation.AllGPIO signalscan be used as inputoroutput.Formultiplexedpinswhere functionshave different types(ie.,inputversusoutput),thetablereflectsthepinfunctiondirectionforthatparticularperipheral. (2) IPD = InternalPulldownresistor;IPU = InternalPullupresistor;CP[n]= configurablepull-up/pull-down(wheren isthepingroup)using thePUPDENA and PUPDSEL registersintheSystem Module.The pull-upand pull-downcontrolofthesepinsisnotactiveuntilthe deviceisoutofreset.Duringreset,allofthepinsassociatedwiththeseregistersareweaklypulleddown. Iftheapplicationrequiresa pull-up,an externalpull-upcan be used. (3) Thissignalispartofa dual-voltageIO group(A,B orC).These groupscan be operatedat3.3Vor1.8Vnominal.The threegroupscan be operatedatindependentvoltagesbutallpinswithinagroupwilloperateatthesame voltage.Group A operatesatthevoltageof power supplyDVDD3318_A. Group B operatesatthevoltageofpower supplyDVDD3318_B. Group C operatesatthevoltageofpower supplyDVDD3318_C. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 49 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table3-25.GeneralPurpose InputOutput TerminalFunctions(continued) SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. GP2 SPI1_SCS[1]/EPWM1A /PRU0_R30[7] /GP2[15] /TM64P2_IN12 F18 I/O CP[14] A SPI1_SCS[0]/EPWM1B /PRU0_R30[8] /GP2[14] /TM64P3_IN12 E19 I/O CP[14] A SPI1_CLK /GP2[13] G19 I/O CP[15] A SPI1_ENA /GP2[12] H16 I/O CP[15] A SPI1_SOMI /GP2[11] H17 I/O CP[15] A SPI1_SIMO /GP2[10] G17 I/O CP[15] A EMA_BA[1] /GP2[9] A15 I/O CP[16] B EMA_BA[0] /GP2[8] C15 I/O CP[16] B GPIO Bank 2 EMA_CLK /PRU0_R30[5] /GP2[7] /PRU0_R31[5] B7 I/O CP[16] B EMA_SDCKE /PRU0_R30[4] /GP2[6] /PRU0_R31[4] D8 I/O CP[16] B EMA_RAS /PRU0_R30[3] /GP2[5] /PRU0_R31[3] A16 I/O CP[16] B EMA_CAS /PRU0_R30[2] /GP2[4] /PRU0_R31[2] A9 I/O CP[16] B EMA_WEN_DQM[0] /GP2[3] C8 I/O CP[16] B EMA_WEN_DQM[1] /GP2[2] A5 I/O CP[16] B EMA_WAIT[1] /PRU0_R30[1] /GP2[1] /PRU0_R31[1] B19 I/O CP[16] B EMA_CS[0] /GP2[0] A18 I/O CP[16] B GP3 EMA_CS[2] /GP3[15] B17 I/O CP[16] B EMA_CS[3] /GP3[14] A17 I/O CP[16] B EMA_CS[4] /GP3[13] F9 I/O CP[16] B EMA_CS[5] /GP3[12] B16 I/O CP[16] B EMA_WE /GP3[11] B9 I/O CP[16] B EMA_OE /GP3[10] B15 I/O CP[16] B EMA_A_R W /GP3[9] D10 I/O CP[16] B EMA_WAIT[0] /PRU0_R30[0] /GP3[8] /PRU0_R31[0] B18 I/O CP[16] B GPIO Bank 3 EMA_D[15] /GP3[7] E6 I/O CP[17] B EMA_D[14] /GP3[6] C7 I/O CP[17] B EMA_D[13] /GP3[5] B6 I/O CP[17] B EMA_D[12] /GP3[4] A6 I/O CP[17] B EMA_D[11] /GP3[3] D6 I/O CP[17] B EMA_D[10] /GP3[2] A7 I/O CP[17] B EMA_D[9] /GP3[1] D9 I/O CP[17] B EMA_D[8] /GP3[0] E10 I/O CP[17] B
50 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table3-25.GeneralPurpose InputOutput TerminalFunctions(continued) SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. GP4 EMA_D[7] /GP4[15] D7 I/O CP[17] B EMA_D[6] /GP4[14] C6 I/O CP[17] B EMA_D[5] /GP4[13] E7 I/O CP[17] B EMA_D[4] /GP4[12] B5 I/O CP[17] B EMA_D[3] /GP4[11] E8 I/O CP[17] B EMA_D[2] /GP4[10] B8 I/O CP[17] B EMA_D[1] /GP4[9] A8 I/O CP[17] B EMA_D[0] /GP4[8] C9 I/O CP[17] B MMCSD0_CLK /PRU1_R30[31] /GP4[7] /PRU1_R31[23] E9 I/O CP[18] B EMA_A[22] /MMCSD0_CMD /PRU1_R30[30] /GP4[6] / GPIO Bank 4A10 I/O CP[18] BPRU1_R31[22] EMA_A[21] /MMCSD0_DAT[0] /PRU1_R30[29] /GP4[5] / B10 I/O CP[18] BPRU1_R31[21] EMA_A[20] /MMCSD0_DAT[1] /PRU1_R30[28] /GP4[4] / A11 I/O CP[18] BPRU1_R31[20] EMA_A[19] /MMCSD0_DAT[2] /PRU1_R30[27] /GP4[3] / C10 I/O CP[18] BPRU1_R31[19] EMA_A[18] /MMCSD0_DAT[3] /PRU1_R30[26] /GP4[2] / E11 I/O CP[18] BPRU1_R31[18] EMA_A[17] /MMCSD0_DAT[4] /PRU1_R30[25] /GP4[1] B11 I/O CP[18] B EMA_A[16] /MMCSD0_DAT[5] /PRU1_R30[24] /GP4[0] E12 I/O CP[18] B GP5 EMA_A[15] /MMCSD0_DAT[6] /PRU1_R30[23] /GP5[15] C11 I/O CP[19] B EMA_A[14] /MMCSD0_DAT[7] /PRU1_R30[22] /GP5[14] A12 I/O CP[19] B EMA_A[13] /PRU0_R30[21] /PRU1_R30[21] /GP5[13] D11 I/O CP[19] B EMA_A[12] /PRU1_R30[20] /GP5[12] D13 I/O CP[19] B EMA_A[11] /PRU1_R30[19] /GP5[11] B12 I/O CP[19] B EMA_A[10] /PRU1_R30[18] /GP5[10] C12 I/O CP[19] B EMA_A[9] /PRU1_R30[17] /GP5[9] D12 I/O CP[19] B EMA_A[8] /PRU1_R30[16] /GP5[8] A13 I/O CP[19] B GPIO Bank 5 EMA_A[7] /PRU1_R30[15] /GP5[7] B13 I/O CP[20] B EMA_A[6] /GP5[6] E13 I/O CP[20] B EMA_A[5] /GP5[5] C13 I/O CP[20] B EMA_A[4] /GP5[4] A14 I/O CP[20] B EMA_A[3] /GP5[3] D14 I/O CP[20] B EMA_A[2] /GP5[2] B14 I/O CP[20] B EMA_A[1] /GP5[1] D15 I/O CP[20] B EMA_A[0] /GP5[0] C14 I/O CP[20] B Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 51 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table3-25.GeneralPurpose InputOutput TerminalFunctions(continued) SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. GP6 RESETOUT /UHPI_HAS /PRU1_R30[14] /GP6[15] T17 I/O CP[21] C CLKOUT /UHPI_HDS2 /PRU1_R30[13] /GP6[14] T18 I/O CP[22] C PRU0_R30[31] /UHPI_HRDY /PRU1_R30[12] /GP6[13] R17 I/O CP[23] C PRU0_R30[30] /UHPI_HINT /PRU1_R30[11] /GP6[12] R16 I/O CP[23] C PRU0_R30[29] /UHPI_HCNTL0 /UPP_CHA_CLOCK /GP6[11] U17 I/O CP[24] C PRU0_R30[28] /UHPI_HCNTL1 /UPP_CHA_START /GP6[10] W15 I/O CP[24] C PRU0_R30[27] /UHPI_HHWIL /UPP_CHA_ENABLE /GP6[9] U16 I/O CP[24] C PRU0_R30[26] /UHPI_HR W /UPP_CHA_WAIT /GP6[8] / T15 I/O CP[24] CPRU1_R31[17] VP_CLKIN0 /UHPI_HCS /PRU1_R30[10] /GP6[7] / W14 I/O CP[25] CUPP_2xTXCLK GPIO Bank 6 VP_CLKIN1 /UHPI_HDS1 /PRU1_R30[9] /GP6[6] / V15 I/O CP[25] CPRU1_R31[16] VP_DIN[8]/UHPI_HD[0] /UPP_D[0] /GP6[5] /PRU1_R31[0] P17 I/O CP[27] C VP_CLKIN2 /MMCSD1_DAT[3] /PRU1_R30[3] /GP6[4] / H3 I/O CP[30] CPRU1_R31[4] VP_CLKOUT2 /MMCSD1_DAT[2] /PRU1_R30[2] /GP6[3] / K3 I/O CP[30] CPRU1_R31[3] VP_CLKIN3 /MMCSD1_DAT[1] /PRU1_R30[1] /GP6[2] / J3 I/O CP[30] CPRU1_R31[2] VP_CLKOUT3 /PRU1_R30[0] /GP6[1] /PRU1_R31[1] K4 I/O CP[30] C LCD_AC_ENB_CS /GP6[0] /PRU1_R31[28] R5 I/O CP[31] C GP7 VP_DOUT[7] /LCD_D[7] /UPP_XD[15] /GP7[15] /PRU1_R31[15] U2 I/O CP[28] C VP_DOUT[6] /LCD_D[6] /UPP_XD[14] /GP7[14] /PRU1_R31[14] U1 I/O CP[28] C VP_DOUT[5] /LCD_D[5] /UPP_XD[13] /GP7[13] /PRU1_R31[13] V3 I/O CP[28] C VP_DOUT[4] /LCD_D[4] /UPP_XD[12] /GP7[12] /PRU1_R31[12] V2 I/O CP[28] C VP_DOUT[3] /LCD_D[3] /UPP_XD[11] /GP7[11] /PRU1_R31[11] V1 I/O CP[28] C VP_DOUT[2] /LCD_D[2] /UPP_XD[10] /GP7[10] /PRU1_R31[10] W3 I/O CP[28] C VP_DOUT[1] /LCD_D[1] /UPP_XD[9] /GP7[9] /PRU1_R31[9] W2 I/O CP[28] C VP_DOUT[0] /LCD_D[0] /UPP_XD[8] /GP7[8] /PRU1_R31[8] W1 I/O CP[28] C GPIO Bank 7 VP_DOUT[15/]/LCD_D[15]/UPP_XD[7] /GP7[7] /BOOT[7] P4 I/O CP[29] C VP_DOUT[14] /LCD_D[14] /UPP_XD[6] /GP7[6] /BOOT[6] R3 I/O CP[29] C VP_DOUT[13] /LCD_D[13] /UPP_XD[5] /GP7[5] /BOOT[5] R2 I/O CP[29] C VP_DOUT[12] /LCD_D[12] /UPP_XD[4] /GP7[4] /BOOT[4] R1 I/O CP[29] C VP_DOUT[11] /LCD_D[11] /UPP_XD[3] /GP7[3] /BOOT[3] T3 I/O CP[29] C VP_DOUT[10] /LCD_D[10] /UPP_XD[2] /GP7[2] /BOOT[2] T2 I/O CP[29] C VP_DOUT[9] /LCD_D[9] /UPP_XD[1] /GP7[1] /BOOT[1] T1 I/O CP[29] C VP_DOUT[8] /LCD_D[8] /UPP_XD[0] /GP7[0] /BOOT[0] U3 I/O CP[29] C
52 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table3-25.GeneralPurpose InputOutput TerminalFunctions(continued) SIGNAL POWERTYPE (1) PULL (2) DESCRIPTIONGROUP (3) NAME NO. GP8 PRU0_R30[25] /MMCSD1_DAT[0] /UPP_CHB_CLOCK /GP8[15] G1 I/O CP30] C/PRU1_R31[27] PRU0_R30[24] /MMCSD1_CLK /UPP_CHB_START /GP8[14] / G2 I/O CP[30] CPRU1_R31[26] PRU0_R30[23] /MMCSD1_CMD /UPP_CHB_ENABLE /GP8[13] / J4 I/O CP[30] CPRU1_R31[25] PRU0_R30[22] /PRU1_R30[8] /UPP_CHB_WAIT /GP8[12] / G3 I/O CP[30] CPRU1_R31[24] MMCSD1_DAT[7] /LCD_PCLK /PRU1_R30[7] /GP8[11] F1 I/O CP[31] C MMCSD1_DAT[6] /LCD_MCLK /PRU1_R30[6] /GP8[10] / F2 I/O CP[31] CPRU1_R31[7] MMCSD1_DAT[5] /LCD_HSYNC /PRU1_R30[5] /GP8[9] / H4 I/O CP[31] C GPIO Bank 8PRU1_R31[6] MMCSD1_DAT[4] /LCD_VSYNC /PRU1_R30[4] /GP8[8] / G4 I/O CP[31] CPRU1_R31[5] AXR0 /ECAP0_APWM0 /GP8[7] /CLKS0 F3 I/O CP[6] A SPI0_SOMI /EPWMSYNCI /GP8[6] C16 I/O CP[7] A SPI0_SIMO /EPWMSYNCO /GP8[5] C18 I/O CP[7] A SPI0_SCS[5]/UART0_RXD /GP8[4] C19 I/O CP[8] A SPI0_SCS[4]/UART0_TXD /GP8[3] D18 I/O CP[8] A SPI0_SCS[3]/UART0_CTS /GP8[2] E17 I/O CP[9] A SPI0_SCS[2]/UART0_RTS /GP8[1] D16 I/O CP[9] A GP8[0] (1) K17 I/O IPD B (1) GP8[0]isinitiallyconfiguredas a reservedfunctionafterresetand willnotbe ina predictablestate.Thissignalwillonlybe stableafter theGPIO configurationforthispinhas been completed.Usersshouldcarefullyconsiderthesystemimplicationsofthispinbeinginan unknown stateafterreset. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 53 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
3.7.24 Reserved and No Connect
Table3-26.Reserved and No Connect TerminalFunctions SIGNAL TYPE (1) DESCRIPTION NAME NO. Reserved.Forproperdeviceoperation,thispinmust be tiedeitherdirectlytoRSV2 T19 PWR CVDD orleftunconnected(donotconnecttoground). NC M3, M14, N16 — No connect(Leaveunconnected,do not connecttopower orground.) Reserved.Forproperdeviceoperation,thepinmust be pulledup tosupplyRSVDN J17 I DVDD3318_B. (1) PWR = Supplyvoltage.
54 DeviceOverview Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
3.7.25 Supply and Ground
Table3-27.Supply and Ground TerminalFunctions SIGNAL TYPE (1) DESCRIPTION NAME NO. E15,G7, G8, G13, H6, H7, H10, H11, CVDD (Coresupply) H12, H13, J6, PWR Variable(1.2V-1.0V)coresupplyvoltagepins J12,K6,K12, L12,M8, M9, RVDD (InternalRAM supply) E5,H14, N7 PWR 1.2Vinternalram supplyvoltagepins F14,G6, G10, G11, G12,DVDD18 (I/Osupply) PWR 1.8VI/OsupplyvoltagepinsJ13,K5,L6, P13,R13 F5,F15,G5,DVDD3318_A (I/Osupply) PWR 1.8Vor3.3-Vdual-voltageLVCMOS I/Osupplyvoltagepins,Group AG14, G15, H5 E14,F6,F7, F8,F10,F11,DVDD3318_B (I/Osupply) PWR 1.8Vor3.3-Vdual-voltageLVCMOS I/Osupplyvoltagepins,Group BF12,F13,G9, J14,K15 J5,K13,L4, L13,M13,DVDD3318_C (I/Osupply) PWR 1.8Vor3.3-Vdual-voltageLVCMOS I/Osupplyvoltagepins,Group CN13, P5,P6, P12,R4 A19,H8, H9, H15, J7,J8, J9,J10,J11, K7,K8,K9, K10,K11,L5,VSS (Ground) GND Ground pins.L7,L8,L9, L10,L11,M4, M5, M6, M7, M10, M11, N5, N11, N12, P11 (1) PWR = Supplyvoltage,GND -Ground. Copyright© 2010,Texas InstrumentsIncorporated DeviceOverview 55 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
4 Device Configuration
4.1 Boot Modes
Thisdevicesupportsa varietyofbootmodes throughan internalARM ROM bootloader.Thisdevicedoes notsupportdedicatedhardwarebootmodes. The inputstatesoftheBOOT pinsaresampled and latched intothe BOOTCFG register,which ispartof the system configuration(SYSCFG) module,when device resetisdeasserted.Bootmode selectionisdeterminedby thevaluesoftheBOOT pins. See TBD formore detailson theROM BootLoader. The followingbootmodes aresupported:
- NAND Flashboot – 8-bitNAND
- NOR Flashboot – NOR Directboot(8-bitor16-bit) – NOR Legacy boot(8-bitor16-bit) – NOR AIS boot(8-bitor16-bit)
- HPI Boot
- I2C0/I2C1Boot – EEPROM (MasterMode) – ExternalHost(SlaveMode)
- SPI0/SPI1 Boot – SerialFlash(MasterMode) – SERIAL EEPROM (MasterMode) – ExternalHost(SlaveMode)
- UART0 /UART1/UART2 Boot – ExternalHost
4.2 SYSCFG Module
The followingsystemlevelfeaturesofthechiparecontrolledby theSYSCFG peripheral:
- ReadableDevice,Die,and ChipRevisionID
- ControlofPinMultiplexing
- Priorityofbus accessesdifferentbus mastersinthesystem
- Captureatpower on resetthechipBOOT pinvaluesand make them availabletosoftware
- ControloftheDeepSleep power management function
- Enableand selectionoftheprogrammablepinpullupsand pulldowns
- Specialcase settingsforperipherals: – LockingofPLL controllersettings – DefaultburstsizesforEDMA3 transfercontrollers – SelectionofthesourcefortheeCAP module inputcapture(includingon chipsources) – McASP AMUTEIN selectionand clearingofAMUTE statusfortheMcASP – Controlofthereferenceclocksourceand otherside-bandsignalsforbothoftheintegratedUSB PHYs – ClocksourceselectionforEMIFA – DDR2 ControllerPHY settings
- Selectsthesourceofemulationsuspend signal(fromARM) ofperipheralssupportingthisfunction. SincetheSYSCFG peripheralcontrolsglobaloperationofthedevice,itsregistersare protectedagainst erroneousaccessesby severalmechanisms:
56 DeviceConfiguration Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
- A specialkey sequence must be writtento KICK0, KICK1 registersbeforeany otherregistersare writeable.
- Additionally,many registersare accessibleonlyby a host(ARM) when itisoperatinginitsprivileged mode. (ex.fromthekernel,butnotfromuserspace code). Table4-1.System Configuration(SYSCFG) Module RegisterAccess RegisterAddress RegisterName RegisterDescription RegisterAccess 0x01C1 4000 REVID RevisionIdentificationRegister — 0x01C14008 DIEIDR0 DeviceIdentificationRegister0 — 0x01C1400C DIEIDR1 DeviceIdentificationRegister1 — 0x01C14010 DIEIDR2 DeviceIdentificationRegister2 — 0x01C14014 DIEIDR3 DeviceIdentificationRegister3 — 0x01C1 4020 BOOTCFG BootConfigurationRegister Privilegedmode 0x01C1 4038 KICK0R Kick0 Register Privilegedmode 0x01C1 403C KICK1R Kick1 Register Privilegedmode 0x01C1 4040 HOST0CFG Host0 ConfigurationRegister — 0x01C1 4044 HOST1CFG Host1 ConfigurationRegister — 0x01C1 40E0 IRAWSTAT InterruptRaw Status/SetRegister Privilegedmode 0x01C1 40E4 IENSTAT InterruptEnableStatus/ClearRegister Privilegedmode 0x01C1 40E8 IENSET InterruptEnableRegister Privilegedmode 0x01C1 40EC IENCLR InterruptEnableClearRegister Privilegedmode 0x01C1 40F0 EOI End ofInterruptRegister Privilegedmode 0x01C1 40F4 FLTADDRR FaultAddressRegister Privilegedmode 0x01C1 40F8 FLTSTAT FaultStatusRegister — 0x01C1 4110 MSTPRI0 MasterPriority0 Registers Privilegedmode 0x01C1 4114 MSTPRI1 MasterPriority1 Registers Privilegedmode 0x01C1 4118 MSTPRI2 MasterPriority2 Registers Privilegedmode 0x01C1 4120 PINMUX0 PinMultiplexingControl0 Register Privilegedmode 0x01C1 4124 PINMUX1 PinMultiplexingControl1 Register Privilegedmode 0x01C1 4128 PINMUX2 PinMultiplexingControl2 Register Privilegedmode 0x01C1 412C PINMUX3 PinMultiplexingControl3 Register Privilegedmode 0x01C1 4130 PINMUX4 PinMultiplexingControl4 Register Privilegedmode 0x01C1 4134 PINMUX5 PinMultiplexingControl5 Register Privilegedmode 0x01C1 4138 PINMUX6 PinMultiplexingControl6 Register Privilegedmode 0x01C1 413C PINMUX7 PinMultiplexingControl7 Register Privilegedmode 0x01C1 4140 PINMUX8 PinMultiplexingControl8 Register Privilegedmode 0x01C1 4144 PINMUX9 PinMultiplexingControl9 Register Privilegedmode 0x01C1 4148 PINMUX10 PinMultiplexingControl10 Register Privilegedmode 0x01C1 414C PINMUX11 PinMultiplexingControl11 Register Privilegedmode 0x01C1 4150 PINMUX12 PinMultiplexingControl12 Register Privilegedmode 0x01C1 4154 PINMUX13 PinMultiplexingControl13 Register Privilegedmode 0x01C1 4158 PINMUX14 PinMultiplexingControl14 Register Privilegedmode 0x01C1 415C PINMUX15 PinMultiplexingControl15 Register Privilegedmode 0x01C1 4160 PINMUX16 PinMultiplexingControl16 Register Privilegedmode 0x01C1 4164 PINMUX17 PinMultiplexingControl17 Register Privilegedmode 0x01C1 4168 PINMUX18 PinMultiplexingControl18 Register Privilegedmode 0x01C1 416C PINMUX19 PinMultiplexingControl19 Register Privilegedmode 0x01C1 4170 SUSPSRC Suspend SourceRegister Privilegedmode 0x01C1 4174 Reserved — Copyright© 2010,Texas InstrumentsIncorporated DeviceConfiguration 57 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table4-1.System Configuration(SYSCFG) Module RegisterAccess (continued) RegisterAddress RegisterName RegisterDescription RegisterAccess 0x01C1 4178 Reserved — 0x01C1 417C CFGCHIP0 ChipConfiguration0 Register Privilegedmode 0x01C1 4180 CFGCHIP1 ChipConfiguration1 Register Privilegedmode 0x01C1 4184 CFGCHIP2 ChipConfiguration2 Register Privilegedmode 0x01C1 4188 CFGCHIP3 ChipConfiguration3 Register Privilegedmode 0x01C1 418C CFGCHIP4 ChipConfiguration4 Register Privilegedmode 0x01E2 C000 VTPIO_CTL VTPIO COntrolRegister Privilegedmode 0x01E2 C004 DDR_SLEW DDR Slew Register Privilegedmode 0x01E2 C008 DeepSleep DeepSleep Register Privilegedmode 0x01E2 C00C PUPD_ENA Pullup/PulldownEnableRegister Privilegedmode 0x01E2 C010 PUPD_SEL Pullup/PulldownSelectionRegister Privilegedmode 0x01E2 C014 RXACTIVE RXACTIVE ControlRegister Privilegedmode 0x01E2 C018 PWRDN PWRDN ControlRegister Privilegedmode
58 DeviceConfiguration Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
4.3 Pullup/PulldownResistors
Properboard designshouldensurethatinputpinstothedevicealwaysbe ata validlogicleveland not floating.Thismay be achievedviapullup/pulldownresistors.The devicefeaturesinternalpullup(IPU)and internalpulldown(IPD)resistorson most pinstoeliminatetheneed,unlessotherwisenoted,forexternal pullup/pulldownresistors. An externalpullup/pulldownresistorneeds tobe used inthefollowingsituations:
- Boot and ConfigurationPins:Ifthe pin is both routedout and 3-stated(notdriven),an external pullup/pulldownresistorisstronglyrecommended, even iftheIPU/IPDmatches thedesiredvalue/state.
- Other Input Pins: If the IPU/IPD does not match the desired value/state,use an external pullup/pulldownresistortopullthesignaltotheoppositerail. For the boot and configurationpins,iftheyare both routedout and 3-stated(notdriven),itisstrongly recommended that an external pullup/pulldownresistorbe implemented. Although, internal pullup/pulldownresistorsexiston these pins and they may match the desiredconfigurationvalue, providingexternalconnectivitycan helpensurethatvalidlogiclevelsarelatchedon thesedevicebootand configurationpins.In addition,applyingexternalpullup/pulldownresistorson the boot and configuration pinsadds conveniencetotheuserindebuggingand flexibilityinswitchingoperatingmodes. Tipsforchoosingan externalpullup/pulldownresistor:
- Considerthetotalamount ofcurrentthatmay pass throughthepulluporpulldownresistor.Make sure toincludetheleakagecurrentsofallthedevicesconnectedtothenet,as wellas any internalpullupor pulldownresistors.
- Decidea targetvalueforthenet.For a pulldownresistor,thisshouldbe below thelowestVIL levelof allinputsconnectedtothenet.For a pullupresistor,thisshouldbe above thehighestVIH levelofall inputson thenet.A reasonablechoicewould be totargettheVOL orVOH levelsforthelogicfamilyof thelimitingdevice;which,by definition,have margintotheVIL and VIH levels.
- Selecta pullup/pulldownresistorwiththelargestpossiblevalue;but,whichcan stillensurethatthenet willreachthetargetpulledvaluewhen maximum currentfromalldeviceson thenetisflowingthrough the resistor.The currentto be consideredincludesleakage currentplus,any otherinternaland externalpullup/pulldownresistorson thenet.
- For bidirectionalnets,thereisan additionalconsiderationwhich setsa lowerlimiton the resistance valueoftheexternalresistor.Verifythattheresistanceissmallenough thattheweakestoutputbuffer can drivethenettotheoppositelogiclevel(includingmargin).
- Remember toincludetoleranceswhen selectingtheresistorvalue.
- Forpullupresistors,alsoremember toincludetoleranceson theIO supplyrail.
- For most systems,a 1-kΩ resistorcan be used to oppose the IPU/IPD whilemeeting the above criteria.Usersshouldconfirmthisresistorvalueiscorrectfortheirspecificapplication.
- For most systems,a 20-kΩ resistorcan be used to compliment the IPU/IPD on the boot and configurationpinswhilemeetingtheabove criteria.Users shouldconfirmthisresistorvalueiscorrect fortheirspecificapplication.
- For more detailedinformationon inputcurrent(II),and thelow-/high-levelinputvoltages(VIL and VIH) forthedevice,see ,Recommended OperatingConditions.
- For theinternalpullup/pulldownresistorsforalldevicepins,see theperipheral/system-specificterminal functionstable. Copyright© 2010,Texas InstrumentsIncorporated DeviceConfiguration 59 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
5 Device OperatingConditions
5.1 AbsoluteMaximum RatingsOver OperatingJunctionTemperature Range
(UnlessOtherwiseNoted) (1) Core Logic,Variableand Fixed -0.5V to1.4V (CVDD, RVDD, RTC_CVDD, PLL0_VDDA ,PLL1_VDDA , USB_CVDD (2),) (3) Supplyvoltageranges I/O,1.8V -0.5V to2 V (USB0_VDDA18, DDR_DVDD18) (3) I/O,3.3V -0.5V to3.8V (DVDD3318_A, DVDD3318_B, DVDD3318_C, USB0_VDDA33) (3) Oscillatorinputs(OSCIN, RTC_XI),1.2V -0.3V toCVDD + 0.3V Dual-voltageLVCMOS inputs,3.3Vor1.8V(SteadyState) -0.3VtoDVDD + 0.3V Dual-voltageLVCMOS inputs,3.3Vor1.8V(Transient) DVDD + 20% up to20% ofSignalInputvoltage(VI)ranges Period USB 5V TolerantIOs: 5.25V(4) (USB0_DM, USB0_DP, USB0_ID) USB0 VBUS Pin 5.50V(4) Dual-voltageLVCMOS outputs,3.3Vor1.8V -0.5V toDVDD + 0.3V (SteadyState) Outputvoltage(VO )ranges Dual-voltageLVCMOS outputs,3.3Vor1.8V DVDD + 20% (Transient) up to20% ofSignal Period InputorOutputVoltages0.3Vabove orbelowtheirrespectivepower ±20mA Clamp Current rails.Limitclamp currentthatflowsthroughtheI/O'sinternaldiode protectioncells. Commercial(default) 0°C to90°COperatingJunctionTemperatureranges, TJ Extended(A version) -40°C to105°C Storagetemperaturerange,Tstg (default) -55°C to150°C (1) Stressesbeyond thoselistedunder"absolutemaximum ratings"may cause permanentdamage tothedevice.These arestressratings only,and functionaloperationofthedeviceattheseorany otherconditionsbeyond thoseindicatedunder"recommended operating conditions"isnotimplied.Exposuretoabsolute-maximum-ratedconditionsforextendedperiodsmay affectdevicereliability. (2) Thispinisan internalLDO outputand connectedvia0.22µF capacitortoVSS (3) AllvoltagevaluesarewithrespecttoVSS, USB0_VSSA33, USB0_VSSA, PLL0_VSSA, OSCVSS, RTC_VSS (4) Up toa maximum of24 hours.
60 DeviceOperatingConditions Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
5.2 Recommended OperatingConditions
NAME DESCRIPTION CONDITION MIN NOM MAX UNIT CVDD Core LogicSupplyVoltage(variable)1.3Voperatingpoint 1.25 1.3 1.35 V 1.1Voperatingpoint 1.05 1.1 1.16 V 1.0Voperatingpoint 0.95 1.0 1.05 V RVDD InternalRAM SupplyVoltage 1.14 1.2or1.26 1.32 V RTC_CVDD (1) RTC Core LogicSupplyVoltage 0.9 1.2or1.26 1.32 V PLL0_VDDA PLL0 SupplyVoltage 1.14 1.2or1.26 1.32 V PLL1_VDDA PLL1 SupplyVoltage 1.14 1.2or1.26 1.32 V USB_CVDD USB0 Core LogicSupplyVoltage 1.14 1.2or1.26 1.32 V USB0_VDDA18 USB0 PHY SupplyVoltage 1.71 1.8 1.89 V USB0_VDDA33 USB0 PHY SupplyVoltage 3.15 3.3 3.45 VSupply Voltage DDR_DVDD18 DDR2 PHY SupplyVoltage 1.71 1.8 1.89 V 0.5*0.49* 0.51*DDR_VREF DDR2/mDDR referencevoltage DDR_DVDD1 VDDR_DVDD18 DDR_DVDD188 DDR2/mDDR impedance control,DDR_ZP Vss Vconnectedvia50Ω resistortoVss Supply VSS Core LogicDigitalGround VGround PLL0_VSSA PLL0 Ground V PLL1_VSSA PLL1 Ground V OSCVSS (2) OscillatorGround 0 0 0 V RTC_VSS (2) RTC OscillatorGround V USB0_VSSA USB0 PHY Ground V USB0_VSSA33 USB0 PHY Ground V Voltage VIH High-levelinputvoltage,Dual-voltageI/O,3.3V(3) 2 VInputHigh High-levelinputvoltage,Dual-voltageI/O,1.8V (3) 0.65*DVDD V High-levelinputvoltage,RTC_XI 0.8*RTC_CVDD V High-levelinputvoltage,OSCIN 0.8*CVDD V VIL Low-levelinputvoltage,Dual-voltageI/O,3.3V(3) 0.8 VVoltage InputLow Low-levelinputvoltage,Dual-voltageI/O,1.8V (3) 0.35*DVDD V Low-levelinputvoltage,RTC_XI 0.2*RTC_CVDD V Low-levelinputvoltage,OSCIN 0.2*CVDD V Transition Transitiontime,10%-90%, AllInputs(unlessotherwisett 0.25P (4) nsTime specifiedintheelectricaldatasections) (1) The RTC providesan optionforisolatingtheRTC_CVDD fromtheCVDD toreducecurrentleakagewhen theRTC ispowered independently.Ifthesepower suppliesarenotisolated(CTRL.SPLITPOWER=0), RTC_CVDD must be equaltoorgreaterthanCVDD. Ifthesepower suppliesareisolated(CTRL.SPLITPOWER=1), RTC_CVDD may be lowerthanCVDD. (2) When an externalcrystalisused oscillator(OSC_VSS, RTC_VSS) groundmust be keptseparatefromothergroundsand connected directlytothecrystalloadcapacitorground.These pinsareshortedtoVSS on thedeviceitselfand shouldnotbe connectedtoVSS on thecircuitboard.Ifa crystalisnotused and theclockinputisdrivendirectly,thentheoscillatorVSS may be connectedtoboardground. (3) These IO specificationsapplytothedual-voltageIOs onlyand do notapplytotheDDR2/mDDR .DDR2/mDDR IOs are1.8VIOs and adheretotheJESD79-2A standard. (4) Where P = theperiodoftheappliedsignal.Maintainingtransitiontimesas fastas possibleisrecommended toimprovenoiseimmunity on inputsignals. Copyright© 2010,Texas InstrumentsIncorporated DeviceOperatingConditions 61 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Recommended OperatingConditions(continued) NAME DESCRIPTION CONDITION MIN NOM MAX UNIT CVDD = 1.3V 0 456operatingpoint CVDD = 1.2V 0 375operatingpointCommercialtemperaturegrade MHz(default) CVDD = 1.1V 0 200operatingpoint CVDD = 1.0V 0 100operatingpointOperating FPLL0_SYSCLK6Frequency CVDD = 1.3V 0 456operatingpoint CVDD = 1.2V 0 375operatingpointExtendedtemperaturegrade(A MHzsuffix) CVDD = 1.1V 0 200operatingpoint CVDD = 1.0V 0 100operatingpoint
62 DeviceOperatingConditions Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
5.3 ElectricalCharacteristicsOver Recommended Ranges ofSupply Voltageand
OperatingJunctionTemperature (UnlessOtherwiseNoted) PARAMETER TEST CONDITIONS MIN TYP MAX UNIT Low/fullspeed: 2.8 USB0_VDDA33 VUSB0_DM and USB0_DP Highspeed: 360 440 mVUSB_DM and USB_DP DVDD= 3.15V,IOH = -4mA 2.4 VHigh-leveloutputvoltageVOH (dual-voltageLVCMOS IOs at3.3V)(1) DVDD= 3.15V,IOH = -100mA 2.95 V High-leveloutputvoltage DVDD= 1.65V,IOH = -2mA DVDD-0.45 V(dual-voltageLVCMOS IOs at1.8V)(1) Low/fullspeed: 0.0 0.3 VUSB_DM and USB_DP Highspeed: -10 10 mVUSB_DM and USB_DP VOL DVDD= 3.15V,IOL = 4mA 0.4 VLow-leveloutputvoltage (dual-voltageLVCMOS I/Osat3.3V) DVDD= 3.15V,IOL = 100 mA 0.2 V Low-leveloutputvoltage DVDD= 1.65V,IOL = 2mA 0.45 V(dual-voltageLVCMOS I/Osat1.8V) VI= VSS toDVDD withoutopposing ±9 mAinternalresistor Inputcurrent(1) VI = VSS toDVDD withopposing 70 310 mA(dual-voltageLVCMOS I/Os) internalpullupresistor(3) II (2) VI = VSS toDVDD withopposing -75 -270 mAinternalpulldownresistor(3) VI = VSS toDVDD withopposingInputcurrent(DDR2/mDDR I/Os) -77 -286 mAinternalpulldownresistor(3) High-leveloutputcurrent(1) IOH Allperipherals -6 mA(dual-voltageLVCMOS I/Os) Low-leveloutputcurrent(1) IOL Allperipherals 6 mA(dual-voltageLVCMOS I/Os) Inputcapacitance(dual-voltageLVCMOS) 3 pF Capacit Outputcapacitance(dual-voltageance 3 pFLVCMOS) (1) These IO specificationsapplytothedual-voltageIOs onlyand do notapplytotheDDR2/mDDR .DDR2/mDDR IOs are1.8VIOs and adheretotheJESD79-2A standard. (2) IIappliestoinput-onlypinsand bi-directionalpins.Forinput-onlypins,IIindicatestheinputleakagecurrent.Forbi-directionalpins,II indicatestheinputleakagecurrentand off-state(Hi-Z)outputleakagecurrent. (3) Appliesonlytopinswithan internalpullup(IPU)orpulldown(IPD)resistor. Copyright© 2010,Texas InstrumentsIncorporated DeviceOperatingConditions 63 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION Transmission□Line 4.0□pF 1.85□pF Z0□=□50 Ω (see□note) Tester Pin□Electronics Data Sheet□Timing□Reference□Point Output Under Test 42 Ω 3.5□nH Device□Pin (see□note) Vref AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6 PeripheralInformationand ElectricalSpecifications
6.1 Parameter Information
6.1.1 Parameter InformationDevice-SpecificInformation
A. The data sheet providestimingat the devicepin.For outputtiminganalysis,the testerpin electronicsand its transmissionlineeffectsmust be takenintoaccount.A transmissionlinewitha delayof2 ns orlongercan be used to producethedesiredtransmissionlineeffect.The transmissionlineisintendedas a loadonly.Itisnotnecessaryto add orsubtractthetransmissionlinedelay(2ns orlonger)fromthedatasheettimings. Inputrequirementsinthisdatasheetaretestedwithan inputslewrateof< 4 Voltspernanosecond (4V/ns)atthe devicepinand theinputsignalsaredrivenbetween 0V and theappropriateIO supplyrailforthesignal. Figure6-1.TestLoad CircuitforAC Timing Measurements The loadcapacitancevaluestatedisonlyforcharacterizationand measurement ofAC timingsignals.This loadcapacitancevaluedoes notindicatethemaximum loadthedeviceiscapableofdriving.
6.1.1.1 SignalTransitionLevels
Allinputand outputtimingparametersarereferencedtoVrefforboth"0"and "1"logiclevels.For3.3V I/O, Figure6-2.Inputand Output VoltageReferenceLevelsforAC Timing Measurements Allriseand falltransitiontimingparametersare referencedto VIL MAX and VIH MIN forinputclocks, VOL MAX and VOH MIN foroutputclocks Figure6-3.Rise and FallTransitionTime VoltageReferenceLevels
64 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.2 Recommended Clock and ControlSignalTransitionBehavior
Allclocksand controlsignalsmust transitionbetween VIH and VIL (orbetween VIL and VIH)ina monotonic manner.
6.3 Power Supplies
6.3.1 Power-on Sequence
The deviceshouldbe powered-oninthefollowingorder:
- 1)RTC (RTC_CVDD) may be powered froman externaldevice(suchas a battery)priortoallother suppliesbeingappliedorpowered-upatthesame timeas CVDD. IftheRTC isnotused,RTC_CVDD shouldbe connectedtoCVDD. RTC_CVDD shouldnotbe leftunpowered whileCVDD ispowered.
- 2a)Allvariable1.2V-1.0Vcorelogicsupplies(CVDD)
- 2b)Allstatic1.2Vlogicsupplies(RVDD, VDDA_12_PLL0, VDDA_12_PLL1 ,USB_CVDD ).Ifvoltage scalingisnotused on thedevice,groups2a)and 2b)can be controlledfromthesame power supply and powered up together.
- 3)Allstatic1.8VIO supplies(DVDD18, DDR_DVDD18 ,USB0_VDDA18 )and any oftheLVCMOS IO supplygroupsused at1.8Vnominal(DVDD3318_A, DVDD3318_B, orDVDD3318_C).
- 4)Allanalog3.3VPHY supplies(USB0_VDDA33; thisisnotrequiredifUSB0 isnotused)and any of theLVCMOS IO supplygroupsused at3.3Vnominal(DVDD3318_A, DVDD3318_B, or DVDD3318_C). There isno specificrequiredvoltageramp rateforany ofthesuppliesas longas theLVCMOS supplies operatedat 3.3V (DVDD3318_A, DVDD3318_B, or DVDD3318_C) never exceed the STATIC 1.8V suppliesby more than2 volts. RESET must be maintainedactiveuntilallpower supplieshave reachedtheirnominalvalues.
6.3.2 Power-offSequence
The power suppliescan be powered-offin any orderas long as LVCMOS suppliesoperatedat 3.3V (DVDD3318_A, DVDD3318_B, orDVDD3318_C) neverexceed static1.8V suppliesby more than2 volts. There isno specificrequiredvoltageramp down rateforany ofthesupplies(exceptas requiredtomeet theabove mentionedvoltagecondition). Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 65 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.4 Reset
6.4.1 Power-On Reset (POR)
A power-onreset(POR) isrequiredtoplacethedeviceina known good stateafterpower-up.Power-On Reset isinitiatedby bringingRESET and TRST low atthesame time.POR setsallofthedeviceinternal logicto itsdefaultstate.Allpinsare tri-statedwiththe exceptionof RESETOUT which remainsactive throughthe resetsequence.RESETOUT isan outputforuse by othercontrollersin the system that indicatesthedeviceiscurrentlyinreset. RTCK ismaintainedactivethrougha POR. A summary oftheeffectsofPower-On Resetisgivenbelow:
- Allinternallogic(includingemulationlogicand thePLL logic)isresettoitsdefaultstate
- Internalmemory isnotmaintainedthrougha POR
- RESETOUT goes active
- Alldevicepinsgo toa high-impedancestate
- The RTC peripheralisnotresetduringa POR. A softwaresequence isrequiredtoresettheRTC A watchdogresettriggersa POR.
6.4.2 Warm Reset
A warm resetprovidesa limitedresettothedevice.Warm Reset isinitiatedby bringingonlyRESET low (TRST ismaintainedhighthrougha warm reset).Warm resetsetscertainportionsofthedevicetotheir defaultstatewhileleavingothersunaltered.Allpinsaretri-statedwiththeexceptionofRESETOUT which remainsactivethroughtheresetsequence.RESETOUT isan outputforuse by othercontrollersinthe systemthatindicatesthedeviceiscurrentlyinreset. RTCK ismaintainedactivethrougha POR. A summary oftheeffectsofWarm Resetisgivenbelow:
- Allinternallogic(exceptfortheemulationlogicand thePLL logic)isresettoitsdefaultstate
- Internalmemory ismaintainedthrougha warm reset
- RESETOUT goes active
- Alldevicepinsgo toa high-impedancestate
- The RTC peripheralisnot resetduringa warm reset.A softwaresequence isrequiredto resetthe RTC
66 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION OSCIN RESET RESETOUT Boot□Pins Config Power Supplies Ramping Power□Supplies□Stable Clock□Source□Stable 2 3 TRST AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.4.3 Reset ElectricalData Timings
Table6-1assumes testingovertherecommended operatingconditions. Table6-1.Reset Timing Requirements ((1),(2)) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 1 tw(RSTL) Pulsewidth,RESET/ TRST low 100 100 100 ns 2 tsu(BPV-RSTH) Setuptime,bootpinsvalidbeforeRESET/ TRST high 20 20 20 ns 3 th(RSTH-BPV) Holdtime,bootpinsvalidafterRESET/ TRST high 20 20 20 ns td(RSTH-RESETOUTH) RESET hightoRESETOUT high;Warm reset 14 16 20 cycles(3) RESET hightoRESETOUT high;Power-onReset 14 16 20 5 td(RSTL-RESETOUTL) Delaytime,RESET/ TRST lowtoRESETOUT low 14 16 20 ns (1) RESETOUT ismultiplexedwithotherpinfunctions.See theTerminalFunctionstable,Table3-3fordetails. (2) Forpower-onreset(POR),theresettimingsinthistablerefertoRESET and TRST together.Forwarm reset,theresettimingsinthis tablerefertoRESET only(TRST isheldhigh). (3) OSCIN cycles. Figure6-4.Power-On Reset (RESET and TRST active)Timing Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 67 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION OSCIN TRST RESET RESETOUT Boot□Pins Config Power□Supplies□Stable 2 3 Driven□or□Hi-Z AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-5.Warm Reset (RESET active,TRST high)Timing
68 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION OSCOUT OSCIN OSCVSS Clock□Input to□PLL AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.5 CrystalOscillatoror ExternalClock Input
The deviceincludestwo choicestoprovidean externalclockinput,which isfedtotheon-chipPLLs to generatehigh-frequencysystem clocks.These optionsare illustratedinFigure6-6 and Figure6-7. For inputclockfrequenciesbetween 12 and 20 MHz, a crystalwith80 ohm max ESR isrecommended. For inputclockfrequenciesbetween 20 and 30 MHz, a crystalwith60 ohm max ESR isrecommended. TypicalC1, C2 valuesare10-20pF. Figure6-6 illustratesthe optionthatuses on-chip1.2V oscillatorwithexternalcrystalcircuit.Figure6-7 illustratestheoptionthatuses an external1.2Vclockinput. Figure6-6.On-Chip Oscillator Table6-2.OscillatorTiming Requirements PARAMETER MIN MAX UNIT fosc Oscillatorfrequencyrange(OSCIN/OSCOUT) 12 30 MHz Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 69 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION OSCOUT OSCIN OSCVSS Clock Input to□PLL NC AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-7.External1.2VClock Source Table6-3.OSCIN Timing Requirements foran ExternallyDrivenClock PARAMETER MIN MAX UNIT fOSCIN OSCIN frequencyrange 12 50 MHz tc(OSCIN) Cycletime,externalclockdrivenon OSCIN 20 ns tw(OSCINH) Pulsewidthhigh,externalclockon OSCIN 0.4tc(OSCIN) ns tw(OSCINL) Pulsewidthlow,externalclockon OSCIN 0.4tc(OSCIN) ns tt(OSCIN) Transitiontime,OSCIN 0.25P (1) ns tj(OSCIN) Periodjitter,OSCIN 0.02P(1) ns (1) Where P = theperiodoftheappliedsignal.Maintainingtransitiontimesas fastas possibleisrecommended toimprovenoiseimmunity on inputsignals.
6.6 Clock PLLs
The devicehas two PLL controllersthatprovideclocksto differentpartsof the system.PLL0 provides clocks(thoughvariousdividers)to most of the components of the device.PLL1 providesclocksto the mDDR/DDR2 Controllerand providesan alternateclocksourcefortheASYNC3 clockdomain.Thisallows theperipheralson theASYNC3 clockdomain tobe immune tofrequencyscalingoperationon PLL0. The PLL controllerprovidesthefollowing:
- Glitch-FreeTransitions(onchangingclocksettings)
- Domain ClocksAlignment
- ClockGating
- PLL power down The variousclockoutputsgivenby thecontrollerareas follows:
- Domain Clocks:SYSCLK [1:n]
- AuxiliaryClockfromreferenceclocksource:AUXCLK Variousdividersthatcan be used areas follows:
- Post-PLLDivider:POSTDIV
- SYSCLK Divider:D1, ¼ ,Dn Variousothercontrolssupportedareas follows:
- PLL MultiplierControl:PLLM
- SoftwareprogrammablePLL Bypass:PLLEN
70 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION 0.1 µF 0.01 µF 50R1.14V□-□1.32V 50RVSS PLLn_VDDA PLLn_VSSA Ferrite□Bead:□Murata□BLM31PG500SN1L or□Equivalent AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.6.1 PLL Device-SpecificInformation
The PLL requiressome externalfilteringcomponents to reduce power supply noise as shown in Figure6-8. Figure6-8.PLL ExternalFilteringComponents The inputtothePLL iseitherfromtheon-chiposcillatororfroman externalclockon theOSCIN pin.PLL0 outputsseven clocksthathave programmable divideroptions.PLL1 outputsthreeclocksthathave programmabledivideroptions.Figure6-9illustratesthehigh-levelviewofthePLL Topology. The PLLs aredisabledby defaultaftera devicereset.They must be configuredby softwareaccordingto theallowableoperatingconditionslistedinTable6-4 beforeenablingthedevicetorun from thePLL by settingPLLEN = 1. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 71 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION PLLDIV1 (/1) SYSCLK1 PLLDIV2 (/2) SYSCLK2 PLLDIV4 (/4) SYSCLK4 PLLDIV5 (/3) SYSCLK5 PLLDIV6 (/1) SYSCLK6 PLLDIV7 (/6) SYSCLK7 DIV4.5 1
0 EMIFA
CFGCHIP3[EMA_CLKSRC] PREDIV PLLM Square Wave Crystal PLL1_SYSCLK3 PLLCTL[EXTCLKSRC] AUXCLK PLL PLLDIV3 (/3) SYSCLK3 DDR2/mDDR Internal Clock Source PLLDIV2 (/2) PLLDIV3 (/3) PLLDIV1 (/1) PLLCTL[PLLEN] POSTDIV PLLM PLL PLLCTL[PLLEN] PLLCTL[CLKMODE] POSTDIV PLLC0 OBSCLK (CLKOUT Pin) DIV4.5 OSCDIV PLL Controller 0 PLL Controller 1 SYSCLK2 SYSCLK3 SYSCLK1 OSCIN 14h 17h 18h 19h 1Ah 1Bh 1Ch 1Dh 1Eh SYSCLK1 SYSCLK2 SYSCLK3 SYSCLK4 SYSCLK5 SYSCLK6 SYSCLK7 PLLC1 OBSCLK OCSEL[OCSRC] 14h 17h 18h 19h SYSCLK1 SYSCLK2 SYSCLK3 OCSEL[OCSRC] OSCDIV PLLC1 OBSCLK AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-9.PLL Topology
72 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION
2000 NMax PLL Lock Time =
m where N = Pre-Divider Ratio M = PLL Multiplier AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-4.Allowed PLL OperatingConditions(PLL0 and PLL1) DefaultNO. PARAMETER MIN MAX UNITValue
1 PLLRST :Assertiontimeduringinitialization N/A 1000 N/A ns
Lock time:The timethattheapplicationhas to waitforthePLL toacquirelockbeforesetting OSCIN2 N/A N/APLLEN, afterchangingPREDIV, PLLM, or cycles OSCIN (1)
3 PREDIV :Pre-dividervalue /1 /1 /32 ns
4 PLLREF :PLL inputfrequency 12 50 MHz
5 PLLM :PLL multipliervalues x20 x4 x32
6 PLLOUT :PLL outputfrequency N/A 400 600(1) MHz
7 POSTDIV :Post-dividervalue /1 /2(1) /32 ns
(1) PLL postdivider/2 must be used.The /4.5clockpathcan be used togeneratean EMIF clockfromtheundivided(i.e.600 MHz) PLL outputclock.
6.6.2 Device Clock Generation
PLL0 iscontrolledby PLL Controller0 and PLL1 iscontrolledby PLL Controller1. PLLC0 and PLLC1 manage the clockratios,alignment,and gatingforthe system clocksto the chip.The PLLCs are responsibleforcontrollingallmodes of the PLL throughsoftware,interms of pre-divisionof the clock inputs(PLLC0 only),multiplyfactorswithinthePLLs, and post-divisionforeach ofthechip-levelclocks fromthePLLs outputs.PLLC0 alsocontrolsresetpropagationthroughthechip,clockalignment,and test points. PLLC0 providesclocksforthe majorityof the system but PLLC1 providesclocksto the mDDR/DDR2 Controllerand the ASYNC3 clockdomain to providefrequencyscalingimmunityto a definedset or peripherals.The ASYNC3 clockdomain can eitherderiveitsclockfrom PLL1_SYSCLK2 (forfrequency scalingimmunityfrom PLL0) or from PLL0_SYSCLK2 (forsynchronoustimingwithPLL0) dependingon theapplicationrequirements.Inaddition,some peripheralshave specificclockoptionsindependentofthe ASYNC clockdomain.
6.6.3 Dynamic Voltageand Frequency Scaling(DVFS)
The processorsupportsmultipleoperatingpointsby scalingvoltageand frequencyto minimizepower consumptionfora givenlevelofprocessorperformance. Frequency scalingisachievedby modifyingthe settingof the PLL controllers’multipliers,post-dividers (POSTDIV), and system clockdividers(SYSCLKn). Modificationof the POSTDIV and SYSCLK values does notrequirerelockingthePLL and provideslowerlatencytoswitchbetween operatingpoints,butat the expense of the frequenciesbeing limitedby the integerdividevalues(onlythe dividevaluesare alteredthe PLL multiplierisleftunmodified).Non integerdividefrequencyvaluescan be achievedby changingboththemultiplierand thedividevalues,butwhen thePLL multiplierischanged thePLL must relock,incurringadditionallatencytochange between operatingpoints.Detailedinformationon modifying thePLL Controllersettingscan be foundinTBD. Voltagescalingis enabled from outsidethe deviceby controllingan externalvoltageregulator.The processormay communicate withtheregulatorusingGPIOs, I2C orsome otherinterface.When switching between voltage-frequencyoperatingpoints,the voltagemust always supportthe desiredfrequency. When moving from a high-performanceoperatingpointto a lower performanceoperatingpoint,the frequencyshouldbe loweredfirstfollowedby thevoltage.When moving froma low-performanceoperating pointtoa higherperformanceoperatingpoint,thevoltageshouldbe raisedfirstfollowedby thefrequency. VoltageoperatingpointsrefertotheCVdd voltageatthatpoint.Otherstaticsuppliesmust be maintained attheirnominalvoltagesatalloperatingpoints. The maximum voltageslewrateforCVdd supplychanges is1 mV/us. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 73 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com For additionalinformationon power management solutionsfrom TI forthisprocessor,followthe Power Management linkintheProductFolderon www.ti.comforthisprocessor. The processorsupportsmultipleclockdomains some of which have clockratiorequirementsto each other.PLL0_SYSCLK2:PLL0_SYSCLK4:PLL0_SYSCLK6 are synchronous to each other and the SYSCLKn dividersmust always be configuredsuch thatthe ratiobetween thesedomains is2:4:1.The ASYNC and ASYNC3 clockdomains are asynchronoustotheotherclockdomains and have no specific ratiorequirement. The tablebelow summarizes the maximum internalclockfrequenciesat each of the voltageoperating points. Table6-5.Maximum InternalClock FrequenciesatEach VoltageOperatingPoint CLOCK SOURCE CLOCK DOMAIN 1.3VNOM 1.2VNOM 1.1VNOM 1.0VNOM PLL0_SYSCLK1 Not used on thisprocessor - - - - SYSCLK2 clockdomain peripheralsand optionalPLL0_SYSCLK2 228 MHz 187.5MHz 100 MHz 50 MHzclocksourceforASYNC3 clockdomain peripherals PLL0_SYSCLK3 OptionalclockforASYNC1 clockdomain 133 MHz 133 MHz 100 MHz 75 MHz PLL0_SYSCLK4 SYSCLK4 domain peripherals 114 MHz 93.75MHz 50 MHz 25 MHz PLL0_SYSCLK5 Not used on thisprocessor - - - - PLL0_SYSCLK6 ARM subsystem 456 MHz 375 MHz 200 MHz 100 MHz PLL0_SYSCLK7 Not used on thisprocessor - - - - DDR2/mDDR Interfaceclocksource(memoryPLL1_SYSCLK1 300 MHz 300 MHz 300 MHz 266 MHzinterfaceclockisone-halfofthevalueshown) OptionalclocksourceforASYNC3 clockdomainPLL1_SYSCLK2 152 MHz 150 MHz 100 MHz 75 MHzperipherals PLL1_SYSCLK3 AlternateclocksourceinputtoPLL Controller0 50 MHz 50 MHz 50 MHz 50 MHz McASP AUXCLK Bypass clocksourcefortheMcASP 50 MHz 50 MHz 50 MHz 50 MHz PLL0_AUXCLK Bypass clocksourcefortheUSB0 48 MHz 48 MHz 48 MHz 48 MHz ASYNC ASYNC ClockDomain (EMIFA) 100 MHz 100 MHz 66.6MHz 33.3MHz ASYNC2 ASYNC2 ClockDomain (multipleperipherals) 50 MHz 50 MHz 50 MHz 50 MHz ASYNC3 ASYNC3 ClockDomain (multipleperipherals) 152 MHz 150 MHz 100 MHz 75 MHz Some interfaceshave specificlimitationson supportedmodes/speeds at each operatingpoint.See the correspondingperipheralsectionsofthisdocument formore information. TIprovidessoftwarecomponents (calledthePower Manager) toperformDVFS and abstractthetaskfrom the user.The Power Manager controlschanging operatingpoints(bothfrequencyand voltage)and handlestherelatedtasksinvolvedsuch as informing/controllingperipheralstoprovidegracefultransitions between operatingpoints.
74 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.7 Interrupts
6.7.1 ARM CPU Interrupts
The ARM9 CPU core supports2 directinterrupts:FIQ and IRQ. The ARM InterruptController(AINTC) extends the number of interruptsto 100, and providesfeatureslikeprogrammable masking,priority, hardwarenestingsupport,and interruptvectorgeneration.
6.7.1.1 ARM InterruptController(AINTC)InterruptSignalHierarchy
The ARM Interruptcontrollerorganizesinterruptsintothefollowinghierarchy:
- PeripheralInterruptRequests – IndividualInterruptSourcesfromPeripherals
- 101 System Interrupts – One ormore PeripheralInterruptRequestsarecombined (fixedconfiguration)togeneratea System Interrupt. – Afterprioritization,theAINTC willprovidean interruptvectorbased uniquetoeach System Interrupt
- 32 InterruptChannels – Each System Interruptismapped toone ofthe32 InterruptChannels – ChannelNumber determinesthefirstlevelofprioritization,Channel0 ishighestpriorityand 31 lowest. – Ifmore thanone systeminterruptismapped toa channel,prioritywithinthechannelisdetermined by systeminterruptnumber (0highestpriority)
- HostInterrupts(FIQand IRQ) – InterruptChannels0 and 1 generatetheARM FIQ interrupt – InterruptChannels2 through31 GeneratetheARM IRQ interrupt
- Debug Interrupts – Two Debug Interruptsaresupportedand can be used totriggereventsinthedebug subsystem – Sourcescan be selectedfromany oftheSystem InterruptsorHostInterrupts
6.7.1.2 AINTC Hardware VectorGeneration
The AINTC alsogeneratesan interruptvectorinhardwareforbothIRQ and FIQ hostinterrupts.Thismay be used to accelerateinterruptdispatch.A unique vectoris generatedforeach of the 100 system interrupts.The vectoriscomputed inhardwareas: VECTOR = BASE + (SYSTEM INTERRUPT NUMBER × SIZE) Where BASE and SIZE are programmable. The computed vectoris a 32-bitaddress which may dispatchedtousinga singleinstructionoftypeLDR PC, [PC,#-<offset_12>]attheFIQ and IRQ vector locations(0xFFFF0018 and 0xFFFF001C respectively).
6.7.1.3 AINTC Hardware InterruptNestingSupport
Interruptnestingoccurs when an interruptserviceroutinere-enablesinterrupts,to allowthe CPU to interruptthe ISR ifa higherpriorityevent occurs.The AINTC provideshardware supportto facilitate interruptnesting.Itsupportsboth globaland per host interrupt(FIQ and IRQ in thiscase) automatic nesting.Ifenabled,theAINTC willautomaticallyupdatean internalnestingregisterthattemporarilymasks interruptsatand below thepriorityofthecurrentinterruptchannel.Then iftheISR re-enablesinterrupts; onlyhigherprioritychannelswillbe abletointerruptit.The nestinglevelisrestoredby theISR by writing tothenestinglevelregisteron completion.Supportfornestingcan be enabled/disabledby software,with theoptionofautomaticnestingon a globalorperhostinterruptbasis;ormanual nesting.
6.7.1.4 AINTC System InterruptAssignments
System InterruptassignmentsarelistedinTable6-6 Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 75 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-6.AINTC System InterruptAssignments System Interrupt InterruptName Source
0 COMMTX ARM
1 COMMRX ARM
2 NINT ARM
3 PRU_EVTOUT0 PRUSS Interrupt
4 PRU_EVTOUT1 PRUSS Interrupt
5 PRU_EVTOUT2 PRUSS Interrupt
6 PRU_EVTOUT3 PRUSS Interrupt
7 PRU_EVTOUT4 PRUSS Interrupt
8 PRU_EVTOUT5 PRUSS Interrupt
9 PRU_EVTOUT6 PRUSS Interrupt
10 PRU_EVTOUT7 PRUSS Interrupt
11 EDMA3_0_CC0_INT0 EDMA3_0 ChannelController0 Shadow Region0 Transfer
12 EDMA3_0_CC0_ERRINT EDMA3_0 ChannelController0 ErrorInterrupt
13 EDMA3_0_TC0_ERRINT EDMA3_0 TransferController0 ErrorInterrupt
14 EMIFA_INT EMIFA
15 IIC0_INT I2C0
16 MMCSD0_INT0 MMCSD0 MMC/SD Interrupt
17 MMCSD0_INT1 MMCSD0 SDIO Interrupt
18 PSC0_ALLINT PSC0
19 RTC_IRQS[1:0] RTC
20 SPI0_INT SPI0
21 T64P0_TINT12 Timer64P0 Interrupt12
22 T64P0_TINT34 Timer64P0 Interrupt34
23 T64P1_TINT12 Timer64P1 Interrupt12
24 T64P1_TINT34 Timer64P1 Interrupt34
25 UART0_INT UART0
27 PROTERR SYSCFG ProtectionShared Interrupt
32 EDMA3_0_TC1_ERRINT EDMA3_0 TransferController1 ErrorInterrupt
40 DDR2_MEMERR DDR2 Controller
42 GPIO_B0INT GPIO Bank 0 Interrupt
43 GPIO_B1INT GPIO Bank 1 Interrupt
44 GPIO_B2INT GPIO Bank 2 Interrupt
45 GPIO_B3INT GPIO Bank 3 Interrupt
46 GPIO_B4INT GPIO Bank 4 Interrupt
76 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-6.AINTC System InterruptAssignments (continued) System Interrupt InterruptName Source
47 GPIO_B5INT GPIO Bank 5 Interrupt
48 GPIO_B6INT GPIO Bank 6 Interrupt
49 GPIO_B7INT GPIO Bank 7 Interrupt
50 GPIO_B8INT GPIO Bank 8 Interrupt
51 IIC1_INT I2C1
52 LCDC_INT LCD Controller
53 UART_INT1 UART1
54 MCASP_INT McASP0 Combined RX /TX Interrupts
55 PSC1_ALLINT PSC1
56 SPI1_INT SPI1
57 UHPI_ARMINT UHPI ARM Interrupt
58 USB0_INT USB0 Interrupt
61 UART2_INT UART2
63 EHRPWM0 HiResTimer/PWM0 Interrupt
64 EHRPWM0TZ HiResTimer/PWM0 TripZone Interrupt
65 EHRPWM1 HiResTimer/PWM1 Interrupt
66 EHRPWM1TZ HiResTimer/PWM1 TripZone Interrupt
68 T64P2_ALL Timer64P2 -Combined TINT12 and TINT34
69 ECAP0 ECAP0
70 ECAP1 ECAP1
71 ECAP2 ECAP2
72 MMCSD1_INT0 MMCSD1 MMC/SD Interrupt
73 MMCSD1_INT1 MMCSD1 SDIO Interrupt
74 T64P0_CMPINT0 Timer64P0 -Compare 0
75 T64P0_CMPINT1 Timer64P0 -Compare 1
76 T64P0_CMPINT2 Timer64P0 -Compare 2
77 T64P0_CMPINT3 Timer64P0 -Compare 3
78 T64P0_CMPINT4 Timer64P0 -Compare 4
79 T64P0_CMPINT5 Timer64P0 -Compare 5
80 T64P0_CMPINT6 Timer64P0 -Compare 6
81 T64P0_CMPINT7 Timer64P0 -Compare 7
82 T64P1_CMPINT0 Timer64P1 -Compare 0
83 T64P1_CMPINT1 Timer64P1 -Compare 1
84 T64P1_CMPINT2 Timer64P1 -Compare 2
85 T64P1_CMPINT3 Timer64P1 -Compare 3
86 T64P1_CMPINT4 Timer64P1 -Compare 4
87 T64P1_CMPINT5 Timer64P1 -Compare 5
88 T64P1_CMPINT6 Timer64P1 -Compare 6
89 T64P1_CMPINT7 Timer64P1 -Compare 7
90 ARMCLKSTOPREQ PSC0
Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 77 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-6.AINTC System InterruptAssignments (continued) System Interrupt InterruptName Source 91 uPP_ALLINT uPP Combined Interrupt
- ChannelIEnd-of-LineInterrupt
- ChannelIEnd-of-WindowInterrupt
- ChannelIDMA Access Interrupt
- ChannelIOverflow-UnderrunInterrupt
- ChannelIDMA Programming ErrorInterrupt
- ChannelQ End-of-LineInterrupt
- ChannelQ End-of-WindowInterrupt
- ChannelQ DMA Access Interrupt
- ChannelQ Overflow-UnderrunInterrupt
- ChannelQ DMA Programming ErrorInterrupt
92 VPIF_ALLINT VPIF Combined Interrupt
- Channel0 Frame Interrupt
- Channel1 Frame Interrupt
- Channel2 Frame Interrupt
- Channel3 Frame Interrupt
- ErrorInterrupt
93 EDMA3_1_CC0_INT0 EDMA3_1 ChannelController0 Shadow Region0 Transfer
94 EDMA3_1_CC0_ERRINT EDMA3_1Channel Controller0 ErrorInterrupt
95 EDMA3_1_TC0_ERRINT EDMA3_1 TransferController0 ErrorInterrupt
96 T64P3_ALL Timer64P 3 -Combined TINT12 and TINT34
97 MCBSP0_RINT McBSP0 ReceiveInterrupt
98 MCBSP0_XINT McBSP0 TransmitInterrupt
99 MCBSP1_RINT McBSP1 ReceiveInterrupt
100 MCBSP1_XINT McBSP1 TransmitInterrupt
78 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.7.1.5 AINTC Memory Map
Table6-7.AINTC Memory Map BYTE ADDRESS ACRONYM DESCRIPTION 0xFFFE E000 REV RevisionRegister 0xFFFE E004 CR ControlRegister 0xFFFE E008 -0xFFFE E00F - Reserved 0xFFFE E010 GER GlobalEnableRegister 0xFFFE E014 -0xFFFE E01B - Reserved 0xFFFE E01C GNLR GlobalNestingLevelRegister 0xFFFE E020 SISR System InterruptStatusIndexedSetRegister 0xFFFE E024 SICR System InterruptStatusIndexedClearRegister 0xFFFE E028 EISR System InterruptEnableIndexedSetRegister 0xFFFE E02C EICR System InterruptEnableIndexedClearRegister 0xFFFE E030 - Reserved 0xFFFE E034 HIEISR HostInterruptEnableIndexedSetRegister 0xFFFE E038 HIDISR HostInterruptEnableIndexedClearRegister 0xFFFE E03C -0xFFFE E04F - Reserved 0xFFFE E050 VBR VectorBase Register 0xFFFE E054 VSR VectorSizeRegister 0xFFFE E058 VNR VectorNullRegister 0xFFFE E05C -0xFFFE E07F - Reserved 0xFFFE E080 GPIR GlobalPrioritizedIndexRegister 0xFFFE E084 GPVR GlobalPrioritizedVectorRegister 0xFFFE E088 -0xFFFE E1FF - Reserved 0xFFFE E200 SRSR[0] System InterruptStatusRaw /SetRegisters 0xFFFE E204 SRSR[1] 0xFFFE E208 SRSR[2] 0xFFFE E20C SRSR[3] 0xFFFE E210- 0xFFFE E27F - Reserved 0xFFFE E280 SECR[0] System InterruptStatusEnabled/ClearRegisters 0xFFFE E284 SECR[1] 0xFFFE E288 SECR[2] 0xFFFE E28C SECR[3] 0xFFFE E290 -0xFFFE E2FF - Reserved 0xFFFE E300 ESR[0] System InterruptEnableSetRegisters 0xFFFE E304 ESR[1] 0xFFFE E308 ESR[2] 0xFFFE E30C ESR[3] 0xFFFE E310 -0xFFFE E37F - Reserved 0xFFFE E380 ECR[0] System InterruptEnableClearRegisters 0xFFFE E384 ECR[1] 0xFFFE E388 ECR[2] 0xFFFE E38C ECR[3] 0xFFFE E390 -0xFFFE E3FF - Reserved Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 79 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-7.AINTC Memory Map (continued) BYTE ADDRESS ACRONYM DESCRIPTION 0xFFFE E400 -0xFFFE E45B CMR[0] ChannelMap Registers 0xFFFE E404 CMR[1] 0xFFFE E408 CMR[2] 0xFFFE E40C CMR[3] 0xFFFE E410 CMR[4] 0xFFFE E414 CMR[5] 0xFFFE E418 CMR[6] 0xFFFE E41C CMR[7] 0xFFFE E420 CMR[8] 0xFFFE E424 CMR[9] 0xFFFE E428 CMR[10] 0xFFFE E42C CMR[11] 0xFFFE E430 CMR[12] 0xFFFE E434 CMR[13] 0xFFFE E438 CMR[14] 0xFFFE E43C CMR[15] 0xFFFE E440 CMR[16] 0xFFFE E444 CMR[17] 0xFFFE E448 CMR[18] 0xFFFE E44C CMR[19] 0xFFFE E450 CMR[20] 0xFFFE E454 CMR[21] 0xFFFE E458 CMR[22] 0xFFFE E45C CMR[23] 0xFFFE E460 CMR[24] 0xFFFE E464 CMR[25] 0xFFFE E468 -0xFFFE E8FF - Reserved 0xFFFE E900 HIPIR[0] HostInterruptPrioritizedIndexRegisters 0xFFFE E904 HIPIR[1] 0xFFFE E908 -0xFFFE EEFF - Reserved 0xFFFE EF00 DSR[0] Debug SelectRegisters 0xFFFE EF04 DSR[1] 0xFFFE EF08 -0xFFFE F0FF - Reserved 0xFFFE F100 HINLR[0] HostInterruptNestingLevelRegisters 0xFFFE F104 HINLR[1] 0xFFFE F108 -0xFFFE F4FF - Reserved 0xFFFE F500 HIER[0] HostInterruptEnableRegister 0xFFFE F504 -0xFFFE F5FF - Reserved 0xFFFE F600 HIPVR[0]- HostInterruptPrioritizedVectorRegisters 0xFFFE F604 HIPVR[1] 0xFFFE F608 -0xFFFE FFFF - Reserved
80 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.8 Power and Sleep Controller(PSC)
The Power and SleepControllers(PSC) areresponsibleformanaging transitionsofsystem power on/off, clockon/off,resets(deviceleveland module level).Itisused primarilytoprovidegranularpower control foron chipmodules (peripheralsand CPU). A PSC module consistsofa GlobalPSC (GPSC) and a setof LocalPSCs (LPSCs).The GPSC containsmemory mapped registers,PSC interrupts,a statemachine for each peripheral/moduleitcontrols.An LPSC isassociatedwitheverymodule thatiscontrolledby thePSC and providesclockand resetcontrol. The PSC includesthefollowingfeatures:
- Providesa softwareinterfaceto: – Controlmodule clockenable/disable – Controlmodule reset – ControlCPU localreset
- SupportsIcePickemulationfeatures:power,clockand reset PSC0 controls16 localPSCs. PSC1 controls32 localPSCs. Table6-8.Power and Sleep Controller(PSC) Registers PSC0 BYTE PSC1 BYTE ACRONYM REGISTER DESCRIPTIONADDRESS ADDRESS 0x01C1 0000 0x01E2 7000 REVID PeripheralRevisionand ClassInformationRegister 0x01C1 0018 0x01E2 7018 INTEVAL InterruptEvaluationRegister 0x01C1 0040 0x01E2 7040 MERRPR0 Module ErrorPendingRegister0 (module0-15)(PSC0) Module ErrorPendingRegister0 (module0-31)(PSC1) 0x01C1 0050 0x01E2 7050 MERRCR0 Module ErrorClearRegister0 (module0-15)(PSC0) Module ErrorClearRegister0 (module0-31)(PSC1) 0x01C1 0060 0x01E2 7060 PERRPR Power ErrorPendingRegister 0x01C1 0068 0x01E2 7068 PERRCR Power ErrorClearRegister 0x01C1 0120 0x01E2 7120 PTCMD Power Domain TransitionCommand Register 0x01C1 0128 0x01E2 7128 PTSTAT Power Domain TransitionStatusRegister 0x01C1 0200 0x01E2 7200 PDSTAT0 Power Domain 0 StatusRegister 0x01C1 0204 0x01E2 7204 PDSTAT1 Power Domain 1 StatusRegister 0x01C1 0300 0x01E2 7300 PDCTL0 Power Domain 0 ControlRegister 0x01C1 0304 0x01E2 7304 PDCTL1 Power Domain 1 ControlRegister 0x01C1 0400 0x01E2 7400 PDCFG0 Power Domain 0 ConfigurationRegister 0x01C1 0404 0x01E2 7404 PDCFG1 Power Domain 1 ConfigurationRegister 0x01C1 0800 0x01E2 7800 MDSTAT0 Module 0 StatusRegister 0x01C1 0804 0x01E2 7804 MDSTAT1 Module 1 StatusRegister 0x01C1 0808 0x01E2 7808 MDSTAT2 Module 2 StatusRegister 0x01C1 080C 0x01E2 780C MDSTAT3 Module 3 StatusRegister 0x01C1 0810 0x01E2 7810 MDSTAT4 Module 4 StatusRegister 0x01C1 0814 0x01E2 7814 MDSTAT5 Module 5 StatusRegister 0x01C1 0818 0x01E2 7818 MDSTAT6 Module 6 StatusRegister 0x01C1 081C 0x01E2 781C MDSTAT7 Module 7 StatusRegister 0x01C1 0820 0x01E2 7820 MDSTAT8 Module 8 StatusRegister 0x01C1 0824 0x01E2 7824 MDSTAT9 Module 9 StatusRegister 0x01C1 0828 0x01E2 7828 MDSTAT10 Module 10 StatusRegister 0x01C1 082C 0x01E2 782C MDSTAT11 Module 11 StatusRegister 0x01C1 0830 0x01E2 7830 MDSTAT12 Module 12 StatusRegister 0x01C1 0834 0x01E2 7834 MDSTAT13 Module 13 StatusRegister Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 81 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-8.Power and Sleep Controller(PSC) Registers(continued) PSC0 BYTE PSC1 BYTE ACRONYM REGISTER DESCRIPTIONADDRESS ADDRESS 0x01C1 0838 0x01E2 7838 MDSTAT14 Module 14 StatusRegister 0x01C1 083C 0x01E2 783C MDSTAT15 Module 15 StatusRegister - 0x01E2 7840 MDSTAT16 Module 16 StatusRegister - 0x01E2 7844 MDSTAT17 Module 17 StatusRegister - 0x01E2 7848 MDSTAT18 Module 18 StatusRegister - 0x01E2 784C MDSTAT19 Module 19 StatusRegister - 0x01E2 7850 MDSTAT20 Module 20 StatusRegister - 0x01E2 7854 MDSTAT21 Module 21 StatusRegister - 0x01E2 7858 MDSTAT22 Module 22 StatusRegister - 0x01E2 785C MDSTAT23 Module 23 StatusRegister - 0x01E2 7860 MDSTAT24 Module 24 StatusRegister - 0x01E2 7864 MDSTAT25 Module 25 StatusRegister - 0x01E2 7868 MDSTAT26 Module 26 StatusRegister - 0x01E2 786C MDSTAT27 Module 27 StatusRegister - 0x01E2 7870 MDSTAT28 Module 28 StatusRegister - 0x01E2 7874 MDSTAT29 Module 29 StatusRegister - 0x01E2 7878 MDSTAT30 Module 30 StatusRegister - 0x01E2 787C MDSTAT31 Module 31 StatusRegister 0x01C1 0A00 0x01E2 7A00 MDCTL0 Module 0 ControlRegister 0x01C1 0A04 0x01E2 7A04 MDCTL1 Module 1 ControlRegister 0x01C1 0A08 0x01E2 7A08 MDCTL2 Module 2 ControlRegister 0x01C1 0A0C 0x01E2 7A0C MDCTL3 Module 3 ControlRegister 0x01C1 0A10 0x01E2 7A10 MDCTL4 Module 4 ControlRegister 0x01C1 0A14 0x01E2 7A14 MDCTL5 Module 5 ControlRegister 0x01C1 0A18 0x01E2 7A18 MDCTL6 Module 6 ControlRegister 0x01C1 0A1C 0x01E2 7A1C MDCTL7 Module 7 ControlRegister 0x01C1 0A20 0x01E2 7A20 MDCTL8 Module 8 ControlRegister 0x01C1 0A24 0x01E2 7A24 MDCTL9 Module 9 ControlRegister 0x01C1 0A28 0x01E2 7A28 MDCTL10 Module 10 ControlRegister 0x01C1 0A2C 0x01E2 7A2C MDCTL11 Module 11 ControlRegister 0x01C1 0A30 0x01E2 7A30 MDCTL12 Module 12 ControlRegister 0x01C1 0A34 0x01E2 7A34 MDCTL13 Module 13 ControlRegister 0x01C1 0A38 0x01E2 7A38 MDCTL14 Module 14 ControlRegister 0x01C1 0A3C 0x01E2 7A3C MDCTL15 Module 15 ControlRegister - 0x01E2 7A40 MDCTL16 Module 16 ControlRegister - 0x01E2 7A44 MDCTL17 Module 17 ControlRegister - 0x01E2 7A48 MDCTL18 Module 18 ControlRegister - 0x01E2 7A4C MDCTL19 Module 19 ControlRegister - 0x01E2 7A50 MDCTL20 Module 20 ControlRegister - 0x01E2 7A54 MDCTL21 Module 21 ControlRegister - 0x01E2 7A58 MDCTL22 Module 22 ControlRegister - 0x01E2 7A5C MDCTL23 Module 23 ControlRegister - 0x01E2 7A60 MDCTL24 Module 24 ControlRegister - 0x01E2 7A64 MDCTL25 Module 25 ControlRegister - 0x01E2 7A68 MDCTL26 Module 26 ControlRegister - 0x01E2 7A6C MDCTL27 Module 27 ControlRegister
82 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-8.Power and Sleep Controller(PSC) Registers(continued) PSC0 BYTE PSC1 BYTE ACRONYM REGISTER DESCRIPTIONADDRESS ADDRESS - 0x01E2 7A70 MDCTL28 Module 28 ControlRegister - 0x01E2 7A74 MDCTL29 Module 29 ControlRegister - 0x01E2 7A78 MDCTL30 Module 30 ControlRegister - 0x01E2 7A7C MDCTL31 Module 31 ControlRegister
6.8.1 Power Domain and Module Topology
The deviceincludestwo PSC modules. Each PSC module controlsclockstatesforseveraloftheon chipmodules,controllersand interconnect components.Table6-9and Table6-10liststhesetofperipherals/modulesthatarecontrolledby thePSC, the power domain they are associatedwith,the LPSC assignmentand the default(power-onreset) module states.See thedevice-specificdatamanual fortheperipheralsavailableon a givendevice.The module statesand terminologyaredefinedinSection6.8.1.1. Table6-9.PSC0 DefaultModule Configuration LPSC Module Name Power Domain DefaultModule State Auto Sleep/Wake Only Number
0 EDMA3 ChannelController0 AlwaysON (PD0) SwRstDisable —
1 EDMA3 TransferController0 AlwaysON (PD0) SwRstDisable —
2 EDMA3 TransferController1 AlwaysON (PD0) SwRstDisable —
3 EMIFA (Br7) AlwaysON (PD0) SwRstDisable —
4 SPI 0 AlwaysON (PD0) SwRstDisable —
5 MMC/SD 0 AlwaysON (PD0) SwRstDisable —
6 ARM InterruptController AlwaysON (PD0) SwRstDisable —
7 ARM RAM/ROM AlwaysON (PD0) Enable Yes
8 — — — —
9 UART 0 AlwaysON (PD0) SwRstDisable —
10 SCR0 (Br0,Br 1,Br 2,Br 8) AlwaysON (PD0) Enable Yes
11 SCR1 (Br4) AlwaysON (PD0) Enable Yes
12 SCR2 (Br3,Br 5,Br 6) AlwaysON (PD0) Enable Yes
13 PRUSS AlwaysON (PD0) SwRstDisable —
14 ARM AlwaysON (PD0) SwRstDisable —
15 — — — — Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 83 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-10.PSC1 DefaultModule Configuration LPSC Module Name Power Domain DefaultModule State Auto Sleep/Wake Only Number
0 EDMA3 ChannelController1 AlwaysON (PD0) SwRstDisable —
1 USB0 (USB2.0) AlwaysON (PD0) SwRstDisable — 2 — — — —
3 GPIO AlwaysON (PD0) SwRstDisable —
4 UHPI AlwaysON (PD0) SwRstDisable —
5 — — — —
6 DDR2 (andSCR_F3) AlwaysON (PD0) SwRstDisable —
7 McASP0 (+ McASP0 FIFO) AlwaysON (PD0) SwRstDisable —
8 SATA AlwaysON (PD0) SwRstDisable —
8 — — — —
9 VPIF AlwaysON (PD0) SwRstDisable —
10 SPI 1 AlwaysON (PD0) SwRstDisable —
11 I2C 1 AlwaysON (PD0) SwRstDisable —
12 UART 1 AlwaysON (PD0) SwRstDisable —
13 UART 2 AlwaysON (PD0) SwRstDisable —
14 McBSP0 (+ McBSP0 FIFO) AlwaysON (PD0) SwRstDisable —
15 McBSP1 (+ McBSP1 FIFO) AlwaysON (PD0) SwRstDisable —
16 LCDC AlwaysON (PD0) SwRstDisable —
17 eHRPWM0/1 AlwaysON (PD0) SwRstDisable —
18 MMCSD1 AlwaysON (PD0) SwRstDisable —
19 uPP AlwaysON (PD0) SwRstDisable —
20 ECAP0/1/2 AlwaysON (PD0) SwRstDisable —
21 EDMA3 TransferController2 AlwaysON (PD0) SwRstDisable —
22 — — — — 23 — — — —
24 SCR_F0 (andbridgeF0) AlwaysON (PD0) Enable Yes
25 SCR_F1 (andbridgeF1) AlwaysON (PD0) Enable Yes
26 SCR_F2 (andbridgeF2) AlwaysON (PD0) Enable Yes
27 SCR_F6 (andbridgeF3) AlwaysON (PD0) Enable Yes
28 SCR_F7 (andbridgeF4) AlwaysON (PD0) Enable Yes
29 SCR_F8 (andbridgeF5) AlwaysON (PD0) Enable Yes
30 BridgeF7 (DDR Controllerpath) AlwaysON (PD0) Enable Yes
31 On-chipRAM (includingSCR_F4 PD_SHRAM Enable —
and bridgeF6)
84 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.8.1.1 Module States
The PSC definesseveralpossiblestatesfora module.Thisstatesare essentiallya combinationofthe module resetassertedorde-assertedand module clockon/enabledoroff/disabled.The module statesare definedinTable6-11. Table6-11.Module States Module State Module Reset Module Module StateDefinition Clock Enable De-asserted On A module intheenablestatehas itsmodule resetde-assertedand ithas itsclockon. Thisisthenormaloperationalstatefora givenmodule Disable De-asserted Off A module inthedisabledstatehas itsmodule resetde-assertedand ithas itsmodule clockoff.Thisstateistypicallyused fordisablinga module clocktosave power.The deviceisdesignedinfullstaticCMOS, so when you stopa module clock,itretainsthe module’s state.When theclockisrestarted,themodule resumes operatingfromthe stoppingpoint. SyncReset Asserted On A module stateintheSyncResetstatehas itsmodule resetassertedand ithas its clockon.Generally,softwareisnotexpectedtoinitiatethisstate SwRstDisable Asserted Off A module intheSwResetDisablestatehas itsmodule resetassertedand ithas its clockdisabled.Afterinitialpower-on,severalmodules come up intheSwRstDisable state.Generally,softwareisnotexpectedtoinitiatethisstate AutoSleep De-asserted Off A module intheAutoSleepstatealsohas itsmodule resetde-assertedand itsmodule clockdisabled,similartotheDisablestate.However thisisa specialstate,once a module isconfiguredinthisstateby software,itcan “automatically”transitionto “Enable”statewhenever thereisan internalread/writerequestmade toit,and after servicingtherequestitwill“automatically”transitionintothesleepstate(withmodule resetrede-assertedand module clockdisabled),withoutany softwareintervention. The transitionfromsleeptoenabledand back tosleepstatehas some cyclelatency associatedwithit.Itisnotenvisionedtouse thismode when peripheralsarefully operationaland moving data. AutoWake De-asserted Off A module intheAutoWake statealsohas itsmodule resetde-assertedand itsmodule clockdisabled,similartotheDisablestate.However thisisa specialstate,once a module isconfiguredinthisstateby software,itwill“automatically”transitionto “Enable”statewhenever thereisan internalread/writerequestmade toit,and will remaininthe“Enabled”statefromthenon (withmodule resetrede-assertedand module clockon),withoutany softwareintervention.The transitionfromsleepto enabledstatehas some cyclelatencyassociatedwithit.Itisnotenvisionedtouse this mode when peripheralsarefullyoperationaland moving data. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 85 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.9 EDMA
The EDMA controllerhandlesalldatatransfersbetween memories and thedeviceslaveperipheralson the device. These data transfersinclude cache servicing,non-cacheable memory accesses, user-programmeddatatransfers,and hostaccesses.
6.9.1 EDMA3 Channel SynchronizationEvents
Each EDMA channel controllersupportsup to 32 channelswhich serviceperipheralsand memory. Table6-12liststhesourceoftheEDMA synchronizationeventsassociatedwitheach oftheprogrammable EDMA channels. Table6-12.EDMA SynchronizationEvents EDMA0 Channel Controller0 Event Event Name /Source Event Event Name /Source
0 McASP0 Receive 16 MMCSD0 Receive
1 McASP0 Transmit 17 MMCSD0 Transmit
2 McBSP0 Receive 18 SPI1 Receive
3 McBSP0 Transmit 19 SPI1 Transmit
4 McBSP1 Receive 20 PRU_EVTOUT6
5 McBSP1 Transmit 21 PRU_EVTOUT7
6 GPIO Bank 0 Interrupt 22 GPIO Bank 2 Interrupt
7 GPIO Bank 1 Interrupt 23 GPIO Bank 3 Interrupt
8 UART0 Receive 24 I2C0 Receive
9 UART0 Transmit 25 I2C0 Transmit
10 Timer64P0 EventOut 12 26 I2C1 Receive
11 Timer64P0 EventOut 34 27 I2C1 Transmit
12 UART1 Receive 28 GPIO Bank 4 Interrupt
13 UART1 Transmit 29 GPIO Bank 5 Interrupt
14 SPI0 Receive 30 UART2 Receive
15 SPI0 Transmit 31 UART2 Transmit
Event EventName /Source Event EventName /Source
0 Timer64P2 Compare Event0 16 GPIO Bank 6 Interrupt
1 Timer64P2 Compare Event1 17 GPIO Bank 7 Interrupt
2 Timer64P2 Compare Event2 18 GPIO Bank 8 Interrupt
3 Timer64P2 Compare Event3 19 Reserved
4 Timer64P2 Compare Event4 20 Reserved
5 Timer64P2 Compare Event5 21 Reserved
6 Timer64P2 Compare Event6 22 Reserved
7 Timer64P2 Compare Event7 23 Reserved
8 Timer64P3 Compare Event0 24 Timer64P2 EventOut 12
9 Timer64P3 Compare Event1 25 Timer64P2 EventOut 34
10 Timer64P3 Compare Event2 26 Timer64P3 EventOut 12
11 Timer64P3 Compare Event3 27 Timer64P3 EventOut 34
12 Timer64P3 Compare Event4 28 MMCSD0 Receive
13 Timer64P3 Compare Event5 29 MMCSD0 Transmit
14 Timer64P3 Compare Event6 30 Reserved
15 Timer64P3 Compare Event7 31 Reserved
86 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.9.2 EDMA PeripheralRegisterDescriptions
Table6-13isthelistofEDMA3 ChannelControllerRegistersand Table6-14isthelistofEDMA3 Transfer Controllerregisters. Table6-13.EDMA3 Channel Controller(EDMA3CC) Registers EDMA0 Channel Controller EDMA1 Channel Controller ACRONYM REGISTER DESCRIPTION 0 0 BYTE ADDRESS BYTE ADDRESS 0x01C0 0000 0x01E3 0000 PID PeripheralIdentificationRegister 0x01C0 0004 0x01E3 0004 CCCFG EDMA3CC ConfigurationRegister GlobalRegisters 0x01C0 0200 0x01E3 0200 QCHMAP0 QDMA Channel0 Mapping Register 0x01C0 0204 0x01E3 0204 QCHMAP1 QDMA Channel1 Mapping Register 0x01C0 0208 0x01E3 0208 QCHMAP2 QDMA Channel2 Mapping Register 0x01C0 020C 0x01E3 020C QCHMAP3 QDMA Channel3 Mapping Register 0x01C0 0210 0x01E3 0210 QCHMAP4 QDMA Channel4 Mapping Register 0x01C0 0214 0x01E3 0214 QCHMAP5 QDMA Channel5 Mapping Register 0x01C0 0218 0x01E3 0218 QCHMAP6 QDMA Channel6 Mapping Register 0x01C0 021C 0x01E3 021C QCHMAP7 QDMA Channel7 Mapping Register 0x01C0 0240 0x01E3 0240 DMAQNUM0 DMA ChannelQueue Number Register0 0x01C0 0244 0x01E3 0244 DMAQNUM1 DMA ChannelQueue Number Register1 0x01C0 0248 0x01E3 0248 DMAQNUM2 DMA ChannelQueue Number Register2 0x01C0 024C 0x01E3 024C DMAQNUM3 DMA ChannelQueue Number Register3 0x01C0 0260 0x01E3 0260 QDMAQNUM QDMA ChannelQueue Number Register 0x01C0 0284 0x01E3 0284 QUEPRI Queue PriorityRegister(1) 0x01C0 0300 0x01E3 0300 EMR EventMissedRegister 0x01C0 0308 0x01E3 0308 EMCR EventMissedClearRegister 0x01C0 0310 0x01E3 0310 QEMR QDMA EventMissedRegister 0x01C0 0314 0x01E3 0314 QEMCR QDMA EventMissedClearRegister 0x01C0 0318 0x01E3 0318 CCERR EDMA3CC ErrorRegister 0x01C0 031C 0x01E3 031C CCERRCLR EDMA3CC ErrorClearRegister 0x01C0 0320 0x01E3 0320 EEVAL ErrorEvaluateRegister 0x01C0 0340 0x01E3 0340 DRAE0 DMA RegionAccess EnableRegisterforRegion0 0x01C0 0348 0x01E3 0348 DRAE1 DMA RegionAccess EnableRegisterforRegion1 0x01C0 0350 0x01E3 0350 DRAE2 DMA RegionAccess EnableRegisterforRegion2 0x01C0 0358 0x01E3 0358 DRAE3 DMA RegionAccess EnableRegisterforRegion3 0x01C0 0380 0x01E3 0380 QRAE0 QDMA RegionAccess EnableRegisterforRegion0 0x01C0 0384 0x01E3 0384 QRAE1 QDMA RegionAccess EnableRegisterforRegion1 0x01C0 0388 0x01E3 0388 QRAE2 QDMA RegionAccess EnableRegisterforRegion2 0x01C0 038C 0x01E3 038C QRAE3 QDMA RegionAccess EnableRegisterforRegion3 0x01C0 0400 -0x01C0 043C 0x01E3 0400 -0x01E3 043C Q0E0-Q0E15 EventQueue EntryRegistersQ0E0-Q0E15 0x01C0 0440 -0x01C0 047C 0x01E3 0440 -0x01E3 047C Q1E0-Q1E15 EventQueue EntryRegistersQ1E0-Q1E15 0x01C0 0600 0x01E3 0600 QSTAT0 Queue 0 StatusRegister 0x01C0 0604 0x01E3 0604 QSTAT1 Queue 1 StatusRegister 0x01C0 0620 0x01E3 0620 QWMTHRA Queue Watermark ThresholdA Register 0x01C0 0640 0x01E3 0640 CCSTAT EDMA3CC StatusRegister GlobalChannel Registers (1) On previousarchitectures,theEDMA3TC prioritywas controlledby thequeue priorityregister(QUEPRI) intheEDMA3CC memory-map. However forthisdevice,theprioritycontrolforthetransfercontrollersiscontrolledby thechip-levelregistersinthe System ConfigurationModule.You shoulduse thechip-levelregistersand notQUEPRI toconfiguretheTC priority. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 87 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-13.EDMA3 Channel Controller(EDMA3CC) Registers(continued) EDMA0 Channel Controller EDMA1 Channel Controller ACRONYM REGISTER DESCRIPTION 0 0 BYTE ADDRESS BYTE ADDRESS 0x01C0 1000 0x01E3 1000 ER EventRegister 0x01C0 1008 0x01E3 1008 ECR EventClearRegister 0x01C0 1010 0x01E3 1010 ESR EventSetRegister 0x01C0 1018 0x01E3 1018 CER ChainedEventRegister 0x01C0 1020 0x01E3 1020 EER EventEnableRegister 0x01C0 1028 0x01E3 1028 EECR EventEnableClearRegister 0x01C0 1030 0x01E3 1030 EESR EventEnableSetRegister 0x01C0 1038 0x01E3 1038 SER SecondaryEventRegister 0x01C0 1040 0x01E3 1040 SECR SecondaryEventClearRegister 0x01C0 1050 0x01E3 1050 IER InterruptEnableRegister 0x01C0 1058 0x01E3 1058 IECR InterruptEnableClearRegister 0x01C0 1060 0x01E3 1060 IESR InterruptEnableSetRegister 0x01C0 1068 0x01E3 1068 IPR InterruptPendingRegister 0x01C0 1070 0x01E3 1070 ICR InterruptClearRegister 0x01C0 1078 0x01E3 1078 IEVAL InterruptEvaluateRegister 0x01C0 1080 0x01E3 1080 QER QDMA EventRegister 0x01C0 1084 0x01E3 1084 QEER QDMA EventEnableRegister 0x01C0 1088 0x01E3 1088 QEECR QDMA EventEnableClearRegister 0x01C0 108C 0x01E3 108C QEESR QDMA EventEnableSetRegister 0x01C0 1090 0x01E3 1090 QSER QDMA SecondaryEventRegister 0x01C0 1094 0x01E3 1094 QSECR QDMA SecondaryEventClearRegister Shadow Region 0 Channel Registers 0x01C0 2000 0x01E3 2000 ER EventRegister 0x01C0 2008 0x01E3 2008 ECR EventClearRegister 0x01C0 2010 0x01E3 2010 ESR EventSetRegister 0x01C0 2018 0x01E3 2018 CER ChainedEventRegister 0x01C0 2020 0x01E3 2020 EER EventEnableRegister 0x01C0 2028 0x01E3 2028 EECR EventEnableClearRegister 0x01C0 2030 0x01E3 2030 EESR EventEnableSetRegister 0x01C0 2038 0x01E3 2038 SER SecondaryEventRegister 0x01C0 2040 0x01E3 2040 SECR SecondaryEventClearRegister 0x01C0 2050 0x01E3 2050 IER InterruptEnableRegister 0x01C0 2058 0x01E3 2058 IECR InterruptEnableClearRegister 0x01C0 2060 0x01E3 2060 IESR InterruptEnableSetRegister 0x01C0 2068 0x01E3 2068 IPR InterruptPendingRegister 0x01C0 2070 0x01E3 2070 ICR InterruptClearRegister 0x01C0 2078 0x01E3 2078 IEVAL InterruptEvaluateRegister 0x01C0 2080 0x01E3 2080 QER QDMA EventRegister 0x01C0 2084 0x01E3 2084 QEER QDMA EventEnableRegister 0x01C0 2088 0x01E3 2088 QEECR QDMA EventEnableClearRegister 0x01C0 208C 0x01E3 208C QEESR QDMA EventEnableSetRegister 0x01C0 2090 0x01E3 2090 QSER QDMA SecondaryEventRegister 0x01C0 2094 0x01E3 2094 QSECR QDMA SecondaryEventClearRegister Shadow Region 1 Channel Registers 0x01C0 2200 0x01E3 2200 ER EventRegister 0x01C0 2208 0x01E3 2208 ECR EventClearRegister
88 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-13.EDMA3 Channel Controller(EDMA3CC) Registers(continued) EDMA0 Channel Controller EDMA1 Channel Controller ACRONYM REGISTER DESCRIPTION 0 0 BYTE ADDRESS BYTE ADDRESS 0x01C0 2210 0x01E3 2210 ESR EventSetRegister 0x01C0 2218 0x01E3 2218 CER ChainedEventRegister 0x01C0 2220 0x01E3 2220 EER EventEnableRegister 0x01C0 2228 0x01E3 2228 EECR EventEnableClearRegister 0x01C0 2230 0x01E3 2230 EESR EventEnableSetRegister 0x01C0 2238 0x01E3 2238 SER SecondaryEventRegister 0x01C0 2240 0x01E3 2240 SECR SecondaryEventClearRegister 0x01C0 2250 0x01E3 2250 IER InterruptEnableRegister 0x01C0 2258 0x01E3 2258 IECR InterruptEnableClearRegister 0x01C0 2260 0x01E3 2260 IESR InterruptEnableSetRegister 0x01C0 2268 0x01E3 2268 IPR InterruptPendingRegister 0x01C0 2270 0x01E3 2270 ICR InterruptClearRegister 0x01C0 2278 0x01E3 2278 IEVAL InterruptEvaluateRegister 0x01C0 2280 0x01E3 2280 QER QDMA EventRegister 0x01C0 2284 0x01E3 2284 QEER QDMA EventEnableRegister 0x01C0 2288 0x01E3 2288 QEECR QDMA EventEnableClearRegister 0x01C0 228C 0x01E3 228C QEESR QDMA EventEnableSetRegister 0x01C0 2290 0x01E3 2290 QSER QDMA SecondaryEventRegister 0x01C0 2294 0x01E3 2294 QSECR QDMA SecondaryEventClearRegister 0x01C0 4000 -0x01C0 4FFF 0x01E3 4000 -0x01E3 4FFF — ParameterRAM (PaRAM) Table6-14.EDMA3 TransferController(EDMA3TC) Registers EDMA0 EDMA0 EDMA1 ACRONYM REGISTER DESCRIPTION Transfer Transfer Transfer Controller0 Controller1 Controller0 BYTE ADDRESS BYTE ADDRESS BYTE ADDRESS 0x01C0 8000 0x01C0 8400 0x01E3 8000 PID PeripheralIdentificationRegister 0x01C0 8004 0x01C0 8404 0x01E3 8004 TCCFG EDMA3TC ConfigurationRegister 0x01C0 8100 0x01C0 8500 0x01E3 8100 TCSTAT EDMA3TC ChannelStatusRegister 0x01C0 8120 0x01C0 8520 0x01E3 8120 ERRSTAT ErrorStatusRegister 0x01C0 8124 0x01C0 8524 0x01E3 8124 ERREN ErrorEnableRegister 0x01C0 8128 0x01C0 8528 0x01E3 8128 ERRCLR ErrorClearRegister 0x01C0 812C 0x01C0 852C 0x01E3 812C ERRDET ErrorDetailsRegister 0x01C0 8130 0x01C0 8530 0x01E3 8130 ERRCMD ErrorInterruptCommand Register 0x01C0 8140 0x01C0 8540 0x01E3 8140 RDRATE Read Command Rate Register 0x01C0 8240 0x01C0 8640 0x01E3 8240 SAOPT SourceActiveOptionsRegister 0x01C0 8244 0x01C0 8644 0x01E3 8244 SASRC SourceActiveSourceAddressRegister 0x01C0 8248 0x01C0 8648 0x01E3 8248 SACNT SourceActiveCount Register 0x01C0 824C 0x01C0 864C 0x01E3 824C SADST SourceActiveDestinationAddressRegister 0x01C0 8250 0x01C0 8650 0x01E3 8250 SABIDX SourceActiveB-IndexRegister 0x01C0 8254 0x01C0 8654 0x01E3 8254 SAMPPRXY SourceActiveMemory ProtectionProxyRegister 0x01C0 8258 0x01C0 8658 0x01E3 8258 SACNTRLD SourceActiveCount ReloadRegister 0x01C0 825C 0x01C0 865C 0x01E3 825C SASRCBREF SourceActiveSourceAddressB-ReferenceRegister 0x01C0 8260 0x01C0 8660 0x01E3 8260 SADSTBREF SourceActiveDestinationAddressB-ReferenceRegister 0x01C0 8280 0x01C0 8680 0x01E3 8280 DFCNTRLD DestinationFIFO SetCount ReloadRegister 0x01C0 8284 0x01C0 8684 0x01E3 8284 DFSRCBREF DestinationFIFO SetSourceAddressB-Reference Register Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 89 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-14.EDMA3 TransferController(EDMA3TC) Registers(continued) EDMA0 EDMA0 EDMA1 ACRONYM REGISTER DESCRIPTION Transfer Transfer Transfer Controller0 Controller1 Controller0 BYTE ADDRESS BYTE ADDRESS BYTE ADDRESS 0x01C0 8288 0x01C0 8688 0x01E3 8288 DFDSTBREF DestinationFIFO SetDestinationAddressB-Reference Register 0x01C0 8300 0x01C0 8700 0x01E3 8300 DFOPT0 DestinationFIFO OptionsRegister0 0x01C0 8304 0x01C0 8704 0x01E3 8304 DFSRC0 DestinationFIFO SourceAddressRegister0 0x01C0 8308 0x01C0 8708 0x01E3 8308 DFCNT0 DestinationFIFO Count Register0 0x01C0 830C 0x01C0 870C 0x01E3 830C DFDST0 DestinationFIFO DestinationAddressRegister0 0x01C0 8310 0x01C0 8710 0x01E3 8310 DFBIDX0 DestinationFIFO B-IndexRegister0 0x01C0 8314 0x01C0 8714 0x01E3 8314 DFMPPRXY0 DestinationFIFO Memory ProtectionProxyRegister0 0x01C0 8340 0x01C0 8740 0x01E3 8340 DFOPT1 DestinationFIFO OptionsRegister1 0x01C0 8344 0x01C0 8744 0x01E3 8344 DFSRC1 DestinationFIFO SourceAddressRegister1 0x01C0 8348 0x01C0 8748 0x01E3 8348 DFCNT1 DestinationFIFO Count Register1 0x01C0 834C 0x01C0 874C 0x01E3 834C DFDST1 DestinationFIFO DestinationAddressRegister1 0x01C0 8350 0x01C0 8750 0x01E3 8350 DFBIDX1 DestinationFIFO B-IndexRegister1 0x01C0 8354 0x01C0 8754 0x01E3 8354 DFMPPRXY1 DestinationFIFO Memory ProtectionProxyRegister1 0x01C0 8380 0x01C0 8780 0x01E3 8380 DFOPT2 DestinationFIFO OptionsRegister2 0x01C0 8384 0x01C0 8784 0x01E3 8384 DFSRC2 DestinationFIFO SourceAddressRegister2 0x01C0 8388 0x01C0 8788 0x01E3 8388 DFCNT2 DestinationFIFO Count Register2 0x01C0 838C 0x01C0 878C 0x01E3 838C DFDST2 DestinationFIFO DestinationAddressRegister2 0x01C0 8390 0x01C0 8790 0x01E3 8390 DFBIDX2 DestinationFIFO B-IndexRegister2 0x01C0 8394 0x01C0 8794 0x01E3 8394 DFMPPRXY2 DestinationFIFO Memory ProtectionProxyRegister2 0x01C0 83C0 0x01C0 87C0 0x01E3 83C0 DFOPT3 DestinationFIFO OptionsRegister3 0x01C0 83C4 0x01C0 87C4 0x01E3 83C4 DFSRC3 DestinationFIFO SourceAddressRegister3 0x01C0 83C8 0x01C0 87C8 0x01E3 83C8 DFCNT3 DestinationFIFO Count Register3 0x01C0 83CC 0x01C0 87CC 0x01E3 83CC DFDST3 DestinationFIFO DestinationAddressRegister3 0x01C0 83D0 0x01C0 87D0 0x01E3 83D0 DFBIDX3 DestinationFIFO B-IndexRegister3 0x01C0 83D4 0x01C0 87D4 0x01E3 83D4 DFMPPRXY3 DestinationFIFO Memory ProtectionProxyRegister3 Table6-15shows an abbreviationofthesetofregisterswhichmake up theparametersetforeach of128 EDMA events.Each oftheparameterregistersetsconsistof8 32-bitword entries.Table6-16shows the parametersetentryregisterswithrelativememory addresslocationswithineach oftheparametersets. Table6-15.EDMA Parameter Set RAM EDMA0 EDMA1 Channel Controller0 Channel Controller0 DESCRIPTION BYTE ADDRESS RANGE BYTE ADDRESS RANGE 0x01C0 4000 -0x01C0 401F 0x01E3 4000 -0x01E3 401F ParametersSet0 (832-bitwords) 0x01C0 4020 -0x01C0 403F 0x01E3 4020 -0x01E3 403F ParametersSet1 (832-bitwords) 0x01C0 4040 -0x01CC0 405F 0x01E3 4040 -0x01CE3 405F ParametersSet2 (832-bitwords) 0x01C0 4060 -0x01C0 407F 0x01E3 4060 -0x01E3 407F ParametersSet3 (832-bitwords) 0x01C0 4080 -0x01C0 409F 0x01E3 4080 -0x01E3 409F ParametersSet4 (832-bitwords) 0x01C0 40A0 -0x01C0 40BF 0x01E3 40A0 -0x01E3 40BF ParametersSet5 (832-bitwords) 0x01C0 4FC0 -0x01C0 4FDF 0x01E3 4FC0 -0x01E3 4FDF ParametersSet126 (832-bitwords) 0x01C0 4FE0 -0x01C0 4FFF 0x01E3 4FE0 -0x01E3 4FFF ParametersSet127 (832-bitwords)
90 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-16.Parameter Set Entries OFFSET BYTE ADDRESS ACRONYM PARAMETER ENTRYWITHIN THE PARAMETER SET 0x0000 OPT Option 0x0004 SRC SourceAddress 0x0008 A_B_CNT A Count,B Count 0x000C DST DestinationAddress 0x0010 SRC_DST_BIDX SourceB Index,DestinationB Index 0x0014 LINK_BCNTRLD LinkAddress,B Count Reload 0x0018 SRC_DST_CIDX SourceC Index,DestinationC Index 0x001C CCNT C Count Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 91 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.10 ExternalMemory InterfaceA (EMIFA)
EMIFA isone of two externalmemory interfacessupportedon the device.Itisprimarilyintendedto supportasynchronousmemory types,such as NAND and NOR flashand AsynchronousSRAM. However on thisdevice,EMIFA alsoprovidesa secondaryinterfacetoSDRAM.
6.10.1 EMIFA Asynchronous Memory Support
EMIFA supportsasynchronous:
- SRAM memories
- NAND Flashmemories
- NOR Flashmemories The EMIFA databus widthisup to16-bits.The devicesupportsup to24 addresslinesand two external wait/interruptinputs.Up tofourasynchronouschipselectsaresupportedby EMIFA (EMA_CS[5:2]). Each chipselecthas thefollowingindividuallyprogrammableattributes:
- Data Bus Width
- Read cycletimings:setup,hold,strobe
- Writecycletimings:setup,hold,strobe
- Bus turnaroundtime
- ExtendedWaitOptionWithProgrammable Timeout
- SelectStrobeOption
- NAND flashcontrollersupports1-bitand 4-bitECC calculationon blocksof512 bytes.
6.10.2 EMIFA Synchronous DRAM Memory Support
The devicesupports16-bitSDRAM inadditiontotheasynchronousmemories listedinSection6.10.1.It has a singleSDRAM chipselect(EMA_CS[0]).SDRAM configurationsthataresupportedare:
- One, Two, and FourBank SDRAM devices
- DeviceswithEight,Nine,Ten,and ElevenColumn Address
- CAS Latencyoftwo orthreeclockcycles
- SixteenBitData Bus Width Additionally,theSDRAM interfaceofEMIFA supportsplacingtheSDRAM inSelfRefreshand Powerdown Modes. SelfRefreshmode allowstheSDRAM tobe putintoa lowpower statewhilestillretainingmemory contents;sincetheSDRAM willcontinuetorefreshitselfeven withoutclocksfromthedevice.Powerdown mode achieveseven lowerpower,exceptthe devicemust periodicallywake the SDRAM up and issue refreshesifdataretentionisrequired. Finally,notethattheEMIFA does notsupportMobileSDRAM devices. Table6-17shows thesupportedSDRAM configurationsforEMIFA.
92 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-17.EMIFA Supported SDRAM Configurations(1) SDRAM EMIFA Data Total Total MemoryMemory Number of Bus Size Rows Columns Banks Memory Memory DensityData Bus Memories (bits) (Mbits) (Mbytes) (Mbits)Width (bits) 1 16 16 8 1 256 32 256 1 16 16 8 2 512 64 512 1 16 16 8 4 1024 128 1024 1 16 16 9 1 512 64 512 1 16 16 9 2 1024 128 1024 16 1 16 16 9 4 2048 256 2048 1 16 16 10 1 1024 128 1024 1 16 16 10 2 2048 256 2048 1 16 16 10 4 4096 512 4096 1 16 16 11 1 2048 256 2048 1 16 16 11 2 4096 512 4096 1 16 15 11 4 4096 512 4096 2 16 16 8 1 256 32 128 2 16 16 8 2 512 64 256 2 16 16 8 4 1024 128 512 2 16 16 9 1 512 64 256 2 16 16 9 2 1024 128 512 8 2 16 16 9 4 2048 256 1024 2 16 16 10 1 1024 128 512 2 16 16 10 2 2048 256 1024 2 16 16 10 4 4096 512 2048 2 16 16 11 1 2048 256 1024 2 16 16 11 2 4096 512 2048 2 16 15 11 4 4096 512 2048 (1) The shaded cellsindicateconfigurationsthatarepossibleon theEMIFA interfacebutas ofthiswritingSDRAM memories capableof supportingthesedensitiesarenotavailableinthemarket.
6.10.3 EMIFA SDRAM Loading Limitations
EMIFA supportsSDRAM up to 100 MHz with up to two SDRAM or asynchronous memory loads. Additionalloadswilllimitthe SDRAM operationto lowerspeeds and the maximum speed shouldbe confirmedby boardsimulationusingIBISmodels. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 93 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.10.4 ExternalMemory InterfaceRegisterDescriptions
Table6-18isa listoftheEMIF registers. Table6-18.ExternalMemory Interface(EMIFA) Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x6800 0000 MIDR Module ID Register 0x6800 0004 AWCC AsynchronousWaitCycleConfigurationRegister 0x6800 0008 SDCR SDRAM ConfigurationRegister 0x6800 000C SDRCR SDRAM RefreshControlRegister 0x6800 0010 CE2CFG Asynchronous1 ConfigurationRegister 0x6800 0014 CE3CFG Asynchronous2 ConfigurationRegister 0x6800 0018 CE4CFG Asynchronous3 ConfigurationRegister 0x6800 001C CE5CFG Asynchronous4 ConfigurationRegister 0x6800 0020 SDTIMR SDRAM TimingRegister 0x6800 003C SDSRETR SDRAM SelfRefreshExitTimingRegister 0x6800 0040 INTRAW EMIFA InterruptRaw Register 0x6800 0044 INTMSK EMIFA InterruptMask Register 0x6800 0048 INTMSKSET EMIFA InterruptMask SetRegister 0x6800 004C INTMSKCLR EMIFA InterruptMask ClearRegister 0x6800 0060 NANDFCR NAND FlashControlRegister 0x6800 0064 NANDFSR NAND FlashStatusRegister 0x6800 0070 NANDF1ECC NAND Flash1 ECC Register(CS2 Space) 0x6800 0074 NANDF2ECC NAND Flash2 ECC Register(CS3 Space) 0x6800 0078 NANDF3ECC NAND Flash3 ECC Register(CS4 Space) 0x6800 007C NANDF4ECC NAND Flash4 ECC Register(CS5 Space) 0x6800 00BC NAND4BITECCLOAD NAND Flash4-BitECC Load Register 0x6800 00C0 NAND4BITECC1 NAND Flash4-BitECC Register1 0x6800 00C4 NAND4BITECC2 NAND Flash4-BitECC Register2 0x6800 00C8 NAND4BITECC3 NAND Flash4-BitECC Register3 0x6800 00CC NAND4BITECC4 NAND Flash4-BitECC Register4 0x6800 00D0 NANDERRADD1 NAND Flash4-BitECC ErrorAddressRegister1 0x6800 00D4 NANDERRADD2 NAND Flash4-BitECC ErrorAddressRegister2 0x6800 00D8 NANDERRVAL1 NAND Flash4-BitECC ErrorValueRegister1 0x6800 00DC NANDERRVAL2 NAND Flash4-BitECC ErrorValueRegister2
94 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.10.5 EMIFA ElectricalData/Timing
Table6-19throughTable6-22assume testingoverrecommended operatingconditions. Table6-19.Timing Requirements forEMIFA SDRAM Interface NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Inputsetuptime,readdatavalidon EMA_D[15:0]before19 tsu(EMA_DV-EM_CLKH) 2 3 3 nsEMA_CLK rising Inputholdtime,readdatavalidon EMA_D[15:0]after20 th(CLKH-DIV) 1.6 1.6 1.6 nsEMA_CLK rising Table6-20.SwitchingCharacteristicsforEMIFA SDRAM Interface NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 1 tc(CLK) Cycletime,EMIF clockEMA_CLK 10 15 20 ns 2 tw(CLK) Pulsewidth,EMIF clockEMA_CLK highorlow 3 5 8 ns 3 td(CLKH-CSV) Delaytime,EMA_CLK risingtoEMA_CS[0] valid 7 9.5 13 ns 4 toh(CLKH-CSIV) Outputholdtime,EMA_CLK risingtoEMA_CS[0] invalid 1 1 1 ns 5 td(CLKH-DQMV) Delaytime,EMA_CLK risingtoEMA_ WE_DQM[1:0] valid 7 9.5 13 ns Outputholdtime,EMA_CLK risingtoEMA_ WE_DQM[1:0]6 toh(CLKH-DQMIV) 1 1 1 nsinvalid Delaytime,EMA_CLK risingtoEMA_A[12:0]and7 td(CLKH-AV) 7 9.5 13 nsEMA_BA[1:0] valid Outputholdtime,EMA_CLK risingtoEMA_A[12:0]and8 toh(CLKH-AIV) 1 1 1 nsEMA_BA[1:0] invalid 9 td(CLKH-DV) Delaytime,EMA_CLK risingtoEMA_D[15:0]valid 7 9.5 13 ns 10 toh(CLKH-DIV) Outputholdtime,EMA_CLK risingtoEMA_D[15:0]invalid 1 1 1 ns 11 td(CLKH-RASV) Delaytime,EMA_CLK risingtoEMA_RAS valid 7 9.5 13 ns 12 toh(CLKH-RASIV) Outputholdtime,EMA_CLK risingtoEMA_RAS invalid 1 1 1 ns 13 td(CLKH-CASV) Delaytime,EMA_CLK risingtoEMA_CAS valid 7 9.5 13 ns 14 toh(CLKH-CASIV) Outputholdtime,EMA_CLK risingtoEMA_CAS invalid 1 1 1 ns 15 td(CLKH-WEV) Delaytime,EMA_CLK risingtoEMA_WE valid 7 9.5 13 ns 16 toh(CLKH-WEIV) Outputholdtime,EMA_CLK risingtoEMA_WE invalid 1 1 1 ns 17 tdis(CLKH-DHZ) Delaytime,EMA_CLK risingtoEMA_D[15:0]tri-stated 7 9.5 13 ns 18 tena(CLKH-DLZ) Outputholdtime,EMA_CLK risingtoEMA_D[15:0]driving 1 1 1 ns Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 95 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION EMA_CLK EMA_BA[1:0] EMA_A[12:0] EMA_D[15:0] 2 2 BASIC SDRAM WRITE OPERA TION EMA_CS[0] EMA_WE _DQM[1:0] EMA_RAS EMA_CAS EMA_WE EMA_CLK EMA_BA[1:0] EMA_A[12:0] EMA_D[15:0] 2 2 17 182 EM_CLK Delay BASIC SDRAM READ OPERA TION EMA_CS[0] EMA_WE _DQM[1:0] EMA_RAS EMA_CAS EMA_WE AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-10.EMIFA Basic SDRAM WriteOperation Figure6-11.EMIFA Basic SDRAM Read Operation
96 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-21.Timing Requirements forEMIFA Asynchronous Memory Interface(1) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX READS and WRITES E tc(CLK) Cycletime,EMIFA module clock 10 15 20 ns 2 tw(EM_WAIT) Pulseduration,EM_WAIT assertionand deassertion 2E 2E 2E ns READS 12 tsu(EMDV-EMOEH) Setuptime,EM_D[15:0]validbeforeEM_OE high 3 5 7 ns 13 th(EMOEH-EMDIV) Holdtime,EM_D[15:0]validafterEM_OE high 0 0 0 ns SetupTime,EM_WAIT assertedbeforeend ofStrobe14 tsu (EMOEL-EMWAIT) 4E+3 4E+3 4E+3 nsPhase (2) WRITES SetupTime,EM_WAIT assertedbeforeend ofStrobe28 tsu (EMWEL-EMWAIT) 4E+3 4E+3 4E+3 nsPhase(2) (1) E = EMA_CLK periodorinns.EMA_CLK isselectedeitheras SYSCLK3 orthePLL0 outputclockdividedby 4.5.As an example,when SYSCLK3 isselectedand setto100MHz, E=10ns (2) Setupbeforeend ofSTROBE phase (ifno extendedwaitstatesareinserted)by whichEM_WAIT must be assertedtoadd extended waitstates.Figure6-14and Figure6-15describeEMIF transactionsthatincludeextendedwaitstatesinsertedduringtheSTROBE phase.However,cyclesinsertedas partofthisextendedwaitperiodshouldnotbe counted;the4E requirementistothestartofwhere theHOLD phase wouldbeginiftherewere no extendedwaitcycles. Table6-22.SwitchingCharacteristicsforEMIFA Asynchronous Memory Interface(1)(2)(3) READS and WRITES 1 td(TURNAROUND) Turnaroundtime (TA)*E-3 (TA)*E (TA)*E+ 3 ns READS (RS+RST+RH)*E (RS+RST+RH)*EEMIF readcycletime(EW = 0) (RS+RST+RH)*E ns-3 + 3 3 tc(EMRCYCLE) (RS+RST+RH+(E (RS+RST+RH+(EW (RS+RST+RH+(EEMIF readcycletime(EW = 1) nsWC*16))*E -3 C*16))*E WC*16))*E + 3 Outputsetuptime,EMA_CE[5:2] lowto (RS)*E-3 (RS)*E (RS)*E+3 nsEMA_OE low(SS = 0) 4 tsu(EMCEL-EMOEL) Outputsetuptime,EMA_CE[5:2] lowto -3 0 +3 nsEMA_OE low(SS = 1) Outputholdtime,EMA_OE highto (RH)*E-3 (RH)*E (RH)*E+ 3 nsEMA_CE[5:2] high(SS = 0) 5 th(EMOEH-EMCEH) Outputholdtime,EMA_OE highto -3 0 +3 nsEMA_CE[5:2] high(SS = 1) Outputsetuptime,EMA_BA[1:0] validto6 tsu(EMBAV-EMOEL) (RS)*E-3 (RS)*E (RS)*E+3 nsEMA_OE low Outputholdtime,EMA_OE highto7 th(EMOEH-EMBAIV) (RH)*E-3 (RH)*E (RH)*E+3 nsEMA_BA[1:0] invalid Outputsetuptime,EMA_A[13:0]validto8 tsu(EMBAV-EMOEL) (RS)*E-3 (RS)*E (RS)*E+3 nsEMA_OE low Outputholdtime,EMA_OE highto9 th(EMOEH-EMAIV) (RH)*E-3 (RH)*E (RH)*E+3 nsEMA_A[13:0]invalid (1) TA = Turnaround,RS = Read setup,RST = Read strobe,RH = Read hold,WS = Writesetup,WST = Writestrobe,WH = Writehold, MEWC = Maximum externalwaitcycles.These parametersareprogrammed viatheAsynchronousBank and AsynchronousWaitCycle ConfigurationRegisters.These supportthefollowingrangeofvalues:TA[4-1],RS[16-1],RST[64-1],RH[8-1],WS[16-1],WST[64-1], WH[8-1],and MEW[1-256]. (2) E = EMA_CLK periodorinns.EMA_CLK isselectedeitheras SYSCLK3 orthePLL0 outputclockdividedby 4.5.As an example,when SYSCLK3 isselectedand setto100MHz, E=10ns. (3) EWC = externalwaitcyclesdeterminedby EMA_WAIT inputsignal.EWC supportsthefollowingrangeofvaluesEWC[256-1].Note that themaximum waittimebeforetimeoutisspecifiedby bitfieldMEWC intheAsynchronousWaitCycleConfigurationRegister. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 97 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-22.SwitchingCharacteristicsforEMIFA Asynchronous Memory Interface(1)(2)(3) (continued) EMA_OE activelowwidth(EW = 0) (RST)*E-3 (RST)*E (RST)*E+3 ns 10 tw(EMOEL) (RST+(EWC*16)) (RST+(EWC*16))EMA_OE activelowwidth(EW = 1) (RST+(EWC*16))*E ns*E-3 *E+3 td(EMWAITH- DelaytimefromEMA_WAIT deassertedto11 3E-3 4E 4E+3 ns EMOEH) EMA_OE high WRITES (WS+WST+WH)* (WS+WST+WH)*EMIF writecycletime(EW = 0) (WS+WST+WH)*E nsE-3 E+3 15 tc(EMWCYCLE) (WS+WST+WH+( (WS+WST+WH+(E (WS+WST+WH+(EMIF writecycletime(EW = 1) nsEWC*16))*E -3 WC*16))*E EWC*16))*E + 3 Outputsetuptime,EMA_CE[5:2] lowto (WS)*E -3 (WS)*E (WS)*E + 3 nsEMA_WE low(SS = 0) 16 tsu(EMCEL-EMWEL) Outputsetuptime,EMA_CE[5:2] lowto -3 0 +3 nsEMA_WE low(SS = 1) Outputholdtime,EMA_WE highto (WH)*E-3 (WH)*E (WH)*E+3 nsEMA_CE[5:2] high(SS = 0) 17 th(EMWEH-EMCEH) Outputholdtime,EMA_WE highto -3 0 +3 nsEMA_CE[5:2] high(SS = 1) tsu(EMDQMV- Outputsetuptime,EMA_BA[1:0] validto18 (WS)*E-3 (WS)*E (WS)*E+3 ns EMWEL) EMA_WE low th(EMWEH- Outputholdtime,EMA_WE highto19 (WH)*E-3 (WH)*E (WH)*E+3 ns EMDQMIV) EMA_BA[1:0] invalid Outputsetuptime,EMA_BA[1:0] validto20 tsu(EMBAV-EMWEL) (WS)*E-3 (WS)*E (WS)*E+3 nsEMA_WE low Outputholdtime,EMA_WE highto21 th(EMWEH-EMBAIV) (WH)*E-3 (WH)*E (WH)*E+3 nsEMA_BA[1:0] invalid Outputsetuptime,EMA_A[13:0]validto22 tsu(EMAV-EMWEL) (WS)*E-3 (WS)*E (WS)*E+3 nsEMA_WE low Outputholdtime,EMA_WE highto23 th(EMWEH-EMAIV) (WH)*E-3 (WH)*E (WH)*E+3 nsEMA_A[13:0]invalid EMA_WE activelowwidth(EW = 0) (WST)*E-3 (WST)*E (WST)*E+3 ns 24 tw(EMWEL) (WST+(EWC*16)) (WST+(EWC*16))EMA_WE activelowwidth(EW = 1) (WST+(EWC*16))*E ns*E-3 *E+3 td(EMWAITH- DelaytimefromEMA_WAIT deassertedto25 3E-3 4E 4E+3 ns EMWEH) EMA_WE high Outputsetuptime,EMA_D[15:0]validto26 tsu(EMDV-EMWEL) (WS)*E-3 (WS)*E (WS)*E+3 nsEMA_WE low Outputholdtime,EMA_WE highto27 th(EMWEH-EMDIV) (WH)*E-3 (WH)*E (WH)*E+3 nsEMA_D[15:0]invalid
98 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION EMA_CS[5:2] EMA_BA[1:0] EMA_A[12:0] EMA_OE EMA_D[15:0] EMA_WE 3 1 EMA_ _DQM[1:0]WE 3029 EMA_A_RW AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-12.Asynchronous Memory Read Timing forEMIFA Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 99 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION EMA_CS[5:2] EMA_BA[1:0] EMA_A[12:0] EMA_WE EMA_D[15:0] EMA_OE 26 27 EMA_ _DQM[1:0]WE EMA_A_RW 31 32 EMA_CS[5:2] Asserted Deasserted EMA_BA[1:0] EMA_A[12:0] EMA_D[15:0] EMA_OE EMA_WAIT SETUP STROBE Extended Due to EMA_WAIT STROBE HOLD EMA_A_RW AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-13.Asynchronous Memory WriteTiming forEMIFA Figure6-14.EMA_WAIT Read Timing Requirements
100 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-15.EMA_WAIT WriteTiming Requirements Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 101 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.11 DDR2/mDDR Controller
The DDR2/mDDR Memory Controlleris a dedicatedinterfaceto DDR2/mDDR SDRAM. Itsupports JESD79-2A standardcompliantDDR2 SDRAM devicesand compliantMobileDDR SDRAM devices. The DDR2/mDDR Memory Controllersupportthefollowingfeatures:
- JESD79-2A standardcompliantDDR2 SDRAM
- MobileDDR SDRAM
- 512 MByte memory space forDDR2
- 256 MByte memory space formDDR
- CAS latencies: – DDR2: 2,3,4 and 5 – mDDR: 2 and 3
- Internalbanks: – DDR2: 1,2,4 and 8 – mDDR:1, 2 and 4
- Burstlength:8
- Bursttype:sequential
- 1 chipselect(CS)signal
- Page sizes:256,512,1024 and 2048
- SDRAM autoinitialization
- Self-refreshmode
- Partialarrayself-refresh(formDDR)
- Power down mode
- Prioritizedrefresh
- Programmable refreshrateand backlogcounter
- Programmable timingparameters
- Littleendian
6.11.1 DDR2/mDDR Memory ControllerElectricalData/Timing
Table6-23.SwitchingCharacteristicsOver Recommended OperatingConditionsforDDR2/mDDR Memory Controller MIN MAX MIN MAX MIN MAX MIN MAX 72 degreeDLL 125 150 125 150 125 150 — (1) — (1) configuration DDR2 90 degreeDLLCycletime, 125 150 125 150 125 150 — (1) — (1) configurationDDR_CLKP1 tc(DDR_CLK) MHz/ 72 degreeDLL 90 150 90 133 75 133 65 133DDR_CLKN configuration mDDR 90 degreeDLL 105 133 105 133 100 133 95 133configuration (1) DDR2 isnotsupportedatthisvoltageoperatingpoint.
102 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.11.2 DDR2/mDDR ControllerRegisterDescription(s)
Table6-24.DDR2/mDDR ControllerRegisters BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0xB000 0000 REVID RevisionID Register 0xB000 0004 SDRSTAT SDRAM StatusRegister 0xB000 0008 SDCR SDRAM ConfigurationRegister 0xB000 000C SDRCR SDRAM RefreshControlRegister 0xB000 0010 SDTIMR1 SDRAM TimingRegister1 0xB000 0014 SDTIMR2 SDRAM TimingRegister2 0xB000 001C SDCR2 SDRAM ConfigurationRegister2 0xB000 0020 PBBPR PeripheralBus BurstPriorityRegister 0xB000 0040 PC1 PerformanceCounter1 Registers 0xB000 0044 PC2 PerformanceCounter2 Register 0xB000 0048 PCC PerformanceCounterConfigurationRegister 0xB000 004C PCMRS PerformanceCounterMasterRegionSelectRegister 0xB000 0050 PCT PerformanceCounterTime Register 0xB000 00C0 IRR InterruptRaw Register 0xB000 00C4 IMR InterruptMask Register 0xB000 00C8 IMSR InterruptMask SetRegister 0xB000 00CC IMCR InterruptMask ClearRegister 0xB000 00E4 DRPYC1R DDR PHY ControlRegister1 0x01E2 C000 VTPIO_CTL VTP IO ControlRegister
6.11.3 DDR2/mDDR Interface
This sectionprovidesthe timingspecificationforthe DDR2/mDDR interfaceas a PCB design and manufacturingspecification.The design rulesconstrainPCB tracelength,PCB traceskew, signal integrity,cross-talk,and signaltiming.These rules,when followed,resultin a reliableDDR2/mDDR memory system withouttheneed fora complex timingclosureprocess.For more informationregarding guidelinesforusingthisDDR2/mDDR specification,UnderstandingTI'sPCB RoutingRule-BasedDDR2 TimingSpecification(SPRAAV0 ). 6.11.3.1DDR2/mDDR InterfaceSchematic Figure6-16 shows theDDR2/mDDR interfaceschematicfora single-memoryDDR2/mDDR system.The dual-memory system shown inFigure6-17. Pin numbers forthe devicecan be obtainedfrom the pin descriptionsection. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 103 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION DDR2/mDDR Memory Controller DDR_D[7] DDR2/mDDR DDR_DQM[0] ODT DQ0 DQ7 DDR_D[8] DDR_D[15] DQ8 DQ15 LDM LDQS LDQS DDR_DQM[1] DDR_DQS[1] UDM UDQS UDQS DDR_BA[0] DDR_BA[2] BA0 BA2 DDR_A[0] DDR_A[13] DDR_CS DDR_CAS CS CAS DDR_RAS DDR_WE RAS WE DDR_CKE CKE DDR_CLKP DDR_CLKN CK CK DDR_DQGATE0 DDR_DQGATE1 DDR_ZP DDR_VREF
1 K Ω 1%
DDR_DVDD18 VREF 1 K Ω 1%0.1 μF 0.1 μF 0.1 Fμ (2) 0.1 Fμ (2) 50 5 Ω % T Terminator, if desired. See terminator comments. DQ7 A13 0.1 μF 0.1 μF T Terminator, if desired. See terminator comments. DDR_D[0] NC TTT TTT TTT TTT TTT TTT TTT TTT TTT TTT TTT TTT TTT TTT TTT TTT TTT TTT TTT T T T T T T VREF (3) T Terminator, if desired. See terminator comments. 0.1 Fμ (2) DDR_DQS[0] NC (1) AM1806 SPRS658 –FEBRUARY 2010 www.ti.com (1) See Figure6-23forDQGATE routingspecifications. (2) ForDDR2, one ofthesecapacitorscan be eliminatedifthedividerand itscapacitorsareplacedneara deviceVREF pin.FormDDR, thesecapacitorscan be eliminatedcompletely. (3) VREF appliesinthecase ofDDR2 memories.FormDDR, theDDR_VREF pinstillneeds tobe connectedtothedividercircuit. Figure6-16.DDR2/mDDR Single-Memory High LevelSchematic
104 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION DDR2/mDDR Memory Controller DDR_D[0:7] Lower ByteDDR2/mDDR DDR_DQM[0] DDR_DQS[0] ODT DQ0 - DQ7 BA0-BA2CK CK DM DQS DQS CS CAS RAS DDR_BA[0:2] CKE BA0-BA2 DDR_A[0:13] DDR_CLKP A0-A13 DDR_CLKN DDR_CS CK CS DDR_CAS DDR_RAS CAS RAS DDR_WE WE DDR_D[8:15] DQS DQ0 - DQ7 DDR_DQGATE0 DDR_DQGATE1 T T T T T T T T T T T T T T DDR_ZP VREF (3) DDR_VREF DDR_DVDD18 VREF 1 K Ω 1%0.1 μF 0.1 μF 0.1 μF (2) 0.1 μF (2) 0.1 μF (2) 50 5 Ω % T Terminator, if desired. See terminator comments. ODT A0-A13 WE VREF Upper ByteDDR2/mDDR CK DDR_CKE CKET DDR_DQM1 DMT DDR_DQS1 DQST NC NC (1) AM1806 www.ti.com SPRS658 –FEBRUARY 2010 (1) See Figure6-23forDQGATE routingspecifications. (2) ForDDR2, one ofthesecapacitorscan be eliminatedifthedividerand itscapacitorsareplacedneara deviceVREF pin.FormDDR, thesecapacitorscan be eliminatedcompletely. (3) VREF appliesinthecase ofDDR2 memories.FormDDR, theDDR_VREF pinstillneeds tobe connectedtothedividercircuit. Figure6-17.DDR2/mDDR Dual-Memory High LevelSchematic Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 105 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com 6.11.3.2Compatible JEDEC DDR2/mDDR Devices Table 6-25 shows the parametersof the JEDEC DDR2/mDDR devicesthatare compatiblewiththis interface.Generally,the DDR2/mDDR interfaceiscompatiblewithx16 DDR2/mDDR-400 speed grade DDR2/mDDR devices. The devicealsosupportsJEDEC DDR2/mDDR x8 devicesinthedualchipconfiguration.Inthiscase,one chipsuppliesthe upper byteand the second chipsuppliesthe lowerbyte.Addresses and most control signalsaresharedjustlikeregulardualchipmemory configurations. Table6-25.Compatible JEDEC DDR2/mDDR Devices No. Parameter Min Max Unit Notes
1 JEDEC DDR2/mDDR DeviceSpeed Grade DDR2/mDDR-400 See Note (1)
2 JEDEC DDR2/mDDR DeviceBitWidth x8 x16 Bits
3 JEDEC DDR2/mDDR DeviceCount 1 2 Devices See Note (2)
(1) HigherDDR2/mDDR speed gradesaresupporteddue toinherentJEDEC DDR2/mDDR backwardscompatibility. (2) Supportedconfigurationsareone 16-bitDDR2/mDDR memory ortwo 8-bitDDR2/mDDR memories 6.11.3.3PCB Stackup The minimum stackuprequiredforroutingthe deviceis a sixlayerstackas shown in Table 6-26. Additionallayersmay be added tothePCB stackup toaccommodate othercircuitryortoreducethesize ofthePCB footprint.Completestackup specificationsareprovidedinTable6-27. Table6-26.Device Minimum PCB Stack Up Layer Type Description
1 Signal Top RoutingMostlyHorizontal
2 Plane Ground
3 Plane Power
4 Signal InternalRouting
5 Plane Ground
6 Signal BottomRoutingMostlyVertical
Table6-27.PCB Stack Up Specifications No. Parameter Min Typ Max Unit Notes
1 PCB Routing/PlaneLayers 6
2 SignalRoutingLayers 3
3 FullgroundlayersunderDDR2/mDDR routingregion 2
4 Number ofgroundplanecutsallowedwithinDDR routingregion 0
5 Number ofgroundreferenceplanesrequiredforeach DDR2/mDDR routinglayer 1
6 Number oflayersbetween DDR2/mDDR routinglayerand referencegroundplane 0
7 PCB RoutingFeatureSize 4 Mils
8 PCB TraceWidthw 4 Mils
8 PCB BGA escape viapad size 18 Mils
9 PCB BGA escape viaholesize 8 Mils
10 DeviceBGA pad size See Note (1)
11 DDR2/mDDR DeviceBGA pad size See Note (2)
12 SingleEnded Impedance,Zo 50 75 Ω
13 Impedance Control Z-5 Z Z+5 Ω See Note (3)
(1) PleaserefertotheFlipChipBallGridArrayPackage ReferenceGuide (SPRU811 )fordeviceBGA pad size. (2) PleaserefertotheDDR2/mDDR devicemanufacturerdocumentationfortheDDR2/mDDR deviceBGA pad size. (3) Z isthenominalsingledended impedance selectedforthePCB specifiedby item12.
106 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION X Y OFFSET Recommended□DDR2/mDDR Device□Orientation Y Y OFFSET DDR2/mDDR Device DDR2/mDDRController AM1806 www.ti.com SPRS658 –FEBRUARY 2010 6.11.3.4Placement Figure6-17 shows the requiredplacementforthe deviceas wellas the DDR2/mDDR devices.The dimensionsforFigure6-18aredefinedinTable6-28.The placementdoes notrestrictthesideofthePCB thatthe devicesare mounted on. The ultimatepurpose of the placementisto limitthe maximum trace lengthsand allowforproper routingspace. For single-memoryDDR2/mDDR systems,the second DDR2/mDDR deviceisomittedfromtheplacement. Figure6-18.Device and DDR2/mDDR Device Placement Table6-28.Placement Specifications No. Parameter Min Max Unit Notes
1 X 1750 Mils See Notes (1),(2)
2 Y 1280 Mils See Notes (1),(2)
3 Y Offset 650 Mils See Notes (1).(2),(3)
4 Clearancefromnon-DDR2/mDDR signaltoDDR2/mDDR KeepoutRegion 4 w See Note (4)
(1) See Figure6-18fordimensiondefinitions. (2) Measurements fromcenterofdevicetocenterofDDR2/mDDR device. (3) Forsinglememory systemsitisrecommended thatY Offsetbe as smallas possible. (4) Non-DDR2/mDDR signalsallowedwithinDDR2/mDDR keepoutregionprovidedtheyareseparatedfromDDR2/mDDR routinglayersby a groundplane. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 107 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION DDR2/mDDR Controller DDR2/mDDR Device Region□should□encompass□all□DDR2/mDDR□circuitry□and□varies depending□on□placement.□Non-DDR2/mDDR□signals□should□not□be routed□on□the□DDR□signal□layers□within□the□DDR2/mDDR□keep□out region.□Non-DDR2/mDDR□signals□may□be□routed□in□the□region provided□they□are□routed□on□layers□separated□from□DDR2/mDDR signal□layers□by□a□ground□layer.□No□breaks□should□be□allowed□in□the reference□ground□layers□in□this□region.□In□addition,□the□1.8□V□power plane□should□cover□the□entire□keep□out□region. AM1806 SPRS658 –FEBRUARY 2010 www.ti.com 6.11.3.5DDR2/mDDR Keep Out Region The regionof the PCB used forthe DDR2/mDDR circuitrymust be isolatedfrom othersignals.The DDR2/mDDR keep out regionisdefinedforthispurpose and isshown inFigure6-19. The sizeof this regionvarieswiththeplacementand DDR routing.Additionalclearancesrequiredforthekeep outregion areshown inTable6-28. Figure6-19.DDR2/mDDR Keepout Region
108 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 6.11.3.6Bulk Bypass Capacitors Bulk bypass capacitorsare requiredformoderate speed bypassingof the DDR2/mDDR and other circuitry.Table 6-29 containsthe minimum numbers and capacitancerequiredforthe bulk bypass capacitors.Note thatthistableonlycoversthebypass needs ofthedeviceand DDR2/mDDR interfaces. Additionalbulkbypasscapacitancemay be needed forothercircuitry. Table6-29.Bulk Bypass Capacitors No. Parameter Min Max Unit Notes
1 DDR_DVDD18 SupplyBulkBypass CapacitorCount 3 Devices See Note (1)
2 DDR_DVDD18 SupplyBulkBypass TotalCapacitance 30 mF
3 DDR#1 BulkBypass CapacitorCount 1 Devices See Note (1)
4 DDR#1 BulkBypass TotalCapacitance 22 mF
5 DDR#2 BulkBypass CapacitorCount 1 Devices See Notes (1),(2)
6 DDR#2 BulkBypass TotalCapacitance 22 mF See Note (2)
(1) These devicesshouldbe placednearthedevicetheyarebypassing,butpreferenceshouldbe giventotheplacementofthehigh-speed (HS)bypasscaps. (2) Onlyused on dual-memorysystems 6.11.3.7High-Speed Bypass Capacitors High-speed (HS) bypass capacitorsare criticalfor proper DDR2/mDDR interfaceoperation.It is particularlyimportant to minimize the parasiticseries inductance of the HS bypass cap, device/DDR2/mDDR power, and device/DDR2/mDDR ground connections.Table 6-30 containsthe specificationfortheHS bypasscapacitorsas wellas forthepower connectionson thePCB. Table6-30.High-Speed Bypass Capacitors No. Parameter Min Max Unit Notes
1 HS Bypass CapacitorPackage Size 0402 10 Mils See Note (1)
2 DistancefromHS bypasscapacitortodevicebeingbypassed 250 Mils
3 Number ofconnectionviasforeach HS bypasscapacitor 2 Vias See Note (2)
4 Tracelengthfrombypasscapacitorcontacttoconnectionvia 1 30 Mils
5 Number ofconnectionviasforeach DDR2/mDDR devicepower or Vias1groundballs
6 TracelengthfromDDR2/mDDR devicepower balltoconnectionvia 35 Mils
7 DDR_DVDD18 SupplyHS Bypass CapacitorCount 10 Devices See Note (3)
8 DDR_DVDD18 SupplyHS Bypass CapacitorTotalCapacitance 0.6 mF
9 DDR#1 HS Bypass CapacitorCount 8 Devices See Note (3)
10 DDR#1 HS Bypass CapacitorTotalCapacitance 0.4 mF
11 DDR#2 HS Bypass CapacitorCount 8 Devices See Notes (3),(4)
12 DDR#2 HS Bypass CapacitorTotalCapacitance 0.4 mF See Note (4) (1) LxW, 10 milunits,i.e.,a 0402 isa 40x20 milsurfacemount capacitor (2) An additionalHS bypasscapacitorcan sharetheconnectionviasonlyifitismounted on theoppositesideoftheboard. (3) These devicesshouldbe placedas closeas possibletothedevicebeingbypassed. (4) Onlyused on dual-memorysystems Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 109 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com 6.11.3.8Net Classes Table 6-31 liststhe clocknet classesforthe DDR2/mDDR interface.Table 6-32 liststhe signalnet classes,and associatedclocknetclasses,forthesignalsintheDDR2/mDDR interface.These netclasses areused fortheterminationand routingrulesthatfollow. Table6-31.Clock Net Class Definitions Clock Net Class Pin Names CK DDR_CLKP /DDR_CLKN DQS0 DDR_DQS[0] DQS1 DDR_DQS[1] Table6-32.SignalNet Class Definitions AssociatedClock Net Clock Net Class Class Pin Names ADDR_CTRL CK DDR_BA[2:0],DDR_A[13:0],DDR_CS, DDR_CAS, DDR_RAS, DDR_WE, DDR_CKE D0 DQS0 DDR_D[7:0],DDR_DQM0 D1 DQS1 DDR_D[15:8],DDR_DQM1 DQGATE CK, DQS0, DQS1 DDR_DQGATE0, DDR_DQGATE1 6.11.3.9DDR2/mDDR SignalTermination No terminationsof any kindare requiredinorderto meet signalintegrityand overshootrequirements. Serialterminatorsare permitted,ifdesired,toreduceEMI risk;however,serialterminationsare theonly typepermitted.Table6-33shows thespecificationsfortheseriesterminators. Table6-33.DDR2/mDDR SignalTerminations No. Parameter Min Typ Max Unit Notes
1 CK Net Class 0 10 Ω See Note (1)
2 ADDR_CTRL Net Class 0 22 Zo Ω See Notes (1),(2),(3)
3 Data ByteNet Classes(DQS[0],DQS[1],D0, D1) 0 22 Zo Ω See Notes (1),(2),(3),(4)
4 DQGATE Net Class(DQGATE) 0 10 Zo Ω See Notes (1),(2),(3)
(1) Onlyseriesterminationispermitted,parallelorSST specificallydisallowed. (2) Terminatorvalueslargerthantypicalonlyrecommended toaddressEMI issues. (3) Terminationvalueshouldbe uniformacrossnetclass. (4) When no terminationisused on datalines(0Ω),theDDR2/mDDR devicesmust be programmed tooperatein60% strengthmode.
110 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION DDR2/mDDR□Device VREF□Nominal□Minimum Trace□Width□is□20□Mils VREF□Bypass□Capacitor Neck□down□to□minimum□in□BGA escape regions□is□acceptable.□Narrowing□to accomodate□via□congestion□for□short distances□is□also□acceptable.□Best performance□is□obtained□if□the□width of□VREF□is□maximized. DDR2/mDDR AM1806 www.ti.com SPRS658 –FEBRUARY 2010 6.11.3.10VREF Routing VREF isused as a referenceby theinputbuffersoftheDDR2/mDDR memories as wellas thedevice. VREF isintendedto be halfthe DDR2/mDDR power supplyvoltageand shouldbe createdusinga resistivedivideras shown in Figure6-16. Other methods of creatingVREF are not recommended. Figure6-20shows thelayoutguidelinesforVREF. Figure6-20.VREF Routing and Topology Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 111 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION C B A T DDR2/mDDRController AM1806 SPRS658 –FEBRUARY 2010 www.ti.com 6.11.3.11DDR2/mDDR CK and ADDR_CTRL Routing Figure6-21 shows thetopologyoftheroutingfortheCK and ADDR_CTRL netclasses.The routeisa balancedT as itisintendedthatthelengthofsegments B and C be equal.Inaddition,thelengthofA shouldbe maximized. Figure6-21.CK and ADDR_CTRL Routing and Topology Table6-34.CK and ADDR_CTRL Routing Specification No. Parameter Min Typ Max Unit Notes
1 CentertoCenterCK-CKN Spacing 2w See Note (1)
2 CK A toB/A toC Skew LengthMismatch 25 Mils See Note (2)
3 CK B toC Skew LengthMismatch 25 Mils
4 CentertocenterCK tootherDDR2/mDDR tracespacing 4w See Note (1)
5 CK/ADDR_CTRL nominaltracelength CACLM-50 CACLM CACLM+50 Mils See Note (3)
6 ADDR_CTRL toCK Skew LengthMismatch 100 Mils
7 ADDR_CTRL toADDR_CTRL Skew LengthMismatch 100 Mils
8 CentertocenterADDR_CTRL tootherDDR2/mDDR tracespacing 4w See Note (1)
9 CentertocenterADDR_CTRL tootherADDR_CTRL tracespacing 3w See Note (1)
10 ADDR_CTRL A toB/A toC Skew LengthMismatch 100 Mils See Note (2)
11 ADDR_CTRL B toC Skew LengthMismatch 100 Mils
(1) Centertocenterspacingisallowedtofalltominimum (w)forup to500 milsofroutedlengthtoaccommodate BGA escape and routing congestion. (2) Seriesterminator,ifused,shouldbe locatedclosesttodevice. (3) CACLM isthelongestManhattandistanceoftheCK and ADDR_CTRL netclasses.
112 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION T DDR2/mDDRController T AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-22shows thetopologyand routingfortheDQS and DQ netclass;theroutesarepointtopoint. Skew matchingacrossbytesisnotneeded norrecommended. Figure6-22.DQS and DQ Routing and Topology Table6-35.DQS and DQ Routing Specification No. Parameter Min Typ Max Unit Notes
1 DQS E Skew LengthMismatch 25 Mils
2 CentertocenterDQS tootherDDR2/mDDR trace 4w See Note (1)
3 DQS/D nominaltracelength DQLM-50 DQLM DQLM+50 Mils See Notes (2),(3)
4 D toDQS Skew LengthMismatch 100 Mils See Note (3)
5 D toD Skew LengthMismatch 100 Mils See Note (3)
6 CentertocenterD tootherDDR2/mDDR trace 4w See Notes (1),(4)
7 CentertoCenterD tootherD tracespacing 3w See Notes (5),(1)
8 DQ/DQS E Skew LengthMismatch 100 Mils See Note (3)
(1) Centertocenterspacingisallowedtofalltominimum (w)forup to500 milsofroutedlengthtoaccommodate BGA escape and routing congestion. (2) Seriesterminator,ifused,shouldbe locatedclosesttoDDR. (3) Thereisno need and itisnotrecommended toskew match acrossdatabytes,i.e.,fromDQS0 and databyte0 toDQS1 and databyte (4) D 's fromotherDQS domains areconsideredotherDDR2/mDDR trace. (5) DQLM isthelongestManhattandistanceofeach oftheDQS and D netclass. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 113 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION T T DDR2/mDDRController F AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-23shows theroutingfortheDQGATE netclass.Table6-36containstheroutingspecification. Figure6-23.DQGATE Routing Table6-36.DQGATE Routing Specification No. Parameter Min Typ Max Unit Notes
1 DQGATE LengthF CKB0B1 See Note (1)
2 CentertocenterDQGATE toany othertracespacing 4w
3 DQS/D nominaltracelength DQLM-50 DQLM DQLM+50 Mils
4 DQGATE Skew 100 Mils See Note (2)
(1) CKB0B1 isthesum ofthelengthoftheCK netplustheaveragelengthoftheDQS0 and DQS1 nets. (2) Skew fromCKB0B1 6.11.3.12MDDR/DDR2 Boundary Scan Limitations Due to DDR implementationand timingrestrictions,itwas not possibleto placeboundary scan cells between corelogicand theIO likeboundaryscan cellsforotherIO.Instead,theboundaryscan cellsare tapped-offtotheDDR PHY and thereistheequivalentofa multiplexerinsidetheDDR PHY whichselects between functionaland boundaryscan paths. The implicationforboundaryscan isthattheDDR pinswillnotsupporttheSAMPLE functionoftheoutput enable cellson the DDR pins and thisis a violationof IEEE 1149.1.FullEXTEST and PRELOAD capabilityisstillavailable.
114 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.12 Memory ProtectionUnits
The MPU performsmemory protectionchecking.Itreceivesrequestsfroma bus masterinthesystemand checkstheaddressagainstthefixedand programmableregionstosee iftheaccessisallowed.Ifallowed, thetransferispassed unmodifiedtoitsoutputbus (tothetargetedaddress).Ifthetransferisillegal(fails theprotectioncheck)thentheMPU does notpass thetransfertotheoutputbus butratherservicesthe transferinternallyback totheinputbus (topreventa hang) returningthefaultstatustotherequestoras wellas generatingan interruptaboutthefault.The followingfeaturesaresupportedby theMPU:
- Providesmemory protectionforfixedand programmableaddressranges.
- Supportsmultipleprogrammableaddressregion.
- Supportssecureand debug accessprivileges.
- Supportsread,write,and executeaccessprivileges.
- Supportsprivid(8)associationswithranges.
- Generatesan interruptwhen thereisa protectionviolation,and savesviolatingtransferparameters.
- MMR accessisalsoprotected. Table6-37.MPU1 ConfigurationRegisters MPU1 ACRONYM REGISTER DESCRIPTIONBYTE ADDRESS 0x01E1 4000 REVID RevisionID 0x01E1 4004 CONFIG Configuration 0x01E1 4010 IRAWSTAT Interruptraw status/set 0x01E1 4014 IENSTAT Interruptenablestatus/clear 0x01E1 4018 IENSET Interruptenable 0x01E1 401C IENCLR Interruptenableclear 0x01E1 4020 -0x01E1 41FF - Reserved 0x01E1 4200 PROG1_MPSAR Programmable range1,startaddress 0x01E1 4204 PROG1_MPEAR Programmable range1,end address 0x01E1 4208 PROG1_MPPA Programmable range1,memory page protectionattributes 0x01E1 420C -0x01E1 420F - Reserved 0x01E1 4210 PROG2_MPSAR Programmable range2,startaddress 0x01E1 4214 PROG2_MPEAR Programmable range2,end address 0x01E1 4218 PROG2_MPPA Programmable range2,memory page protectionattributes 0x01E1 421C -0x01E1 421F - Reserved 0x01E1 4220 PROG3_MPSAR Programmable range3,startaddress 0x01E1 4224 PROG3_MPEAR Programmable range3,end address 0x01E1 4228 PROG3_MPPA Programmable range3,memory page protectionattributes 0x01E1 422C -0x01E1 422F - Reserved 0x01E1 4230 PROG4_MPSAR Programmable range4,startaddress 0x01E1 4234 PROG4_MPEAR Programmable range4,end address 0x01E1 4238 PROG4_MPPA Programmable range4,memory page protectionattributes 0x01E1 423C -0x01E1 423F - Reserved 0x01E1 4240 PROG5_MPSAR Programmable range5,startaddress 0x01E1 4244 PROG5_MPEAR Programmable range5,end address 0x01E1 4248 PROG5_MPPA Programmable range5,memory page protectionattributes 0x01E1 424C -0x01E1 424F - Reserved 0x01E1 4250 PROG6_MPSAR Programmable range6,startaddress 0x01E1 4254 PROG6_MPEAR Programmable range6,end address 0x01E1 4258 PROG6_MPPA Programmable range6,memory page protectionattributes 0x01E1 425C -0x01E1 42FF - Reserved Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 115 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-37.MPU1 ConfigurationRegisters(continued) MPU1 ACRONYM REGISTER DESCRIPTIONBYTE ADDRESS 0x01E1 4300 FLTADDRR Faultaddress 0x01E1 4304 FLTSTAT Faultstatus 0x01E1 4308 FLTCLR Faultclear 0x01E1 430C -0x01E1 4FFF - Reserved Table6-38.MPU2 ConfigurationRegisters MPU1 ACRONYM REGISTER DESCRIPTIONBYTE ADDRESS 0x01E1 5000 REVID RevisionID 0x01E1 5004 CONFIG Configuration 0x01E1 5010 IRAWSTAT Interruptraw status/set 0x01E1 5014 IENSTAT Interruptenablestatus/clear 0x01E1 5018 IENSET Interruptenable 0x01E1 501C IENCLR Interruptenableclear 0x01E1 5020 -0x01E1 50FF - Reserved 0x01E1 5100 FXD_MPSAR Fixedrangestartaddress 0x01E1 5104 FXD_MPEAR Fixedrangeend startaddress 0x01E1 5108 FXD_MPPA Fixedrangememory page protectionattributes 0x01E1 510C -0x01E1 51FF - Reserved 0x01E1 5200 PROG1_MPSAR Programmable range1,startaddress 0x01E1 5204 PROG1_MPEAR Programmable range1,end address 0x01E1 5208 PROG1_MPPA Programmable range1,memory page protectionattributes 0x01E1 520C -0x01E1 520F - Reserved 0x01E1 5210 PROG2_MPSAR Programmable range2,startaddress 0x01E1 5214 PROG2_MPEAR Programmable range2,end address 0x01E1 5218 PROG2_MPPA Programmable range2,memory page protectionattributes 0x01E1 521C -0x01E1 521F - Reserved 0x01E1 5220 PROG3_MPSAR Programmable range3,startaddress 0x01E1 5224 PROG3_MPEAR Programmable range3,end address 0x01E1 5228 PROG3_MPPA Programmable range3,memory page protectionattributes 0x01E1 522C -0x01E1 522F - Reserved 0x01E1 5230 PROG4_MPSAR Programmable range4,startaddress 0x01E1 5234 PROG4_MPEAR Programmable range4,end address 0x01E1 5238 PROG4_MPPA Programmable range4,memory page protectionattributes 0x01E1 523C -0x01E1 523F - Reserved 0x01E1 5240 PROG5_MPSAR Programmable range5,startaddress 0x01E1 5244 PROG5_MPEAR Programmable range5,end address 0x01E1 5248 PROG5_MPPA Programmable range5,memory page protectionattributes 0x01E1 524C -0x01E1 524F - Reserved 0x01E1 5250 PROG6_MPSAR Programmable range6,startaddress 0x01E1 5254 PROG6_MPEAR Programmable range6,end address 0x01E1 5258 PROG6_MPPA Programmable range6,memory page protectionattributes 0x01E1 525C -0x01E1 525F - Reserved 0x01E1 5260 PROG7_MPSAR Programmable range7,startaddress 0x01E1 5264 PROG7_MPEAR Programmable range7,end address 0x01E1 5268 PROG7_MPPA Programmable range7,memory page protectionattributes
116 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-38.MPU2 ConfigurationRegisters(continued) MPU1 ACRONYM REGISTER DESCRIPTIONBYTE ADDRESS 0x01E1 526C -0x01E1 526F - Reserved 0x01E1 5270 PROG8_MPSAR Programmable range8,startaddress 0x01E1 5274 PROG8_MPEAR Programmable range8,end address 0x01E1 5278 PROG8_MPPA Programmable range8,memory page protectionattributes 0x01E1 527C -0x01E1 527F - Reserved 0x01E1 5280 PROG9_MPSAR Programmable range9,startaddress 0x01E1 5284 PROG9_MPEAR Programmable range9,end address 0x01E1 5288 PROG9_MPPA Programmable range9,memory page protectionattributes 0x01E1 528C -0x01E1 528F - Reserved 0x01E1 5290 PROG10_MPSAR Programmable range10,startaddress 0x01E1 5294 PROG10_MPEAR Programmable range10,end address 0x01E1 5298 PROG10_MPPA Programmable range10,memory page protectionattributes 0x01E1 529C -0x01E1 529F - Reserved 0x01E1 52A0 PROG11_MPSAR Programmable range11,startaddress 0x01E1 52A4 PROG11_MPEAR Programmable range11,end address 0x01E1 52A8 PROG11_MPPA Programmable range11,memory page protectionattributes 0x01E1 52AC -0x01E1 52AF - Reserved 0x01E1 52B0 PROG12_MPSAR Programmable range12,startaddress 0x01E1 52B4 PROG12_MPEAR Programmable range12,end address 0x01E1 52B8 PROG12_MPPA Programmable range12,memory page protectionattributes 0x01E1 52BC -0x01E1 52FF - Reserved 0x01E1 5300 FLTADDRR Faultaddress 0x01E1 5304 FLTSTAT Faultstatus 0x01E1 5308 FLTCLR Faultclear 0x01E1 530C -0x01E1 5FFF - Reserved Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 117 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.13 MMC /SD /SDIO (MMCSD0, MMCSD1)
6.13.1 MMCSD PeripheralDescription
The deviceincludesan two MMCSD controllerswhicharecompliantwithMMC V3.31,Secure DigitalPart 1 PhysicalLayerSpecificationV1.1and SecureDigitalInputOutput(SDIO)V2.0specifications. The MMC/SD Controllerhave followingfeatures:
- MultiMediaCard(MMC).
- SecureDigital(SD)Memory Card.
- MMC/SD protocolsupport.
- SDIO protocolsupport.
- Programmable clockfrequency.
- 512 bitRead/WriteFIFO tolowersystemoverhead.
- SlaveEDMA transfercapability. The deviceMMC/SD Controllerdoes notsupportSPI mode.
6.13.2 MMCSD PeripheralRegisterDescription(s)
Table6-39.MultimediaCard/SecureDigital(MMC/SD) Card ControllerRegisters MMCSD0 MMCSD1 ACRONYM REGISTER DESCSRIPTIONBYTE ADDRESS BYTE ADDRESS 0x01C4 0000 0x01E1 B000 MMCCTL MMC ControlRegister 0x01C4 0004 0x01E1 B004 MMCCLK MMC Memory ClockControlRegister 0x01C4 0008 0x01E1 B008 MMCST0 MMC StatusRegister0 0x01C4 000C 0x01E1 B00C MMCST1 MMC StatusRegister1 0x01C4 0010 0x01E1 B010 MMCIM MMC InterruptMask Register 0x01C4 0014 0x01E1 B014 MMCTOR MMC Response Time-OutRegister 0x01C4 0018 0x01E1 B018 MMCTOD MMC Data Read Time-OutRegister 0x01C4 001C 0x01E1 B01C MMCBLEN MMC BlockLengthRegister 0x01C4 0020 0x01E1 B020 MMCNBLK MMC Number ofBlocksRegister 0x01C4 0024 0x01E1 B024 MMCNBLC MMC Number ofBlocksCounterRegister 0x01C4 0028 0x01E1 B028 MMCDRR MMC Data ReceiveRegister 0x01C4 002C 0x01E1 B02C MMCDXR MMC Data TransmitRegister 0x01C4 0030 0x01E1 B030 MMCCMD MMC Command Register 0x01C4 0034 0x01E1 B034 MMCARGHL MMC Argument Register 0x01C4 0038 0x01E1 B038 MMCRSP01 MMC Response Register0 and 1 0x01C4 003C 0x01E1 B03C MMCRSP23 MMC Response Register2 and 3 0x01C4 0040 0x01E1 B040 MMCRSP45 MMC Response Register4 and 5 0x01C4 0044 0x01E1 B044 MMCRSP67 MMC Response Register6 and 7 0x01C4 0048 0x01E1 B048 MMCDRSP MMC Data Response Register 0x01C4 0050 0x01E1 B050 MMCCIDX MMC Command IndexRegister 0x01C4 0064 0x01E1 B064 SDIOCTL SDIO ControlRegister 0x01C4 0068 0x01E1 B068 SDIOST0 SDIO StatusRegister0 0x01C4 006C 0x01E1 B06C SDIOIEN SDIO InterruptEnableRegister 0x01C4 0070 0x01E1 B070 SDIOIST SDIO InterruptStatusRegister 0x01C4 0074 0x01E1 B074 MMCFIFOCTL MMC FIFO ControlRegister
118 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION ST ART XMIT V alid Valid Valid END MMCSD_CLK MMCSD_CMD 13 13 13 ST ART XMIT V alid Valid Valid END MMCSD_CLK MMCSD_CMD 1097 ST ART D0 D1 Dx END MMCSD_CLK MMCSD_DATx 1414 14 14 AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.13.3 MMC/SD ElectricalData/Timing
Table6-40throughTable6-41assume testingoverrecommended operatingconditions. Table6-40.Timing Requirements forMMC/SD (seeFigure6-25and Figure6-27) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 1 tsu(CMDV-CLKH) Setuptime,MMCSD_CMD validbeforeMMCSD_CLK high 4 4 6 ns 2 th(CLKH-CMDV) Holdtime,MMCSD_CMD validafterMMCSD_CLK high 2.5 2.5 2.5 ns 3 tsu(DATV-CLKH) Setuptime,MMCSD_DATx validbeforeMMCSD_CLK high 4.5 5 6 ns 4 th(CLKH-DATV) Holdtime,MMCSD_DATx validafterMMCSD_CLK high 2.5 2.5 2.5 ns Table6-41.SwitchingCharacteristicsforMMC/SD (seeFigure6-24through Figure6-27) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 7 f(CLK) Operatingfrequency,MMCSD_CLK 0 52 0 50 0 25 MHz 8 f(CLK_ID) Identificationmode frequency,MMCSD_CLK 0 400 0 400 0 400 KHz 9 tW(CLKL) Pulsewidth,MMCSD_CLK low 6.5 6.5 10 ns 10 tW(CLKH) Pulsewidth,MMCSD_CLK high 6.5 6.5 10 ns 11 tr(CLK) Risetime,MMCSD_CLK 3 3 10 ns 12 tf(CLK) Falltime,MMCSD_CLK 3 3 10 ns 13 td(CLKL-CMD) Delaytime,MMCSD_CLK lowtoMMCSD_CMD transition -4 2.5 -4 3 -4 4 ns 14 td(CLKL-DAT) Delaytime,MMCSD_CLK lowtoMMCSD_DATx transition -4 3.3 -4 3.5 -4 4 ns Figure6-24.MMC/SD Host Command Timing Figure6-25.MMC/SD Card Response Timing Figure6-26.MMC/SD Host WriteTiming Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 119 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION Start D0 D1 Dx End MMCSD_CLK MMCSD_DA Tx 3 3 AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-27.MMC/SD Host Read and Card CRC StatusTiming
120 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION Receive□Logic C lock/Fram e G enerator State□Machine Clock□Check□and Serializer□0 Serializer□1 Serializer□y GIO Control DIT□RAM 384□C 384□U Optional Transm it Form atter Receive Form atter Transm it Logic C lock/Fram e G enerator State□Machine McASP Peripheral Configuration Bus McASP DMA Bus (Dedicated) AHCLKRx ACLKRx AFSRx AMUTEINx AMUTEx AFSXx ACLKXx AHCLKXx AXRx[0] AXRx[1] AXRx[y] Pins Function Receive□Master□Clock Receive□Bit□Clock R eceive Left/R ight C lock or Fram e Sync Transm it M aster C lock Transm it B it C lock Transm it Left/R ight C lock or Fram e Sync Transm it/R eceive Serial D ata Pin Transm it/R eceive Serial D ata Pin Transm it/R eceive Serial D ata Pin Error□Detection The□McASP DOES□NOT□have□a dedicated AMUTEIN□pin. AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.14 MultichannelAudio SerialPort(McASP)
The McASP serialportisspecificallydesignedformultichannelaudioapplications.Itskey featuresare:
- Flexibleclockand framesyncgenerationlogicand on-chipdividers
- Up tosixteentransmitorreceivedatapinsand serializers
- Largenumber ofserialdataformatoptions,including: – TDM Frames with2 to32 timeslotsperframe(periodic)or1 slotperframe(burst) – Time slotsof8,12,16,20,24,28,and 32 bits – Firstbitdelay0,1,or2 clocks – MSB orLSB firstbitorder – Left-orright-aligneddatawords withintimeslots
- DIT Mode with384-bitChannelStatusand 384-bitUser Data registers
- Extensiveerrorcheckingand mute generationlogic
- Allunused pinsGPIO-capable
- Transmit& Receive FIFO Buffersallowthe McASP to operateat a highersample rateby making it more toleranttoDMA latency.
- Dynamic AdjustmentofClockDividers – ClockDividerValuemay be changed withoutresettingtheMcASP Figure6-28.McASP Block Diagram Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 121 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.14.1 McASP PeripheralRegistersDescription(s)
Registersforthe McASP are summarized in Table 6-42. The registersare accessed throughthe peripheralconfigurationport.The receivebufferregisters(RBUF) and transmitbufferregisters(XBUF) can alsobe accessedthroughtheDMA port,as listedinTable6-43 RegistersfortheMcASP Audio FIFO (AFIFO)are summarized inTable6-44.Note thattheAFIFO Write FIFO (WFIFO) and Read FIFO (RFIFO)have independentcontroland statusregisters.The AFIFO control registersareaccessedthroughtheperipheralconfigurationport. Table6-42.McASP RegistersAccessed Through PeripheralConfigurationPort BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01D0 0000 REV Revisionidentificationregister 0x01D0 0010 PFUNC Pinfunctionregister 0x01D0 0014 PDIR Pindirectionregister 0x01D0 0018 PDOUT Pindataoutputregister 0x01D0 001C PDIN Read returns:Pindatainputregister 0x01D0 001C PDSET Writesaffect:Pindatasetregister(alternatewriteaddress:PDOUT) 0x01D0 0020 PDCLR Pindataclearregister(alternatewriteaddress:PDOUT) 0x01D0 0044 GBLCTL Globalcontrolregister 0x01D0 0048 AMUTE Audiomute controlregister 0x01D0 004C DLBCTL Digitalloopbackcontrolregister 0x01D0 0050 DITCTL DIT mode controlregister 0x01D0 0060 Receiverglobalcontrolregister:AliasofGBLCTL, onlyreceivebitsareRGBLCTL affected-allowsreceivertobe resetindependentlyfromtransmitter 0x01D0 0064 RMASK Receiveformatunitbitmask register 0x01D0 0068 RFMT Receivebitstreamformatregister 0x01D0 006C AFSRCTL Receiveframesynccontrolregister 0x01D0 0070 ACLKRCTL Receiveclockcontrolregister 0x01D0 0074 AHCLKRCTL Receivehigh-frequencyclockcontrolregister 0x01D0 0078 RTDM ReceiveTDM timeslot0-31register 0x01D0 007C RINTCTL Receiverinterruptcontrolregister 0x01D0 0080 RSTAT Receiverstatusregister 0x01D0 0084 RSLOT CurrentreceiveTDM timeslotregister 0x01D0 0088 RCLKCHK Receiveclockcheckcontrolregister 0x01D0 008C REVTCTL ReceiverDMA eventcontrolregister 0x01D0 00A0 Transmitterglobalcontrolregister.AliasofGBLCTL, onlytransmitbitsareXGBLCTL affected-allowstransmittertobe resetindependentlyfromreceiver 0x01D0 00A4 XMASK Transmitformatunitbitmask register 0x01D0 00A8 XFMT Transmitbitstreamformatregister 0x01D0 00AC AFSXCTL Transmitframesynccontrolregister 0x01D0 00B0 ACLKXCTL Transmitclockcontrolregister 0x01D0 00B4 AHCLKXCTL Transmithigh-frequencyclockcontrolregister 0x01D0 00B8 XTDM TransmitTDM timeslot0-31register 0x01D0 00BC XINTCTL Transmitterinterruptcontrolregister 0x01D0 00C0 XSTAT Transmitterstatusregister 0x01D0 00C4 XSLOT CurrenttransmitTDM timeslotregister 0x01D0 00C8 XCLKCHK Transmitclockcheckcontrolregister 0x01D0 00CC XEVTCTL TransmitterDMA eventcontrolregister 0x01D0 0100 DITCSRA0 Left(evenTDM timeslot)channelstatusregister(DITmode) 0 0x01D0 0104 DITCSRA1 Left(evenTDM timeslot)channelstatusregister(DITmode) 1
122 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-42.McASP RegistersAccessed Through PeripheralConfigurationPort(continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01D0 0108 DITCSRA2 Left(evenTDM timeslot)channelstatusregister(DITmode) 2 0x01D0 010C DITCSRA3 Left(evenTDM timeslot)channelstatusregister(DITmode) 3 0x01D0 0110 DITCSRA4 Left(evenTDM timeslot)channelstatusregister(DITmode) 4 0x01D0 0114 DITCSRA5 Left(evenTDM timeslot)channelstatusregister(DITmode) 5 0x01D0 0118 DITCSRB0 Right(oddTDM timeslot)channelstatusregister(DITmode) 0 0x01D0 011C DITCSRB1 Right(oddTDM timeslot)channelstatusregister(DITmode) 1 0x01D0 0120 DITCSRB2 Right(oddTDM timeslot)channelstatusregister(DITmode) 2 0x01D0 0124 DITCSRB3 Right(oddTDM timeslot)channelstatusregister(DITmode) 3 0x01D0 0128 DITCSRB4 Right(oddTDM timeslot)channelstatusregister(DITmode) 4 0x01D0 012C DITCSRB5 Right(oddTDM timeslot)channelstatusregister(DITmode) 5 0x01D0 0130 DITUDRA0 Left(evenTDM timeslot)channeluserdataregister(DITmode) 0 0x01D0 0134 DITUDRA1 Left(evenTDM timeslot)channeluserdataregister(DITmode) 1 0x01D0 0138 DITUDRA2 Left(evenTDM timeslot)channeluserdataregister(DITmode) 2 0x01D0 013C DITUDRA3 Left(evenTDM timeslot)channeluserdataregister(DITmode) 3 0x01D0 0140 DITUDRA4 Left(evenTDM timeslot)channeluserdataregister(DITmode) 4 0x01D0 0144 DITUDRA5 Left(evenTDM timeslot)channeluserdataregister(DITmode) 5 0x01D0 0148 DITUDRB0 Right(oddTDM timeslot)channeluserdataregister(DITmode) 0 0x01D0 014C DITUDRB1 Right(oddTDM timeslot)channeluserdataregister(DITmode) 1 0x01D0 0150 DITUDRB2 Right(oddTDM timeslot)channeluserdataregister(DITmode) 2 0x01D0 0154 DITUDRB3 Right(oddTDM timeslot)channeluserdataregister(DITmode) 3 0x01D0 0158 DITUDRB4 Right(oddTDM timeslot)channeluserdataregister(DITmode) 4 0x01D0 015C DITUDRB5 Right(oddTDM timeslot)channeluserdataregister(DITmode) 5 0x01D0 0180 SRCTL0 Serializercontrolregister0 0x01D0 0184 SRCTL1 Serializercontrolregister1 0x01D0 0188 SRCTL2 Serializercontrolregister2 0x01D0 018C SRCTL3 Serializercontrolregister3 0x01D0 0190 SRCTL4 Serializercontrolregister4 0x01D0 0194 SRCTL5 Serializercontrolregister5 0x01D0 0198 SRCTL6 Serializercontrolregister6 0x01D0 019C SRCTL7 Serializercontrolregister7 0x01D0 01A0 SRCTL8 Serializercontrolregister8 0x01D0 01A4 SRCTL9 Serializercontrolregister9 0x01D0 01A8 SRCTL10 Serializercontrolregister10 0x01D0 01AC SRCTL11 Serializercontrolregister11 0x01D0 01B0 SRCTL12 Serializercontrolregister12 0x01D0 01B4 SRCTL13 Serializercontrolregister13 0x01D0 01B8 SRCTL14 Serializercontrolregister14 0x01D0 01BC SRCTL15 Serializercontrolregister15 0x01D0 0200 XBUF0 (1) Transmitbufferregisterforserializer0 0x01D0 0204 XBUF1 (1) Transmitbufferregisterforserializer1 0x01D0 0208 XBUF2 (1) Transmitbufferregisterforserializer2 0x01D0 020C XBUF3 (1) Transmitbufferregisterforserializer3 0x01D0 0210 XBUF4 (1) Transmitbufferregisterforserializer4 0x01D0 0214 XBUF5 (1) Transmitbufferregisterforserializer5 0x01D0 0218 XBUF6 (1) Transmitbufferregisterforserializer6 0x01D0 021C XBUF7 (1) Transmitbufferregisterforserializer7 (1) WritestoXRBUF originatefromperipheralconfigurationportonlywhen XBUSEL = 1 inXFMT. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 123 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-42.McASP RegistersAccessed Through PeripheralConfigurationPort(continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01D0 0220 XBUF8 (1) Transmitbufferregisterforserializer8 0x01D0 0224 XBUF9 (1) Transmitbufferregisterforserializer9 0x01D0 0228 XBUF10 (1) Transmitbufferregisterforserializer10 0x01D0 022C XBUF11 (1) Transmitbufferregisterforserializer11 0x01D0 0230 XBUF12 (1) Transmitbufferregisterforserializer12 0x01D0 0234 XBUF13 (1) Transmitbufferregisterforserializer13 0x01D0 0238 XBUF14 (1) Transmitbufferregisterforserializer14 0x01D0 023C XBUF15 (1) Transmitbufferregisterforserializer15 0x01D0 0280 RBUF0 (2) Receivebufferregisterforserializer0 0x01D0 0284 RBUF1 (2) Receivebufferregisterforserializer1 0x01D0 0288 RBUF2 (2) Receivebufferregisterforserializer2 0x01D0 028C RBUF3 (2) Receivebufferregisterforserializer3 0x01D0 0290 RBUF4 (2) Receivebufferregisterforserializer4 0x01D0 0294 RBUF5 (3) Receivebufferregisterforserializer5 0x01D0 0298 RBUF6 (3) Receivebufferregisterforserializer6 0x01D0 029C RBUF7 (3) Receivebufferregisterforserializer7 0x01D0 02A0 RBUF8 (3) Receivebufferregisterforserializer8 0x01D0 02A4 RBUF9 (3) Receivebufferregisterforserializer9 0x01D0 02A8 RBUF10 (3) Receivebufferregisterforserializer10 0x01D0 02AC RBUF11 (3) Receivebufferregisterforserializer11 0x01D0 02B0 RBUF12 (3) Receivebufferregisterforserializer12 0x01D0 02B4 RBUF13 (3) Receivebufferregisterforserializer13 0x01D0 02B8 RBUF14 (3) Receivebufferregisterforserializer14 0x01D0 02BC RBUF15 (3) Receivebufferregisterforserializer15 (2) Reads fromXRBUF originateon peripheralconfigurationportonlywhen RBUSEL = 1 inRFMT. (3) Reads fromXRBUF originateon peripheralconfigurationportonlywhen RBUSEL = 1 inRFMT. Table6-43.McASP RegistersAccessed Through DMA Port ACCESS TYPE BYTE ADDRESS ACRONYM REGISTER DESCRIPTION Read Accesses 0x01D0 2000 RBUF ReceivebufferDMA portaddress.Cyclesthroughreceive serializers,skippingovertransmitserializersand inactive serializers.Startsatthelowestserializeratthebeginningofeach timeslot.Reads fromDMA portonlyifXBUSEL = 0 inXFMT. WriteAccesses 0x01D0 2000 XBUF TransmitbufferDMA portaddress.Cyclesthroughtransmit serializers,skippingoverreceiveand inactiveserializers.Startsat thelowestserializeratthebeginningofeach timeslot.Writesto DMA portonlyifRBUSEL = 0 inRFMT. Table6-44.McASP AFIFO RegistersAccessed Through PeripheralConfigurationPort BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01D0 1000 AFIFOREV AFIFO revisionidentificationregister 0x01D0 1010 WFIFOCTL WriteFIFO controlregister 0x01D0 1014 WFIFOSTS WriteFIFO statusregister 0x01D0 1018 RFIFOCTL Read FIFO controlregister 0x01D0 101C RFIFOSTS Read FIFO statusregister
124 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.14.2 McASP ElectricalData/Timing
6.14.2.1MultichannelAudio SerialPort0 (McASP0) Timing Table6-45and Table6-47assume testingoverrecommended operatingconditions(seeFigure6-29and Figure6-30). Table6-45.Timing Requirements forMcASP0 (1.3V,1.2V,1.1V)(1)(2) 1.3V,1.2V 1.1V NO. PARAMETER UNIT MIN MAX MIN MAX 1 tc(AHCLKRX) Cycletime,AHCLKR/X 25 28 ns 2 tw(AHCLKRX) Pulseduration,AHCLKR/X highorlow 12.5 14 ns 3 tc(ACLKRX) Cycletime,ACLKR/X AHCLKR/X ext 25(3) 28(3) ns 4 tw(ACLKRX) Pulseduration,ACLKR/W highorlow AHCLKR/X ext 12.5 14 ns AHCLKR/X int 11.5 12 ns Setuptime,5 tsu(AFSRX-ACLKRX) AHCLKR/X extinput 4 5 nsAFSR/X inputtoACLKR/X (4) AHCLKR/X extoutput 4 5 ns AHCLKR/X int -1 -2 ns Holdtime,6 th(ACLKRX-AFSRX) AHCLKR/X extinput 1 1 nsAFSR/X inputafterACLKR/X (4) AHCLKR/X extoutput 1 1 ns AHCLKR/X int 11.5 12 nsSetuptime,7 tsu(AXR-ACLKRX) AXR0[n]inputtoACLKR/X (4)(5) AHCLKR/X ext 4 5 ns AHCLKR/X int -1 -2 ns Holdtime,8 th(ACLKRX-AXR) AHCLKR/X extinput 3 4 nsAXR0[n]inputafterACLKR/X (4)(5) AHCLKR/X extoutput 3 4 ns (1) ACLKX0 internal– McASP0 ACLKXCTL.CLKXM = 1,PDIR.ACLKX = 1 ACLKX0 externalinput– McASP0 ACLKXCTL.CLKXM = 0,PDIR.ACLKX = 0 ACLKX0 externaloutput– McASP0 ACLKXCTL.CLKXM = 0,PDIR.ACLKX = 1 ACLKR0 internal– McASP0 ACLKRCTL.CLKRM = 1,PDIR.ACLKR =1 ACLKR0 externalinput– McASP0 ACLKRCTL.CLKRM = 0,PDIR.ACLKR = 0 ACLKR0 externaloutput– McASP0 ACLKRCTL.CLKRM = 0,PDIR.ACLKR = 1 (2) P = SYSCLK2 period (3) Thistimingislimitedby thetimingshown or2P,whicheverisgreater. (4) McASP0 ACLKXCTL.ASYNC=1: Receiverisclockedby itsown ACLKR0 (5) McASP0 ACLKXCTL.ASYNC=0: Receiverisclockedby transmitter's ACLKX0 Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 125 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-46.Timing Requirements forMcASP0 (1.0V)(1)(2) 1.0V NO. PARAMETER UNIT MIN MAX 1 tc(AHCLKRX) Cycletime,AHCLKR/X 35 ns 2 tw(AHCLKRX) Pulseduration,AHCLKR/X highorlow 17.5 ns 3 tc(ACLKRX) Cycletime,ACLKR/X AHCLKR/X ext 35(3) ns 4 tw(ACLKRX) Pulseduration,ACLKR/W highorlow AHCLKR/X ext 17.5 ns AHCLKR/X int 16 ns Setuptime,5 tsu(AFSRX-ACLKRX) AHCLKR/X extinput 5.5 nsAFSR/X inputtoACLKR/X (4) AHCLKR/X extoutput 5.5 ns AHCLKR/X int -2 ns Holdtime,6 th(ACLKRX-AFSRX) AHCLKR/X extinput 1 nsAFSR/X inputafterACLKR/X (4) AHCLKR/X extoutput 1 ns AHCLKR/X int 16 nsSetuptime,7 tsu(AXR-ACLKRX) AXR0[n]inputtoACLKR/X (4)(5) AHCLKR/X ext 5.5 ns AHCLKR/X int -2 ns Holdtime,8 th(ACLKRX-AXR) AHCLKR/X extinput 5 nsAXR0[n]inputafterACLKR/X (4)(5) AHCLKR/X extoutput 5 ns (1) ACLKX0 internal– McASP0 ACLKXCTL.CLKXM = 1,PDIR.ACLKX = 1 ACLKX0 externalinput– McASP0 ACLKXCTL.CLKXM = 0,PDIR.ACLKX = 0 ACLKX0 externaloutput– McASP0 ACLKXCTL.CLKXM = 0,PDIR.ACLKX = 1 ACLKR0 internal– McASP0 ACLKRCTL.CLKRM = 1,PDIR.ACLKR =1 ACLKR0 externalinput– McASP0 ACLKRCTL.CLKRM = 0,PDIR.ACLKR = 0 ACLKR0 externaloutput– McASP0 ACLKRCTL.CLKRM = 0,PDIR.ACLKR = 1 (2) P = SYSCLK2 period (3) Thistimingislimitedby thetimingshown or2P,whicheverisgreater. (4) McASP0 ACLKXCTL.ASYNC=1: Receiverisclockedby itsown ACLKR0 (5) McASP0 ACLKXCTL.ASYNC=0: Receiverisclockedby transmitter's ACLKX0
126 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-47.SwitchingCharacteristicsforMcASP0 (1.3V,1.2V,1.1V)(1) 1.3V,1.2V 1.1V NO. PARAMETER UNIT MIN MAX MIN MAX 9 tc(AHCLKRX) Cycletime,AHCLKR/X 25 28 ns 10 tw(AHCLKRX) Pulseduration,AHCLKR/X highorlow AH – 2.5(2) AH – 2.5(2) ns 11 tc(ACLKRX) Cycletime,ACLKR/X ACLKR/X int 25(3)(4) 28(3)(4) ns 12 tw(ACLKRX) Pulseduration,ACLKR/X highorlow ACLKR/X int A – 2.5(5) A – 2.5(5) ns ACLKR/X int -1 6 -1 8 ns Delaytime,ACLKR/X transmitedge to13 td(ACLKRX-AFSRX) ACLKR/X extinput 2 13.5 2 14.5 nsAFSX/R outputvalid(6) ACLKR/X extoutput 2 13.5 2 14.5 ns ACLKR/X int -1 6 -1 8 ns Delaytime,ACLKX transmitedge to14 td(ACLKX-AXRV) ACLKR/X extinput 2 13.5 2 15 nsAXR outputvalid ACLKR/X extoutput 2 13.5 2 15 ns Disabletime,ACLKR/X transmitedge to ACLKR/X int 0 6 0 8 ns 15 tdis(ACLKX-AXRHZ) AXR highimpedance followinglastdata ACLKR/X ext 2 13.5 2 15 nsbit (1) McASP0 ACLKX0 internal– ACLKXCTL.CLKXM = 1,PDIR.ACLKX = 1 ACLKX0 externalinput– McASP0 ACLKXCTL.CLKXM = 0,PDIR.ACLKX = 0 ACLKX0 externaloutput– McASP0ACLKXCTL.CLKXM = 0,PDIR.ACLKX = 1 ACLKR0 internal– McASP0 ACLKR0CTL.CLKRM = 1,PDIR.ACLKR =1 ACLKR0 externalinput– McASP0 ACLKRCTL.CLKRM = 0,PDIR.ACLKR = 0 ACLKR0 externaloutput– McASP0 ACLKRCTL.CLKRM = 0,PDIR.ACLKR = 1 (2) AH = (AHCLKR/X period)/2inns.Forexample,when AHCLKR/X periodis25 ns,use AH = 12.5ns. (3) P = SYSCLK2 period (4) Thistimingislimitedby thetimingshown or2P,whicheverisgreater. (5) A = (ACLKR/X period)/2inns.Forexample,when AHCLKR/X periodis25 ns,use AH = 12.5ns. (6) McASP0 ACLKXCTL.ASYNC=1: Receiverisclockedby itsown ACLKR0 Table6-48.SwitchingCharacteristicsforMcASP0 (1.0V)(1) 1.0V NO. PARAMETER UNIT MIN MAX 9 tc(AHCLKRX) Cycletime,AHCLKR/X 35 ns 10 tw(AHCLKRX) Pulseduration,AHCLKR/X highorlow AH – 2.5(2) ns 11 tc(ACLKRX) Cycletime,ACLKR/X ACLKR/X int 35(3)(4) ns 12 tw(ACLKRX) Pulseduration,ACLKR/X highorlow ACLKR/X int A – 2.5(5) ns ACLKR/X int -0.5 10 ns 13 td(ACLKRX-AFSRX) Delaytime,ACLKR/X transmitedge toAFSX/R outputvalid(6) ACLKR/X extinput 2 19 ns ACLKR/X extoutput 2 19 ns ACLKR/X int -0.5 10 ns 14 td(ACLKX-AXRV) Delaytime,ACLKX transmitedge toAXR outputvalid ACLKR/X extinput 2 19 ns ACLKR/X extoutput 2 19 ns ACLKR/X int 0 10 nsDisabletime,ACLKR/X transmitedge toAXR high15 tdis(ACLKX-AXRHZ) impedance followinglastdatabit ACLKR/X ext 2 19 ns (1) McASP0 ACLKX0 internal– ACLKXCTL.CLKXM = 1,PDIR.ACLKX = 1 ACLKX0 externalinput– McASP0 ACLKXCTL.CLKXM = 0,PDIR.ACLKX = 0 ACLKX0 externaloutput– McASP0ACLKXCTL.CLKXM = 0,PDIR.ACLKX = 1 ACLKR0 internal– McASP0 ACLKR0CTL.CLKRM = 1,PDIR.ACLKR =1 ACLKR0 externalinput– McASP0 ACLKRCTL.CLKRM = 0,PDIR.ACLKR = 0 ACLKR0 externaloutput– McASP0 ACLKRCTL.CLKRM = 0,PDIR.ACLKR = 1 (2) AH = (AHCLKR/X period)/2inns.Forexample,when AHCLKR/X periodis25 ns,use AH = 12.5ns. (3) P = SYSCLK2 period (4) Thistimingislimitedby thetimingshown or2P,whicheverisgreater. (5) A = (ACLKR/X period)/2inns.Forexample,when AHCLKR/X periodis25 ns,use AH = 12.5ns. (6) McASP0 ACLKXCTL.ASYNC=1: Receiverisclockedby itsown ACLKR0 Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 127 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION A0 A1 B0 B1 A30 A31 B30 B31 C0 C1 C2 C3 C31 AHCLKR/X (Falling Edge Polarity) AHCLKR/X (Rising Edge Polarity) AFSR/X (Bit Width, 0 Bit Delay) AFSR/X (Bit Width, 1 Bit Delay) AFSR/X (Bit Width, 2 Bit Delay) AFSR/X (Slot Width, 0 Bit Delay) AFSR/X (Slot Width, 1 Bit Delay) AFSR/X (Slot Width, 2 Bit Delay) AXR[n] (Data In/Receive) ACLKR/X (CLKRP = CLKXP = 0)(A) ACLKR/X (CLKRP = CLKXP = 1)(B) AM1806 SPRS658 –FEBRUARY 2010 www.ti.com A. For CLKRP = CLKXP = 0, the McASP transmitterisconfiguredforrisingedge (toshiftdata out)and the McASP receiverisconfiguredforfallingedge (toshiftdatain). B. For CLKRP = CLKXP = 1,theMcASP transmitterisconfiguredforfallingedge (toshiftdataout)and theMcASP receiverisconfiguredforrisingedge (toshiftdatain). Figure6-29.McASP InputTimings
128 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION 131313 1313 1211 A0 A1 B0 B1 A30 A31 B30 B31 C0 C1 C2 C3 C31 AHCLKR/X (Falling Edge Polarity) AHCLKR/X (Rising Edge Polarity) AFSR/X (Bit Width, 0 Bit Delay) AFSR/X (Bit Width, 1 Bit Delay) AFSR/X (Bit Width, 2 Bit Delay) AFSR/X (Slot Width, 0 Bit Delay) AFSR/X (Slot Width, 1 Bit Delay) AFSR/X (Slot Width, 2 Bit Delay) AXR[n] (Data Out/Transmit) ACLKR/X (CLKRP = CLKXP = 0)(B) ACLKR/X (CLKRP = CLKXP = 1)(A) AM1806 www.ti.com SPRS658 –FEBRUARY 2010 A. For CLKRP = CLKXP = 1,theMcASP transmitterisconfiguredforfallingedge (toshiftdataout)and theMcASP receiverisconfiguredforrisingedge (toshiftdatain). B. For CLKRP = CLKXP = 0, the McASP transmitterisconfiguredforrisingedge (toshiftdata out)and the McASP receiverisconfiguredforfallingedge (toshiftdatain). Figure6-30.McASP Output Timings Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 129 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.15 MultichannelBufferedSerialPort(McBSP)
The McBSP providesthesefunctions:
- Full-duplexcommunication
- Double-buffereddataregisters,whichallowa continuousdatastream
- Independentframingand clockingforreceiveand transmit
- Directinterfacetoindustry-standardcodecs,analoginterfacechips(AICs),and otherserially connectedanalog-to-digital(A/D)and digital-to-analog(D/A)devices
- Externalshiftclockoran internal,programmablefrequencyshiftclockfordatatransfer
- Transmit& ReceiveFIFO BuffersallowtheMcBSP tooperateata highersample rateby making it more toleranttoDMA latency Ifinternalclocksourceisused,theCLKGDV fieldoftheSample Rate GeneratorRegister(SRGR) must alwaysbe settoa valueof1 orgreater.
6.15.1 McBSP PeripheralRegisterDescription(s)
Table6-49.McBSP/FIFO Registers McBSP0 McBSP1 BYTE BYTE ACRONYM REGISTER DESCRIPTION ADDRESS ADDRESS McBSP Registers 0x01D1 0000 0x01D1 1000 DRR McBSP Data ReceiveRegister(read-only) 0x01D1 0004 0x01D1 1004 DXR McBSP Data TransmitRegister 0x01D1 0008 0x01D1 1008 SPCR McBSP SerialPortControlRegister 0x01D1 000C 0x01D1 100C RCR McBSP ReceiveControlRegister 0x01D1 0010 0x01D1 1010 XCR McBSP TransmitControlRegister 0x01D1 0014 0x01D1 1014 SRGR McBSP Sample Rate Generatorregister 0x01D1 0018 0x01D1 1018 MCR McBSP MultichannelControlRegister 0x01D1 001C 0x01D1 101C RCERE0 McBSP Enhanced ReceiveChannelEnableRegister0 PartitionA/B 0x01D1 0020 0x01D1 1020 XCERE0 McBSP Enhanced TransmitChannelEnableRegister0 PartitionA/B 0x01D1 0024 0x01D1 1024 PCR McBSP PinControlRegister 0x01D1 0028 0x01D1 1028 RCERE1 McBSP Enhanced ReceiveChannelEnableRegister1 PartitionC/D 0x01D1 002C 0x01D1 102C XCERE1 McBSP Enhanced TransmitChannelEnableRegister1 PartitionC/D 0x01D1 0030 0x01D1 1030 RCERE2 McBSP Enhanced ReceiveChannelEnableRegister2 PartitionE/F 0x01D1 0034 0x01D1 1034 XCERE2 McBSP Enhanced TransmitChannelEnableRegister2 PartitionE/F 0x01D1 0038 0x01D1 1038 RCERE3 McBSP Enhanced ReceiveChannelEnableRegister3 PartitionG/H 0x01D1 003C 0x01D1 103C XCERE3 McBSP Enhanced TransmitChannelEnableRegister3 PartitionG/H McBSP FIFO Controland StatusRegisters 0x01D1 0800 0x01D1 1800 BFIFOREV BFIFO RevisionIdentificationRegister 0x01D1 0810 0x01D1 1810 WFIFOCTL WriteFIFO ControlRegister 0x01D1 0814 0x01D1 1814 WFIFOSTS WriteFIFO StatusRegister 0x01D1 0818 0x01D1 1818 RFIFOCTL Read FIFO ControlRegister 0x01D1 081C 0x01D1 181C RFIFOSTS Read FIFO StatusRegister McBSP FIFO Data Registers 0x01F1 0000 0x01F1 1000 RBUF McBSP FIFO ReceiveBuffer 0x01F1 0000 0x01F1 1000 XBUF McBSP FIFO TransmitBuffer
130 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.15.2 McBSP ElectricalData/Timing
The followingassume testingoverrecommended operatingconditions.
6.15.2.1 MultichannelBufferedSerialPort(McBSP) Timing
Table6-50.Timing Requirements forMcBSP0 1.3V,1.2V,1.1V(seeFigure6-31) 1.3V,1.2V 1.1V NO. PARAMETER UNIT MIN MAX MIN MAX 2 tc(CKRX) Cycletime,CLKR/X CLKR/X ext 2P or20(2)(3) 2P or25(2)(3) ns 3 tw(CKRX) Pulseduration,CLKR/X highorCLKR/X low CLKR/X ext P -1(4) P -1(4) ns CLKR int 14 15.5Setuptime,externalFSR highbeforeCLKR5 tsu(FRH-CKRL) nslow CLKR ext 4 5 CLKR int 6 6 6 th(CKRL-FRH) Holdtime,externalFSR highafterCLKR low ns CLKR ext 3 3 CLKR int 14 15.5 7 tsu(DRV-CKRL) Setuptime,DR validbeforeCLKR low ns CLKR ext 4 5 CLKR int 3 3 8 th(CKRL-DRV) Holdtime,DR validafterCLKR low ns CLKR ext 3 3 CLKX int 14 15.5 10 tsu(FXH-CKXL) Setuptime,externalFSX highbeforeCLKX low ns CLKX ext 4 5 CLKX int 6 6 11 th(CKXL-FXH) Holdtime,externalFSX highafterCLKX low ns CLKX ext 3 3 (1) CLKRP = CLKXP = FSRP = FSXP = 0.Ifpolarityofany ofthesignalsisinverted,thenthetimingreferencesofthatsignalarealso inverted. (2) P = AYNC3 periodinns.Forexample,when theASYNC clockdomain isrunningat100 MHz, use 10 ns. (3) Use whichevervalueisgreater.Minimum CLKR/X cycletimesmust be met,even when CLKR/X isgeneratedby an internalclock source.The minimum CLKR/X cycletimesarebased on internallogicspeed;themaximum usablespeed may be lowerdue toEDMA limitationsand AC timingrequirements. (4) Thisparameterappliestothemaximum McBSP frequency.Operateserialclocks(CLKR/X)inthereasonablerangeof40/60dutycycle. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 131 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-51.Timing Requirements forMcBSP0 1.0V(seeFigure6-31) 1.0V NO. PARAMETER UNIT MIN MAX 2P or2 tc(CKRX) Cycletime,CLKR/X CLKR/X ext ns26.6(2)(3) 3 tw(CKRX) Pulseduration,CLKR/X highorCLKR/X low CLKR/X ext P -1(4) ns CLKR int 20 5 tsu(FRH-CKRL) Setuptime,externalFSR highbeforeCLKR low ns CLKR ext 5 CLKR int 6 6 th(CKRL-FRH) Holdtime,externalFSR highafterCLKR low ns CLKR ext 3 CLKR int 20 7 tsu(DRV-CKRL) Setuptime,DR validbeforeCLKR low ns CLKR ext 5 CLKR int 3 8 th(CKRL-DRV) Holdtime,DR validafterCLKR low ns CLKR ext 3 CLKX int 20 10 tsu(FXH-CKXL) Setuptime,externalFSX highbeforeCLKX low ns CLKX ext 5 CLKX int 6 11 th(CKXL-FXH) Holdtime,externalFSX highafterCLKX low ns CLKX ext 3 (1) CLKRP = CLKXP = FSRP = FSXP = 0.Ifpolarityofany ofthesignalsisinverted,thenthetimingreferencesofthatsignalarealso inverted. (2) P = AYNC3 periodinns.Forexample,when theASYNC clockdomain isrunningat100 MHz, use 10 ns. (3) Use whichevervalueisgreater.Minimum CLKR/X cycletimesmust be met,even when CLKR/X isgeneratedby an internalclock source.The minimum CLKR/X cycletimesarebased on internallogicspeed;themaximum usablespeed may be lowerdue toEDMA limitationsand AC timingrequirements. (4) Thisparameterappliestothemaximum McBSP frequency.Operateserialclocks(CLKR/X)inthereasonablerangeof40/60dutycycle.
132 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-52.SwitchingCharacteristicsforMcBSP0 1.3V,1.2V,1.1V(2) (seeFigure6-31) 1.3V,1.2V 1.1V NO. PARAMETER UNIT MIN MAX MIN MAX Delaytime,CLKS hightoCLKR/X highforinternal1 td(CKSH-CKRXH) 2 14.5 2 16 nsCLKR/X generatedfromCLKS input 2P or20(3) 2P or25(3) 2 tc(CKRX) Cycletime,CLKR/X CLKR/X int ns(4)(5) (4)(5) Pulseduration,CLKR/X highor3 tw(CKRX) CLKR/X int C -2(6) C + 2(6) C -2(6) C + 2(6) nsCLKR/X low CLKR int -4 5.5 -4 5.5 nsDelaytime,CLKR hightointernalFSR4 td(CKRH-FRV) valid CLKR ext 2 14.5 2 16 CLKX int -4 5.5 -4 5.5Delaytime,CLKX hightointernalFSX9 td(CKXH-FXV) nsvalid CLKX ext 2 14.5 2 16 CLKX int -4 7.5 -5.5 7.5Disabletime,DX highimpedance12 tdis(CKXH-DXHZ) nsfollowinglastdatabitfromCLKX high CLKX ext -2 16 -22 16 13 td(CKXH-DXV) Delaytime,CLKX hightoDX valid ns CLKX ext 2 + D1 (7) 14.5+ D2 (7) 2 + D1 (7) 16 + D2 (7) Delaytime,FSX hightoDX valid FSX int -4(8) 5(8) -4(8) 5(8) 14 td(FXH-DXV) nsONLY applieswhen indata FSX ext -2(8) 14.5(8) -2(8) 16(8) delay0 (XDATDLY = 00b)mode (1) CLKRP = CLKXP = FSRP = FSXP = 0.Ifpolarityofany ofthesignalsisinverted,thenthetimingreferencesofthatsignalarealso inverted. (2) Minimum delaytimesalsorepresentminimum outputholdtimes. (3) Minimum CLKR/X cycletimesmust be met,even when CLKR/X isgeneratedby an internalclocksource.Minimum CLKR/X cycletimes arebased on internallogicspeed;themaximum usablespeed may be lowerdue toEDMA limitationsand AC timingrequirements. (4) P = AYNC3 periodinns.Forexample,when theASYNC clockdomain isrunningat100 MHz, use 10 ns. (5) Use whichevervalueisgreater. (6) C = H orL S = sample rategeneratorinputclock= P ifCLKSM = 1 (P = ASYNC period) S = sample rategeneratorinputclock= P_clksifCLKSM = 0 (P_clks= CLKS period) H = CLKX highpulsewidth= (CLKGDV/2 + 1)*S ifCLKGDV iseven H = (CLKGDV + 1)/2*S ifCLKGDV isodd L = CLKX lowpulsewidth= (CLKGDV/2) *S ifCLKGDV iseven L = (CLKGDV + 1)/2*S ifCLKGDV isodd CLKGDV shouldbe setappropriatelytoensuretheMcBSP bitratedoes notexceed themaximum limit(see(4)above). (7) ExtradelayfromCLKX hightoDX validappliesonlytothefirstdatabitofa device,ifand onlyifDXENA = 1 inSPCR. ifDXENA = 0,thenD1 = D2 = 0 ifDXENA = 1,thenD1 = 6P,D2 = 12P (8) ExtradelayfromFSX hightoDX validappliesonlytothefirstdatabitofa device,ifand onlyifDXENA = 1 inSPCR. ifDXENA = 0,thenD1 = D2 = 0 ifDXENA = 1,thenD1 = 6P,D2 = 12P Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 133 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-53.SwitchingCharacteristicsforMcBSP0 1.0V(2) (seeFigure6-31) 1.0V NO. PARAMETER UNIT MIN MAX Delaytime,CLKS hightoCLKR/X highforinternalCLKR/X generatedfrom1 td(CKSH-CKRXH) 3 21.5 nsCLKS input 2P or 2 tc(CKRX) Cycletime,CLKR/X CLKR/X int 26.6(3)(4) ns (5) 3 tw(CKRX) Pulseduration,CLKR/X highorCLKR/X low CLKR/X int C -2(6) C + 2(6) ns CLKR int -4 10 ns 4 td(CKRH-FRV) Delaytime,CLKR hightointernalFSR valid CLKR ext 2.5 21.5 CLKX int -4 10 9 td(CKXH-FXV) Delaytime,CLKX hightointernalFSX valid ns CLKX ext 2.5 21.5 CLKX int -4 10Disabletime,DX highimpedance followinglastdatabitfromCLKX12 tdis(CKXH-DXHZ) nshigh CLKX ext -2 21.5 CLKX int -4+ D1 (7) 10 + D2 (7) 13 td(CKXH-DXV) Delaytime,CLKX hightoDX valid ns CLKX ext 2.5+ D1 (7) 21.5+ D2 (7) Delaytime,FSX hightoDX valid FSX int -4(8) 5(8) 14 td(FXH-DXV) nsONLY applieswhen indata FSX ext -2(8) 21.5(8) delay0 (XDATDLY = 00b)mode (1) CLKRP = CLKXP = FSRP = FSXP = 0.Ifpolarityofany ofthesignalsisinverted,thenthetimingreferencesofthatsignalarealso inverted. (2) Minimum delaytimesalsorepresentminimum outputholdtimes. (3) Minimum CLKR/X cycletimesmust be met,even when CLKR/X isgeneratedby an internalclocksource.Minimum CLKR/X cycletimes arebased on internallogicspeed;themaximum usablespeed may be lowerdue toEDMA limitationsand AC timingrequirements. (4) P = AYNC3 periodinns.Forexample,when theASYNC clockdomain isrunningat100 MHz, use 10 ns. (5) Use whichevervalueisgreater. (6) C = H orL S = sample rategeneratorinputclock= P ifCLKSM = 1 (P = ASYNC period) S = sample rategeneratorinputclock= P_clksifCLKSM = 0 (P_clks= CLKS period) H = CLKX highpulsewidth= (CLKGDV/2 + 1)*S ifCLKGDV iseven H = (CLKGDV + 1)/2*S ifCLKGDV isodd L = CLKX lowpulsewidth= (CLKGDV/2) *S ifCLKGDV iseven L = (CLKGDV + 1)/2*S ifCLKGDV isodd CLKGDV shouldbe setappropriatelytoensuretheMcBSP bitratedoes notexceed themaximum limit(see(4)above). (7) ExtradelayfromCLKX hightoDX validappliesonlytothefirstdatabitofa device,ifand onlyifDXENA = 1 inSPCR. ifDXENA = 0,thenD1 = D2 = 0 ifDXENA = 1,thenD1 = 6P,D2 = 12P (8) ExtradelayfromFSX hightoDX validappliesonlytothefirstdatabitofa device,ifand onlyifDXENA = 1 inSPCR. ifDXENA = 0,thenD1 = D2 = 0 ifDXENA = 1,thenD1 = 6P,D2 = 12P Table6-54.Timing Requirements forMcBSP1 1.3V,1.2V,1.1V(seeFigure6-31) 1.3V,1.2V 1.1V NO. PARAMETER UNIT MIN MAX MIN MAX 2 tc(CKRX) Cycletime,CLKR/X CLKR/X ext 2P or20(2)(3) 2P or25(2)(4) ns 3 tw(CKRX) Pulseduration,CLKR/X highorCLKR/X low CLKR/X ext P -1(5) P -1(6) ns (1) CLKRP = CLKXP = FSRP = FSXP = 0.Ifpolarityofany ofthesignalsisinverted,thenthetimingreferencesofthatsignalarealso inverted. (2) P = AYNC3 periodinns.Forexample,when theASYNC clockdomain isrunningat100 MHz, use 10 ns. (3) Use whichevervalueisgreater.Minimum CLKR/X cycletimesmust be met,even when CLKR/X isgeneratedby an internalclock source.The minimum CLKR/X cycletimesarebased on internallogicspeed;themaximum usablespeed may be lowerdue toEDMA limitationsand AC timingrequirements. (4) Use whichevervalueisgreater.Minimum CLKR/X cycletimesmust be met,even when CLKR/X isgeneratedby an internalclock source.The minimum CLKR/X cycletimesarebased on internallogicspeed;themaximum usablespeed may be lowerdue toEDMA limitationsand AC timingrequirements. (5) Thisparameterappliestothemaximum McBSP frequency.Operateserialclocks(CLKR/X)inthereasonablerangeof40/60dutycycle. (6) Thisparameterappliestothemaximum McBSP frequency.Operateserialclocks(CLKR/X)inthereasonablerangeof40/60dutycycle.
134 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-54.Timing Requirements forMcBSP1 1.3V,1.2V,1.1V(seeFigure6-31)(continued) 1.3V,1.2V 1.1V NO. PARAMETER UNIT MIN MAX MIN MAX CLKR int 15 18Setuptime,externalFSR highbeforeCLKR5 tsu(FRH-CKRL) nslow CLKR ext 5 5 CLKR int 6 6 6 th(CKRL-FRH) Holdtime,externalFSR highafterCLKR low ns CLKR ext 3 3 CLKR int 15 18 7 tsu(DRV-CKRL) Setuptime,DR validbeforeCLKR low ns CLKR ext 5 5 CLKR int 3 3 8 th(CKRL-DRV) Holdtime,DR validafterCLKR low ns CLKR ext 3 3 CLKX int 15 18 10 tsu(FXH-CKXL) Setuptime,externalFSX highbeforeCLKX low ns CLKX ext 5 5 CLKX int 6 6 11 th(CKXL-FXH) Holdtime,externalFSX highafterCLKX low ns CLKX ext 3 3 Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 135 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-55.Timing Requirements forMcBSP1 1.0V(seeFigure6-31) 1.0V NO. PARAMETER UNIT MIN MAX 2P or2 tc(CKRX) Cycletime,CLKR/X CLKR/X ext ns26.6(2)(3) 3 tw(CKRX) Pulseduration,CLKR/X highorCLKR/X low CLKR/X ext P -1(4) ns CLKR int 21 5 tsu(FRH-CKRL) Setuptime,externalFSR highbeforeCLKR low ns CLKR ext 10 CLKR int 6 6 th(CKRL-FRH) Holdtime,externalFSR highafterCLKR low ns CLKR ext 3 CLKR int 21 7 tsu(DRV-CKRL) Setuptime,DR validbeforeCLKR low ns CLKR ext 10 CLKR int 3 8 th(CKRL-DRV) Holdtime,DR validafterCLKR low ns CLKR ext 3 CLKX int 21 10 tsu(FXH-CKXL) Setuptime,externalFSX highbeforeCLKX low ns CLKX ext 10 CLKX int 6 11 th(CKXL-FXH) Holdtime,externalFSX highafterCLKX low ns CLKX ext 3 (1) CLKRP = CLKXP = FSRP = FSXP = 0.Ifpolarityofany ofthesignalsisinverted,thenthetimingreferencesofthatsignalarealso inverted. (2) P = AYNC3 periodinns.Forexample,when theASYNC clockdomain isrunningat100 MHz, use 10 ns. (3) Use whichevervalueisgreater.Minimum CLKR/X cycletimesmust be met,even when CLKR/X isgeneratedby an internalclock source.The minimum CLKR/X cycletimesarebased on internallogicspeed;themaximum usablespeed may be lowerdue toEDMA limitationsand AC timingrequirements. (4) Thisparameterappliestothemaximum McBSP frequency.Operateserialclocks(CLKR/X)inthereasonablerangeof40/60dutycycle.
136 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-56.SwitchingCharacteristicsforMcBSP1 1.3V,1.2V,1.1V(2) (seeFigure6-31) 1.3V,1.2V 1.1V NO. PARAMETER UNIT MIN MAX MIN MAX Delaytime,CLKS hightoCLKR/X highforinternal1 td(CKSH-CKRXH) 0.5 16.5 1.5 18 nsCLKR/X generatedfromCLKS input 2P or20(3) 2P or25(3) 2 tc(CKRX) Cycletime,CLKR/X CLKR/X int ns(4)(5) (4)(5) Pulseduration,CLKR/X highor3 tw(CKRX) CLKR/X int C -2(6) C + 2(6) C -2(6) C + 2(6) nsCLKR/X low CLKR int -4 6.5 -4 13 nsDelaytime,CLKR hightointernalFSR4 td(CKRH-FRV) valid CLKR ext 1 16.5 1 18 CLKX int -4 6.5 -4 13Delaytime,CLKX hightointernalFSX9 td(CKXH-FXV) nsvalid CLKX ext 1 16.5 1 18 CLKX int -4 6.5 -4 13Disabletime,DX highimpedance12 tdis(CKXH-DXHZ) nsfollowinglastdatabitfromCLKX high CLKX ext -2 16.5 -2 18 13 td(CKXH-DXV) Delaytime,CLKX hightoDX valid ns CLKX ext 1 + D1 (7) 16.5+ D2 (7) 1 + D1 (7) 18 + D2 (7) Delaytime,FSX hightoDX valid FSX int -4(8) 6.5(8) -4(8) 13(8) 14 td(FXH-DXV) nsONLY applieswhen indata FSX ext -2(8) 16.5(8) -2(8) 18(9) delay0 (XDATDLY = 00b)mode (1) CLKRP = CLKXP = FSRP = FSXP = 0.Ifpolarityofany ofthesignalsisinverted,thenthetimingreferencesofthatsignalarealso inverted. (2) Minimum delaytimesalsorepresentminimum outputholdtimes. (3) Minimum CLKR/X cycletimesmust be met,even when CLKR/X isgeneratedby an internalclocksource.Minimum CLKR/X cycletimes arebased on internallogicspeed;themaximum usablespeed may be lowerdue toEDMA limitationsand AC timingrequirements. (4) P = AYNC3 periodinns.Forexample,when theASYNC clockdomain isrunningat100 MHz, use 10 ns. (5) Use whichevervalueisgreater. (6) C = H orL S = sample rategeneratorinputclock= P ifCLKSM = 1 (P = ASYNC period) S = sample rategeneratorinputclock= P_clksifCLKSM = 0 (P_clks= CLKS period) H = CLKX highpulsewidth= (CLKGDV/2 + 1)*S ifCLKGDV iseven H = (CLKGDV + 1)/2*S ifCLKGDV isodd L = CLKX lowpulsewidth= (CLKGDV/2) *S ifCLKGDV iseven L = (CLKGDV + 1)/2*S ifCLKGDV isodd CLKGDV shouldbe setappropriatelytoensuretheMcBSP bitratedoes notexceed themaximum limit(see(4)above). (7) ExtradelayfromCLKX hightoDX validappliesonlytothefirstdatabitofa device,ifand onlyifDXENA = 1 inSPCR. ifDXENA = 0,thenD1 = D2 = 0 ifDXENA = 1,thenD1 = 6P,D2 = 12P (8) ExtradelayfromFSX hightoDX validappliesonlytothefirstdatabitofa device,ifand onlyifDXENA = 1 inSPCR. ifDXENA = 0,thenD1 = D2 = 0 ifDXENA = 1,thenD1 = 6P,D2 = 12P (9) ExtradelayfromFSX hightoDX validappliesonlytothefirstdatabitofa device,ifand onlyifDXENA = 1 inSPCR. ifDXENA = 0,thenD1 = D2 = 0 ifDXENA = 1,thenD1 = 6P,D2 = 12P Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 137 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-57.SwitchingCharacteristicsforMcBSP1 1.0V(2) (seeFigure6-31) 1.0V NO. PARAMETER UNIT MIN MAX Delaytime,CLKS hightoCLKR/X highforinternalCLKR/X generatedfrom1 td(CKSH-CKRXH) 1.5 23 nsCLKS input 2P or 2 tc(CKRX) Cycletime,CLKR/X CLKR/X int 26.6(3)(4) ns (5) 3 tw(CKRX) Pulseduration,CLKR/X highorCLKR/X low CLKR/X int C -2(6) C + 2(6) ns CLKR int -4 13 ns 4 td(CKRH-FRV) Delaytime,CLKR hightointernalFSR valid CLKR ext 2.5 23 CLKX int -4 13 9 td(CKXH-FXV) Delaytime,CLKX hightointernalFSX valid ns CLKX ext 1 23 CLKX int -4 13Disabletime,DX highimpedance followinglastdatabitfromCLKX12 tdis(CKXH-DXHZ) nshigh CLKX ext -2 23 CLKX int -4+ D1 (7) 13 + D2 (8) 13 td(CKXH-DXV) Delaytime,CLKX hightoDX valid ns CLKX ext 1 + D1 (8) 23 + D2 (8) Delaytime,FSX hightoDX valid FSX int -4(9) 13(9) 14 td(FXH-DXV) nsONLY applieswhen indata FSX ext -2(9) 23(9) delay0 (XDATDLY = 00b)mode (1) CLKRP = CLKXP = FSRP = FSXP = 0.Ifpolarityofany ofthesignalsisinverted,thenthetimingreferencesofthatsignalarealso inverted. (2) Minimum delaytimesalsorepresentminimum outputholdtimes. (3) Minimum CLKR/X cycletimesmust be met,even when CLKR/X isgeneratedby an internalclocksource.Minimum CLKR/X cycletimes arebased on internallogicspeed;themaximum usablespeed may be lowerdue toEDMA limitationsand AC timingrequirements. (4) P = AYNC3 periodinns.Forexample,when theASYNC clockdomain isrunningat100 MHz, use 10 ns. (5) Use whichevervalueisgreater. (6) C = H orL S = sample rategeneratorinputclock= P ifCLKSM = 1 (P = ASYNC period) S = sample rategeneratorinputclock= P_clksifCLKSM = 0 (P_clks= CLKS period) H = CLKX highpulsewidth= (CLKGDV/2 + 1)*S ifCLKGDV iseven H = (CLKGDV + 1)/2*S ifCLKGDV isodd L = CLKX lowpulsewidth= (CLKGDV/2) *S ifCLKGDV iseven L = (CLKGDV + 1)/2*S ifCLKGDV isodd CLKGDV shouldbe setappropriatelytoensuretheMcBSP bitratedoes notexceed themaximum limit(see(4)above). (7) ExtradelayfromCLKX hightoDX validappliesonlytothefirstdatabitofa device,ifand onlyifDXENA = 1 inSPCR. ifDXENA = 0,thenD1 = D2 = 0 ifDXENA = 1,thenD1 = 6P,D2 = 12P (8) ExtradelayfromCLKX hightoDX validappliesonlytothefirstdatabitofa device,ifand onlyifDXENA = 1 inSPCR. ifDXENA = 0,thenD1 = D2 = 0 ifDXENA = 1,thenD1 = 6P,D2 = 12P (9) ExtradelayfromFSX hightoDX validappliesonlytothefirstdatabitofa device,ifand onlyifDXENA = 1 inSPCR. ifDXENA = 0,thenD1 = D2 = 0 ifDXENA = 1,thenD1 = 6P,D2 = 12P
138 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION Bit(n1) (n2) (n3) Bit□0 Bit(n1) (n2) (n3) CLKS CLKR FSR□(int) FSR□(ext) DR CLKX FSX□(int) FSX□(ext) FSX□(XDATDLY=00b) DX 13 (A) 13 (A) CLKS FSR□external CLKR/X□(no□need□to□resync) CLKR/X□(needs□resync) AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-31.McBSP Timing(B) Table6-58.Timing Requirements forMcBSP0 FSR When GSYNC = 1 (seeFigure6-32) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 1 tsu(FRH-CKSH) Setuptime,FSR highbeforeCLKS high 4 4.5 5 ns 2 th(CKSH-FRH) Holdtime,FSR highafterCLKS high 4 4 4 ns Table6-59.Timing Requirements forMcBSP1 FSR When GSYNC = 1 (seeFigure6-32) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 1 tsu(FRH-CKSH) Setuptime,FSR highbeforeCLKS high 5 5 10 ns 2 th(CKSH-FRH) Holdtime,FSR highafterCLKS high 4 4 4 ns Figure6-32.FSR Timing When GSYNC = 1 Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 139 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION Peripheral Configuration Bus Interrupt and DMA Requests 16-Bit Shift Register 16-Bit Buffer GPIO Control (all pins) State Machine Clock Control SPIx_SIMO SPIx_SOMI SPIx_ENA SPIx_SCS SPIx_CLK AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.16 SerialPeripheralInterfacePorts(SPI0,SPI1)
Figure6-33isa blockdiagramoftheSPI module,whichisa simpleshiftregisterand bufferpluscontrol logic.Data iswrittentotheshiftregisterbeforetransmissionoccursand isreadfromthebufferattheend oftransmission.The SPI can operateeitheras a master,inwhich case,itinitiatesa transferand drives theSPIx_CLK pin,or as a slave.Four clockphase and polarityoptionsare supportedas wellas many dataformattingoptions. Figure6-33.Block Diagram ofSPI Module The SPI supports3-, 4-, and 5-pinoperationwith three basic pins (SPIx_CLK, SPIx_SIMO, and SPIx_SOMI) and two optionalpins(SPIx_SCS, SPIx_ENA). The optionalSPIx_SCS (SlaveChip Select)pinismost usefultoenableinslavemode when thereare otherslavedeviceson thesame SPI port.The devicewillonlyshiftdataand drivetheSPIx_SOMI pin when SPIx_SCS isheldlow. In slavemode, SPIx_ENA isan optionaloutputand can be drivenineithera push-pullor open-drain manner.The SPIx_ENA outputprovidesthestatusoftheinternaltransmitbuffer(SPIDAT0/1registers).In four-pinmode withtheenableoption,SPIx_ENA isassertedonlywhen thetransmitbufferisfull,indicating thattheslaveisreadytobeginanothertransfer.Infive-pinmode, theSPIx_ENA isadditionallyqualified by SPIx_SCS beingasserted.Thisallowsa singlehandshake linetobe sharedby multipleslaveson the same SPI bus. Inmastermode, theSPIx_ENA pinisan optionalinputand themastercan be configuredtodelaythestart ofthenexttransferuntiltheslaveassertsSPIx_ENA. The additionofthishandshake signalsimplifiesSPI communicationsand,on average,increasesSPI bus throughputsincethemasterdoes notneed todelay each transferlongenough toallowfortheworst-caselatencyoftheslavedevice.Instead,each transfer can beginas soon as boththemasterand slavehave actuallyservicedthepreviousSPI transfer.
140 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION Optional − Slave Chip Select Optional Enable (Ready) SLA VE SPIMASTER SPI SPIx_SIMOSPIx_SIMO SPIx_SOMI SPIx_SOMI SPIx_CLK SPIx_CLK SPIx_ENA SPIx_ENA SPIx_SCS SPIx_SCS AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-34.IllustrationofSPI Master-to-SPISlaveConnection Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 141 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.16.1 SPI PeripheralRegistersDescription(s)
Table6-60isa listoftheSPI registers. Table6-60.SPIx ConfigurationRegisters SPI0 SPI1 ACRONYM DESCRIPTIONBYTE ADDRESS BYTE ADDRESS 0x01C4 1000 0x01F0 E000 SPIGCR0 GlobalControlRegister0 0x01C4 1004 0x01F0 E004 SPIGCR1 GlobalControlRegister1 0x01C4 1008 0x01F0 E008 SPIINT0 InterruptRegister 0x01C4 100C 0x01F0 E00C SPILVL InterruptLevelRegister 0x01C4 1010 0x01F0 E010 SPIFLG FlagRegister 0x01C4 1014 0x01F0 E014 SPIPC0 PinControlRegister0 (PinFunction) 0x01C4 1018 0x01F0 E018 SPIPC1 PinControlRegister1 (PinDirection) 0x01C4 101C 0x01F0 E01C SPIPC2 PinControlRegister2 (PinData In) 0x01C4 1020 0x01F0 E020 SPIPC3 PinControlRegister3 (PinData Out) 0x01C4 1024 0x01F0 E024 SPIPC4 PinControlRegister4 (PinData Set) 0x01C4 1028 0x01F0 E028 SPIPC5 PinControlRegister5 (PinData Clear) 0x01C4 102C 0x01F0 E02C Reserved Reserved-Do notwritetothisregister 0x01C4 1030 0x01F0 E030 Reserved Reserved-Do notwritetothisregister 0x01C4 1034 0x01F0 E034 Reserved Reserved-Do notwritetothisregister 0x01C4 1038 0x01F0 E038 SPIDAT0 ShiftRegister0 (withoutformatselect) 0x01C4 103C 0x01F0 E03C SPIDAT1 ShiftRegister1 (withformatselect) 0x01C4 1040 0x01F0 E040 SPIBUF BufferRegister 0x01C4 1044 0x01F0 E044 SPIEMU EmulationRegister 0x01C4 1048 0x01F0 E048 SPIDELAY DelayRegister 0x01C4 104C 0x01F0 E04C SPIDEF DefaultChipSelectRegister 0x01C4 1050 0x01F0 E050 SPIFMT0 FormatRegister0 0x01C4 1054 0x01F0 E054 SPIFMT1 FormatRegister1 0x01C4 1058 0x01F0 E058 SPIFMT2 FormatRegister2 0x01C4 105C 0x01F0 E05C SPIFMT3 FormatRegister3 0x01C4 1060 0x01F0 E060 INTVEC0 InterruptVectorforSPI INT0 0x01C4 1064 0x01F0 E064 INTVEC1 InterruptVectorforSPI INT1
142 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.16.2 SPI ElectricalData/Timing
6.16.2.1SerialPeripheralInterface(SPI)Timing Table6-61throughTable6-76assume testingoverrecommended operatingconditions(seeFigure6-35 throughFigure6-38). Table6-61.GeneralTiming Requirements forSPI0 Master Modes (1) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX CycleTime,SPI0_CLK, AllMaster1 tc(SPC)M 20(2) 256P 30(2) 256P 40(2) 256P nsModes PulseWidthHigh,SPI0_CLK, All2 tw(SPCH)M 0.5M-1 0.5M-1 0.5M-1 nsMasterModes PulseWidthLow, SPI0_CLK, All3 tw(SPCL)M 0.5M-1 0.5M-1 0.5M-1 nsMasterModes Delay, Polarity= 0,Phase = 0, 5 5 6initial toSPI0_CLK rising databit Polarity= 0,Phase = 1, -0.5M+5 -0.5M+5 -0.5M+6validon toSPI0_CLK risingSPI0_SI4 td(SIMO_SPC)M nsPolarity= 1,Phase = 0,MO after 5 5 6toSPI0_CLK fallinginitial edge on Polarity= 1,Phase = 1,SPI0_CL -0.5M+5 -0.5M+5 -0.5M+6toSPI0_CLK fallingK (3) Delay, Polarity= 0,Phase = 0, 5 5 6subsequ fromSPI0_CLK rising entbits Polarity= 0,Phase = 1, 5 5 6validon fromSPI0_CLK fallingSPI0_SI5 td(SPC_SIMO)M nsPolarity= 1,Phase = 0,MO after 5 5 6fromSPI0_CLK fallingtransmit edge of Polarity= 1,Phase = 1,SPI0_CL 5 5 6fromSPI0_CLK risingK Output Polarity= 0,Phase = 0, 0.5M-3 0.5M-3 0.5M-3hold fromSPI0_CLK falling edge of Polarity= 1,Phase = 1,SPI0_CL 0.5M-3 0.5M-3 0.5M-3fromSPI0_CLK fallingK Input Polarity= 0,Phase = 0, 1.5 1.5 1.5Setup toSPI0_CLK falling Time, Polarity= 0,Phase = 1, 1.5 1.5 1.5SPI0_S toSPI0_CLK risingOMI Polarity= 1,Phase = 0,7 tsu(SOMI_SPC)M valid ns1.5 1.5 1.5toSPI0_CLK risingbefore receive edge of Polarity= 1,Phase = 1, 1.5 1.5 1.5SPI0_CL toSPI0_CLK falling K (1) P = SYSCLK2 period;M = tc(SPC)M (SPImasterbitclockperiod) (2) Thistimingislimitedby thetimingshown or2P,whicheverisgreater. (3) Firstbitmay be MSB orLSB dependingupon SPI configuration.MO(0) referstofirstbitand MO(n) referstolastbitoutputon SPI0_SIMO. MI(0)referstothefirstbitinputand MI(n)referstothelastbitinputon SPI0_SOMI. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 143 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-61.GeneralTiming Requirements forSPI0 Master Modes (1) (continued) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Input Polarity= 0,Phase = 0, 4 4 5Hold fromSPI0_CLK falling Time, Polarity= 0,Phase = 1, 4 4 5SPI0_S fromSPI0_CLK risingOMI Polarity= 1,Phase = 0,8 tih(SPC_SOMI)M valid ns4 4 5fromSPI0_CLK risingafter receive edge of Polarity= 1,Phase = 1, 4 4 5SPI0_CL fromSPI0_CLK falling K Table6-62.GeneralTiming Requirements forSPI0 SlaveModes (1) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 9 tc(SPC)S CycleTime,SPI0_CLK, AllSlaveModes 40(2) 256P 50(2) 256P 60(2) 256P ns 10 tw(SPCH)S PulseWidthHigh,SPI0_CLK, AllSlaveModes 18 22 27 ns 11 tw(SPCL)S PulseWidthLow, SPI0_CLK, AllSlaveModes 18 22 27 ns Polarity= 0,Phase = 0, 2P 2P 2PtoSPI0_CLK rising Setuptime,transmit Polarity= 0,Phase = 1, 2P 2P 2PdatawrittentoSPI toSPI0_CLK rising 12 tsu(SOMI_SPC)S beforeinitialclock ns Polarity= 1,Phase = 0,edge from 2P 2P 2PtoSPI0_CLK fallingmaster.(3)(4) Polarity= 1,Phase = 1, 2P 2P 2PtoSPI0_CLK falling Polarity= 0,Phase = 0, 17 20 27fromSPI0_CLK rising Delay,subsequent Polarity= 0,Phase = 1, 17 20 27bitsvalidon fromSPI0_CLK falling 13 td(SPC_SOMI)S SPI0_SOMI after ns Polarity= 1,Phase = 0,transmitedge of 17 20 27fromSPI0_CLK fallingSPI0_CLK Polarity= 1,Phase = 1, 17 20 27fromSPI0_CLK rising Polarity= 0,Phase = 0, 0.5S-6 0.5S-16 0.5S-20fromSPI0_CLK falling Outputholdtime, Polarity= 0,Phase = 1, 0.5S-6 0.5S-16 0.5S-20SPI0_SOMI valid fromSPI0_CLK rising 14 toh(SPC_SOMI)S after ns Polarity= 1,Phase = 0,receiveedge of 0.5S-6 0.5S-16 0.5S-20fromSPI0_CLK risingSPI0_CLK Polarity= 1,Phase = 1, 0.5S-6 0.5S-16 0.5S-20fromSPI0_CLK falling Polarity= 0,Phase = 0, 1.5 1.5 1.5toSPI0_CLK falling InputSetupTime, Polarity= 0,Phase = 1, 1.5 1.5 1.5SPI0_SIMO valid toSPI0_CLK rising 15 tsu(SIMO_SPC)S before ns Polarity= 1,Phase = 0,receiveedge of 1.5 1.5 1.5toSPI0_CLK risingSPI0_CLK Polarity= 1,Phase = 1, 1.5 1.5 1.5toSPI0_CLK falling (1) P = SYSCLK2 period;S = tc(SPC)S (SPIslavebitclockperiod) (2) Thistimingislimitedby thetimingshown or2P,whicheverisgreater. (3) Firstbitmay be MSB orLSB dependingupon SPI configuration.SO(0) referstofirstbitand SO(n) referstolastbitoutputon SPI0_SOMI. SI(0)referstothefirstbitinputand SI(n)referstothelastbitinputon SPI0_SIMO. (4) Measured fromtheterminationofthewriteofnew datatotheSPI module,Inanalyzingthroughputrequirements,additionalinternalbus cyclesmust be accountedfortoallowdatatobe writtentotheSPI module by theCPU.
144 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-62.GeneralTiming Requirements forSPI0 SlaveModes (1) (continued) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Polarity= 0,Phase = 0, 4 4 5fromSPI0_CLK falling InputHoldTime, Polarity= 0,Phase = 1, 4 4 5SPI0_SIMO valid fromSPI0_CLK rising 16 tih(SPC_SIMO)S after ns Polarity= 1,Phase = 0,receiveedge of 4 4 5fromSPI0_CLK risingSPI0_CLK Polarity= 1,Phase = 1, 4 4 5fromSPI0_CLK falling Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 145 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-63.AdditionalSPI0 Master Timings,4-PinEnable Option (1)(2)(3) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Polarity= 0,Phase = 0, 3P+5 3P+5 3P+6toSPI0_CLK rising Polarity= 0,Phase = 1, 0.5M+3P+5 0.5M+3P+5 0.5M+3P+6toSPI0_CLK risingDelayfromslaveassertionofSPI0_ENA activetofirst17 td(ENA_SPC)M nsSPI0_CLK frommaster.(4) Polarity= 1,Phase = 0, 3P+5 3P+5 3P+6toSPI0_CLK falling Polarity= 1,Phase = 1, 0.5M+3P+5 0.5M+3P+5 0.5M+3P+6toSPI0_CLK falling Polarity= 0,Phase = 0, 0.5M+P+5 0.5M+P+5 0.5M+P+6fromSPI0_CLK falling Polarity= 0,Phase = 1, P+5 P+5 P+6fromSPI0_CLK fallingMax delayforslavetodeassertSPI0_ENA afterfinalSPI0_CLK18 td(SPC_ENA)M nsedge toensuremasterdoes notbeginthenexttransfer.(5) Polarity= 1,Phase = 0, 0.5M+P+5 0.5M+P+5 0.5M+P+6fromSPI0_CLK rising Polarity= 1,Phase = 1, P+5 P+5 P+6fromSPI0_CLK rising (1) These parametersareinadditiontothegeneraltimingsforSPI mastermodes (Table6-61). (2) P = SYSCLK2 period;M = tc(SPC)M (SPImasterbitclockperiod) (3) Figureshows onlyPolarity= 0,Phase = 0 as an example.Tablegivesparametersforallfourmasterclockingmodes. (4) Inthecase where themasterSPI isreadywithnew databeforeSPI0_ENA assertion. (5) Inthecase where themasterSPI isreadywithnew databeforeSPI0_EN A deassertion. Table6-64.AdditionalSPI0 Master Timings,4-PinChip SelectOption (1)(2)(3) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Polarity= 0,Phase = 0, 2P-1 2P-2 2P-3toSPI0_CLK rising Polarity= 0,Phase = 1, 0.5M+2P-1 0.5M+2P-2 0.5M+2P-3toSPI0_CLK rising 19 td(SCS_SPC)M DelayfromSPI0_SCS activetofirstSPI0_CLK (4)(5) ns Polarity= 1,Phase = 0, 2P-1 2P-2 2P-3toSPI0_CLK falling Polarity= 1,Phase = 1, 0.5M+2P-1 0.5M+2P-2 0.5M+2P-3toSPI0_CLK falling (1) These parametersareinadditiontothegeneraltimingsforSPI mastermodes (Table6-61). (2) P = SYSCLK2 period;M = tc(SPC)M (SPImasterbitclockperiod) (3) Figureshows onlyPolarity= 0,Phase = 0 as an example.Tablegivesparametersforallfourmasterclockingmodes. (4) Inthecase where themasterSPI isreadywithnew databeforeSPI0_SCS assertion. (5) Thisdelaycan be increasedundersoftwarecontrolby theregisterbitfieldSPIDELAY.C2TDELAY[4:0].
146 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-64.AdditionalSPI0 Master Timings,4-PinChip SelectOption (1)(2)(3) (continued) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Polarity= 0,Phase = 0, 0.5M+P-1 0.5M+P-2 0.5M+P-3fromSPI0_CLK falling Polarity= 0,Phase = 1, P-1 P-2 P-3fromSPI0_CLK fallingDelayfromfinalSPI0_CLK edge tomasterdeasserting20 td(SPC_SCS)M nsSPI0_SCS (6)(7) Polarity= 1,Phase = 0, 0.5M+P-1 0.5M+P-2 0.5M+P-3fromSPI0_CLK rising Polarity= 1,Phase = 1, P-1 P-2 P-3fromSPI0_CLK rising (6) Exceptformodes when SPIDAT1.CSHOLD isenabledand thereisadditionaldatatotransmit.Inthiscase,SPI0_SCS willremainasserted. (7) Thisdelaycan be increasedundersoftwarecontrolby theregisterbitfieldSPIDELAY.T2CDELAY[4:0]. Table6-65.AdditionalSPI0 Master Timings,5-PinOption (1)(2)(3) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Polarity= 0,Phase = 0, 0.5M+P+5 0.5M+P+5 0.5M+P+6fromSPI0_CLK falling Polarity= 0,Phase = 1,Max delayforslavetodeassert P+5 P+5 P+6fromSPI0_CLK fallingSPI0_ENA afterfinalSPI0_CLK edge18 td(SPC_ENA)M nstoensuremasterdoes notbeginthe Polarity= 1,Phase = 0, 0.5M+P+5 0.5M+P+5 0.5M+P+6nexttransfer.(4) fromSPI0_CLK rising Polarity= 1,Phase = 1, P+5 P+5 P+6fromSPI0_CLK rising Polarity= 0,Phase = 0, 0.5M+P-2 0.5M+P-2 0.5M+P-3fromSPI0_CLK falling Polarity= 0,Phase = 1, P-2 P-2 P-3fromSPI0_CLK fallingDelayfromfinalSPI0_CLK edge to20 td(SPC_SCS)M nsmasterdeassertingSPI0_SCS (5)(6) Polarity= 1,Phase = 0, 0.5M+P-2 0.5M+P-2 0.5M+P-3fromSPI0_CLK rising Polarity= 1,Phase = 1, P-2 P-2 P-3fromSPI0_CLK rising Max delayforslaveSPI todriveSPI0_ENA validaftermaster 21 td(SCSL_ENAL)M assertsSPI0_SCS todelaythemasterfrombeginningthenext C2TDELAY+P C2TDELAY+P C2TDELAY+P ns transfer, (1) These parametersareinadditiontothegeneraltimingsforSPI mastermodes (Table6-62). (2) P = SYSCLK2 period;M = tc(SPC)M (SPImasterbitclockperiod) (3) Figureshows onlyPolarity= 0,Phase = 0 as an example.Tablegivesparametersforallfourmasterclockingmodes. (4) Inthecase where themasterSPI isreadywithnew databeforeSPI0_ENA deassertion. (5) Exceptformodes when SPIDAT1.CSHOLD isenabledand thereisadditionaldatatotransmit.Inthiscase,SPI0_SCS willremainasserted. (6) Thisdelaycan be increasedundersoftwarecontrolby theregisterbitfieldSPIDELAY.T2CDELAY[4:0]. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 147 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-65.AdditionalSPI0 Master Timings,5-PinOption (1)(2)(3) (continued) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Polarity= 0,Phase = 0, 2P-2 2P-2 2P-3toSPI0_CLK rising Polarity= 0,Phase = 1, 0.5M+2P-2 0.5M+2P-2 0.5M+2P-3toSPI0_CLK risingDelayfromSPI0_SCS activetofirst22 td(SCS_SPC)M nsSPI0_CLK (7)(8)(9) Polarity= 1,Phase = 0, 2P-2 2P-2 2P-3toSPI0_CLK falling Polarity= 1,Phase = 1, 0.5M+2P-2 0.5M+2P-2 0.5M+2P-3toSPI0_CLK falling Polarity= 0,Phase = 0, 3P+5 3P+5 3P+6toSPI0_CLK rising Polarity= 0,Phase = 1, 0.5M+3P+5 0.5M+3P+5 0.5M+3P+6toSPI0_CLK risingDelayfromassertionofSPI0_ENA23 td(ENA_SPC)M nslowtofirstSPI0_CLK edge.(10) Polarity= 1,Phase = 0, 3P+5 3P+5 3P+6toSPI0_CLK falling Polarity= 1,Phase = 1, 0.5M+3P+5 0.5M+3P+5 0.5M+3P+6toSPI0_CLK falling (7) IfSPI0_ENA isassertedimmediatelysuch thatthetransmissionisnotdelayedby SPI0_ENA. (8) Inthecase where themasterSPI isreadywithnew databeforeSPI0_SCS assertion. (9) Thisdelaycan be increasedundersoftwarecontrolby theregisterbitfieldSPIDELAY.C2TDELAY[4:0]. (10)IfSPI0_ENA was initiallydeassertedhighand SPI0_CLK isdelayed. Table6-66.AdditionalSPI0 SlaveTimings,4-PinEnable Option (1)(2)(3) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX (1) These parametersareinadditiontothegeneraltimingsforSPI slavemodes (Table6-62). (2) P = SYSCLK2 period;M = tc(SPC)M (SPImasterbitclockperiod) (3) Figureshows onlyPolarity= 0,Phase = 0 as an example.Tablegivesparametersforallfourslaveclockingmodes.
148 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-67.AdditionalSPI0 SlaveTimings,4-PinChip SelectOption (1)(2)(3) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 25 td(SCSL_SPC)S RequireddelayfromSPI0_SCS assertedatslavetofirstSPI0_CLK edge atslave. P + 1.5 P + 1.5 P + 1.5 ns Polarity= 0,Phase = 0, 0.5M+P+4 0.5M+P+4 0.5M+P+5fromSPI0_CLK falling Polarity= 0,Phase = 1, P+4 P+4 P+5fromSPI0_CLK fallingRequireddelayfromfinalSPI0_CLK edge beforeSPI0_SCS is26 td(SPC_SCSH)S nsdeasserted. Polarity= 1,Phase = 0, 0.5M+P+4 0.5M+P+4 0.5M+P+5fromSPI0_CLK rising Polarity= 1,Phase = 1, P+4 P+4 P+5fromSPI0_CLK rising P+17.27 tena(SCSL_SOMI)S DelayfrommasterassertingSPI0_SCS toslavedrivingSPI0_SOMI valid P+20 P+27 ns5 P+17.28 tdis(SCSH_SOMI)S DelayfrommasterdeassertingSPI0_SCS toslave3-statingSPI0_SOMI P+20 P+27 ns5 (1) These parametersareinadditiontothegeneraltimingsforSPI slavemodes (Table6-62). (2) P = SYSCLK2 period;M = tc(SPC)M (SPImasterbitclockperiod) (3) Figureshows onlyPolarity= 0,Phase = 0 as an example.Tablegivesparametersforallfourslaveclockingmodes. Table6-68.AdditionalSPI0 SlaveTimings,5-PinOption (1)(2)(3) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 25 td(SCSL_SPC)S RequireddelayfromSPI0_SCS assertedatslavetofirstSPI0_CLK edge atslave. P + 1.5 P + 1.5 P + 1.5 ns Polarity= 0,Phase = 0, 0.5M+P 0.5M+P 0.5M+P fromSPI0_CLK falling +4 +4 +5 Polarity= 0,Phase = 1, P+4 P+4 P+5fromSPI0_CLK fallingRequireddelayfromfinalSPI0_CLK edge beforeSPI0_SCS is26 td(SPC_SCSH)S nsdeasserted. Polarity= 1,Phase = 0, 0.5M+P 0.5M+P 0.5M+P fromSPI0_CLK rising +4 +4 +5 Polarity= 1,Phase = 1, P+4 P+4 P+5fromSPI0_CLK rising 27 tena(SCSL_SOMI)S DelayfrommasterassertingSPI0_SCS toslavedrivingSPI0_SOMI valid P+17.5 P+20 P+27 ns 28 tdis(SCSH_SOMI)S DelayfrommasterdeassertingSPI0_SCS toslave3-statingSPI0_SOMI P+17.5 P+20 P+27 ns 29 tena(SCSL_ENA)S DelayfrommasterdeassertingSPI0_SCS toslavedrivingSPI0_ENA valid 17.5 20 27 ns (1) These parametersareinadditiontothegeneraltimingsforSPI slavemodes (Table6-62). (2) P = SYSCLK2 period;M = tc(SPC)M (SPImasterbitclockperiod) (3) Figureshows onlyPolarity= 0,Phase = 0 as an example.Tablegivesparametersforallfourslaveclockingmodes. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 149 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-68.AdditionalSPI0 SlaveTimings,5-PinOption (1)(2)(3) (continued) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Polarity= 0,Phase = 0, 2.5P+17 2.5P+20 2.5P+27fromSPI0_CLK falling .5 Polarity= 1,Phase = 0, 2.5P+17 2.5P+20 2.5P+27fromSPI0_CLK rising .5 Polarity= 1,Phase = 1, 2.5P+17 2.5P+20 2.5P+27fromSPI0_CLK falling .5 (4) SPI0_ENA isdrivenlowafterthetransmissioncompletesiftheSPIINT0.ENABLE_HIGHZ bitisprogrammed to0.Otherwiseitistri-stated.Iftri-stated,an externalpullupresistorshould be used toprovidea validleveltothemaster.Thisoptionisusefulwhen tyingseveralSPI slavedevicestoa singlemaster.
150 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-69.GeneralTiming Requirements forSPI1 Master Modes (1) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 1 tc(SPC)M CycleTime,SPI1_CLK, AllMasterModes 20(2) 256P 30(2) 256P 40(2) 256P ns PulseWidthHigh,SPI1_CLK, AllMaster2 tw(SPCH)M 0.5M-1 0.5M-1 0.5M-1 nsModes PulseWidthLow, SPI1_CLK, AllMaster3 tw(SPCL)M 0.5M-1 0.5M-1 0.5M-1 nsModes Polarity= 0,Phase = 0, 5 5 6 toSPI1_CLK rising Polarity= 0,Phase = Delay,initialdata 1, -0.5M+5 -0.5M+5 -0.5M+6 bitvalidon toSPI1_CLK rising 4,5 td(SIMO_SPC)M SPI1_SIMO to ns Polarity= 1,Phase =initialedge on 0, 5 5 6SPI1_CLK (3) toSPI1_CLK falling Polarity= 1,Phase = toSPI1_CLK falling Polarity= 0,Phase = 0, 5 5 6fromSPI1_CLK rising Polarity= 0,Phase = 1, 5 5 6Delay,subsequent fromSPI1_CLK bitsvalidon falling 5 td(SPC_SIMO)M SPI1_SIMO after ns Polarity= 1,Phase =transmitedge of 0,SPI1_CLK 5 5 6fromSPI1_CLK falling Polarity= 1,Phase = 1, 5 5 6fromSPI1_CLK rising Polarity= 0,Phase = 0, 0.5M-3 0.5M-3 0.5M-3fromSPI1_CLK falling Polarity= 0,Phase = 1, 0.5M-3 0.5M-3 0.5M-3Outputholdtime, fromSPI1_CLK SPI1_SIMO valid rising 6 toh(SPC_SIMO)M after ns Polarity= 1,Phase =receiveedge of 0,SPI1_CLK 0.5M-3 0.5M-3 0.5M-3fromSPI1_CLK rising Polarity= 1,Phase = 1, 0.5M-3 0.5M-3 0.5M-3fromSPI1_CLK falling (1) P = SYSCLK2 period;M = tc(SPC)M (SPImasterbitclockperiod) (2) Thistimingislimitedby thetimingshown or2P,whicheverisgreater. (3) Firstbitmay be MSB orLSB dependingupon SPI configuration.MO(0) referstofirstbitand MO(n) referstolastbitoutputon SPI1_SIMO. MI(0)referstothefirstbitinputand MI(n)referstothelastbitinputon SPI1_SOMI. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 151 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-69.GeneralTiming Requirements forSPI1 Master Modes (1) (continued) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Polarity= 0,Phase = 0, 1.5 1.5 1.5 toSPI1_CLK falling Polarity= 0,Phase = InputSetupTime, 1, 1.5 1.5 1.5 SPI1_SOMI valid toSPI1_CLK rising 7 tsu(SOMI_SPC)M before ns Polarity= 1,Phase =receiveedge of 0, 1.5 1.5 1.5SPI1_CLK toSPI1_CLK rising Polarity= 1,Phase = 1, 1.5 1.5 1.5 toSPI1_CLK falling Polarity= 0,Phase = 0, 4 5 6fromSPI1_CLK falling Polarity= 0,Phase = 1, 4 5 6InputHoldTime, fromSPI1_CLK SPI1_SOMI valid rising 8 tih(SPC_SOMI)M after ns Polarity= 1,Phase =receiveedge of 0,SPI1_CLK 4 5 6fromSPI1_CLK rising Polarity= 1,Phase = 1, 4 5 6fromSPI1_CLK falling
152 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-70.GeneralTiming Requirements forSPI1 SlaveModes (1) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 9 tc(SPC)S CycleTime,SPI1_CLK, AllSlaveModes 40(2) 256P 50(2) 256P 60(2) 256P ns 10 tw(SPCH)S PulseWidthHigh,SPI1_CLK, AllSlaveModes 18 22 27 ns 11 tw(SPCL)S PulseWidthLow, SPI1_CLK, AllSlaveModes 18 22 27 ns Polarity= 0,Phase = 0, 2P 2P 2PtoSPI1_CLK rising Polarity= 0,Phase = 1,Setuptime,transmitdata 2P 2P 2PtoSPI1_CLK risingwrittentoSPI beforeinitial12 tsu(SOMI_SPC)S nsclockedge from Polarity= 1,Phase = 0, 2P 2P 2Pmaster.(3)(4) toSPI1_CLK falling Polarity= 1,Phase = 1, 2P 2P 2PtoSPI1_CLK falling Polarity= 0,Phase = 0, 15 17 19fromSPI1_CLK rising Polarity= 0,Phase = 1, 15 17 19Delay,subsequentbitsvalidfromSPI1_CLK falling 13 td(SPC_SOMI)S on SPI1_SOMI after ns Polarity= 1,Phase = 0,transmitedge ofSPI1_CLK 15 17 19fromSPI1_CLK falling Polarity= 1,Phase = 1, 15 17 19fromSPI1_CLK rising Polarity= 0,Phase = 0, 0.5S-4 0.5S-10 0.5S-12fromSPI1_CLK falling Polarity= 0,Phase = 1, 0.5S-4 0.5S-10 0.5S-12Outputholdtime, fromSPI1_CLK rising 14 toh(SPC_SOMI)S SPI1_SOMI validafter ns Polarity= 1,Phase = 0,receiveedge ofSPI1_CLK 0.5S-4 0.5S-10 0.5S-12fromSPI1_CLK rising Polarity= 1,Phase = 1, 0.5S-4 0.5S-10 0.5S-12fromSPI1_CLK falling Polarity= 0,Phase = 0, 1.5 1.5 1.5toSPI1_CLK falling Polarity= 0,Phase = 1, 1.5 1.5 1.5InputSetupTime, toSPI1_CLK rising 15 tsu(SIMO_SPC)S SPI1_SIMO validbefore ns Polarity= 1,Phase = 0,receiveedge ofSPI1_CLK 1.5 1.5 1.5toSPI1_CLK rising Polarity= 1,Phase = 1, 1.5 1.5 1.5toSPI1_CLK falling Polarity= 0,Phase = 0, 4 5 6fromSPI1_CLK falling Polarity= 0,Phase = 1, 4 5 6InputHoldTime, fromSPI1_CLK rising 16 tih(SPC_SIMO)S SPI1_SIMO validafter ns Polarity= 1,Phase = 0,receiveedge ofSPI1_CLK 4 5 6fromSPI1_CLK rising Polarity= 1,Phase = 1, 4 5 6fromSPI1_CLK falling (1) P = SYSCLK2 period;S = tc(SPC)S (SPIslavebitclockperiod) (2) Thistimingislimitedby thetimingshown or2P,whicheverisgreater. (3) Firstbitmay be MSB orLSB dependingupon SPI configuration.SO(0) referstofirstbitand SO(n) referstolastbitoutputon SPI1_SOMI. SI(0)referstothefirstbitinputand SI(n)referstothelastbitinputon SPI1_SIMO. (4) Measured fromtheterminationofthewriteofnew datatotheSPI module,Inanalyzingthroughputrequirements,additionalinternalbus cyclesmust be accountedfortoallowdatatobe writtentotheSPI module by theCPU. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 153 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-71.Additional(1)SPI1 Master Timings,4-PinEnable Option(2)(3) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Polarity= 0,Phase = 0, 3P+5 3P+5 3P+6toSPI1_CLK rising Delayfromslave Polarity= 0,Phase = 1, 0.5M+3P+5 0.5M+3P+5 0.5M+3P+6assertionofSPI1_ENA toSPI1_CLK rising 17 td(EN A_SPC)M activetofirst ns Polarity= 1,Phase = 0,SPI1_CLK from 3P+5 3P+5 3P+6toSPI1_CLK fallingmaster.(4) Polarity= 1,Phase = 1, 0.5M+3P+5 0.5M+3P+5 0.5M+3P+6toSPI1_CLK falling Polarity= 0,Phase = 0, 0.5M+P+5 0.5M+P+5 0.5M+P+6fromSPI1_CLK fallingMax delayforslaveto Polarity= 0,Phase = 1,deassertSPI1_ENA P+5 P+5 P+6fromSPI1_CLK fallingafterfinalSPI1_CLK18 td(SPC_ENA)M nsedge toensuremaster Polarity= 1,Phase = 0, 0.5M+P+5 0.5M+P+5 0.5M+P+6does notbeginthe fromSPI1_CLK rising nexttransfer.(5) Polarity= 1,Phase = 1, P+5 P+5 P+6fromSPI1_CLK rising (1) These parametersareinadditiontothegeneraltimingsforSPI mastermodes (Table6-69). (2) P = SYSCLK2 period;M = tc(SPC)M (SPImasterbitclockperiod) (3) Figureshows onlyPolarity= 0,Phase = 0 as an example.Tablegivesparametersforallfourmasterclockingmodes. (4) Inthecase where themasterSPI isreadywithnew databeforeSPI1_ENA assertion. (5) Inthecase where themasterSPI isreadywithnew databeforeSPI1_ENA deassertion. Table6-72.Additional(1)SPI1 Master Timings,4-PinChip SelectOption(2)(3) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Polarity= 0,Phase = 0, 2P-1 2P-5 2P-6toSPI1_CLK rising Polarity= 0,Phase = 1,Delayfrom 0.5M+2P-1 0.5M+2P-5 0.5M+2P-6toSPI1_CLK risingSPI1_SCS active19 td(SCS_SPC)M nstofirst Polarity= 1,Phase = 0, 2P-1 2P-5 2P-6SPI1_CLK (4)(5) toSPI1_CLK falling Polarity= 1,Phase = 1, 0.5M+2P-1 0.5M+2P-5 0.5M+2P-6toSPI1_CLK falling Polarity= 0,Phase = 0, 0.5M+P-1 0.5M+P-5 0.5M+P-6fromSPI1_CLK falling Delayfromfinal Polarity= 0,Phase = 1, P-1 P-5 P-6SPI1_CLK edge to fromSPI1_CLK falling 20 td(SPC_SCS)M master ns Polarity= 1,Phase = 0,deasserting 0.5M+P-1 0.5M+P-5 0.5M+P-6fromSPI1_CLK risingSPI1_SCS (6)(7) Polarity= 1,Phase = 1, P-1 P-5 P-6fromSPI1_CLK rising (1) These parametersareinadditiontothegeneraltimingsforSPI mastermodes (Table6-69). (2) P = SYSCLK2 period;M = tc(SPC)M (SPImasterbitclockperiod) (3) Figureshows onlyPolarity= 0,Phase = 0 as an example.Tablegivesparametersforallfourmasterclockingmodes. (4) Inthecase where themasterSPI isreadywithnew databeforeSPI1_SCS assertion. (5) Thisdelaycan be increasedundersoftwarecontrolby theregisterbitfieldSPIDELAY.C2TDELAY[4:0]. (6) Exceptformodes when SPIDAT1.CSHOLD isenabledand thereisadditionaldatatotransmit.Inthiscase,SPI1_SCS willremain asserted. (7) Thisdelaycan be increasedundersoftwarecontrolby theregisterbitfieldSPIDELAY.T2CDELAY[4:0].
154 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-73.Additional(1)SPI1 Master Timings,5-PinOption(2)(3) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Polarity= 0,Phase = 0, 0.5M+P+5 0.5M+P+5 0.5M+P+6fromSPI1_CLK falling Polarity= 0,Phase = 1, P+5 P+5 P+6Max delayforslavetodeassertSPI1_ENA afterfinal fromSPI1_CLK falling 18 td(SPC_ENA)M SPI1_CLK edge toensuremasterdoes notbeginthenext ns Polarity= 1,Phase = 0,transfer.(4) 0.5M+P+5 0.5M+P+5 0.5M+P+6fromSPI1_CLK rising Polarity= 1,Phase = 1, P+5 P+5 P+6fromSPI1_CLK rising Polarity= 0,Phase = 0, 0.5M+P-1 0.5M+P-5 0.5M+P-6fromSPI1_CLK falling Polarity= 0,Phase = 1, P-1 P-5 P-6fromSPI1_CLK fallingDelayfromfinalSPI1_CLK edge to20 td(SPC_SCS)M nsmasterdeassertingSPI1_SCS (5)(6) Polarity= 1,Phase = 0, 0.5M+P-1 0.5M+P-5 0.5M+P-6fromSPI1_CLK rising Polarity= 1,Phase = 1, P-1 P-5 P-6fromSPI1_CLK rising Max delayforslaveSPI todriveSPI1_ENA validaftermasterassertsSPI1_SCS to 21 td(SCSL_ENAL)M delaythe C2TDELAY+P C2TDELAY+P C2TDELAY+P ns masterfrombeginningthenexttransfer, Polarity= 0,Phase = 0, 2P-1 2P-5 2P-6toSPI1_CLK rising Polarity= 0,Phase = 1, 0.5M+2P-1 0.5M+2P-5 0.5M+2P-6toSPI1_CLK rising 22 td(SCS_SPC)M DelayfromSPI1_SCS activetofirstSPI1_CLK (7)(8)(9) ns Polarity= 1,Phase = 0, 2P-1 2P-5 2P-6toSPI1_CLK falling Polarity= 1,Phase = 1, 0.5M+2P-1 0.5M+2P-5 0.5M+2P-6toSPI1_CLK falling (1) These parametersareinadditiontothegeneraltimingsforSPI mastermodes (Table6-70). (2) P = SYSCLK2 period;M = tc(SPC)M (SPImasterbitclockperiod) (3) Figureshows onlyPolarity= 0,Phase = 0 as an example.Tablegivesparametersforallfourmasterclockingmodes. (4) Inthecase where themasterSPI isreadywithnew databeforeSPI1_ENA deassertion. (5) Exceptformodes when SPIDAT1.CSHOLD isenabledand thereisadditionaldatatotransmit.Inthiscase,SPI1_SCS willremainasserted. (6) Thisdelaycan be increasedundersoftwarecontrolby theregisterbitfieldSPIDELAY.T2CDELAY[4:0]. (7) IfSPI1_ENA isassertedimmediatelysuch thatthetransmissionisnotdelayedby SPI1_ENA. (8) Inthecase where themasterSPI isreadywithnew databeforeSPI1_SCS assertion. (9) Thisdelaycan be increasedundersoftwarecontrolby theregisterbitfieldSPIDELAY.C2TDELAY[4:0]. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 155 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-73.Additional(1)SPI1 Master Timings,5-PinOption (2)(3) (continued) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Polarity= 0,Phase = 0, 3P+5 3P+5 3P+6toSPI1_CLK rising Polarity= 0,Phase = 1, 0.5M+3P+5 0.5M+3P+5 0.5M+3P+6toSPI1_CLK risingDelayfromassertionofSPI1_ENA lowtofirstSPI1_CLK23 td(ENA_SPC)M nsedge.(10) Polarity= 1,Phase = 0, 3P+5 3P+5 3P+6toSPI1_CLK falling Polarity= 1,Phase = 1, 0.5M+3P+5 0.5M+3P+5 0.5M+3P+6toSPI1_CLK falling (10)IfSPI1_ENA was initiallydeassertedhighand SPI1_CLK isdelayed. Table6-74.Additional(1)SPI1 SlaveTimings,4-PinEnable Option(2)(3) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 24 td(SPC_ENAH)S SPI1_CLK edge toslave ns (1) These parametersareinadditiontothegeneraltimingsforSPI slavemodes (Table6-70). (2) P = SYSCLK2 period;M = tc(SPC)M (SPImasterbitclockperiod) (3) Figureshows onlyPolarity= 0,Phase = 0 as an example.Tablegivesparametersforallfourslaveclockingmodes. Table6-75.Additional(1)SPI1 SlaveTimings,4-PinChip SelectOption(2)(3) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 25 td(SCSL_SPC)S RequireddelayfromSPI1_SCS assertedatslavetofirstSPI1_CLK edge atslave. P+1.5 P+1.5 P+1.5 ns (1) These parametersareinadditiontothegeneraltimingsforSPI slavemodes (Table6-70). (2) P = SYSCLK2 period;M = tc(SPC)M (SPImasterbitclockperiod) (3) Figureshows onlyPolarity= 0,Phase = 0 as an example.Tablegivesparametersforallfourslaveclockingmodes.
156 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-75.Additional(1)SPI1 SlaveTimings,4-PinChip SelectOption (2)(3) (continued) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Polarity= 0,Phase = 0, 0.5M+P+4 0.5M+P+5 0.5M+P+6fromSPI1_CLK falling Polarity= 0,Phase = 1, P+4 P+5 P+6fromSPI1_CLK fallingRequireddelayfromfinalSPI1_CLK edge before26 td(SPC_SCSH)S nsSPI1_SCS isdeasserted. Polarity= 1,Phase = 0, 0.5M+P+4 0.5M+P+5 0.5M+P+6fromSPI1_CLK rising Polarity= 1,Phase = 1, P+4 P+5 P+6fromSPI1_CLK rising 27 tena(SCSL_SOMI)S DelayfrommasterassertingSPI1_SCS toslavedrivingSPI1_SOMI valid P+15 P+17 P+19 ns 28 tdis(SCSH_SOMI)S DelayfrommasterdeassertingSPI1_SCS toslave3-statingSPI1_SOMI P+15 P+17 P+19 ns Table6-76.Additional(1)SPI1 SlaveTimings,5-PinOption(2)(3) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 25 td(SCSL_SPC)S RequireddelayfromSPI1_SCS assertedatslavetofirstSPI1_CLK edge atslave. P+1.5 P+1.5 P+1.5 ns Polarity= 0,Phase = 0, 0.5M+P+4 0.5M+P+5 0.5M+P+6fromSPI1_CLK falling Polarity= 0,Phase = 1, P+4 P+5 P+6fromSPI1_CLK fallingRequireddelayfromfinalSPI1_CLK edge before26 td(SPC_SCSH)S nsSPI1_SCS isdeasserted. Polarity= 1,Phase = 0, 0.5M+P+4 0.5M+P+5 0.5M+P+6fromSPI1_CLK rising Polarity= 1,Phase = 1, P+4 P+5 P+6fromSPI1_CLK rising 27 tena(SCSL_SOMI)S DelayfrommasterassertingSPI1_SCS toslavedrivingSPI1_SOMI valid P+15 P+17 P+19 ns 28 tdis(SCSH_SOMI)S DelayfrommasterdeassertingSPI1_SCS toslave3-statingSPI1_SOMI P+15 P+17 P+19 ns 29 tena(SCSL_ENA)S DelayfrommasterdeassertingSPI1_SCS toslavedrivingSPI1_ENA valid 15 17 19 ns (1) These parametersareinadditiontothegeneraltimingsforSPI slavemodes (Table6-70). (2) P = SYSCLK2 period;M = tc(SPC)M (SPImasterbitclockperiod) (3) Figureshows onlyPolarity= 0,Phase = 0 as an example.Tablegivesparametersforallfourslaveclockingmodes. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 157 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-76.Additional(1)SPI1 SlaveTimings,5-PinOption (2)(3) (continued) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Polarity= 0,Phase = 0, 2.5P+15 2.5P+17 2.5P+19fromSPI1_CLK falling Polarity= 0,Phase = 1, 2.5P+15 2.5P+17 2.5P+19fromSPI1_CLK risingDelayfromfinalclockreceiveedge on SPI1_CLK toslave30 tdis(SPC_ENA)S ns3-statingordrivinghighSPI1_ENA. (4) Polarity= 1,Phase = 0, 2.5P+15 2.5P+17 2.5P+19fromSPI1_CLK rising Polarity= 1,Phase = 1, 2.5P+15 2.5P+17 2.5P+19fromSPI1_CLK falling (4) SPI1_ENA isdrivenlowafterthetransmissioncompletesiftheSPIINT0.ENABLE_HIGHZ bitisprogrammed to0.Otherwiseitistri-stated.Iftri-stated,an externalpullupresistorshould be used toprovidea validleveltothemaster.Thisoptionisusefulwhen tyingseveralSPI slavedevicestoa singlemaster.
158 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_CLK SPIx_SIMO SPIx_SOMI MO(0) MO(1) MO(n−1) MO(n) MI(0) MI(1) MI(n−1) MI(n) MO(0) MO(1) MO(n−1) MO(n) MI(0) MI(1) MI(n−1) MI(n) MO(0) MO(1) MO(n−1) MO(n) MI(0) MI(1) MI(n−1) MI(n) MO(0) MO(1) MO(n−1) MO(n) MI(0) MI(1) MI(n−1) MI(n) 4 5 5 6 MASTER MODE POLARITY = 0 PHASE = 0 MASTER MODE POLARITY = 0 PHASE = 1 MASTER MODE POLARITY = 1 PHASE = 0 MASTER MODE POLARITY = 1 PHASE = 1 AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-35.SPI Timings— Master Mode Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 159 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_CLK SPIx_SIMO SPIx_SOMI SI(0) SI(1) SI(n−1) SI(n) SO(0) SO(1) SO(n−1) SO(n) SI(0) SI(1) SI(n−1) SI(n) SO(0) SO(1) SO(n−1) SO(n) SI(0) SI(1) SI(n−1) SI(n) SO(0) SO(1) SO(n−1) SO(n) SI(0) SI(1) SI(n−1) SI(n) SO(0) SO(1) SO(n−1) SO(n) 1110 SLA VE MODE POLARITY = 0 PHASE = 0 SLA VE MODE POLARITY = 0 PHASE = 1 SLA VE MODE POLARITY = 1 PHASE = 0 SLA VE MODE POLARITY = 1 PHASE = 1 AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-36.SPI Timings— SlaveMode
160 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION MASTER MODE 4 PIN WITH CHIP SELECT SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_ENA SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_SCS SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_ENA SPIx_SCS MO(0) MO(1) MO(n−1) MO(n) MI(0) MI(1) MI(n−1) MI(n) MO(0) MO(1) MO(n−1) MO(n) MI(0) MI(1) MI(n−1) MI(n) MO(0) MO(1) MO(n−1) MO(n) MI(0) MI(1) MI(n−1) MI(n) MASTER MODE 4 PIN WITH ENABLE MASTER MODE 5 PIN A. DESELECTED IS PROGRAMMABLE EITHER HIGH OR 3−STATE (REQUIRES EXTERNAL PULLUP) DESEL (A) DESEL (A) AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-37.SPI Timings— Master Mode (4-Pinand 5-Pin) Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 161 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION SPIx_CLK SPIx_SOMI SPIx_SIMO SPIx_ENA SPIx_CLK SPIx_SOMI SPIx_SIMO SPIx_SCS SPIx_CLK SPIx_SOMI SPIx_SIMO SPIx_ENA SPIx_SCS SO(0) SO(1) SO(n−1) SO(n) SI(0) SI(1) SI(n−1) SI(n) SO(0) SO(1) SO(n−1) SO(n) SI(0) SI(1) SI(n−1) SI(n) SO(0) SO(1) SO(n−1) SO(n) SI(0) SI(1) SI(n−1) SI(n) SLA VE MODE 4 PIN WITH ENABLE SLA VE MODE 4 PIN WITH CHIP SELECT SLA VE MODE 5 PIN DESEL (A) DESEL (A) A. DESELECTED IS PROGRAMMABLE EITHER HIGH OR 3−STATE (REQUIRES EXTERNAL PULLUP) AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-38.SPI Timings— SlaveMode (4-Pinand 5-Pin)
162 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION Peripheral Configuration Bus Noise Filter Noise Filter Clock Prescaler I2CPSCx Prescaler Register Bit Clock Generator I2CCLKHx Clock Divide High Register I2CCLKLx Clock Divide Low Register Control I2CCOARx Own Address Register I2CSARx Slave Address Register I2CCMDRx Mode Register I2CEMDRx Extended Mode Register I2CCNTx Data Count Register I2CPID1 Peripheral ID Register 1 I2CPID2 Peripheral ID Register 2 Transmit I2CXSRx Transmit Shift Register I2CDXRx T ransmit Buffer Receive I2CDRRx Receive Buffer I2CRSRx Receive Shift Register I2Cx_SCL I2Cx_SDA Control Interrupt/DMA I2CIERx Interrupt Enable Register I2CSTRx Interrupt Status Register I2CSRCx Interrupt Source Register Control I2CPFUNC Pin Function Register I2CPDIR Pin Direction Register I2CPDIN Pin Data In Register I2CPDOUT Pin Data Out Register I2CPDSET Pin Data Set Register I2CPDCLR Pin Data Clear Register Interrupt DMA Requests AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.17 Inter-IntegratedCircuitSerialPorts(I2C)
6.17.1 I2C Device-SpecificInformation
Each I2C portsupports:
- CompatiblewithPhilips® I2C SpecificationRevision2.1(January2000)
- FastMode up to400 Kbps (nofail-safeI/Obuffers)
- NoiseFiltertoRemove Noise50 ns orless
- Seven-and Ten-BitDeviceAddressingModes
- Master(Transmit/Receive)and Slave(Transmit/Receive)Functionality
- Events:DMA, Interrupt,orPolling
- General-PurposeI/OCapabilityifnotused as I2C Figure6-39isblockdiagramofthedeviceI2C Module. Figure6-39.I2C Module Block Diagram Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 163 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.17.2 I2C PeripheralRegistersDescription(s)
Table6-77isthelistoftheI2C registers. Table6-77.Inter-IntegratedCircuit(I2C)Registers I2C0 I2C1 ACRONYM REGISTER DESCRIPTIONBYTE ADDRESS BYTE ADDRESS 0x01C2 2000 0x01E2 8000 ICOAR I2C Own AddressRegister 0x01C2 2004 0x01E2 8004 ICIMR I2C InterruptMask Register 0x01C2 2008 0x01E2 8008 ICSTR I2C InterruptStatusRegister 0x01C2 200C 0x01E2 800C ICCLKL I2C ClockLow-Time DividerRegister 0x01C2 2010 0x01E2 8010 ICCLKH I2C ClockHigh-TimeDividerRegister 0x01C2 2014 0x01E2 8014 ICCNT I2C Data Count Register 0x01C2 2018 0x01E2 8018 ICDRR I2C Data ReceiveRegister 0x01C2 201C 0x01E2 801C ICSAR I2C SlaveAddressRegister 0x01C2 2020 0x01E2 8020 ICDXR I2C Data TransmitRegister 0x01C2 2024 0x01E2 8024 ICMDR I2C Mode Register 0x01C2 2028 0x01E2 8028 ICIVR I2C InterruptVectorRegister 0x01C2 202C 0x01E2 802C ICEMDR I2C ExtendedMode Register 0x01C2 2030 0x01E2 8030 ICPSC I2C PrescalerRegister 0x01C2 2034 0x01E2 8034 REVID1 I2C RevisionIdentificationRegister1 0x01C2 2038 0x01E2 8038 REVID2 I2C RevisionIdentificationRegister2 0x01C2 2048 0x01E2 8048 ICPFUNC I2C PinFunctionRegister 0x01C2 204C 0x01E2 804C ICPDIR I2C PinDirectionRegister 0x01C2 2050 0x01E2 8050 ICPDIN I2C PinData InRegister 0x01C2 2054 0x01E2 8054 ICPDOUT I2C PinData Out Register 0x01C2 2058 0x01E2 8058 ICPDSET I2C PinData SetRegister 0x01C2 205C 0x01E2 805C ICPDCLR I2C PinData ClearRegister
164 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.17.3 I2C ElectricalData/Timing
6.17.3.1Inter-IntegratedCircuit(I2C)Timing Table6-78and Table6-79assume testingoverrecommended operatingconditions(seeFigure6-40and Figure6-41). Table6-78.Timing Requirements forI2C Input NO. PARAMETER Standard Mode FastMode UNIT MIN MAX MIN MAX 1 tc(SCL) Cycletime,I2Cx_SCL 10 2.5 ms 2 tsu(SCLH-SDAL) Setuptime,I2Cx_SCL highbeforeI2Cx_SDA low 4.7 0.6 ms 3 th(SCLL-SDAL) Holdtime,I2Cx_SCL lowafterI2Cx_SDA low 4 0.6 ms 4 tw(SCLL) Pulseduration,I2Cx_SCL low 4.7 1.3 ms 5 tw(SCLH) Pulseduration,I2Cx_SCL high 4 0.6 ms 6 tsu(SDA-SCLH) Setuptime,I2Cx_SDA beforeI2Cx_SCL high 250 100 ns 7 th(SDA-SCLL) Holdtime,I2Cx_SDA afterI2Cx_SCL low 0 0 0.9 ms 8 tw(SDAH) Pulseduration,I2Cx_SDA high 4.7 1.3 ms 9 tr(SDA) Risetime,I2Cx_SDA 1000 20 + 0.1Cb 300 ns 10 tr(SCL) Risetime,I2Cx_SCL 1000 20 + 0.1Cb 300 ns 11 tf(SDA) Falltime,I2Cx_SDA 300 20 + 0.1Cb 300 ns 12 tf(SCL) Falltime,I2Cx_SCL 300 20 + 0.1Cb 300 ns 13 tsu(SCLH-SDAH) Setuptime,I2Cx_SCL highbeforeI2Cx_SDA high 4 0.6 ms 14 tw(SP) Pulseduration,spike(mustbe suppressed) N/A 0 50 ns
15 C b Capacitiveloadforeach bus line 400 400 pF
Table6-79.SwitchingCharacteristicsforI2C (1) NO. PARAMETER Standard Mode FastMode UNIT MIN MAX MIN MAX 16 tc(SCL) Cycletime,I2Cx_SCL 10 2.5 ms 17 tsu(SCLH-SDAL) Setuptime,I2Cx_SCL highbeforeI2Cx_SDA low 4.7 0.6 ms 18 th(SDAL-SCLL) Holdtime,I2Cx_SCL lowafterI2Cx_SDA low 4 0.6 ms 19 tw(SCLL) Pulseduration,I2Cx_SCL low 4.7 1.3 ms 20 tw(SCLH) Pulseduration,I2Cx_SCL high 4 0.6 ms 21 tsu(SDAV-SCLH) Setuptime,I2Cx_SDA validbeforeI2Cx_SCL high 250 100 ns 22 th(SCLL-SDAV) Holdtime,I2Cx_SDA validafterI2Cx_SCL low 0 0 0.9 ms 23 tw(SDAH) Pulseduration,I2Cx_SDA high 4.7 1.3 ms 28 tsu(SCLH-SDAH) Setuptime,I2Cx_SCL highbeforeI2Cx_SDA high 4 0.6 ms (1) I2C must be configuredcorrectlytomeet thetimingsinTable6-79. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 165 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION 6 14 Stop Start Repeated Start Stop I2Cx_SDA I2Cx_SCL 11 9 Stop Start Repeated Start Stop I2Cx_SDA I2Cx_SCL 26 24 AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-40.I2C Receive Timings Figure6-41.I2C TransmitTimings
166 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.18 UniversalAsynchronous Receiver/Transmitter(UART)
Each UART has thefollowingfeatures:
- 16-bytestoragespace forboththetransmitterand receiverFIFOs
- 1,4,8,or14 byteselectablereceiverFIFO triggerlevelforautoflowcontroland DMA
- DMA signalingcapabilityforbothreceivedand transmitteddata
- Programmable auto-rtsand auto-ctsforautoflowcontrol
- Programmable Baud Rate up to3MBaud
- Programmable OversamplingOptionsofx13 and x16
- Frequencypre-scalevaluesfrom1 to65,535togenerateappropriatebaud rates
- Prioritizedinterrupts
- Programmable serialdataformats – 5,6,7,or8-bitcharacters – Even,odd,orno paritybitgenerationand detection – 1,1.5,or2 stopbitgeneration
- Falsestartbitdetection
- Linebreakgenerationand detection
- Internaldiagnosticcapabilities – Loopback controlsforcommunicationslinkfaultisolation – Break,parity,overrun,and framingerrorsimulation
- Modem controlfunctions(CTS,RTS) The UART registersarelistedinSection6.18.1
6.18.1 UART PeripheralRegistersDescription(s)
Table6-80isthelistofUART registers. Table6-80.UART Registers UART0 UART1 UART2 ACRONYM REGISTER DESCRIPTIONBYTE ADDRESS BYTE ADDRESS BYTE ADDRESS 0x01C4 2000 0x01D0 C000 0x01D0 D000 RBR ReceiverBufferRegister(readonly) 0x01C4 2000 0x01D0 C000 0x01D0 D000 THR TransmitterHoldingRegister(writeonly) 0x01C4 2004 0x01D0 C004 0x01D0 D004 IER InterruptEnableRegister 0x01C4 2008 0x01D0 C008 0x01D0 D008 IIR InterruptIdentificationRegister(readonly) 0x01C4 2008 0x01D0 C008 0x01D0 D008 FCR FIFO ControlRegister(writeonly) 0x01C4 200C 0x01D0 C00C 0x01D0 D00C LCR LineControlRegister 0x01C4 2010 0x01D0 C010 0x01D0 D010 MCR Modem ControlRegister 0x01C4 2014 0x01D0 C014 0x01D0 D014 LSR LineStatusRegister 0x01C4 2018 0x01D0 C018 0x01D0 D018 MSR Modem StatusRegister 0x01C4 201C 0x01D0 C01C 0x01D0 D01C SCR ScratchpadRegister 0x01C4 2020 0x01D0 C020 0x01D0 D020 DLL DivisorLSB Latch 0x01C4 2024 0x01D0 C024 0x01D0 D024 DLH DivisorMSB Latch 0x01C4 2028 0x01D0 C028 0x01D0 D028 REVID1 RevisionIdentificationRegister1 0x01C4 2030 0x01D0 C030 0x01D0 D030 PWREMU_MGMT Power and EmulationManagement Register 0x01C4 2034 0x01D0 C034 0x01D0 D034 MDR Mode DefinitionRegister Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 167 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION Start Bit Data Bits UART_TXDn UART_RXDn Data Bits Bit Start AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.18.2 UART ElectricalData/Timing
Table6-81.Timing Requirements forUART Receive(1)(seeFigure6-42) NO. PARAMETER UNIT MIN MAX 4 tw(URXDB) Pulseduration,receivedatabit(RXDn) 0.96U 1.05U ns 5 tw(URXSB) Pulseduration,receivestartbit 0.96U 1.05U ns (1) U = UART baud time= 1/programmedbaud rate. Table6-82.SwitchingCharacteristicsOver Recommended OperatingConditionsforUARTx Transmit(1) (seeFigure6-42) NO. PARAMETER UNIT MIN MAX 1 f(baud) Maximum programmablebaud rate D/E (2)(3) MBaud (4) 2 tw(UTXDB) Pulseduration,transmitdatabit(TXDn) U -2 U + 2 ns 3 tw(UTXSB) Pulseduration,transmitstartbit U -2 U + 2 ns (1) U = UART baud time= 1/programmedbaud rate. (2) D = UART inputclockinMHz. ForUART0, theUART inputclockisSYSCLK2. ForUART1 orUART2, theUART inputclockisASYNC3 (eitherPLL0_SYCLK2 orPLL1_SYSCLK2). (3) E = UART divisorx UART samplingrate.The UART divisorissetthroughtheUART divisorlatchregisters(DLL and DLH).The UART samplingrateissetthroughtheover-samplingmode selectbit(OSM_SEL) oftheUART mode definitionregister(MDR). (4) Baud rateisnotindicativeofdatarate.Actualdataratewillbe limitedby systemfactorssuch as EDMA loading,EMIF/DDR loading, systemfrequency,etc. Figure6-42.UART Transmit/ReceiveTiming
168 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 6.19 UniversalSerialBus OTG Controller(USB0) [USB2.0 OTG] The USB2.0 peripheralsupportsthefollowingfeatures:
- USB 2.0peripheralatspeeds highspeed (HS:480 Mb/s)and fullspeed (FS:12 Mb/s)
- USB 2.0hostatspeeds HS, FS, and lowspeed (LS:1.5Mb/s)
- Alltransfermodes (control,bulk,interrupt,and isochronous)
- 4 Transmit(TX)and 4 Receive(RX)endpointsinadditiontoendpoint0
- FIFO RAM – 4K endpoint – Programmable size
- IntegratedUSB 2.0HighSpeed PHY
- Connectstoa standardCharge Pump forVBUS 5 V generation
- RNDIS mode foracceleratingRNDIS typeprotocolsusingshortpacketterminationoverUSB Table6-83isthelistofUSB OTG registers. Table6-83.UniversalSerialBus OTG (USB0) Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E0 0000 REVID RevisionRegister 0x01E0 0004 CTRLR ControlRegister 0x01E0 0008 STATR StatusRegister 0x01E0 000C EMUR EmulationRegister 0x01E0 0010 MODE Mode Register 0x01E0 0014 AUTOREQ AutorequestRegister 0x01E0 0018 SRPFIXTIME SRP FixTime Register 0x01E0 001C TEARDOWN Teardown Register 0x01E0 0020 INTSRCR USB InterruptSourceRegister 0x01E0 0024 INTSETR USB InterruptSourceSetRegister 0x01E0 0028 INTCLRR USB InterruptSourceClearRegister 0x01E0 002C INTMSKR USB InterruptMask Register 0x01E0 0030 INTMSKSETR USB InterruptMask SetRegister 0x01E0 0034 INTMSKCLRR USB InterruptMask ClearRegister 0x01E0 0038 INTMASKEDR USB InterruptSourceMasked Register 0x01E0 003C EOIR USB End ofInterruptRegister 0x01E0 0040 INTVECTR USB InterruptVectorRegister 0x01E0 0050 GENRNDISSZ1 GenericRNDIS SizeEP1 0x01E0 0054 GENRNDISSZ2 GenericRNDIS SizeEP2 0x01E0 0058 GENRNDISSZ3 GenericRNDIS SizeEP3 0x01E0 005C GENRNDISSZ4 GenericRNDIS SizeEP4 0x01E0 0400 FADDR FunctionAddressRegister 0x01E0 0401 POWER Power Management Register 0x01E0 0402 INTRTX InterruptRegisterforEndpoint0 plusTransmitEndpoints1 to4 0x01E0 0404 INTRRX InterruptRegisterforReceiveEndpoints1 to4 0x01E0 0406 INTRTXE InterruptenableregisterforINTRTX 0x01E0 0408 INTRRXE InterruptEnableRegisterforINTRRX 0x01E0 040A INTRUSB InterruptRegisterforCommon USB Interrupts 0x01E0 040B INTRUSBE InterruptEnableRegisterforINTRUSB 0x01E0 040C FRAME Frame Number Register 0x01E0 040E INDEX IndexRegisterforSelectingtheEndpointStatusand ControlRegisters 0x01E0 040F TESTMODE RegistertoEnabletheUSB 2.0TestModes Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 169 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-83.UniversalSerialBus OTG (USB0) Registers(continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION Indexed Registers These registersoperateon theendpointselectedby theINDEX register 0x01E0 0410 TXMAXP Maximum PacketSizeforPeripheral/HostTransmitEndpoint(Indexregistersettoselect Endpoints1-4only) 0x01E0 0412 PERI_CSR0 ControlStatusRegisterforEndpoint0 inPeripheralMode. (IndexregistersettoselectEndpoint HOST_CSR0 ControlStatusRegisterforEndpoint0 inHostMode. (IndexregistersettoselectEndpoint0) PERI_TXCSR ControlStatusRegisterforPeripheralTransmitEndpoint.(IndexregistersettoselectEndpoints 1-4) HOST_TXCSR ControlStatusRegisterforHostTransmitEndpoint. (IndexregistersettoselectEndpoints1-4) 0x01E0 0414 RXMAXP Maximum PacketSizeforPeripheral/HostReceiveEndpoint(Indexregistersettoselect Endpoints1-4only) 0x01E0 0416 PERI_RXCSR ControlStatusRegisterforPeripheralReceiveEndpoint.(IndexregistersettoselectEndpoints 1-4) HOST_RXCSR ControlStatusRegisterforHostReceiveEndpoint. (IndexregistersettoselectEndpoints1-4) 0x01E0 0418 COUNT0 Number ofReceivedBytesinEndpoint0 FIFO. (IndexregistersettoselectEndpoint0) RXCOUNT Number ofBytesinHostReceiveEndpointFIFO. (IndexregistersettoselectEndpoints1-4) 0x01E0 041A HOST_TYPE0 Definesthespeed ofEndpoint0 HOST_TXTYPE Setstheoperatingspeed,transactionprotocoland peripheralendpointnumber forthehost Transmitendpoint.(IndexregistersettoselectEndpoints1-4only) 0x01E0 041B HOST_NAKLIMIT0 SetstheNAK responsetimeouton Endpoint0. (IndexregistersettoselectEndpoint0) HOST_TXINTERVAL SetsthepollingintervalforInterrupt/ISOCtransactionsortheNAK responsetimeouton Bulk transactionsforhostTransmitendpoint.(IndexregistersettoselectEndpoints1-4only) 0x01E0 041C HOST_RXTYPE Setstheoperatingspeed,transactionprotocoland peripheralendpointnumber forthehost Receiveendpoint.(IndexregistersettoselectEndpoints1-4only) 0x01E0 041D HOST_RXINTERVAL SetsthepollingintervalforInterrupt/ISOCtransactionsortheNAK responsetimeouton Bulk transactionsforhostReceiveendpoint.(IndexregistersettoselectEndpoints1-4only) 0x01E0 041F CONFIGDATA Returnsdetailsofcoreconfiguration.(IndexregistersettoselectEndpoint0) FIFO 0x01E0 0420 FIFO0 Transmitand ReceiveFIFO RegisterforEndpoint0 0x01E0 0424 FIFO1 Transmitand ReceiveFIFO RegisterforEndpoint1 0x01E0 0428 FIFO2 Transmitand ReceiveFIFO RegisterforEndpoint2 0x01E0 042C FIFO3 Transmitand ReceiveFIFO RegisterforEndpoint3 0x01E0 0430 FIFO4 Transmitand ReceiveFIFO RegisterforEndpoint4 OTG Device Control 0x01E0 0460 DEVCTL DeviceControlRegister Dynamic FIFO Control 0x01E0 0462 TXFIFOSZ TransmitEndpointFIFO Size (IndexregistersettoselectEndpoints1-4only) 0x01E0 0463 RXFIFOSZ ReceiveEndpointFIFO Size (IndexregistersettoselectEndpoints1-4only) 0x01E0 0464 TXFIFOADDR TransmitEndpointFIFO Address (IndexregistersettoselectEndpoints1-4only) 0x01E0 0464 HWVERS Hardware VersionRegister 0x01E0 0466 RXFIFOADDR ReceiveEndpointFIFO Address (IndexregistersettoselectEndpoints1-4only) TargetEndpoint 0 ControlRegisters,ValidOnly inHost Mode
170 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-83.UniversalSerialBus OTG (USB0) Registers(continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E0 0480 TXFUNCADDR Addressofthetargetfunctionthathas tobe accessedthroughtheassociatedTransmit Endpoint. 0x01E0 0482 TXHUBADDR Addressofthehub thathas tobe accessedthroughtheassociatedTransmitEndpoint.Thisis used onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 0483 TXHUBPORT Portofthehub thathas tobe accessedthroughtheassociatedTransmitEndpoint.Thisisused onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 0484 RXFUNCADDR Addressofthetargetfunctionthathas tobe accessedthroughtheassociatedReceive Endpoint. 0x01E0 0486 RXHUBADDR Addressofthehub thathas tobe accessedthroughtheassociatedReceiveEndpoint.Thisis used onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 0487 RXHUBPORT Portofthehub thathas tobe accessedthroughtheassociatedReceiveEndpoint.Thisisused onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. TargetEndpoint 1 ControlRegisters,ValidOnly inHost Mode 0x01E0 0488 TXFUNCADDR Addressofthetargetfunctionthathas tobe accessedthroughtheassociatedTransmit Endpoint. 0x01E0 048A TXHUBADDR Addressofthehub thathas tobe accessedthroughtheassociatedTransmitEndpoint.Thisis used onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 048B TXHUBPORT Portofthehub thathas tobe accessedthroughtheassociatedTransmitEndpoint.Thisisused onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 048C RXFUNCADDR Addressofthetargetfunctionthathas tobe accessedthroughtheassociatedReceive Endpoint. 0x01E0 048E RXHUBADDR Addressofthehub thathas tobe accessedthroughtheassociatedReceiveEndpoint.Thisis used onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 048F RXHUBPORT Portofthehub thathas tobe accessedthroughtheassociatedReceiveEndpoint.Thisisused onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. TargetEndpoint 2 ControlRegisters,ValidOnly inHost Mode 0x01E0 0490 TXFUNCADDR Addressofthetargetfunctionthathas tobe accessedthroughtheassociatedTransmit Endpoint. 0x01E0 0492 TXHUBADDR Addressofthehub thathas tobe accessedthroughtheassociatedTransmitEndpoint.Thisis used onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 0493 TXHUBPORT Portofthehub thathas tobe accessedthroughtheassociatedTransmitEndpoint.Thisisused onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 0494 RXFUNCADDR Addressofthetargetfunctionthathas tobe accessedthroughtheassociatedReceive Endpoint. 0x01E0 0496 RXHUBADDR Addressofthehub thathas tobe accessedthroughtheassociatedReceiveEndpoint.Thisis used onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 0497 RXHUBPORT Portofthehub thathas tobe accessedthroughtheassociatedReceiveEndpoint.Thisisused onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. TargetEndpoint 3 ControlRegisters,ValidOnly inHost Mode 0x01E0 0498 TXFUNCADDR Addressofthetargetfunctionthathas tobe accessedthroughtheassociatedTransmit Endpoint. 0x01E0 049A TXHUBADDR Addressofthehub thathas tobe accessedthroughtheassociatedTransmitEndpoint.Thisis used onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 049B TXHUBPORT Portofthehub thathas tobe accessedthroughtheassociatedTransmitEndpoint.Thisisused onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 049C RXFUNCADDR Addressofthetargetfunctionthathas tobe accessedthroughtheassociatedReceive Endpoint. 0x01E0 049E RXHUBADDR Addressofthehub thathas tobe accessedthroughtheassociatedReceiveEndpoint.Thisis used onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 049F RXHUBPORT Portofthehub thathas tobe accessedthroughtheassociatedReceiveEndpoint.Thisisused onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. TargetEndpoint 4 ControlRegisters,ValidOnly inHost Mode 0x01E0 04A0 TXFUNCADDR Addressofthetargetfunctionthathas tobe accessedthroughtheassociatedTransmit Endpoint. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 171 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-83.UniversalSerialBus OTG (USB0) Registers(continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E0 04A2 TXHUBADDR Addressofthehub thathas tobe accessedthroughtheassociatedTransmitEndpoint.Thisis used onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 04A3 TXHUBPORT Portofthehub thathas tobe accessedthroughtheassociatedTransmitEndpoint.Thisisused onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 04A4 RXFUNCADDR Addressofthetargetfunctionthathas tobe accessedthroughtheassociatedReceive Endpoint. 0x01E0 04A6 RXHUBADDR Addressofthehub thathas tobe accessedthroughtheassociatedReceiveEndpoint.Thisis used onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. 0x01E0 04A7 RXHUBPORT Portofthehub thathas tobe accessedthroughtheassociatedReceiveEndpoint.Thisisused onlywhen fullspeed orlowspeed deviceisconnectedviaa USB2.0 high-speedhub. Controland StatusRegisterforEndpoint 0 0x01E0 0502 PERI_CSR0 ControlStatusRegisterforEndpoint0 inPeripheralMode HOST_CSR0 ControlStatusRegisterforEndpoint0 inHostMode 0x01E0 0508 COUNT0 Number ofReceivedBytesinEndpoint0 FIFO 0x01E0 050A HOST_TYPE0 DefinestheSpeed ofEndpoint0 0x01E0 050B HOST_NAKLIMIT0 SetstheNAK Response Timeouton Endpoint0 0x01E0 050F CONFIGDATA Returnsdetailsofcoreconfiguration. Controland StatusRegisterforEndpoint 1 0x01E0 0510 TXMAXP Maximum PacketSizeforPeripheral/HostTransmitEndpoint 0x01E0 0512 PERI_TXCSR ControlStatusRegisterforPeripheralTransmitEndpoint(peripheralmode) HOST_TXCSR ControlStatusRegisterforHostTransmitEndpoint (hostmode) 0x01E0 0514 RXMAXP Maximum PacketSizeforPeripheral/HostReceiveEndpoint 0x01E0 0516 PERI_RXCSR ControlStatusRegisterforPeripheralReceiveEndpoint(peripheralmode) HOST_RXCSR ControlStatusRegisterforHostReceiveEndpoint (hostmode) 0x01E0 0518 RXCOUNT Number ofBytesinHostReceiveendpointFIFO 0x01E0 051A HOST_TXTYPE Setstheoperatingspeed,transactionprotocoland peripheralendpointnumber forthehost Transmitendpoint. 0x01E0 051B HOST_TXINTERVAL SetsthepollingintervalforInterrupt/ISOCtransactionsortheNAK responsetimeouton Bulk transactionsforhostTransmitendpoint. 0x01E0 051C HOST_RXTYPE Setstheoperatingspeed,transactionprotocoland peripheralendpointnumber forthehost Receiveendpoint. 0x01E0 051D HOST_RXINTERVAL SetsthepollingintervalforInterrupt/ISOCtransactionsortheNAK responsetimeouton Bulk transactionsforhostReceiveendpoint. Controland StatusRegisterforEndpoint 2 0x01E0 0520 TXMAXP Maximum PacketSizeforPeripheral/HostTransmitEndpoint 0x01E0 0522 PERI_TXCSR ControlStatusRegisterforPeripheralTransmitEndpoint(peripheralmode) HOST_TXCSR ControlStatusRegisterforHostTransmitEndpoint (hostmode) 0x01E0 0524 RXMAXP Maximum PacketSizeforPeripheral/HostReceiveEndpoint 0x01E0 0526 PERI_RXCSR ControlStatusRegisterforPeripheralReceiveEndpoint(peripheralmode) HOST_RXCSR ControlStatusRegisterforHostReceiveEndpoint (hostmode) 0x01E0 0528 RXCOUNT Number ofBytesinHostReceiveendpointFIFO 0x01E0 052A HOST_TXTYPE Setstheoperatingspeed,transactionprotocoland peripheralendpointnumber forthehost Transmitendpoint. 0x01E0 052B HOST_TXINTERVAL SetsthepollingintervalforInterrupt/ISOCtransactionsortheNAK responsetimeouton Bulk transactionsforhostTransmitendpoint. 0x01E0 052C HOST_RXTYPE Setstheoperatingspeed,transactionprotocoland peripheralendpointnumber forthehost Receiveendpoint.
172 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-83.UniversalSerialBus OTG (USB0) Registers(continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E0 052D HOST_RXINTERVAL SetsthepollingintervalforInterrupt/ISOCtransactionsortheNAK responsetimeouton Bulk transactionsforhostReceiveendpoint. Controland StatusRegisterforEndpoint 3 0x01E0 0530 TXMAXP Maximum PacketSizeforPeripheral/HostTransmitEndpoint 0x01E0 0532 PERI_TXCSR ControlStatusRegisterforPeripheralTransmitEndpoint(peripheralmode) HOST_TXCSR ControlStatusRegisterforHostTransmitEndpoint (hostmode) 0x01E0 0534 RXMAXP Maximum PacketSizeforPeripheral/HostReceiveEndpoint 0x01E0 0536 PERI_RXCSR ControlStatusRegisterforPeripheralReceiveEndpoint(peripheralmode) HOST_RXCSR ControlStatusRegisterforHostReceiveEndpoint (hostmode) 0x01E0 0538 RXCOUNT Number ofBytesinHostReceiveendpointFIFO 0x01E0 053A HOST_TXTYPE Setstheoperatingspeed,transactionprotocoland peripheralendpointnumber forthehost Transmitendpoint. 0x01E0 053B HOST_TXINTERVAL SetsthepollingintervalforInterrupt/ISOCtransactionsortheNAK responsetimeouton Bulk transactionsforhostTransmitendpoint. 0x01E0 053C HOST_RXTYPE Setstheoperatingspeed,transactionprotocoland peripheralendpointnumber forthehost Receiveendpoint. 0x01E0 053D HOST_RXINTERVAL SetsthepollingintervalforInterrupt/ISOCtransactionsortheNAK responsetimeouton Bulk transactionsforhostReceiveendpoint. Controland StatusRegisterforEndpoint 4 0x01E0 0540 TXMAXP Maximum PacketSizeforPeripheral/HostTransmitEndpoint 0x01E0 0542 PERI_TXCSR ControlStatusRegisterforPeripheralTransmitEndpoint(peripheralmode) HOST_TXCSR ControlStatusRegisterforHostTransmitEndpoint (hostmode) 0x01E0 0544 RXMAXP Maximum PacketSizeforPeripheral/HostReceiveEndpoint 0x01E0 0546 PERI_RXCSR ControlStatusRegisterforPeripheralReceiveEndpoint(peripheralmode) HOST_RXCSR ControlStatusRegisterforHostReceiveEndpoint (hostmode) 0x01E0 0548 RXCOUNT Number ofBytesinHostReceiveendpointFIFO 0x01E0 054A HOST_TXTYPE Setstheoperatingspeed,transactionprotocoland peripheralendpointnumber forthehost Transmitendpoint. 0x01E0 054B HOST_TXINTERVAL SetsthepollingintervalforInterrupt/ISOCtransactionsortheNAK responsetimeouton Bulk transactionsforhostTransmitendpoint. 0x01E0 054C HOST_RXTYPE Setstheoperatingspeed,transactionprotocoland peripheralendpointnumber forthehost Receiveendpoint. 0x01E0 054D HOST_RXINTERVAL SetsthepollingintervalforInterrupt/ISOCtransactionsortheNAK responsetimeouton Bulk transactionsforhostReceiveendpoint. DMA Registers 0x01E0 1000 DMAREVID DMA RevisionRegister 0x01E0 1004 TDFDQ DMA Teardown FreeDescriptorQueue ControlRegister 0x01E0 1008 DMAEMU DMA EmulationControlRegister 0x01E0 1800 TXGCR[0] TransmitChannel0 GlobalConfigurationRegister 0x01E0 1808 RXGCR[0] ReceiveChannel0 GlobalConfigurationRegister 0x01E0 180C RXHPCRA[0] ReceiveChannel0 HostPacketConfigurationRegisterA 0x01E0 1810 RXHPCRB[0] ReceiveChannel0 HostPacketConfigurationRegisterB 0x01E0 1820 TXGCR[1] TransmitChannel1 GlobalConfigurationRegister 0x01E0 1828 RXGCR[1] ReceiveChannel1 GlobalConfigurationRegister 0x01E0 182C RXHPCRA[1] ReceiveChannel1 HostPacketConfigurationRegisterA 0x01E0 1830 RXHPCRB[1] ReceiveChannel1 HostPacketConfigurationRegisterB 0x01E0 1840 TXGCR[2] TransmitChannel2 GlobalConfigurationRegister Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 173 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-83.UniversalSerialBus OTG (USB0) Registers(continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E0 1848 RXGCR[2] ReceiveChannel2 GlobalConfigurationRegister 0x01E0 184C RXHPCRA[2] ReceiveChannel2 HostPacketConfigurationRegisterA 0x01E0 1850 RXHPCRB[2] ReceiveChannel2 HostPacketConfigurationRegisterB 0x01E0 1860 TXGCR[3] TransmitChannel3 GlobalConfigurationRegister 0x01E0 1868 RXGCR[3] ReceiveChannel3 GlobalConfigurationRegister 0x01E0 186C RXHPCRA[3] ReceiveChannel3 HostPacketConfigurationRegisterA 0x01E0 1870 RXHPCRB[3] ReceiveChannel3 HostPacketConfigurationRegisterB 0x01E0 2C00 DMA_SCHED_CTRL DMA SchedulerControlRegister 0x01E0 2D00 ENTRY[0] DMA SchedulerTableWord 0 0x01E0 2D04 ENTRY[1] DMA SchedulerTableWord 1 0x01E0 2DFC ENTRY[63] DMA SchedulerTableWord 63 Queue Manager Registers 0x01E0 4000 QMGRREVID Queue Manager RevisionRegister 0x01E0 4008 DIVERSION Queue DiversionRegister 0x01E0 4020 FDBSC0 FreeDescriptor/BufferStarvationCount Register0 0x01E0 4024 FDBSC1 FreeDescriptor/BufferStarvationCount Register1 0x01E0 4028 FDBSC2 FreeDescriptor/BufferStarvationCount Register2 0x01E0 402C FDBSC3 FreeDescriptor/BufferStarvationCount Register3 0x01E0 4080 LRAM0BASE LinkingRAM Region0 Base AddressRegister 0x01E0 4084 LRAM0SIZE LinkingRAM Region0 SizeRegister 0x01E0 4088 LRAM1BASE LinkingRAM Region1 Base AddressRegister 0x01E0 4090 PEND0 Queue PendingRegister0 0x01E0 4094 PEND1 Queue PendingRegister1 0x01E0 5000 QMEMRBASE[0] Memory Region0 Base AddressRegister 0x01E0 5004 QMEMRCTRL[0] Memory Region0 ControlRegister 0x01E0 5010 QMEMRBASE[1] Memory Region1 Base AddressRegister 0x01E0 5014 QMEMRCTRL[1] Memory Region1 ControlRegister 0x01E0 5070 QMEMRBASE[7] Memory Region7 Base AddressRegister 0x01E0 5074 QMEMRCTRL[7] Memory Region7 ControlRegister 0x01E0 600C CTRLD[0] Queue Manager Queue 0 ControlRegisterD 0x01E0 601C CTRLD[1] Queue Manager Queue 1 ControlRegisterD 0x01E0 63FC CTRLD[63] Queue Manager Queue 63 StatusRegisterD 0x01E0 6800 QSTATA[0] Queue Manager Queue 0 StatusRegisterA 0x01E0 6804 QSTATB[0] Queue Manager Queue 0 StatusRegisterB 0x01E0 6808 QSTATC[0] Queue Manager Queue 0 StatusRegisterC 0x01E0 6810 QSTATA[1] Queue Manager Queue 1 StatusRegisterA 0x01E0 6814 QSTATB[1] Queue Manager Queue 1 StatusRegisterB 0x01E0 6818 QSTATC[1] Queue Manager Queue 1 StatusRegisterC 0x01E0 6BF0 QSTATA[63] Queue Manager Queue 63 StatusRegisterA 0x01E0 6BF4 QSTATB[63] Queue Manager Queue 63 StatusRegisterB 0x01E0 6BF8 QSTATC[63] Queue Manager Queue 63 StatusRegisterC
174 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION tr tf VCRS 90% VOH 10% VOL USB_DM USB_DP tper − tjr AM1806 www.ti.com SPRS658 –FEBRUARY 2010 6.19.1 USB0 [USB2.0]ElectricalData/Timing Table6-84.SwitchingCharacteristicsOver Recommended OperatingConditionsforUSB0 [USB2.0](see Figure6-43) LOW SPEED FULL SPEED HIGH SPEEDNO. PARAMETER UNIT1.5Mbps 12 Mbps 480 Mbps MIN MAX MIN MAX MIN MAX 1 tr(D) Risetime,USB_DP and USB_DM signals(1) 75 300 4 20 0.5 ns 2 tf(D) Falltime,USB_DP and USB_DM signals(1) 75 300 4 20 0.5 ns 3 trfM Rise/Falltime,matching(2) 80 120 90 111 – – % 4 VCRS Outputsignalcross-overvoltage(1) 1.3 2 1.3 2 – – V 5 tjr(source)NT Source(Host)Driverjitter,nexttransition 2 2 (3)ns tjr(FUNC)NT FunctionDriverjitter,nexttransition 25 2 (3) ns 6 tjr(source)PT Source(Host)Driverjitter,pairedtransition(4) 1 1 (3) ns tjr(FUNC)PT FunctionDriverjitter,pairedtransition 10 1 (3) ns 7 tw(EOPT) Pulseduration,EOP transmitter 1250 1500 160 175 – – ns 8 tw(EOPR) Pulseduration,EOP receiver 670 82 – ns 9 t(DRATE) Data Rate 1.5 12 480 Mb/s 10 ZDRV DriverOutputResistance – – 40.5 49.5 40.5 49.5 Ω
11 ZINP ReceiverInputImpedance 100k 100k - - Ω
(1) Low Speed:C L = 200 pF,FullSpeed:C L = 50 pF,HighSpeed:C L = 50 pF (2) tRFM = (tr/tf)x 100.[ExcludingthefirsttransactionfromtheIdlestate.] (3) Formore detailedinformation,see theUniversalSerialBus SpecificationRevision2.0,Chapter7.Electrical. (4) tjr= tpx(1)-tpx(0) Figure6-43.USB2.0 IntegratedTransceiverInterfaceTiming Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 175 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.20 LCD Controller(LCDC)
The LCD controllerconsistsoftwo independentcontrollers,theRasterControllerand theLCD Interface DisplayDriver(LIDD)controller.Each controlleroperatesindependentlyfrom the otherand onlyone of them isactiveatany giventime.
- The RasterControllerhandlesthesynchronousLCD interface.Itprovidestimingand dataforconstant graphicsrefreshtoa passivedisplay.Itsupportsa wide varietyofmonochrome and full-colordisplay typesand sizesby use ofprogrammabletimingcontrols,a built-inpalette,and a gray-scale/serializer. Graphicsdataisprocessedand storedinframebuffers.A framebufferisa contiguousmemory block inthesystem.A built-inDMA enginesuppliesthegraphicsdatatotheRasterenginewhich,inturn, outputstotheexternalLCD device.
- The LIDD ControllersupportstheasynchronousLCD interface.Itprovidesfull-timingprogrammability ofcontrolsignals(CS,WE, OE, ALE) and outputdata. Table6-85liststheLCD Controllerregisters. Table6-85.LCD ControllerRegisters BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E1 3000 REVID LCD RevisionIdentificationRegister 0x01E1 3004 LCD_CTRL LCD ControlRegister 0x01E1 3008 LCD_STAT LCD StatusRegister 0x01E1 300C LIDD_CTRL LCD LIDD ControlRegister 0x01E1 3010 LIDD_CS0_CONF LCD LIDD CS0 ConfigurationRegister 0x01E1 3014 LIDD_CS0_ADDR LCD LIDD CS0 AddressRead/WriteRegister 0x01E1 3018 LIDD_CS0_DATA LCD LIDD CS0 Data Read/WriteRegister 0x01E1 301C LIDD_CS1_CONF LCD LIDD CS1 ConfigurationRegister 0x01E1 3020 LIDD_CS1_ADDR LCD LIDD CS1 AddressRead/WriteRegister 0x01E1 3024 LIDD_CS1_DATA LCD LIDD CS1 Data Read/WriteRegister 0x01E1 3028 RASTER_CTRL LCD RasterControlRegister 0x01E1 302C RASTER_TIMING_0 LCD RasterTiming0 Register 0x01E1 3030 RASTER_TIMING_1 LCD RasterTiming1 Register 0x01E1 3034 RASTER_TIMING_2 LCD RasterTiming2 Register 0x01E1 3038 RASTER_SUBPANEL LCD RasterSubpanelDisplayRegister 0x01E1 3040 LCDDMA_CTRL LCD DMA ControlRegister 0x01E1 3044 LCDDMA_FB0_BASE LCD DMA Frame Buffer0 Base AddressRegister 0x01E1 3048 LCDDMA_FB0_CEILING LCD DMA Frame Buffer0 CeilingAddressRegister 0x01E1 304C LCDDMA_FB1_BASE LCD DMA Frame Buffer1 Base AddressRegister 0x01E1 3050 LCDDMA_FB1_CEILING LCD DMA Frame Buffer1 CeilingAddressRegister
176 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION LCD_AC_ENB_CS LCD_PCLK
1 W_SU
(0 to 31) W_STROBE (1 to 63) W_HOLD (1 to 15) CS_DELAY (0 to 3) R_SU (0 to 31) R_STROBE (1 to 63) R_HOLD (1 to 15) CS_DELAY (0 to 3) LCD_CLK (SYSCLK2) Write Data 5 14 Data[7:0] Not Used 8 9 10 11 RS R/W LCD_D[15:0] LCD_VSYNC LCD_HSYNC Read Status AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.20.1 LCD InterfaceDisplayDriver(LIDD Mode)
Table6-86.Timing Requirements forLCD LIDD Mode (1) MIN MAX MIN MAX 16 tsu(LCD_D) Setuptime,LCD_D[15:0]validbeforeLCD_CLK (SYSCLK2) high 7 8 ns 17 th(LCD_D) Holdtime,LCD_D[15:0]validafterLCD_CLK (SYSCLK2) high 0 0 ns (1) Over operatingfree-airtemperaturerange(unlessotherwisenoted) Table6-87.SwitchingCharacteristicsOver Recommended OperatingConditionsforLCD LIDD Mode MIN MAX MIN MAX 4 td(LCD_D_V) Delaytime,LCD_CLK (SYSCLK2) hightoLCD_D[15:0]valid(write) 0 7 0 9 ns 5 td(LCD_D_I) Delaytime,LCD_CLK (SYSCLK2) hightoLCD_D[15:0]invalid(write) 0 7 0 9 ns 6 td(LCD_E_A ) Delaytime,LCD_CLK (SYSCLK2) hightoLCD_AC_ENB_CS low 0 7 0 9 ns 7 td(LCD_E_I) Delaytime,LCD_CLK (SYSCLK2) hightoLCD_AC_ENB_CS high 0 7 0 9 ns 8 td(LCD_A_A) Delaytime,LCD_CLK (SYSCLK2) hightoLCD_VSYNC low 0 7 0 9 ns 9 td(LCD_A_I) Delaytime,LCD_CLK (SYSCLK2) hightoLCD_VSYNC high 0 7 0 9 ns 10 td(LCD_W_A) Delaytime,LCD_CLK (SYSCLK2) hightoLCD_HSYNC low 0 7 0 9 ns 11 td(LCD_W_I) Delaytime,LCD_CLK (SYSCLK2) hightoLCD_HSYNC high 0 7 0 9 ns 12 td(LCD_STRB_A) Delaytime,LCD_CLK (SYSCLK2) hightoLCD_PCLK high 0 7 0 9 ns 13 td(LCD_STRB_I) Delaytime,LCD_CLK (SYSCLK2) hightoLCD_PCLK low 0 7 0 9 ns 14 td(LCD_D_Z) Delaytime,LCD_CLK (SYSCLK2) hightoLCD_D[15:0]in3-state 0 7 0 9 ns 15 td(Z_LCD_D) Delaytime,LCD_CLK (SYSCLK2) hightoLCD_D15:0 0 7 0 9 ns Figure6-44.CharacterDisplayHD44780 Write Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 177 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION LCD_AC_ENB_CS LCD_PCLK LCD_VSYNC LCD_HSYNC R_SU R_STROBE R_HOLD (0–31) (1–63) (1–5) CS_DELA Y (0−3) Not Used RS R/W LCD_CLK (SYSCLK2) 2 3 W_SU W_STROBE W_HOLD (0–31) (1–63) (1–15) CS_DELA Y (0 − 3) 8 9 12 13 10 11 Not Used LCD_D[7:0] 14 1716 Read Data 15 4 5 12 13 Data[7:0]W rite Instruction AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-45.CharacterDisplayHD44780 Read
178 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION LCD_D[15:0] LCD_AC_ENB_CS (async mode) LCD_VSYNC LCD_HSYNC LCD_CLK (SYSCLK2) LCD_PCLK W_SU W_STROBE W_HOLD (0−31) (1−63) (1−15) CS_DELA Y (0−3) CS0 CS1 R/W E Clock 2 3 W_SU W_STROBE W_HOLD (0−31) (1−63) (1−15) CS_DELA Y (0−3) 5 4 5 6 7 6 7 8 9 12 13 W rite Address W rite Data 12 13 10 11 10 11 Data[15:0] AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-46.Micro-InterfaceGraphic Display6800 Write Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 179 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION LCD_D[15:0] LCD_AC_ENB_CS (async mode) LCD_VSYNC LCD_HSYNC LCD_CLK (SYSCLK2) LCD_PCLK W_SU W_STROBE W_HOLD (0−31) (1−63) (1−15) CS_DELA Y (0−3) CS0 CS1 R/W E Clock 2 3 R_SU R_STROBE R_HOLD (0−31) (1−63 (1−15) CS_DELA Y (0−3) 5 14 15 6 7 6 7 8 9 12 13 1716 W rite Address Read Data 10 11 1213 Data[15:0] AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-47.Micro-InterfaceGraphic Display6800 Read
180 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION Read Data LCD_D[15:0] LCD_AC_ENB_CS (async mode) LCD_VSYNC LCD_HSYNC LCD_CLK (SYSCLK2) LCD_PCLK R_SU R_STROBE R_HOLD (0−31) (1−63) (1−15) CS_DELA Y (0−3) CS0 CS1 R/W E Clock 2 3 R_STROBE R_HOLD (1−63) (1−15) CS_DELA Y (0−3) 14 15 6 7 6 7 8 9 12 13 171614 1716 15 12 13 Data[15:0] R_SU (0−31) Read Status AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-48.Micro-InterfaceGraphic Display6800 Status Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 181 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION LCD_D[15:0] LCD_AC_ENB_CS (async mode) LCD_VSYNC LCD_HSYNC LCD_CLK (SYSCLK2) LCD_PCLK W_SU W_STROBE W_HOLD (0−31) (1−63) (1−15) CS_DELA Y (0−3) DATA[15:0] CS0 CS1 WR RD Clock 2 3 W_SU W_STROBE W_HOLD (0−31) (1−63) (1−15) CS_DELA Y (0 − 3) 5 4 5 6 7 6 7 8 9 10 11 W rite Address W rite Data 10 11 AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-49.Micro-InterfaceGraphic Display8080 Write
182 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION LCD_D[15:0] LCD_AC_ENB_CS (async mode) LCD_VSYNC LCD_HSYNC LCD_CLK (SYSCLK2) LCD_PCLK W_SU W_STROBE W_HOLD (0−31) (1−63) (1−15) CS_DELA Y (0−3) CS0 CS1 WR RD Clock 2 3 R_SU R_STROBE R_HOLD (0−31) (1−63) (1−15) CS_DELA Y (0−3) 5 14 15 6 7 6 7 8 9 12 13 1716 Read Data 10 11 Data[15:0]W rite Address AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-50.Micro-InterfaceGraphic Display8080 Read Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 183 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION LCD_D[15:0] LCD_AC_ENB_CS LCD_VSYNC LCD_HSYNC LCD_CLK (SYSCLK2) LCD_PCLK R_SU R_STROBE R_HOLD (0−31) (1−63) (1−15) CS_DELA Y (0−3) CS0 CS1 WR RD Clock R_STROBE R_HOLD (1−63) (1−15) CS_DELA Y (0−3) 14 15 6 7 6 12 13 1716 Read Status 14 1716 Read Data 12 13 Data[15:0] R_SU (0−31) AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-51.Micro-InterfaceGraphic Display8080 Status
184 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.20.2 LCD RasterMode
Table6-88.SwitchingCharacteristicsOver Recommended OperatingConditionsforLCD RasterMode See Figure6-52throughFigure6-56 MIN MAX MIN MAX fclock(PIXEL_CLK) Clockfrequency,pixelclock F/2(1) F/2(1) MHz 1 tc(PIXEL_CLK) Cycletime,pixelclock 26.66 33.33 ns 2 tw(PIXEL_CLK_H) Pulseduration,pixelclockhigh 10 10 ns 3 tw(PIXEL_CLK_L) Pulseduration,pixelclocklow 10 10 ns 4 td(LCD_D_V) Delaytime,LCD_PCLK hightoLCD_D[15:0]valid(write) 0 7 0 9 ns 5 td(LCD_D_IV) Delaytime,LCD_PCLK hightoLCD_D[15:0]invalid(write) 0 7 0 9 ns 6 td(LCD_AC_ENB_CS_A ) Delaytime,LCD_PCLK lowtoLCD_AC_ENB_CS high 0 7 0 9 ns 7 td(LCD_AC_ENB_CS_I) Delaytime,LCD_PCLK lowtoLCD_AC_ENB_CS high 0 7 0 9 ns 8 td(LCD_VSYNC_A) Delaytime,LCD_PCLK lowtoLCD_VSYNC high 0 7 0 9 ns 9 td(LCD_VSYNC_I) Delaytime,LCD_PCLK lowtoLCD_VSYNC low 0 7 0 9 ns 10 td(LCD_HSYNC_A) Delaytime,LCD_PCLK hightoLCD_HSYNC high 0 7 0 9 ns 11 td(LCD_HSYNC_I) Delaytime,LCD_PCLK hightoLCD_HSYNC low 0 7 0 9 ns (1) F = frequencyofLCD_PCLK inns Frame-to-frametimingis derivedthroughthe followingparametersin the LCD (RASTER_TIMING_1) register:
- Verticalfrontporch(VFP)
- Verticalsyncpulsewidth(VSW)
- Verticalback porch(VBP)
- Linesperpanel(LPP) Line-to-linetimingisderivedthroughthefollowingparametersintheLCD (RASTER_TIMING_0) register:
- Horizontalfrontporch(HFP)
- Horizontalsyncpulsewidth(HSW)
- Horizontalback porch(HBP)
- Pixelsperpanel(PPL) LCD_AC_ENB_CS timingisderivedthroughthe followingparameterinthe LCD (RASTER_TIMING_2) register:
- AC biasfrequency(ACB) The displayformatproducedinrastermode isshown inFigure6-52.An entireframeisdeliveredone line at a time.The firstlinedeliveredstartsat data pixel(1,1) and ends at data pixel(P,1).The lastline deliveredstartsat data pixel(1,L) and ends at data pixel(P,L).The beginningof each new frame is denotedby theactivationofI/OsignalLCD_VSYNC. The beginningofeach new lineisdenotedby the activationofI/OsignalLCD_HSYNC. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 185 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION LCD 1, 1 2, 1 3, 1 1, 2 2, 2 1, 3 P, 1P−1, P−2, P, 2P−1, P, 3 1, L L−1 L−2 3, L2, L L−1 P, L P−1, L−1 L−1 P−1, L L−2 P−2, L Data Pixels (From 1 to P) Data Lines (From 1 to L) AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-52.LCD Raster-Mode DisplayFormat
186 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION CLK LCD_HSYNC Hsync LCD_VSYNC (1 to 64) VSW (1 to 64) VSW (0 to 255) VFP (1 to 1024) Frame Time ~ 70Hz LPP (0 to 255) LCD_D[15:0] 1, 1 P, 1 1, 2 P, 2 1, L P, L 1, L−1 P, L−1 Line Time LCD_HSYNC Hsync 10 11 LCD_PCLK PLL 16 /C0121 (1 to 1024) HBP (1 to 256) Line 1 (1 to 256) HFP (1 to 64) HSW PLL 16 /C0121 (1 to 1024) Line 2 Vsync Data Data Active TFT ACB (0 to 255) LCD_AC_ENB_CS Enable ACB (0 to 255) VBP AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-53.LCD Raster-Mode Active Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 187 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION LCD_HSYNC LP LCD_VSYNC VSW = 1 (1 to 1024) Frame Time ~ 70Hz LPP LCD_D[7:0] 1, L−2 P, L−2 1, L−4 P, L−4 Line Time LCD_HSYNC LP 10 11 LCD_PCLK PPL 16 /C0121 (1 to 1024) HBP (1 to 256) Line 5 HFP (1 to 64) HSW PPL 16 /C0121 (1 to 2024) Line 6 1, 1: P, 1 1, 5: P, 5 1, L−1 P, L−1 1, L 1, L−1 P, L−1 1, L−3 P, L−3 (1 to 64) VSW = 1 (1 to 64) VFP = 0 VBP = 0 VFP = 0 VBP = 0 FP Data CP Data Passive STN LCD_AC_ENB_CS M ACB (0 to 255) ACB (0 to 255) 1, 4: P, 4 1, 3: P, 3 1, 2: P, 2 1, L: P, L 1, 6: P, 6 1, 2 P, 2 1, 1 P, 1 1, L P, L (1 to 256) AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-54.LCD Raster-Mode Passive
188 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION LCD_HSYNC LCD_PCLK (active mode) LCD_D[15:0] (active mode) 1,□L P,□L2,□L PPL 16 ×(1□to□1024) HBP (1□to□256 Line□L (1□to□256) HFP (1□to□64) HSW PPL 16 ×(1□to□1024) Line□1□(Passive□Only) LCD_VSYNC LCD_PCLK (passive mode) LCD_AC_ENB_CS LCD_D[7:0] (passive mode) 1,□L 2,□1 P,□1P,□L2,□L 1,□1 10 11 2 3 2 3 VSW = 1 VFP =□0 VBP =□0 AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-55.LCD Raster-Mode ControlSignalActivation Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 189 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION LCD_HSYNC LCD_PCLK (active mode) LCD_D[15:0] (active mode) PPL 16 ×(1□to□1024) HBP (1□to□256 Line□1□for□passive (1□to□256) HFP (1□to□64) HSW PPL 16 ×(1□to□1024) Line□1□for□active LCD_VSYNC LCD_PCLK (passive mode) LCD_AC_ENB_CS LCD_D[7:0] (passive mode) 1,□1 2,□2 P,□2P,□12,□1 1,□2 10 11 4 5 2 3 VSW = 1 VFP =□0 VBP =□0 P,□11,□1 2,□1 4 5 Line□2□for□passive AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-56.LCD Raster-Mode ControlSignalDeactivation
190 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.21 Host-PortInterface(UHPI)
6.21.1 HPI Device-SpecificInformation
The deviceincludesa user-configurable16-bitHost-portinterface(HPI16). The hostportinterface(UHPI)providesa parallelportinterfacethroughwhichan externalhostprocessor can directlyaccess the processor'sresources(configurationand program/datamemories).The external hostdeviceisasynchronoustotheCPU clockand functionsas a mastertotheHPI interface.The UHPI enables a host deviceand the processorto exchange informationvia internalor externalmemory. Dedicatedaddress(HPIA)and data(HPID)registerswithintheUHPI providethedatapathbetween the externalhostinterfaceand the processorresources.A UHPI controlregister(HPIC) isavailableto the hostand theCPU forvariousconfigurationand interruptfunctions.
6.21.2 HPI PeripheralRegisterDescription(s)
Table6-89.HPI ControlRegisters BYTE ADDRESS ACRONYM REGISTER DESCRIPTION COMMENTS 0x01E1 0000 PID PeripheralIdentificationRegister The CPU has read/writeaccess0x01E1 0004 PWREMU_MGMT HPI power and emulationmanagement register tothePWREMU_MGMT register. 0x01E1 0008 - Reserved 0x01E1 000C GPIO_EN GeneralPurposeIO EnableRegister 0x01E1 0010 GPIO_DIR1 GeneralPurposeIO DirectionRegister1 0x01E1 0014 GPIO_DAT1 GeneralPurposeIO Data Register1 0x01E1 0018 GPIO_DIR2 GeneralPurposeIO DirectionRegister2 0x01E1 001C GPIO_DAT2 GeneralPurposeIO Data Register2 0x01E1 0020 GPIO_DIR3 GeneralPurposeIO DirectionRegister3 0x01E1 0024 GPIO_DAT3 GeneralPurposeIO Data Register3 01E1 0028 - Reserved 01E1 002C - Reserved The Hostand theCPU bothhave 01E1 0030 HPIC HPI controlregister read/writeaccesstotheHPIC register. HPIA HPI addressregister The Hosthas read/writeaccess01E1 0034 (HPIAW) (1) (Write) totheHPIA registers.The CPU has onlyreadaccesstotheHPIAHPIA HPI addressregister01E1 0038 registers.(HPIAR)(1) (Read) 01E1 000C -01E1 07FF - Reserved (1) Therearetwo 32-bitHPIA registers:HPIAR forreadoperationsand HPIAW forwriteoperations.The HPI can be configuredsuch that HPIAR and HPIAW actas a single32-bitHPIA (single-HPIAmode) oras two separate32-bitHPIAs (dual-HPIAmode) fromthe perspectiveoftheHost.The CPU can accessHPIAW and HPIAR independently. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 191 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.21.3 HPI ElectricalData/Timing
Table6-90.Timing Requirements forHost-PortInterface1.3V,1.2V,1.1V(2) NO. UNIT MIN MAX 1 tsu(SELV-HSTBL) Setuptime,selectsignals(3)validbeforeUHPI_HSTROBE low 5 ns 2 th(HSTBL-SELV) Holdtime,selectsignals(3)validafterUHPI_HSTROBE low 2 ns 3 tw(HSTBL) Pulseduration,UHPI_HSTROBE activelow 15 ns 4 tw(HSTBH) Pulseduration,UHPI_HSTROBE inactivehighbetween consecutiveaccesses 2M ns 9 tsu(SELV-HASL) Setuptime,selectssignalsvalidbeforeUHPI_HAS low 5 10 th(HASL-SELV) Holdtime,selectsignalsvalidafterUHPI_HAS low 2 11 tsu(HDV-HSTBH) Setuptime,hostdatavalidbeforeUHPI_HSTROBE high 5 ns 12 th(HSTBH-HDV) Holdtime,hostdatavalidafterUHPI_HSTROBE high 2 ns Holdtime,UHPI_HSTROBE highafterUHPI_HRDY low.UHPI_HSTROBE 13 th(HRDYL-HSTBH) shouldnotbe inactivateduntilUHPI_HRDY isactive(low);otherwise,HPI writes 2 ns willnotcompleteproperly. 16 tsu(HASL-HSTBL) Setuptime,UHPI_HAS lowbeforeUHPI_HSTROBE low 5 17 th(HSTBL-HASH) Holdtime,UHPI_HAS lowafterUHPI_HSTROBE low 2 (1) UHPI_HSTROBE referstothefollowinglogicaloperationon UHPI_HCS, UHPI_HDS1, and UHPI_HDS2: [NOT(UHPI_HDS1 XOR UHPI_HDS2)] OR UHPI_HCS. (2) M=SYSCLK2 periodinns. (3) Selectsignalsinclude:HCNTL[1:0],HR/W and HHWIL.
192 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-91.SwitchingCharacteristicsOver Recommended OperatingConditionsforHost-PortInterface 1.3V,1.2V 1.1V NO. PARAMETER UNIT MIN MAX MIN MAX ForHPI Write,HRDY can go high(not ready)fortheseHPI Writeconditions; otherwise,HRDY stayslow(ready): Case 1:Back-to-backHPIA writes(can be eitherfirstorsecond half-word) Case 2:HPIA writefollowinga PREFETCH command (canbe either firstorsecond half-word) Case 3:HPID writewhen FIFO isfullor flushing(canbe eitherfirstorsecond half-word) Case 4:HPIA writeand WriteFIFO not empty ForHPI Read, HRDY can go high(not ready)fortheseHPI Read conditions: Case 1:HPID read(withDelaytime,HSTROBE lowto5 td(HSTBL-HRDYV) 15 17 nsauto-increment)and datanotinReadHRDY valid FIFO (canonlyhappen tofirsthalf-word ofHPID access) Case 2:Firsthalf-wordaccessofHPID Read withoutauto-increment ForHPI Read, HRDY stayslow(ready) fortheseHPI Read conditions: Case 1:HPID readwithauto-increment and dataisalreadyinRead FIFO (appliestoeitherhalf-wordofHPID access) Case 2:HPID readwithout auto-incrementand dataisalreadyin Read FIFO (alwaysappliestosecond half-wordofHPID access) Case 3:HPIC orHPIA read(appliesto eitherhalf-wordaccess) 5a td(HASL-HRDYV) Delaytime,HAS lowtoHRDY valid 15 17 6 ten(HSTBL-HDLZ) Enabletime,HD drivenfromHSTROBE low 1.5 1.5 ns 7 td(HRDYL-HDV) Delaytime,HRDY lowtoHD valid 0 0 ns 8 toh(HSTBH-HDV) Outputholdtime,HD validafterHSTROBE high 1.5 1.5 ns 14 tdis(HSTBH-HDHZ) Disabletime,HD high-impedancefromHSTROBE high 15 17 ns ForHPI Read. Appliestoconditions where dataisalreadyresidingin HPID/FIFO: Case 1:HPIC orHPIA readDelaytime,HSTROBE lowto15 td(HSTBL-HDV) Case 2:Firsthalf-wordofHPID read 15 17 nsHD valid withauto-incrementand dataisalready inRead FIFO Case 3:Second half-wordofHPID read withorwithoutauto-increment ForHPI Write,HRDY can go high(not ready)fortheseHPI Writeconditions; otherwise,HRDY stayslow(ready): Case 1:HPID writewhen WriteFIFO is Delaytime,HSTROBE highto full(canhappen toeitherhalf-word)18 td(HSTBH-HRDYV) 15 17 nsHRDY valid Case 2:HPIA write(canhappen to eitherhalf-word) Case 3:HPID writewithout auto-increment(onlyhappens to second half-word) (1) M=SYSCLK2 periodinns. (2) HSTROBE referstothefollowinglogicaloperationon HCS, HDS1, and HDS2: [NOT(HDS1 XOR HDS2)] OR HCS. (3) By design,whenever HCS isdriveninactive(high),HPI willdriveHRDY active(low). Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 193 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-92.SwitchingCharacteristicsOver Recommended OperatingConditionsforHost-PortInterface 1.0V(2)(3) 1.0V NO. PARAMETER UNIT MIN MAX ForHPI Write,HRDY can go high(notready)for theseHPI Writeconditions;otherwise,HRDY stayslow(ready): Case 1:Back-to-backHPIA writes(canbe either firstorsecond half-word) Case 2:HPIA writefollowinga PREFETCH command (canbe eitherfirstorsecond half-word) Case 3:HPID writewhen FIFO isfullorflushing (canbe eitherfirstorsecond half-word) Case 4:HPIA writeand WriteFIFO notempty ForHPI Read, HRDY can go high(notready)for theseHPI Read conditions:Delaytime,HSTROBE lowtoHRDY Case 1:HPID read(withauto-increment)and5 td(HSTBL-HRDYV) 22 nsvalid datanotinRead FIFO (canonlyhappen tofirst half-wordofHPID access) Case 2:Firsthalf-wordaccessofHPID Read withoutauto-increment ForHPI Read, HRDY stayslow(ready)forthese HPI Read conditions: Case 1:HPID readwithauto-incrementand data isalreadyinRead FIFO (appliestoeither half-wordofHPID access) Case 2:HPID readwithoutauto-incrementand dataisalreadyinRead FIFO (alwaysappliesto second half-wordofHPID access) Case 3:HPIC orHPIA read(appliestoeither half-wordaccess) 5a td(HASL-HRDYV) Delaytime,HAS lowtoHRDY valid 22 6 ten(HSTBL-HDLZ) Enabletime,HD drivenfromHSTROBE low 1.5 ns 7 td(HRDYL-HDV) Delaytime,HRDY lowtoHD valid 0 ns 8 toh(HSTBH-HDV) Outputholdtime,HD validafterHSTROBE high 1.5 ns 14 tdis(HSTBH-HDHZ) Disabletime,HD high-impedancefromHSTROBE high 22 ns ForHPI Read. Appliestoconditionswhere data isalreadyresidinginHPID/FIFO: Case 1:HPIC orHPIA read Delaytime,HSTROBE lowtoHD Case 2:Firsthalf-wordofHPID readwith15 td(HSTBL-HDV) 22 nsvalid auto-incrementand dataisalreadyinRead FIFO Case 3:Second half-wordofHPID readwithor withoutauto-increment ForHPI Write,HRDY can go high(notready)for theseHPI Writeconditions;otherwise,HRDY stayslow(ready): Case 1:HPID writewhen WriteFIFO isfull(canDelaytime,HSTROBE hightoHRDY18 td(HSTBH-HRDYV) happen toeitherhalf-word) 22 nsvalid Case 2:HPIA write(canhappen toeither half-word) Case 3:HPID writewithoutauto-increment(only happens tosecond half-word) (1) M=SYSCLK2 periodinns. (2) HSTROBE referstothefollowinglogicaloperationon HCS, HDS1, and HDS2: [NOT(HDS1 XOR HDS2)] OR HCS. (3) By design,whenever HCS isdriveninactive(high),HPI willdriveHRDY active(low).
194 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION UHPI_HCS UHPI_HAS (D) UHPI_HCNTL[1:0] UHPI_HR/W UHPI_HHWIL UHPI_HSTROBE (A)(C) UHPI_HD[15:0] (output) UHPI_HRDY (B) 1st Half-Word 2nd Half-Word A. UHPI_HSTROBE refers to the following logical operation on UHPI_HCS, UHPI_HDS1, and UHPI_HDS2: [NOT(HDS1 XOR HDS2)] OR UHPI_HCS. B. Depending on the type of write or read operation (HPID without auto-incrementing; HPIA, HPIC, or HPID with auto-incrementing) and the state of the FIFO, transitions on UHPI_HRDY may or may not occur. C. UHPI_HCS reflects typical UHPI_HCS behavior when UHPI_HSTROBE assertion is caused by UHPI_HDS1 or UHPI_HDS2 . UHPI_HCS timing requirements are reflected by parameters for UHPI_HSTROBE. D The diagram above assumes UHPI_HAS has been pulled high. AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-57.UHPI Read Timing (HAS Not Used, TiedHigh) Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 195 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION UHPI_HAS (A) UHPI_HCNTL[1:0] UHPI_HR/W UHPI_HHWIL UHPI_HSTROBE (B) UHPI_HCS UHPI_HD[15:0] (output) UHPI_HRDY 1st half-word 2nd half-word75a 815 10910 9 17 17 1616 AM1806 SPRS658 –FEBRUARY 2010 www.ti.com A. Forcorrectoperation,strobetheUHPI_HAS signalonlyonce perUHPI_HSTROBE activecycle. B. UHPI_HSTROBE refersto the followinglogicaloperationon UHPI_HCS, UHPI_HDS1, and UHPI_HDS2: [NOT(UHPI_HDS1 XOR UHPI_HDS2)] OR UHPI_HCS. Figure6-58.UHPI Read Timing (HAS Used)
196 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION UHPI_HAS (D) UHPI_HCNTL[1:0] UHPI_HR/W UHPI_HHWIL UHPI_HSTROBE (A)(C) UHPI_HCS UHPI_HD[15:0] (input) UHPI_HRDY (B) 2 1 21 1 2 1 2 3 4 3 11 12 1813 185 11 12 2nd Half-Word1st Half-Word A. UHPI_HSTROBE refers to the following logical operation on UHPI_HCS, UHPI_HDS1, and UHPI_HDS2: [NOT(HDS1 XOR HDS2 )] OR UHPI_HCS . B. Depending on the type of write or read operation (HPID without auto-incrementing; HPIA, HPIC, or HPID with auto-incrementing) and the state of the FIFO, transitions on UHPI_HRDY may or may not occur. C. UHPI_HCS reflects typical UHPI_HCS behavior when UHPI_HSTROBE assertion is caused by UHPI_HDS1 or UHPI_HDS2. UHPI_HCS timing requirements are reflected by parameters for UHPI_HSTROBE. D The diagram above assumes UHPI_HAS has been pulled high. AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-59.UHPI WriteTiming (HAS Not Used, TiedHigh) Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 197 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION 1st half-word 2nd half-word 12111211 UHPI_HAS † UHPI_HCNTL[1:0] UHPI_HR/W UHPI_HHWIL UHPI_HSTROBE ‡ UHPI_HCS UHPI_HD[15:0] (input) UHPI_HRDY 1717 16 16 AM1806 SPRS658 –FEBRUARY 2010 www.ti.com A. Forcorrectoperation,strobetheUHPI_HAS signalonlyonce perUHPI_HSTROBE activecycle. B. UHPI_HSTROBE refersto the followinglogicaloperationon UHPI_HCS, UHPI_HDS1, and UHPI_HDS2: [NOT(UHPI_HDS1 XOR UHPI_HDS2)] OR UHPI_HCS. Figure6-60.UHPI WriteTiming (HAS Used)
198 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.22 UniversalParallelPort(uPP)
The UniversalParallelPort(uPP)peripheralisa multichannel,high-speedparallelinterfacewithdedicated datalinesand minimalcontrolsignals.Itisdesignedtointerfacecleanlywithhigh-speedanalog-to-digital converters(ADCs) ordigital-to-analogconverters(DACs) withup to16-bitdatawidth(perchannel).Itmay alsobe interconnectedwithfield-programmablegate arrays(FPGAs) or otheruPP devicesto achieve high-speeddigitaldatatransfer.Itcan operateinreceivemode, transmitmode, orduplexmode, inwhich itsindividualchannelsoperateinoppositedirections. The uPP peripheralincludesan internalDMA controllerto maximize throughputand minimizeCPU overheadduringhigh-speeddatatransmission.AlluPP transactionsuse theinternalDMA toprovidedata toorretrievedatafromtheI/Ochannels.The DMA controllerincludestwo DMA channels,whichtypically serviceseparateI/Ochannels.The uPP peripheralalsosupportsdatainterleavemode, inwhichallDMA resourcesservicea singleI/Ochannel.Inthismode, onlyone I/Ochannelmay be used. The featuresoftheuPP include:
- Programmable datawidthperchannel(from8 to16 bitsinclusive)
- Programmable datajustification – Right-justifywithzeroextend – Right-justifywithsignextend – Left-justifywithzerofill
- SupportsmultiplexingofinterleaveddataduringSDR transmit
- OptionalframeSTART signalwithprogrammablepolarity
- OptionaldataENABLE signalwithprogrammablepolarity
- OptionalsynchronizationWAIT signalwithprogrammablepolarity
- SingleData Rate (SDR) orDoubledataRate (DDR, interleaved)interface – SupportsmultiplexingofinterleaveddataduringSDR transmit – Supportsdemultiplexingand multiplexingofinterleaveddataduringDDR transfers Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 199 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com 6.22.1 uPP RegisterDescriptions Table6-93shows theuPP registers. Table6-93.UniversalParallelPort(uPP)Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E1 6000 UPPID uPP PeripheralIdentificationRegister 0x01E1 6004 UPPCR uPP PeripheralControlRegister 0x01E1 6008 UPDLB uPP DigitalLoopback Register 0x01E1 6010 UPCTL uPP ChannelControlRegister 0x01E1 6014 UPICR uPP InterfaceConfigurationRegister 0x01E1 6018 UPIVR uPP InterfaceIdleValueRegister 0x01E1 601C UPTCR uPP ThresholdConfigurationRegister 0x01E1 6020 UPISR uPP InterruptRaw StatusRegister 0x01E1 6024 UPIER uPP InterruptEnabledStatusRegister 0x01E1 6028 UPIES uPP InterruptEnableSetRegister 0x01E1 602C UPIEC uPP InterruptEnableClearRegister 0x01E1 6030 UPEOI uPP End-of-InterruptRegister 0x01E1 6040 UPID0 uPP DMA ChannelIDescriptor0 Register 0x01E1 6044 UPID1 uPP DMA ChannelIDescriptor1 Register 0x01E1 6048 UPID2 uPP DMA ChannelIDescriptor2 Register 0x01E1 6050 UPIS0 uPP DMA ChannelIStatus0 Register 0x01E1 6054 UPIS1 uPP DMA ChannelIStatus1 Register 0x01E1 6058 UPIS2 uPP DMA ChannelIStatus2 Register 0x01E1 6060 UPQD0 uPP DMA ChannelQ Descriptor0 Register 0x01E1 6064 UPQD1 uPP DMA ChannelQ Descriptor1 Register 0x01E1 6068 UPQD2 uPP DMA ChannelQ Descriptor2 Register 0x01E1 6070 UPQS0 uPP DMA ChannelQ Status0 Register 0x01E1 6074 UPQS1 uPP DMA ChannelQ Status1 Register 0x01E1 6078 UPQS2 uPP DMA ChannelQ Status2 Register
200 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 6.22.2 uPP ElectricalData/Timing Table6-94.Timing Requirements foruPP (seeFigure6-61,Figure6-62,Figure6-63,Figure6-64) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX SDR mode 13.33 20 26.66 ns 1 tc(INCLK) Cycletime,CH n_CLK DDR mode 26.66 40 53.33 SDR mode 5 8 10 ns 2 tw(INCLKH) Pulsewidth,CH n_CLK high DDR mode 10 16 20 SDR mode 5 8 10 ns 3 tw(INCLKL) Pulsewidth,CH n_CLK low DDR mode 10 16 20 4 tsu(STV-INCLKH) Setuptime,CH n_START validbeforeCH n_CLK high 4 5.5 6.5 ns 5 th(INCLKH-STV) Holdtime,CH n_START validafterCH n_CLK high 0.8 0.8 0.8 ns 6 tsu(ENV-INCLKH) Setuptime,CH n_ENABLE validbeforeCH n_CLK high 4 5.5 6.5 ns 7 th(INCLKH-ENV) Holdtime,CH n_ENABLE validafterCH n_CLK high 0.8 0.8 0.8 ns Setuptime,CH n_DATA/XDATA validbeforeCH n_CLK8 tsu(DV-INCLKH) 4 5.5 6.5 nshigh 9 th(INCLKH-DV) Holdtime,CH n_DATA/XDATA validafterCH n_CLK high 0.8 0.8 0.8 ns 10 tsu(DV-INCLKL) Setuptime,CH n_DATA/XDATA validbeforeCH n_CLK low 4 5.5 6.5 ns 11 th(INCLKL-DV) Holdtime,CH n_DATA/XDATA validafterCH n_CLK low 0.8 0.8 0.8 ns 19 tsu(WTV-INCLKL) Setuptime,CH n_WAIT validbeforeCH n_CLK high 10 12 14 ns 20 th(INCLKL-WTV) Holdtime,CH n_WAIT validafterCH n_CLK high 0.8 0.8 0.8 ns 21 tc(2xTXCLK) Cycletime,2xTXCLK inputclock(1) 6.66 10 13.33 ns (1) 2xTXCLK isan alternatetransmitclocksourcethatmust be atleast2 timestherequireduPP transmitclockrate(asitisisdivideddown by 2 insidetheuPP).2xTXCLK has no specifiedskew relationshiptotheCH n_CLOCK and thereforeisnotshown inthetimingdiagram. Table6-95.SwitchingCharacteristicsOver Recommended OperatingConditionsforuPP NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX SDR mode 13.33 20 26.66 ns 12 tc(OUTCLK) Cycletime,CH n_CLK DDR mode 26.66 40 53.33 SDR mode 5 8 10 ns 13 tw(OUTCLKH) Pulsewidth,CH n_CLK high DDR mode 10 16 20 SDR mode 5 8 10 ns 14 tw(OUTCLKL) Pulsewidth,CH n_CLK low DDR mode 10 16 20 15 td(OUTCLKH-STV) Delaytime,CH n_START validafterCH n_CLK high 2 11 2 15 2 21 ns 16 td(OUTCLKH-ENV) Delaytime,CH n_ENABLE validafterCH n_CLK high 2 11 2 15 2 21 ns 17 td(OUTCLKH-DV) Delaytime,CH n_DATA/XDATA validafterCH n_CLK high 2 11 2 15 2 21 ns 18 td(OUTCLKL-DV) Delaytime,CH n_DATA/XDATA validafterCH n_CLK low 2 11 2 15 2 21 ns Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 201 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION CHx_CLK CHx_ST ART CHx_ENABLE CHx_DA T A[n:0] CHx_XDA T A[n:0] Data2Data1 Data3 Data4 CHx_WAIT Data5 Data6 Data7 Data8 Data9 21 3 Q1 I2 I3 I4 I5 I6 I7 I8 I9Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 CHx_CLK CHx_ST ART CHx_ENABLE CHx_DA T A[n:0] CHx_XDA T A[n:0] CHx_WAIT AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-61.uPP SingleData Rate (SDR) Receive Timing Figure6-62.uPP Double Data Rate (DDR) Receive Timing
202 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION Data2Data1 Data3 Data4 Data5 Data6 Data7 Data8 Data9 2019 CHx_CLK CHx_ST ART CHx_ENABLE CHx_DA T A[n:0] CHx_XDA T A[n:0] CHx_WAIT 12 14 2019 Q1 I2 I3 I4 I5 I6 I7 I8 I9Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 CHx_CLK CHx_ST ART CHx_ENABLE CHx_DA T A[n:0] CHx_XDA T A[n:0] CHx_WAIT AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-63.uPP SingleData Rate (SDR) TransmitTiming Figure6-64.uPP Double Data Rate (DDR) TransmitTiming Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 203 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.23 Video PortInterface(VPIF)
The VideoPortInterface(VPIF)allowsthecaptureand displayofdigitalvideostreams.Featuresinclude:
- Up to2 VideoCaptureChannels(Channel0 and Channel1) – Two 8-bitStandard-Definition(SD)Videowithembedded timingcodes (BT.656) – Single16-bitHigh-Definition(HD) Videowithembedded timingcodes (BT.1120) – SingleRaw Video(8-/10-/12-bit)
- Up to2 VideoDisplayChannels(Channel2 and Channel3) – Two 8-bitSD VideoDisplaywithembedded timingcodes (BT.656) – Single16-bitHD VideoDisplaywithembedded timingcodes (BT.1120) The VPIF capturechannelinputdataformatisselectablebased on thesettingsofthespecificChannel ControlRegister(Channels0–3).The VPIF Raw Videodata-buswidthisselectablebased on thesettings oftheChannel0 ControlRegister.
204 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.23.1 VPIF RegisterDescriptions
Table6-96shows theVPIF registers. Table6-96.Video PortInterface(VPIF)Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E1 7000 PID Peripheralidentificationregister 0x01E1 7004 CH0_CTRL Channel0 controlregister 0x01E1 7008 CH1_CTRL Channel1 controlregister 0x01E1 700C CH2_CTRL Channel2 controlregister 0x01E1 7010 CH3_CTRL Channel3 controlregister 0x01E1 7014 -0x01E1 701F - Reserved 0x01E1 7020 INTEN Interruptenable 0x01E1 7024 INTENSET Interruptenableset 0x01E1 7028 INTENCLR Interruptenableclear 0x01E1 702C INTSTAT Interruptstatus 0x01E1 7030 INTSTATCLR Interruptstatusclear 0x01E1 7034 EMU_CTRL Emulationcontrol 0x01E1 7038 DMA_SIZE DMA sizecontrol 0x01E1 703C -0x01E1 703F - Reserved CAPTURE CHANNEL 0 REGISTERS 0x01E1 7040 CH0_TY_STRTADR Channel0 Top Fieldluma bufferstartaddress 0x01E1 7044 CH0_BY_STRTADR Channel0 BottomFieldluma bufferstartaddress 0x01E1 7048 CH0_TC_STRTADR Channel0 Top Fieldchroma bufferstartaddress 0x01E1 704C CH0_BC_STRTADR Channel0 BottomFieldchroma bufferstartaddress 0x01E1 7050 CH0_THA_STRTADR Channel0 Top Fieldhorizontalancillarydatabufferstartaddress 0x01E1 7054 CH0_BHA_STRTADR Channel0 BottomFieldhorizontalancillarydatabufferstartaddress 0x01E1 7058 CH0_TVA_STRTADR Channel0 Top Fieldverticalancillarydatabufferstartaddress 0x01E1 705C CH0_BVA_STRTADR Channel0 BottomFieldverticalancillarydatabufferstartaddress 0x01E1 7060 CH0_SUBPIC_CFG Channel0 sub-pictureconfiguration 0x01E1 7064 CH0_IMG_ADD_OFST Channel0 image dataaddressoffset 0x01E1 7068 CH0_HA_ADD_OFST Channel0 horizontalancillarydataaddressoffset 0x01E1 706C CH0_HSIZE_CFG Channel0 horizontaldatasizeconfiguration 0x01E1 7070 CH0_VSIZE_CFG0 Channel0 verticaldatasizeconfiguration(0) 0x01E1 7074 CH0_VSIZE_CFG1 Channel0 verticaldatasizeconfiguration(1) 0x01E1 7078 CH0_VSIZE_CFG2 Channel0 verticaldatasizeconfiguration(2) 0x01E1 707C CH0_VSIZE Channel0 verticalimage size CAPTURE CHANNEL 1 REGISTERS 0x01E1 7080 CH1_TY_STRTADR Channel1 Top Fieldluma bufferstartaddress 0x01E1 7084 CH1_BY_STRTADR Channel1 BottomFieldluma bufferstartaddress 0x01E1 7088 CH1_TC_STRTADR Channel1 Top Fieldchroma bufferstartaddress 0x01E1 708C CH1_BC_STRTADR Channel1 BottomFieldchroma bufferstartaddress 0x01E1 7090 CH1_THA_STRTADR Channel1 Top Fieldhorizontalancillarydatabufferstartaddress 0x01E1 7094 CH1_BHA_STRTADR Channel1 BottomFieldhorizontalancillarydatabufferstartaddress 0x01E1 7098 CH1_TVA_STRTADR Channel1 Top Fieldverticalancillarydatabufferstartaddress 0x01E1 709C CH1_BVA_STRTADR Channel1 BottomFieldverticalancillarydatabufferstartaddress 0x01E1 70A0 CH1_SUBPIC_CFG Channel1 sub-pictureconfiguration 0x01E1 70A4 CH1_IMG_ADD_OFST Channel1 image dataaddressoffset 0x01E1 70A8 CH1_HA_ADD_OFST Channel1 horizontalancillarydataaddressoffset 0x01E1 70AC CH1_HSIZE_CFG Channel1 horizontaldatasizeconfiguration Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 205 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-96.Video PortInterface(VPIF)Registers(continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E1 70B0 CH1_VSIZE_CFG0 Channel1 verticaldatasizeconfiguration(0) 0x01E1 70B4 CH1_VSIZE_CFG1 Channel1 verticaldatasizeconfiguration(1) 0x01E1 70B8 CH1_VSIZE_CFG2 Channel1 verticaldatasizeconfiguration(2) 0x01E1 70BC CH1_VSIZE Channel1 verticalimage size DISPLAY CHANNEL 2 REGISTERS 0x01E1 70C0 CH2_TY_STRTADR Channel2 Top Fieldluma bufferstartaddress 0x01E1 70C4 CH2_BY_STRTADR Channel2 BottomFieldluma bufferstartaddress 0x01E1 70C8 CH2_TC_STRTADR Channel2 Top Fieldchroma bufferstartaddress 0x01E1 70CC CH2_BC_STRTADR Channel2 BottomFieldchroma bufferstartaddress 0x01E1 70D0 CH2_THA_STRTADR Channel2 Top Fieldhorizontalancillarydatabufferstartaddress 0x01E1 70D4 CH2_BHA_STRTADR Channel2 BottomFieldhorizontalancillarydatabufferstartaddress 0x01E1 70D8 CH2_TVA_STRTADR Channel2 Top Fieldverticalancillarydatabufferstartaddress 0x01E1 70DC CH2_BVA_STRTADR Channel2 BottomFieldverticalancillarydatabufferstartaddress 0x01E1 70E0 CH2_SUBPIC_CFG Channel2 sub-pictureconfiguration 0x01E1 70E4 CH2_IMG_ADD_OFST Channel2 image dataaddressoffset 0x01E1 70E8 CH2_HA_ADD_OFST Channel2 horizontalancillarydataaddressoffset 0x01E1 70EC CH2_HSIZE_CFG Channel2 horizontaldatasizeconfiguration 0x01E1 70F0 CH2_VSIZE_CFG0 Channel2 verticaldatasizeconfiguration(0) 0x01E1 70F4 CH2_VSIZE_CFG1 Channel2 verticaldatasizeconfiguration(1) 0x01E1 70F8 CH2_VSIZE_CFG2 Channel2 verticaldatasizeconfiguration(2) 0x01E1 70FC CH2_VSIZE Channel2 verticalimage size 0x01E1 7100 CH2_THA_STRTPOS Channel2 Top Fieldhorizontalancillarydatainsertionstartposition 0x01E1 7104 CH2_THA_SIZE Channel2 Top Fieldhorizontalancillarydatasize 0x01E1 7108 CH2_BHA_STRTPOS Channel2 BottomFieldhorizontalancillarydatainsertionstartposition 0x01E1 710C CH2_BHA_SIZE Channel2 BottomFieldhorizontalancillarydatasize 0x01E1 7110 CH2_TVA_STRTPOS Channel2 Top Fieldverticalancillarydatainsertionstartposition 0x01E1 7114 CH2_TVA_SIZE Channel2 Top Fieldverticalancillarydatasize 0x01E1 7118 CH2_BVA_STRTPOS Channel2 BottomFieldverticalancillarydatainsertionstartposition 0x01E1 711C CH2_BVA_SIZE Channel2 BottomFieldverticalancillarydatasize 0x01E1 7120 -0x01E1 713F - Reserved DISPLAY CHANNEL 3 REGISTERS 0x01E1 7140 CH3_TY_STRTADR Channel3 Field0 luma bufferstartaddress 0x01E1 7144 CH3_BY_STRTADR Channel3 Field1 luma bufferstartaddress 0x01E1 7148 CH3_TC_STRTADR Channel3 Field0 chroma bufferstartaddress 0x01E1 714C CH3_BC_STRTADR Channel3 Field1 chroma bufferstartaddress 0x01E1 7150 CH3_THA_STRTADR Channel3 Field0 horizontalancillarydatabufferstartaddress 0x01E1 7154 CH3_BHA_STRTADR Channel3 Field1 horizontalancillarydatabufferstartaddress 0x01E1 7158 CH3_TVA_STRTADR Channel3 Field0 verticalancillarydatabufferstartaddress 0x01E1 715C CH3_BVA_STRTADR Channel3 Field1 verticalancillarydatabufferstartaddress 0x01E1 7160 CH3_SUBPIC_CFG Channel3 sub-pictureconfiguration 0x01E1 7164 CH3_IMG_ADD_OFST Channel3 image dataaddressoffset 0x01E1 7168 CH3_HA_ADD_OFST Channel3 horizontalancillarydataaddressoffset 0x01E1 716C CH3_HSIZE_CFG Channel3 horizontaldatasizeconfiguration 0x01E1 7170 CH3_VSIZE_CFG0 Channel3 verticaldatasizeconfiguration(0) 0x01E1 7174 CH3_VSIZE_CFG1 Channel3 verticaldatasizeconfiguration(1) 0x01E1 7178 CH3_VSIZE_CFG2 Channel3 verticaldatasizeconfiguration(2) 0x01E1 717C CH3_VSIZE Channel3 verticalimage size
206 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-96.Video PortInterface(VPIF)Registers(continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E1 7180 CH3_THA_STRTPOS Channel3 Top Fieldhorizontalancillarydatainsertionstartposition 0x01E1 7184 CH3_THA_SIZE Channel3 Top Fieldhorizontalancillarydatasize 0x01E1 7188 CH3_BHA_STRTPOS Channel3 BottomFieldhorizontalancillarydatainsertionstartposition 0x01E1 718C CH3_BHA_SIZE Channel3 BottomFieldhorizontalancillarydatasize 0x01E1 7190 CH3_TVA_STRTPOS Channel3 Top Fieldverticalancillarydatainsertionstartposition 0x01E1 7194 CH3_TVA_SIZE Channel3 Top Fieldverticalancillarydatasize 0x01E1 7198 CH3_BVA_STRTPOS Channel3 BottomFieldverticalancillarydatainsertionstartposition 0x01E1 719C CH3_BVA_SIZE Channel3 BottomFieldverticalancillarydatasize 0x01E1 71A0 -0x01E1 71FF - Reserved Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 207 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION VP_CLKINx 2 3 1 4 AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.23.2 VPIF ElectricalData/Timing
Table6-97.Timing Requirements forVPIF VP_CLKINx Inputs(1)(seeFigure6-65) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX Cycletime,VP_CLKIN0 13.3 20 37 ns 1 tc(VKI) Cycletime,VP_CLKIN1/2/3 13.3 20 37 ns 2 tw(VKIH) Pulseduration,VP_CLKINx high 0.4C 0.4C 0.4C ns 3 tw(VKIL) Pulseduration,VP_CLKINx low 0.4C 0.4C 0.4C ns 4 tt(VKI) Transitiontime,VP_CLKINx 5 5 5 ns (1) C = VP_CLKINx periodinns. Figure6-65.Video PortCapture VP_CLKINx Timing
208 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION VP_CLKIN0/1 VP_DINx/FIELD/ HSYNC/VSYNC VP_CLKOUTx (Positive□Edge Clocking) VP_CLKOUTx (Negative□Edge Clocking) VP_DOUTx 11 12 AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-98.Timing Requirements forVPIF Channels 0/1Video Capture Data and ControlInputs (seeFigure6-66) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 1 tsu(VDINV-VKIH) Setuptime,VP_DINx validbeforeVP_CLKIN0/1 high 4 6 7 ns 2 th(VKIH-VDINV) Holdtime,VP_DINx validafterVP_CLKIN0/1 high 0 0 0 ns Figure6-66.VPIF Channels 0/1Video Capture Data and ControlInputTiming Table6-99.SwitchingCharacteristicsOver Recommended OperatingConditionsforVideo Data Shown With Respect toVP_CLKOUT2/3 (1) (seeFigure6-67) NO. PARAMETER UNIT MIN MAX MIN MAX MIN MAX 1 tc(VKO) Cycletime,VP_CLKOUT2/3 13.3 20 37 ns 2 tw(VKOH) Pulseduration,VP_CLKOUT2/3 high 0.4C 0.4C 0.4C ns 3 tw(VKOL) Pulseduration,VP_CLKOUT2/3 low 0.4C 0.4C 0.4C ns 4 tt(VKO) Transitiontime,VP_CLKOUT2/3 5 5 5 ns Delaytime,11 td(VKOH-VPDOUTV) 8.5 12 17 nsVP_CLKOUT2/3 hightoVP_DOUTx valid Delaytime,12 td(VCLKOH-VPDOUTIV) 1.5 1.5 1.5 nsVP_CLKOUT2/3 hightoVP_DOUTx invalid (1) C = VP_CLKO2/3 periodinns. Figure6-67.VPIF Channels 2/3Video DisplayData Output Timing With Respect toVP_CLKOUT2/3 Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 209 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.24 Enhanced Capture (eCAP) Peripheral
The devicecontainsup tothreeenhanced capture(eCAP) modules.Figure6-68shows a functionalblock diagramofa module. Uses forECAP include:
- Speed measurements ofrotatingmachinery(e.g.toothedsprocketssensed viaHallsensors)
- Elapsedtimemeasurements between positionsensortriggers
- Periodand dutycyclemeasurements ofpulsetrainsignals
- Decodingcurrentorvoltageamplitudederivedfromdutycycleencoded current/voltagesensors The ECAP module describedinthisspecificationincludesthefollowingfeatures:
- 32 bittimebase
- 4 eventtime-stampregisters(each32 bits)
- Edge polarityselectionforup to4 sequenced time-stampcaptureevents
- Interrupton eitherofthe4 events
- Singleshotcaptureofup to4 eventtime-stamps
- Continuousmode captureoftime-stampsina 4 deep circularbuffer
- Absolutetime-stampcapture
- Differencemode time-stampcapture
- Alltheabove resourcesarededicatedtoa singleinputpin The eCAP modules areclockedattheASYNC3 clockdomain rate.
210 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION TSCTR (counter−32 bit) RST CAP1 (APRD active) LD CAP2 (ACMP active) LD CAP3 (APRD shadow) LD CAP4 (ACMP shadow) LD Continuous / Oneshot Capture Control LD1 LD2 LD3 LD4 PRD [0−31] CMP [0−31] CTR [0−31] eCAPx Interrupt Trigger and Flag control to Interrupt Controller CTR=CMP ACMP shadow Event Pre-scale CTRPHS (phase register−32 bit) SYNCOut SYNCIn Event qualifier Polarity select Polarity select Polarity select Polarity select CTR=PRD CTR_OVF PWM compare logic CTR [0−31] PRD [0−31] CMP [0−31] CTR=CMP CTR=PRD CTR_OVFOVF APWM mode Delta−mode SYNC 4Capture events CEVT[1:4] APRD shadow MODE SELECT AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Figure6-68.eCAP FunctionalBlock Diagram Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 211 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-100isthelistoftheECAP registers. Table6-100.ECAPx ConfigurationRegisters ECAP0 ECAP1 ECAP2 ACRONYM DESCRIPTIONBYTE ADDRESS BYTE ADDRESS BYTE ADDRESS 0x01F0 6000 0x01F0 7000 0x01F0 8000 TSCTR Time-Stamp Counter 0x01F0 6004 0x01F0 7004 0x01F0 8004 CTRPHS CounterPhase OffsetValueRegister 0x01F0 6008 0x01F0 7008 0x01F0 8008 CAP1 Capture1 Register 0x01F0 600C 0x01F0 700C 0x01F0 800C CAP2 Capture2 Register 0x01F0 6010 0x01F0 7010 0x01F0 8010 CAP3 Capture3 Register 0x01F0 6014 0x01F0 7014 0x01F0 8014 CAP4 Capture4 Register 0x01F0 6028 0x01F0 7028 0x01F0 8028 ECCTL1 CaptureControlRegister1 0x01F0 602A 0x01F0 702A 0x01F0 802A ECCTL2 CaptureControlRegister2 0x01F0 602C 0x01F0 702C 0x01F0 802C ECEINT CaptureInterruptEnableRegister 0x01F0 602E 0x01F0 702E 0x01F0 802E ECFLG CaptureInterruptFlagRegister 0x01F0 6030 0x01F0 7030 0x01F0 8030 ECCLR CaptureInterruptClearRegister 0x01F0 6032 0x01F0 7032 0x01F0 8032 ECFRC CaptureInterruptForceRegister 0x01F0 605C 0x01F0 705C 0x01F0 805C REVID RevisionID Table 6-101 shows the eCAP timingrequirementand Table 6-102 shows the eCAP switching characteristics. Table6-101.Timing Requirements forEnhanced Capture (eCAP) PARAMETER TEST CONDITIONS 1.3V,1.2V,1.1V,1.0V MIN MAX UNIT tw(CAP) Captureinputpulsewidth Asynchronous 2tc(SCO) cycles Synchronous 2tc(SCO) cycles Table6-102.SwitchingCharacteristicsOver Recommended OperatingConditionsforeCAP PARAMETER 1.3V,1.2V 1.1V 1.0V UNIT MIN MAX MIN MAX MIN MAX tw(APWM) Pulseduration,APWMx outputhigh/low 20 20 20 ns
212 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION Peripheral□Bus ePWM0 module ePWM1 module EPWM0SYNCI EPWM1SYNCI EPWM1SYNCO GPIO MUX EPWMSYNCI EPWM1A EPWM1B EPWM0A EPWM0B EPWM0INT EPWM1INT TZ TZ EPWM0SYNCOInterrupt Controllers EPWMSYNCOTo□eCAP0 module (sync□in) AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.25 Enhanced High-ResolutionPulse-WidthModulator(eHRPWM)
The devicecontainstwo enhanced PWM Modules (eHRPWM). Figure6-69 shows a blockdiagram of multipleeHRPWM modules.Figure4-4shows thesignalinterconnectionswiththeeHRPWM. Figure6-69.MultiplePWM Modules ina C6748 System Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 213 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION CTR=PRD TBPRD shadow (16) TBPRD active (16) Counter up/down (16 bit) TBCNT active (16) TBCTL[CNTLDE] TBCTL[SWFSYNC] (software forced sync) EPWMSYNCI CTR=ZERO CTR_Dir CTR=CMPB Disabled Sync in/out select Mux TBCTL[SYNCOSEL] EPWMSYNCO TBPHS active (24) 16 8 TBPHSHR (8) Phase control Time−base (TB) CTR=CMPA CMP A active (24) CMP A shadow (24) Action qualifier (AQ) Counter compare (CC) CMPB active (16) CTR=CMPB CMPB shadow (16) CMP AHR (8) EPWMA EPWMB Dead band (DB) (PC) chopper PWM zone (TZ) Trip CTR = ZERO EPWMxA EPWMxB EPWMxTZINT TZ HiRes PWM (HRPWM) CTR = PRD CTR = ZERO CTR = CMPB CTR = CMP A CTR_Dir Event trigger and interrupt (ET) EPWMxINT CTR=ZERO AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Figure6-70.eHRPWM Sub-Modules Showing CriticalInternalSignalInterconnections
214 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-103.eHRPWM Module Controland StatusRegistersGrouped by Submodule eHRPWM0 eHRPWM1 BYTE ADDRESS BYTE ADDRESS ACRONYM SHADOW REGISTER DESCRIPTION Time-Base Submodule Registers 0x01F0 0000 0x01F0 2000 TBCTL No Time-BaseControlRegister 0x01F0 0002 0x01F0 2002 TBSTS No Time-BaseStatusRegister 0x01F0 0004 0x01F0 2004 TBPHSHR No ExtensionforHRPWM Phase Register(1) 0x01F0 0006 0x01F0 2006 TBPHS No Time-BasePhase Register 0x01F0 0008 0x01F0 2008 TBCNT No Time-BaseCounterRegister 0x01F0 000A 0x01F0 200A TBPRD Yes Time-BasePeriodRegister Counter-Compare Submodule Registers 0x01F0 000E 0x01F0 200E CMPCTL No Counter-CompareControlRegister 0x01F0 0010 0x01F0 2010 CMPAHR No ExtensionforHRPWM Counter-CompareA Register(1) 0x01F0 0012 0x01F0 2012 CMPA Yes Counter-CompareA Register 0x01F0 0014 0x01F0 2014 CMPB Yes Counter-CompareB Register Action-QualifierSubmodule Registers 0x01F0 0016 0x01F0 2016 AQCTLA No Action-QualifierControlRegisterforOutputA (eHRPWMxA) 0x01F0 0018 0x01F0 2018 AQCTLB No Action-QualifierControlRegisterforOutputB (eHRPWMxB) 0x01F0 001A 0x01F0 201A AQSFRC No Action-QualifierSoftwareForceRegister 0x01F0 001C 0x01F0 201C AQCSFRC Yes Action-QualifierContinuousS/W ForceRegisterSet Dead-Band GeneratorSubmodule Registers 0x01F0 001E 0x01F0 201E DBCTL No Dead-Band GeneratorControlRegister 0x01F0 0020 0x01F0 2020 DBRED No Dead-Band GeneratorRisingEdge DelayCount Register 0x01F0 0022 0x01F0 2022 DBFED No Dead-Band GeneratorFallingEdge DelayCount Register PWM-Chopper Submodule Registers 0x01F0 003C 0x01F0 203C PCCTL No PWM-Chopper ControlRegister Trip-ZoneSubmodule Registers 0x01F0 0024 0x01F0 2024 TZSEL No Trip-ZoneSelectRegister 0x01F0 0028 0x01F0 2028 TZCTL No Trip-ZoneControlRegister 0x01F0 002A 0x01F0 202A TZEINT No Trip-ZoneEnableInterruptRegister 0x01F0 002C 0x01F0 202C TZFLG No Trip-ZoneFlagRegister 0x01F0 002E 0x01F0 202E TZCLR No Trip-ZoneClearRegister 0x01F0 0030 0x01F0 2030 TZFRC No Trip-ZoneForceRegister Event-TriggerSubmodule Registers 0x01F0 0032 0x01F0 2032 ETSEL No Event-TriggerSelectionRegister 0x01F0 0034 0x01F0 2034 ETPS No Event-TriggerPre-ScaleRegister 0x01F0 0036 0x01F0 2036 ETFLG No Event-TriggerFlagRegister 0x01F0 0038 0x01F0 2038 ETCLR No Event-TriggerClearRegister 0x01F0 003A 0x01F0 203A ETFRC No Event-TriggerForceRegister High-ResolutionPWM (HRPWM) Submodule Registers 0x01F0 1020 0x01F0 3020 HRCNFG No HRPWM ConfigurationRegister(1) (1) These registersareonlyavailableon eHRPWM instancesthatincludethehigh-resolutionPWM (HRPWM) extension;otherwise,these locationsarereserved. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 215 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.25.1 Enhanced Pulse Width Modulator(eHRPWM) Timing
PWM refersto PWM outputson eHRPWM1-6. Table 6-104 shows the PWM timingrequirementsand Table6-105,switchingcharacteristics. Table6-104.Timing Requirements foreHRPWM PARAMETER TEST CONDITIONS 1.3V,1.2V,1.1V,1.0V UNIT MIN MAX tw(SYNCIN) Sync inputpulsewidth Asynchronous 2tc(SCO) cycles Synchronous 2tc(SCO) cycles Table6-105.SwitchingCharacteristicsOver Recommended OperatingConditionsforeHRPWM PARAMETER TEST 1.3V,1.2V 1.1V 1.0V UNIT CONDITIONS MIN MAX MIN MAX MIN MAX tw(PWM) Pulseduration,PWMx output ns20 20 26.6high/low tw(SYNCOUT) Sync outputpulsewidth 8tc(SCO) 8tc(SCO) 8tc(SCO) cycles td(PWM)TZA Delaytime,tripinputactiveto no pinload;no ns PWM forcedhigh additional 25 25 25Delaytime,tripinputactiveto programmable PWM forcedlow delay td(TZ-PWM)HZ Delaytime,tripinputactiveto no additional ns PWM Hi-Z programmable 20 20 20 delay
216 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION PWM (A) TZ tw(TZ) td(TZ-PWM)HZ AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.25.2 Trip-ZoneInputTiming
A. PWM referstoallthePWM pinsinthedevice.The stateofthePWM pinsafterTZ istakenhighdepends on thePWM recoverysoftware. Figure6-71.PWM Hi-ZCharacteristics Table6-106.Trip-ZoneinputTiming Requirements PARAMETER TEST CONDITIONS 1.3V,1.2V,1.1V,1.0V MIN MAX UNIT tw(TZ) Pulseduration,TZx inputlow Asynchronous 1tc(SCO) cycles Synchronous 2tc(SCO) cycles Table6-107shows thehigh-resolutionPWM switchingcharacteristics. Table6-107.High ResolutionPWM CharacteristicsatSYSCLKOUT = (60-100 MHz) PARAMETER 1.3V,1.2V 1.1V 1.0V MIN TYP MAX MIN TYP MAX MIN TYP MAX UNIT MicroEdge Positioning(MEP) stepsize(1) 200 TBD TBD ps (1) MEP stepsizewillincreasewithlowvoltageand hightemperatureand decreasewithhighvoltageand coldtemperature.Applications thatuse theHRPWM featureshoulduse MEP ScaleFactorOptimizer(SFO) estimationsoftwarefunctions.See theTIsoftwarelibraries fordetailsofusingSFO functioninend applications.SFO functionshelptoestimatethenumber ofMEP stepsperSYSCLKOUT period dynamicallywhiletheHRPWM isinoperation. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 217 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.26 Timers
The timerssupportthefollowingfeatures:
- Configurableas single64-bittimerortwo 32-bittimers
- Periodtimeoutsgenerateinterrupts,DMA eventsorexternalpinevents
- 8 32-bitcompare registers
- Compare matches generateinterruptevents
- Capturecapability
- 64-bitWatchdog capability(Timer64P1only) Table6-108liststhetimerregisters. Table6-108.Timer Registers TIMER64P 0 TIMER64P 1 TIMER64P 2 TIMER64P 3 ACRONYM REGISTER DESCRIPTION BYTE BYTE BYTE ADDRESS BYTE ADDRESS ADDRESS ADDRESS 0x01C2 0000 0x01C2 1000 0x01F0 C000 0x01F0 D000 REV RevisionRegister 0x01C2 0004 0x01C2 1004 0x01F0 C004 0x01F0 D004 EMUMGT EmulationManagement Register 0x01C2 0008 0x01C2 1008 0x01F0 C008 0x01F0 D008 GPINTGPEN GPIO Interruptand GPIO EnableRegister 0x01C2 000C 0x01C2 100C 0x01F0 C00C 0x01F0 D00C GPDATGPDIR GPIO Data and GPIO DirectionRegister 0x01C2 0010 0x01C2 1010 0x01F0 C010 0x01F0 D010 TIM12 TimerCounterRegister12 0x01C2 0014 0x01C2 1014 0x01F0 C014 0x01F0 D014 TIM34 TimerCounterRegister34 0x01C2 0018 0x01C2 1018 0x01F0 C018 0x01F0 D018 PRD12 TimerPeriodRegister12 0x01C2 001C 0x01C2 101C 0x01F0 C01C 0x01F0 D01C PRD34 TimerPeriodRegister34 0x01C2 0020 0x01C2 1020 0x01F0 C020 0x01F0 D020 TCR TimerControlRegister 0x01C2 0024 0x01C2 1024 0x01F0 C024 0x01F0 D024 TGCR TimerGlobalControlRegister 0x01C2 0028 0x01C2 1028 0x01F0 C028 0x01F0 D028 WDTCR Watchdog TimerControlRegister 0x01C2 0034 0x01C2 1034 0x01F0 C034 0x01F0 D034 REL12 TimerReloadRegister12 0x01C2 0038 0x01C2 1038 0x01F0 C038 0x01F0 D038 REL34 TimerReloadRegister34 0x01C2 003C 0x01C2 103C 0x01F0 C03C 0x01F0 D03C CAP12 TimerCaptureRegister12 0x01C2 0040 0x01C2 1040 0x01F0 C040 0x01F0 D040 CAP34 TimerCaptureRegister34 0x01C2 0044 0x01C2 1044 0x01F0 C044 0x01F0 D044 INTCTLSTAT TimerInterruptControland StatusRegister 0x01C2 0060 0x01C2 1060 0x01F0 C060 0x01F0 D060 CMP0 Compare Register0 0x01C2 0064 0x01C2 1064 0x01F0 C064 0x01F0 D064 CMP1 Compare Register1 0x01C2 0068 0x01C2 1068 0x01F0 C068 0x01F0 D068 CMP2 Compare Register2 0x01C2 006C 0x01C2 106C 0x01F0 C06C 0x01F0 D06C CMP3 Compare Register3 0x01C2 0070 0x01C2 1070 0x01F0 C070 0x01F0 D070 CMP4 Compare Register4 0x01C2 0074 0x01C2 1074 0x01F0 C074 0x01F0 D074 CMP5 Compare Register5 0x01C2 0078 0x01C2 1078 0x01F0 C078 0x01F0 D078 CMP6 Compare Register6 0x01C2 007C 0x01C2 107C 0x01F0 C07C 0x01F0 D07C CMP7 Compare Register7
218 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION TM64P0_IN12 TM64P0_OUT12 5 6 AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.26.1 Timer ElectricalData/Timing
Table6-109.Timing Requirements forTimer Input(1)(2)(seeFigure6-72) 1.3V,1.2V,1.1V, 1.0VNO. PARAMETER UNIT MIN MAX 1 tc(TM64Px_IN12) Cycletime,TM64Px_IN12 4P ns 2 tw(TINPH) Pulseduration,TM64Px_IN12 high 0.45C 0.55C ns 3 tw(TINPL) Pulseduration,TM64Px_IN12 low 0.45C 0.55C ns 4 tt(TM64Px_IN12) Transitiontime,TM64Px_IN12 0.05C ns (1) P = OSCIN cycletimeinns.Forexample,when OSCIN frequencyis27 MHz, use P = 37.037 ns. (2) C = TM64P0_IN12 cycletimeinns.Forexample,when TM64Px_IN12 frequencyis27 MHz, use C = 37.037 ns Figure6-72.Timer Timing Table6-110.SwitchingCharacteristicsOver Recommended OperatingConditionsforTimer Output (1) 1.3V,1.2V,1.1V, 1.0VNO. PARAMETER UNIT MIN MAX 5 tw(TOUTH) Pulseduration,TM64P0_OUT12 high 4P ns 6 tw(TOUTL) Pulseduration,TM64P0_OUT12 low 4P ns (1) P = OSCIN cycletimeinns.Forexample,when OSCIN frequencyis27 MHz, use P = 37.037 ns. Figure6-73.Timer Timing Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 219 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION Seconds Minutes Hours Days Months Years Alarm Timer Alarm Interrupts Periodic Interrupts Counter 32□kHz Oscillator Compensation Week Days Oscillator RTC_XI XTAL RTC_XO AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.27 Real Time Clock (RTC)
The RTC providesa timereferencetoan applicationrunningon thedevice.The currentdateand timeis trackedina setofcounterregistersthatupdateonce persecond.The timecan be representedin12-hour or24-hourmode. The calendarand timeregistersarebufferedduringreadsand writesso thatupdatesdo notinterferewiththeaccuracyofthetimeand date. Alarms are availabletointerrupttheCPU ata particulartime,or atperiodictimeintervals,such as once perminuteoronce perday.Inaddition,theRTC can interrupttheCPU everytimethecalendarand time registersareupdated,oratprogrammableperiodicintervals. The real-timeclock(RTC) providesthefollowingfeatures:
- 100-yearcalendar(xx00toxx99)
- Countsseconds,minutes,hours,day oftheweek,date,month,and yearwithleapyearcompensation
- Binary-coded-decimal(BCD) representationoftime,calendar,and alarm
- 12-hourclockmode (withAM and PM) or24-hourclockmode
- Alarminterrupt
- Periodicinterrupt
- SingleinterrupttotheCPU
- Supportsexternal32.768-kHzcrystalorexternalclocksourceofthesame frequency
- Separateisolatedpower supply Figure6-74shows a blockdiagramoftheRTC. Figure6-74.Real-TimeClock Block Diagram
220 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION XTAL 32.768 kHz RTC_XI RTC_XO RTC_VSS 32K OSC Real Time Clock (RTC) Module Isolated RTC Power Domain Switch for Device Core Power Real Time Clock +1.2V CV DD RTC_CVDD AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.27.1 Clock Source
The clockreferencefortheRTC isan external32.768-kHzcrystaloran externalclocksourceofthesame frequency.The RTC alsohas a separatepower supplythatisisolatedfromtherestofthesystem.When theCPU and otherperipheralsare withoutpower,theRTC can remainpowered topreservethecurrent timeand calendarinformation.Even iftheRTC isnotused,itmust remainpowered when therestofthe deviceispowered. The sourcefortheRTC referenceclockmay be providedby a crystalorby an externalclocksource.The RTC has an internaloscillatorbuffertosupportdirectoperationwitha crystal.The crystalisconnected between pinsRTC_XI and RTC_XO. RTC_XI isthe inputto the on-chiposcillatorand RTC_XO isthe outputfromtheoscillatorback tothecrystal. An external32.768-kHzclocksourcemay be used insteadofa crystal.Insuch a case,theclocksourceis connectedtoRTC_XI, and RTC_XO isleftunconnected. Ifthe RTC is not used, the RTC_XI pin should be held eitherlow or high,RTC_XO should be left unconnected,RTC_CVDD should be connected to the deviceCVDD and RTC_VSS should remain grounded. Figure6-75.Clock Source Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 221 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.27.2 Registers
Table6-111liststhememory-mapped registersfortheRTC. See thedevice-specificdatamanual forthe memory addressoftheseregisters. Table6-111.Real-TimeClock (RTC) Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01C2 3000 SECOND Seconds Register 0x01C2 3004 MINUTE MinutesRegister 0x01C2 3008 HOUR Hours Register 0x01C2 300C DAY Day oftheMonth Register 0x01C2 3010 MONTH Month Register 0x01C2 3014 YEAR Year Register 0x01C2 3018 DOTW Day oftheWeek Register 0x01C2 3020 ALARMSECOND AlarmSeconds Register 0x01C2 3024 ALARMMINUTE AlarmMinutesRegister 0x01C2 3028 ALARMHOUR AlarmHours Register 0x01C2 302C ALARMDAY AlarmDays Register 0x01C2 3030 ALARMMONTH AlarmMonths Register 0x01C2 3034 ALARMYEAR AlarmYearsRegister 0x01C2 3040 CTRL ControlRegister 0x01C2 3044 STATUS StatusRegister 0x01C2 3048 INTERRUPT InterruptEnableRegister 0x01C2 304C COMPLSB Compensation(LSB)Register 0x01C2 3050 COMPMSB Compensation(MSB) Register 0x01C2 3054 OSC OscillatorRegister 0x01C2 3060 SCRATCH0 Scratch0 (General-Purpose)Register 0x01C2 3064 SCRATCH1 Scratch1 (General-Purpose)Register 0x01C2 3068 SCRATCH2 Scratch2 (General-Purpose)Register 0x01C2 306C KICK0 Kick0 (WriteProtect)Register 0x01C2 3070 KICK1 Kick1 (WriteProtect)Register
222 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.28 General-PurposeInput/Output(GPIO)
The GPIO peripheralprovidesgeneral-purposepinsthatcan be configuredas eitherinputsor outputs. When configuredas an output,a writetoan internalregistercan controlthestatedrivenon theoutputpin. When configuredas an input,the stateof the inputisdetectableby readingthe stateof an internal register.In addition,the GPIO peripheralcan produce CPU interruptsand EDMA events in different interrupt/eventgenerationmodes. The GPIO peripheralprovidesgenericconnectionstoexternaldevices. The GPIO pinsaregroupedintobanks of16 pinsperbank (i.e.,bank 0 consistsofGPIO [0:15]). The deviceGPIO peripheralsupportsthefollowing:
- Up to144 Pinsconfigurableas GPIO
- ExternalInterruptand DMA requestCapability – EveryGPIO pinmay be configuredtogeneratean interruptrequeston detectionofrisingand/or fallingedges on thepin. – The interruptrequestswithineach bank arecombined (logicalor)tocreateeightuniquebank level interruptrequests. – The bank levelinterruptserviceroutinemay polltheINTSTATx registerforitsbank todetermine whichpin(s)have triggeredtheinterrupt. – GPIO Banks 0,1,2,3,4,5,6,7 and 8 InterruptsassignedtoARM INTC InterruptRequests42,43, 44,45,46,47,48,49 and 50 respectively – GPIO Banks 0,1,2,3,4,and 5 areassignedtoEDMA events6,7,22,23,28,29,and 29 respectivelyon ChannelController0 and GPIO Banks 6,7,and 8 areassignedtoEDMA events 16,17,and 18 respectivelyon ChannelController1.
- Set/clearfunctionality:Firmware writes1 to correspondingbitposition(s)to set or to clearGPIO signal(s).ThisallowsmultiplefirmwareprocessestotoggleGPIO outputsignalswithoutcriticalsection protection(disableinterrupts,program GPIO, re-enableinterrupts,to preventcontextswitchingto antherprocessduringGPIO programming).
- SeparateInput/Outputregisters
- Outputregisterinadditiontoset/clearso that,ifpreferredby firmware,some GPIO outputsignalscan be toggledby directwritetotheoutputregister(s).
- Outputregister,when read,reflectsoutputdrivestatus.This,inadditiontotheinputregisterreflecting pinstatusand open-drainI/Ocell,allowswiredlogicbe implemented. The memory map fortheGPIO registersisshown inTable6-112. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 223 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.28.1 GPIO RegisterDescription(s)
Table6-112.GPIO Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E2 6000 REV PeripheralRevisionRegister 0x01E2 6004 RESERVED Reserved 0x01E2 6008 BINTEN GPIO InterruptPer-BankEnableRegister GPIO Banks 0 and 1 0x01E2 6010 DIR01 GPIO Banks 0 and 1 DirectionRegister 0x01E2 6014 OUT_DATA01 GPIO Banks 0 and 1 OutputData Register 0x01E2 6018 SET_DATA01 GPIO Banks 0 and 1 SetData Register 0x01E2 601C CLR_DATA01 GPIO Banks 0 and 1 ClearData Register 0x01E2 6020 IN_DATA01 GPIO Banks 0 and 1 InputData Register 0x01E2 6024 SET_RIS_TRIG01 GPIO Banks 0 and 1 SetRisingEdge InterruptRegister 0x01E2 6028 CLR_RIS_TRIG01 GPIO Banks 0 and 1 ClearRisingEdge InterruptRegister 0x01E2 602C SET_FAL_TRIG01 GPIO Banks 0 and 1 SetFallingEdge InterruptRegister 0x01E2 6030 CLR_FAL_TRIG01 GPIO Banks 0 and 1 ClearFallingEdge InterruptRegister 0x01E2 6034 INTSTAT01 GPIO Banks 0 and 1 InterruptStatusRegister GPIO Banks 2 and 3 0x01E2 6038 DIR23 GPIO Banks 2 and 3 DirectionRegister 0x01E2 603C OUT_DATA23 GPIO Banks 2 and 3 OutputData Register 0x01E2 6040 SET_DATA23 GPIO Banks 2 and 3 SetData Register 0x01E2 6044 CLR_DATA23 GPIO Banks 2 and 3 ClearData Register 0x01E2 6048 IN_DATA23 GPIO Banks 2 and 3 InputData Register 0x01E2 604C SET_RIS_TRIG23 GPIO Banks 2 and 3 SetRisingEdge InterruptRegister 0x01E2 6050 CLR_RIS_TRIG23 GPIO Banks 2 and 3 ClearRisingEdge InterruptRegister 0x01E2 6054 SET_FAL_TRIG23 GPIO Banks 2 and 3 SetFallingEdge InterruptRegister 0x01E2 6058 CLR_FAL_TRIG23 GPIO Banks 2 and 3 ClearFallingEdge InterruptRegister 0x01E2 605C INTSTAT23 GPIO Banks 2 and 3 InterruptStatusRegister GPIO Banks 4 and 5 0x01E2 6060 DIR45 GPIO Banks 4 and 5 DirectionRegister 0x01E2 6064 OUT_DATA45 GPIO Banks 4 and 5 OutputData Register 0x01E2 6068 SET_DATA45 GPIO Banks 4 and 5 SetData Register 0x01E2 606C CLR_DATA45 GPIO Banks 4 and 5 ClearData Register 0x01E2 6070 IN_DATA45 GPIO Banks 4 and 5 InputData Register 0x01E2 6074 SET_RIS_TRIG45 GPIO Banks 4 and 5 SetRisingEdge InterruptRegister 0x01E2 6078 CLR_RIS_TRIG45 GPIO Banks 4 and 5 ClearRisingEdge InterruptRegister 0x01E2 607C SET_FAL_TRIG45 GPIO Banks 4 and 5 SetFallingEdge InterruptRegister 0x01E2 6080 CLR_FAL_TRIG45 GPIO Banks 4 and 5 ClearFallingEdge InterruptRegister 0x01E2 6084 INTSTAT45 GPIO Banks 4 and 5 InterruptStatusRegister
224 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-112.GPIO Registers(continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION GPIO Banks 6 and 7 0x01E2 6088 DIR67 GPIO Banks 6 and 7 DirectionRegister 0x01E2 608C OUT_DATA67 GPIO Banks 6 and 7 OutputData Register 0x01E2 6090 SET_DATA67 GPIO Banks 6 and 7 SetData Register 0x01E2 6094 CLR_DATA67 GPIO Banks 6 and 7 ClearData Register 0x01E2 6098 IN_DATA67 GPIO Banks 6 and 7 InputData Register 0x01E2 609C SET_RIS_TRIG67 GPIO Banks 6 and 7 SetRisingEdge InterruptRegister 0x01E2 60A0 CLR_RIS_TRIG67 GPIO Banks 6 and 7 ClearRisingEdge InterruptRegister 0x01E2 60A4 SET_FAL_TRIG67 GPIO Banks 6 and 7 SetFallingEdge InterruptRegister 0x01E2 60A8 CLR_FAL_TRIG67 GPIO Banks 6 and 7 ClearFallingEdge InterruptRegister 0x01E2 60AC INTSTAT67 GPIO Banks 6 and 7 InterruptStatusRegister GPIO Bank 8 0x01E2 60B0 DIR8 GPIO Bank 8 DirectionRegister 0x01E2 60B4 OUT_DATA8 GPIO Bank 8 OutputData Register 0x01E2 60B8 SET_DATA8 GPIO Bank 8 SetData Register 0x01E2 60BC CLR_DATA8 GPIO Bank 8 ClearData Register 0x01E2 60C0 IN_DATA8 GPIO Bank 8 InputData Register 0x01E2 60C4 SET_RIS_TRIG8 GPIO Bank 8 SetRisingEdge InterruptRegister 0x01E2 60C8 CLR_RIS_TRIG8 GPIO Bank 8 ClearRisingEdge InterruptRegister 0x01E2 60CC SET_FAL_TRIG8 GPIO Bank 8 SetFallingEdge InterruptRegister 0x01E2 60D0 CLR_FAL_TRIG8 GPIO Bank 8 ClearFallingEdge InterruptRegister 0x01E2 60D4 INTSTAT8 GPIO Bank 8 InterruptStatusRegister Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 225 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION GP [ ] as□input n m GPn m[ ] as□output GP [ ] as□input n m AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.28.2 GPIO PeripheralInput/OutputElectricalData/Timing
Table6-113.Timing Requirements forGPIO Inputs(1)(seeFigure6-76) 1.3V,1.2V,1.1V, 1.0VNO. UNIT MIN MAX 1 tw(GPIH) Pulseduration,GP n[m ]as inputhigh 2C (1)(2) ns 2 tw(GPIL) Pulseduration,GP n[m ]as inputlow 2C (1)(2) ns (1) The pulsewidthgivenissufficienttogeneratea CPU interruptoran EDMA event.However,ifa userwantstohave thedevice recognizetheGPIx changes throughsoftwarepollingoftheGPIO register,theGPIx durationmust be extendedtoallowthedevice enough timetoaccesstheGPIO registerthroughtheinternalbus. (2) C=SYSCLK4 periodinns. Table6-114.SwitchingCharacteristicsOver Recommended OperatingConditionsforGPIO Outputs (seeFigure6-76) 1.3V,1.2V,1.1V, 1.0VNO. PARAMETER UNIT MIN MAX 3 tw(GPOH) Pulseduration,GP n[m ]as outputhigh 2C (1)(2) ns 4 tw(GPOL) Pulseduration,GP n[m ]as outputlow 2C (1)(2) ns (1) Thisparametervalueshouldnotbe used as a maximum performancespecification.Actualperformanceofback-to-backaccessesofthe GPIO isdependentupon internalbus activity. (2) C=SYSCLK4 periodinns. Figure6-76.GPIO PortTiming
6.28.3 GPIO PeripheralExternalInterruptsElectricalData/Timing
Table6-115.Timing Requirements forExternalInterrupts(1)(seeFigure6-77) 1.3V,1.2V,1.1V, 1.0VNO. PARAMETER UNIT MIN MAX 1 tw(ILOW) Widthoftheexternalinterruptpulselow 2C (1)(2) ns 2 tw(IHIGH) Widthoftheexternalinterruptpulsehigh 2C (1)(2) ns (1) The pulsewidthgivenissufficienttogeneratean interruptoran EDMA event.However,ifa userwantstohave thedevicerecognizethe GPIO changes throughsoftwarepollingoftheGPIO register,theGPIO durationmust be extendedtoallowthedeviceenough timeto accesstheGPIO registerthroughtheinternalbus. (2) C=SYSCLK4 periodinns. Figure6-77.GPIO ExternalInterruptTiming
226 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
6.29 Programmable Real-TimeUnitSubsystem (PRUSS)
The Programmable Real-TimeUnitSubsystem (PRUSS) consistsof
- Two Programmable Real-TimeUnits(PRU0 and PRU1) and theirassociatedmemories
- An InterruptController(INTC)forhandlingsystem interruptevents.The INTC alsosupportsposting eventsback tothedevicelevelhostCPU.
- A SwitchedCentralResource (SCR) forconnectingthe variousinternaland externalmastersto the resourcesinsidethePRUSS. The two PRUs can operatecompletelyindependentlyor incoordinationwitheach other.The PRUs can alsowork incoordinationwiththedevicelevelhostCPU. Thisisdeterminedby thenatureoftheprogram which isloadedintothePRUs instructionmemory. Severaldifferentsignalingmechanisms are available between thetwo PRUs and thedevicelevelhostCPU. The PRUs are optimizedforperformingembedded tasksthatrequiremanipulationof packed memory mapped datastructures,handlingofsystemeventsthathave tightrealtimeconstraintsand interfacingwith systemsexternaltothedevice. The PRUSS comprisesvariousdistinctaddressableregions.Externallythesubsystem presentsa single 64Kbyterangeofaddresses.The internalinterconnectbus (alsocalledswitchedcentralresource,orSCR) of the PRUSS decodes accesses foreach of the individualregions.The PRUSS memory map is documented in Table 6-116 and in Table 6-117. Note thatthese two memory maps are implemented insidethePRUSS and arelocaltothecomponents ofthePRUSS. Table6-116.Programmable Real-TimeUnitSubsystem (PRUSS) LocalInstructionSpace Memory Map BYTE ADDRESS PRU0 PRU1 0x0000 0000 -0x0000 0FFF PRU0 InstructionRAM PRU1 InstructionRAM Table6-117.Programmable Real-TimeUnitSubsystem (PRUSS) LocalData Space Memory Map BYTE ADDRESS PRU0 PRU1 0x0000 0000 -0x0000 01FF Data RAM 0 (1) Data RAM 1 (1) 0x0000 0200 -0x0000 1FFF Reserved Reserved 0x0000 2000 -0x0000 21FF Data RAM 1 (1) Data RAM 0 (1) 0x0000 2200 -0x0000 3FFF Reserved Reserved 0x0000 4000 -0x0000 6FFF INTC Registers INTC Registers 0x0000 7000 -0x0000 73FF PRU0 ControlRegisters PRU0 ControlRegisters 0x0000 7400 -0x0000 77FF Reserved Reserved 0x0000 7800 -0x0000 7BFF PRU1 ControlRegisters PRU1 ControlRegisters 0x0000 7C00 -0xFFFF FFFF Reserved Reserved (1) Note thatPRU0 accessesData RAM 0 ataddress0x0000 0000,alsoPRU1 accessesData RAM 1 ataddress0x0000 0000.Data RAM0 isintendedtobe theprimarydatamemory forPRU0 and Data RAM1 isintendedtobe theprimarydatamemory forPRU1. However for passinginformationbetween PRUs, each PRU can accessthedataram ofthe‘other’PRU throughaddress0x0000 2000. The globalview ofthePRUSS internalmemories and controlportsisdocumented inTable6-118.The offsetaddresses of each regionare implemented insidethe PRUSS but the globaldevicememory mapping placesthePRUSS slaveportintheaddressrange0x01C3 0000-0x01C3 FFFF. The PRU0 and PRU1 can use eitherthelocalor globaladdressestoaccess theirinternalmemories,butusingthelocal addresseswillprovideaccesstimeseveralcyclesfasterthanusingtheglobaladdresses.Thisisbecause when accessingviatheglobaladdresstheaccess needs tobe routedthroughtheswitchfabricoutside PRUSS and back inthroughthePRUSS slaveport. Table6-118.Programmable Real-TimeUnitSubsystem (PRUSS) GlobalMemory Map BYTE ADDRESS REGION 0x01C3 0000 -0x01C3 01FF Data RAM 0 Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 227 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-118.Programmable Real-TimeUnitSubsystem (PRUSS) GlobalMemory Map (continued) BYTE ADDRESS REGION 0x01C3 0200 -0x01C3 1FFF Reserved 0x01C3 2000 -0x01C3 21FF Data RAM 1 0x01C3 2200 -0x01C3 3FFF Reserved 0x01C3 4000 -0x01C3 6FFF INTC Registers 0x01C3 7000 -0x01C3 73FF PRU0 ControlRegisters 0x01C3 7400 -0x01C3 77FF PRU0 Debug Registers 0x01C3 7800 -0x01C3 7BFF PRU1 ControlRegisters 0x01C3 7C00 -0x01C3 7FFF PRU1 Debug Registers 0x01C3 8000 -0x01C3 8FFF PRU0 InstructionRAM 0x01C3 9000 -0x01C3 BFFF Reserved 0x01C3 C000 -0x01C3 CFFF PRU1 InstructionRAM 0x01C3 D000 -0x01C3 FFFF Reserved Each ofthePRUs can access therestofthedevicememory (includingmemory mapped peripheraland configurationregisters)usingtheglobalmemory space addresses
6.29.1 PRUSS RegisterDescriptions
Table6-119.Programmable Real-TimeUnitSubsystem (PRUSS) Control/StatusRegisters PRU0 BYTE ADDRESS PRU1 BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01C3 7000 0x01C3 7800 CONTROL PRU ControlRegister 0x01C3 7004 0x01C3 7804 STATUS PRU StatusRegister 0x01C3 7008 0x01C3 7808 WAKEUP PRU Wakeup EnableRegister 0x01C3 700C 0x01C3 780C CYCLCNT PRU CycleCount 0x01C3 7010 0x01C3 7810 STALLCNT PRU StallCount PRU ConstantTableBlockIndex0x01C3 7020 0x01C3 7820 CONTABBLKIDX0 Register0 PRU ConstantTableProgrammable0x01C3 7028 0x01C3 7828 CONTABPROPTR0 PointerRegister0 PRU ConstantTableProgrammable0x01C3 702C 0x01C3 782C CONTABPROPTR1 PointerRegister1 PRU InternalGeneralPurpose0x01C37400 -0x01C3747C 0x01C3 7C00 -0x01C3 7C7C INTGPR0 – INTGPR31 Register0 (forDebug) PRU InternalGeneralPurpose0x01C37480 -0x01C374FC 0x01C3 7C80 -0x01C3 7CFC INTCTER0 – INTCTER31 Register0 (forDebug) Table6-120.Programmable Real-TimeUnitSubsystem InterruptController(PRUSS INTC) Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01C3 4000 REVID RevisionID Register 0x01C3 4004 CONTROL ControlRegister 0x01C3 4010 GLBLEN GlobalEnableRegister 0x01C3 401C GLBLNSTLVL GlobalNestingLevelRegister 0x01C3 4020 STATIDXSET System InterruptStatusIndexedSetRegister 0x01C3 4024 STATIDXCLR System InterruptStatusIndexedClearRegister 0x01C3 4028 ENIDXSET System InterruptEnableIndexedSetRegister 0x01C3 402C ENIDXCLR System InterruptEnableIndexedClearRegister 0x01C3 4034 HSTINTENIDXSET HostInterruptEnableIndexedSetRegister 0x01C3 4038 HSTINTENIDXCLR HostInterruptEnableIndexedClearRegister 0x01C3 4080 GLBLPRIIDX GlobalPrioritizedIndexRegister
228 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-120.Programmable Real-TimeUnitSubsystem InterruptController(PRUSS INTC) Registers(continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01C3 4200 STATSETINT0 System InterruptStatusRaw/Set Register0 0x01C3 4204 STATSETINT1 System InterruptStatusRaw/Set Register1 0x01C3 4280 STATCLRINT0 System InterruptStatusEnabled/ClearRegister0 0x01C3 4284 STATCLRINT1 System InterruptStatusEnabled/ClearRegister1 0x01C3 4300 ENABLESET0 System InterruptEnableSetRegister0 0x01C3 4304 ENABLESET1 System InterruptEnableSetRegister1 0x01C3 4380 ENABLECLR0 System InterruptEnableClearRegister0 0x01C3 4384 ENABLECLR1 System InterruptEnableClearRegister1 0x01C3 4400 -0x01C3 4440 CHANMAP0 -CHANMAP15 ChannelMap Registers0-15 0x01C3 4800 -0x01C3 4808 HOSTMAP0 -HOSTMAP2 HostMap Register0-2 HOSTINTPRIIDX0 -0x01C3 4900 -0x01C3 4928 HostInterruptPrioritizedIndexRegisters0-9HOSTINTPRIIDX9 0x01C3 4D00 POLARITY0 System InterruptPolarityRegister0 0x01C3 4D04 POLARITY1 System InterruptPolarityRegister1 0x01C3 4D80 TYPE0 System InterruptType Register0 0x01C3 4D84 TYPE1 System InterruptType Register1 HOSTINTNSTLVL0-0x01C3 5100 -0x01C3 5128 HostInterruptNestingLevelRegisters0-9HOSTINTNSTLVL9 0x01C3 5500 HOSTINTEN HostInterruptEnableRegister Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 229 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
6.30 EmulationLogic
Thissectiondescribesthestepstouse a thirdpartydebuggeron theARM926EJ-S withinthedevice.The debug capabilitiesand featuresforARM areas shown below. ARM:
- BasicDebug – ExecutionControl – System Visibility
- Advanced Debug – GlobalStart – GlobalStop
- Advanced System Control – Subsystem resetviadebug – Peripheralnotificationofdebug events – Cache-coherentdebug accesses
- Program Trace – Program flowcorruption – Code coverage – Pathcoverage – Thread/interruptsynchronizationproblems
- Data Trace – Memory corruption
- TimingTrace – Profiling
- AnalysisActions – Stopprogramexecution – Controltracestreams – Generatedebug interrupt – Benchmarkingwithcounters – Externaltriggergeneration – Debug statemachine statetransition – Combinationaland Sequentialeventgeneration
- AnalysisEvents – Program eventdetection – Data eventdetection – ExternaltriggerDetection – System eventdetection(i.e.cache miss) – Debug statemachine statedetection
- AnalysisConfiguration – Applicationaccess – Debugger access
230 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 Table6-121.ARM Debug Features Category Hardware Feature Availability Softwarebreakpoint Unlimited Up to14 HWBPs, including: 2 precise(1)HWBP insideARM corewhicharesharedwithwatchpoints.BasicDebug Hardware breakpoint 8 imprecise(1)HWBPs fromETM ’s addresscomparators,whicharesharedwithtrace function,and can be used as watchpoints. 4 imprecise(1)HWBPs fromICECrusher. Up to6 watchpoints,including: 2 fromARM corewhichissharedwithHWBPs and can be associatedwitha data.Watch point 8 fromETM ’s addresscomparators,whicharesharedwithtracefunction,and HWBPs. 2 fromARM corewhichissharedwithHWBPs. Analysis Watch pointwithData 8 watchpointsfromETM can be associatedwitha datacomparator,and ETM has total4 datacomparators. Counters/timers 3x32-bit(1cycle;2 event) ExternalEventTriggerIn 1 ExternalEventTriggerOut 1 Addressrangefortrace 4 Data qualificationfortrace 2 System eventsfortracecontrol 20 TraceControl Counters/Timersfortracecontrol 2x16-bit StateMachines/Sequencers 1x3-StateStateMachine Context/ThreadID Comparator 1 Independenttriggercontrolunits 12 CapturedepthPC 4k bytesETB On-chipTrace CapturedepthPC + Timing 4k bytesETBCapture Applicationaccessible Y (1) Precisehardwarebreakpointswillhalttheprocessorimmediatelypriortotheexecutionoftheselectedinstruction.Imprecisebreakpoints willhalttheprocessorsome number ofcyclesaftertheselectedinstructiondependingon deviceconditions.
6.30.1 JTAG PortDescription
The devicetargetdebug interfaceuses thefivestandardIEEE 1149.1(JTAG)signals(TRST, TCK, TMS, TDI, and TDO) , a returnclock(RTCK) due to the clockingrequirementsof the ARM926EJ-S and emulationsignalsEMU0 and EMU1. TRST holdsthedebug and boundaryscan logicinresetwhen pulled low (itsdefaultstate).SinceTRST has an internalpull-downresistor,thisensuresthatatpower up the devicefunctionsin itsnormal (non-test)operationmode ifTRST isnot connected.Otherwise,TRST shouldbe driveninactiveby the emulatoror boundary scan controller.Boundary scan testcannot be performedwhiletheTRST pinispulledlow. Table6-122.JTAG PortDescription PIN TYPE NAME DESCRIPTION When asserted(activelow)causesalltestand debug logicinthedevicetobe resetTRST I TestLogicReset alongwiththeIEEE 1149.1interface Thisisthetestclockused todrivean IEEE 1149.1TAP statemachine and logic. TCK I TestClock Dependingon theemulatorattachedto,thisisa freerunningclockora gatedclock dependingon RTCK monitoring. SynchronizedTCK. Dependingon theemulatorattachedto,theJTAG signalsareRTCK O ReturnedTestClock clockedfromRTCK orRTCK ismonitoredby theemulatortogateTCK. TMS I TestMode Select DirectsthenextstateoftheIEEE 1149.1testaccessportstatemachine TDI I TestData Input Scan datainputtothedevice TDO O TestData Output Scan dataoutputofthedevice Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 231 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION TDO Router TDI StepsCLK TMS Router ARM926EJ-S/ETM AM1806 SPRS658 –FEBRUARY 2010 www.ti.com Table6-122.JTAG PortDescription(continued) PIN TYPE NAME DESCRIPTION EMU0 I/O Emulation0 Channel0 trigger+ HSRTDX EMU1 I/O Emulation1 Channel1 trigger+ HSRTDX
6.30.2 Scan Chain ConfigurationParameters
Table6-123shows theTAP configurationdetailsrequiredtoconfiguretherouter/emulatorforthisdevice. Table6-123.JTAG PortDescription Router PortID DefaultTAP TAP Name Tap IR Length
17 No C674x 38
18 No ARM926 4
19 No ETB 4
The routerisrevisionC and has a 6-bitIR length.
6.30.3 InitialScan Chain Configuration
The firstlevelofdebug interfacethatsees thescan controlleristheTAP routermodule.The debugger can configuretheTAP routerforseriallylinkingup to16 TAP controllersor individuallyscanningone of theTAP controllerswithoutdisruptingtheIR stateoftheotherTAPs. 6.30.3.1Adding TAPS totheScan Chain The TAP routermust be programmed toadd additionalTAPs tothescan chain.The followingJTAG scans must be completedtoadd theARM926EJ-S tothescan chain. A Power-On Reset (POR) or theJTAG Test-LogicReset stateconfigurestheTAP routertocontainonly therouter’s TAP. Figure6-78.Adding ARM926EJ-S tothescan chain Pre-amble:The devicewhose datareachestheemulatorfirstislistedfirstintheboardconfigurationfile. Thisdeviceisa pre-ambleforalltheotherdevices.Thisdevicehas thelowestdeviceID. Post-amble:The devicewhose datareachestheemulatorlastislistedlastintheboardconfigurationfile. Thisdeviceisa post-ambleforalltheotherdevices.Thisdevicehas thehighestdeviceID.
- Function:Update theJTAG preambleand post-amblecounts. – Parameter:The IR pre-amblecountis'0'. – Parameter:The IR post-amblecountis'0'. – Parameter:The DR pre-amblecountis'0'. – Parameter:The DR post-amblecountis'0'. – Parameter:The IR main countis'6'.
232 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 – Parameter:The DR main countis'1'.
- Function:Do a send-onlyJTAG IR/DR scan. – Parameter:The routetoJTAG shiftstateis'shortesttransition'. – Parameter:The JTAG shiftstateis'shift-ir'. – Parameter:The JTAG destinationstateis'pause-ir'. – Parameter:The bitlengthofthecommand is'6'. – Parameter:The send datavalueis'0x00000007'. – Parameter:The actualreceivedatais'discarded'.
- Function:Do a send-onlyJTAG IR/DR scan. – Parameter:The routetoJTAG shiftstateis'shortesttransition'. – Parameter:The JTAG shiftstateis'shift-dr'. – Parameter:The JTAG destinationstateis'pause-dr'. – Parameter:The bitlengthofthecommand is'8'. – Parameter:The send datavalueis'0x00000089'. – Parameter:The actualreceivedatais'discarded'.
- Function:Do a send-onlyJTAG IR/DR scan. – Parameter:The routetoJTAG shiftstateis'shortesttransition'. – Parameter:The JTAG shiftstateis'shift-ir'. – Parameter:The JTAG destinationstateis'pause-ir'. – Parameter:The bitlengthofthecommand is'6'. – Parameter:The send datavalueis'0x00000002'. – Parameter:The actualreceivedatais'discarded'.
- Function:Embed theportaddressinnextcommand. – Parameter:The portaddressfieldis'0x0f000000'. – Parameter:The portaddressvalueis'3'.
- Function:Do a send-onlyJTAG IR/DR scan. – Parameter:The routetoJTAG shiftstateis'shortesttransition'. – Parameter:The JTAG shiftstateis'shift-dr'. – Parameter:The JTAG destinationstateis'pause-dr'. – Parameter:The bitlengthofthecommand is'32'. – Parameter:The send datavalueis'0xa2002108'. – Parameter:The actualreceivedatais'discarded'.
- Function:Do a send-onlyall-onesJTAG IR/DR scan. – Parameter:The JTAG shiftstateis'shift-ir'. – Parameter:The JTAG destinationstateis'run-test/idle'. – Parameter:The bitlengthofthecommand is'6'. – Parameter:The send datavalueis'all-ones'. – Parameter:The actualreceivedatais'discarded'.
- Function:Waitfora minimum number ofTCLK pulses. – Parameter:The countofTCLK pulsesis'10'.
- Function:Update theJTAG preambleand post-amblecounts. – Parameter:The IR pre-amblecountis'0'. – Parameter:The IR post-amblecountis'6'. – Parameter:The DR pre-amblecountis'0'. – Parameter:The DR post-amblecountis'1'. – Parameter:The IR main countis'4'. – Parameter:The DR main countis'1'. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 233 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION TDI Router ARM926EJ-S/ETM TDO StepsCLK TMS Router ARM926EJ-S/ETM ETB AM1806 SPRS658 –FEBRUARY 2010 www.ti.com The initialscan chaincontainsonlythe TAP routermodule.The followingstepsmust be completedin ordertoadd ETB TAP tothescan chain. Figure6-79.Adding ETB tothescan chain
- Function:Do a send-onlyJTAG IR/DR scan. – Parameter:The routetoJTAG shiftstateis'shortesttransition'. – Parameter:The JTAG shiftstateis'shift-ir'. – Parameter:The JTAG destinationstateis'pause-ir'. – Parameter:The bitlengthofthecommand is'6'. – Parameter:The send datavalueis'0x00000007'. – Parameter:The actualreceivedatais'discarded'.
- Function:Do a send-onlyJTAG IR/DR scan. – Parameter:The routetoJTAG shiftstateis'shortesttransition'. – Parameter:The JTAG shiftstateis'shift-dr'. – Parameter:The JTAG destinationstateis'pause-dr'. – Parameter:The bitlengthofthecommand is'8'. – Parameter:The send datavalueis'0x00000089'. – Parameter:The actualreceivedatais'discarded'.
- Function:Do a send-onlyJTAG IR/DR scan. – Parameter:The routetoJTAG shiftstateis'shortesttransition'. – Parameter:The JTAG shiftstateis'shift-ir'. – Parameter:The JTAG destinationstateis'pause-ir'. – Parameter:The bitlengthofthecommand is'6'. – Parameter:The send datavalueis'0x00000002'. – Parameter:The actualreceivedatais'discarded'.
- Function:Embed theportaddressinnextcommand. – Parameter:The portaddressfieldis'0x0f000000'. – Parameter:The portaddressvalueis'3'.
- Function:Do a send-onlyJTAG IR/DR scan. – Parameter:The routetoJTAG shiftstateis'shortesttransition'. – Parameter:The JTAG shiftstateis'shift-dr'. – Parameter:The JTAG destinationstateis'pause-dr'. – Parameter:The bitlengthofthecommand is'32'. – Parameter:The send datavalueis'0xa3302108'. – Parameter:The actualreceivedatais'discarded'.
- Function:Do a send-onlyall-onesJTAG IR/DR scan. – Parameter:The JTAG shiftstateis'shift-ir'.
234 PeripheralInformationand ElectricalSpecifications Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010 – Parameter:The JTAG destinationstateis'run-test/idle'. – Parameter:The bitlengthofthecommand is'6'. – Parameter:The send datavalueis'all-ones'. – Parameter:The actualreceivedatais'discarded'.
- Function:Waitfora minimum number ofTCLK pulses. – Parameter:The countofTCLK pulsesis'10'.
- Function:Update theJTAG preambleand post-amblecounts. – Parameter:The IR pre-amblecountis'0'. – Parameter:The IR post-amblecountis'6+ 4'. – Parameter:The DR pre-amblecountis'0'. – Parameter:The DR post-amblecountis'1+ 1'. – Parameter:The IR main countis'4'. – Parameter:The DR main countis'1'. Copyright© 2010,Texas InstrumentsIncorporated PeripheralInformationand ElectricalSpecifications 235 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
7 Device and Documentation Support
7.1 Device Support
TI offersan extensivelineof developmenttoolsforthe deviceplatform,includingtoolsto evaluatethe performanceoftheprocessors,generatecode,developalgorithmimplementations,and fullyintegrateand debug softwareand hardwaremodules.The tool'ssupportdocumentationiselectronicallyavailablewithin theCode Composer Studio™ IntegratedDevelopmentEnvironment(IDE). The followingproductssupportdevelopmentofthedeviceapplications: SoftwareDevelopment Tools: Code Composer Studio™ IntegratedDevelopmentEnvironment(IDE):includingEditor C/C++/AssemblyCode Generation,and Debug plusadditionaldevelopmenttools Hardware Development Tools: ExtendedDevelopmentSystem (XDS ™ )Emulator For a completelistingofdevelopment-supporttoolsforthedevice,visittheTexas Instrumentsweb site on theWorldwideWeb athttp://www.ti.comuniformresourcelocator(URL).For informationon pricing and availability,contactthenearestTIfieldsalesofficeorauthorizeddistributor.
7.2 Documentation Support
The followingdocuments describethedevice.Copiesofthesedocuments areavailableon theInternetat ReferenceGuides SPRUGU4 AM1806 ARM MicroprocessorSystem ReferenceGuide SPRUFU0 AM17x/AM18x ARM MicroprocessorPeripheralsOverview ReferenceGuide
236 Deviceand DocumentationSupport Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION X AM1806 ( ) ZWT ( ) 3 PREFIX X = Experimental Device P = Prototype Device Blank = Production Device DEVICE SILICON REVISION 3 = 375 MHz 4 = 456 MHz Blank PACKAGE TYPE
361 Pin Plastic BGA, with Pb-free
Soldered Balls [Green], 0.65-mm Ball Pitch ZCE = DEVICE SPEED RANGE TEMPERATURE RANGE (JUNCTION)B = Silicon Revision 2.0 = 0°C to 90°C (Commercial Grade) = -40°C to 90°C (Industrial Grade)D Soldered Balls [Green]; 0.80-mm Ball Pitch ZWT = = -40°C to 105°C (Extended Grade)A AM1806 www.ti.com SPRS658 –FEBRUARY 2010
8 MechanicalPackaging and OrderableInformation
This sectiondescribesthe deviceorderablepartnumbers, packagingoptions,materials,thermaland mechanicalparameters.
8.1 Device and Development-Support Tool Nomenclature
Figure8-1providesa legendforreadingthecompletedevice. A. BGA = BallGridArray Figure8-1.Device Nomenclature Copyright© 2010,Texas InstrumentsIncorporated MechanicalPackagingand OrderableInformation 237 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 SPRS658 –FEBRUARY 2010 www.ti.com
8.2 Thermal Data forZCE Package
The followingtable(s)show the thermalresistancecharacteristicsfor the PBGA –ZCE mechanical package. Table8-1.Thermal ResistanceCharacteristics(PBGA Package) [ZCE] NO. °C/W (1) AIR FLOW (m/s)(2) 1 R ΘJC Junction-to-case 7.6 N/A 2 R ΘJB Junction-to-board 11.3 N /A 3 R ΘJA Junction-to-freeair 23.9 0.00 4 21.2 0.50 5 20.3 1.00 R ΘJMA Junction-to-movingair 6 19.5 2.00 7 18.6 4.00 8 0.2 0.00 9 0.3 0.50 10 PsiJT Junction-to-packagetop 0.3 1.00 11 0.4 2.00 12 0.5 4.00 13 11.2 0.00 14 11.1 0.50 15 PsiJB Junction-to-board 11.1 1.00 16 11.0 2.00 17 10.9 4.00 (1) These measurements were conductedina JEDEC defined2S2P systemand willchange based on environmentas wellas application. Formore information,see theseEIA/JEDEC standards– EIA/JESD51-2,IntegratedCircuitsThermalTestMethod Environment Conditions-NaturalConvection(StillAir)and JESD51-7,HighEffectiveThermalConductivityTestBoard forLeaded SurfaceMount Packages.Power dissipationof500 mW and ambienttemp of70C assumed. PCB with2oz (70um)topand bottomcopperthickness and 1.5oz(50um)innercopperthickness (2) m/s = meterspersecond
238 MechanicalPackagingand OrderableInformation Copyright© 2010,Texas InstrumentsIncorporated
SubmitDocumentationFeedback ProductFolderLink(s):AM1806
ADVANCE□INFORMATION AM1806 www.ti.com SPRS658 –FEBRUARY 2010
8.3 Thermal Data forZWT Package
The followingtable(s)show the thermalresistancecharacteristicsfor the PBGA –ZWT mechanical package. Table8-2.Thermal ResistanceCharacteristics(PBGA Package) [ZWT] NO. °C/W (1) AIR FLOW (m/s)(2) 1 R ΘJC Junction-to-case 7.3 N/A 2 R ΘJB Junction-to-board 12.4 N /A 3 R ΘJA Junction-to-freeair 23.7 0.00 4 21.0 0.50 5 20.1 1.00 R ΘJMA Junction-to-movingair 6 19.3 2.00 7 18.4 4.00 8 0.2 0.00 9 0.3 0.50 10 PsiJT Junction-to-packagetop 0.3 1.00 11 0.4 2.00 12 0.5 4.00 13 12.3 0.00 14 12.2 0.50 15 PsiJB Junction-to-board 12.1 1.00 16 12.0 2.00 17 11.9 4.00 (1) These measurements were conductedina JEDEC defined2S2P systemand willchange based on environmentas wellas application. Formore information,see theseEIA/JEDEC standards– EIA/JESD51-2,IntegratedCircuitsThermalTestMethod Environment Conditions-NaturalConvection(StillAir)and JESD51-7,HighEffectiveThermalConductivityTestBoard forLeaded SurfaceMount Packages.Power dissipationof1W and ambienttemp of70C assumed. PCB with2oz (70um)topand bottomcopperthicknessand 1.5oz(50um)innercopperthickness (2) m/s = meterspersecond Copyright© 2010,Texas InstrumentsIncorporated MechanicalPackagingand OrderableInformation 239 SubmitDocumentationFeedback ProductFolderLink(s):AM1806
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications. TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Applications Amplifiers amplifier.ti.com Audio www.ti.com/audio Data Converters dataconverter.ti.com Automotive www.ti.com/automotive DLP® Products www.dlp.com Communications and www.ti.com/communications Telecom DSP dsp.ti.com Computers and www.ti.com/computers Peripherals Clocks and Timers www.ti.com/clocks Consumer Electronics www.ti.com/consumer-apps Interface interface.ti.com Energy www.ti.com/energy Logic logic.ti.com Industrial www.ti.com/industrial Power Mgmt power.ti.com Medical www.ti.com/medical Microcontrollers microcontroller.ti.com Security www.ti.com/security RFID www.ti-rfid.com Space, Avionics & www.ti.com/space-avionics-defense Defense RF/IF and ZigBee® Solutionswww.ti.com/lprf Video and Imaging www.ti.com/video Wireless www.ti.com/wireless-apps Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2010, Texas Instruments Incorporated