EN
Intel logo
Official user manual

Intel SA-1110

442 pages·5.6 MB·Food Processor·PDF·ENDEFRITNLJA
Intel SA-1110
Table of Contents 590 sections Intel® StrongARM* SA-1110 Microprocessor · Contents · Introduction 1 · 1.1 Intel® StrongARM* SA-1110 Microprocessor · … ShowHide
Intel® StrongARM* SA-1110 Microprocessorp.1Contentsp.3Introduction 1p.211.1 Intel® StrongARM* SA-1110 Microprocessorp.211.2 Overviewp.241.3 Example Systemp.251.4 ARM Architecturep.261.4.1 26-Bit Modep.261.4.2 Coprocessorsp.261.4.3 Memory Managementp.261.4.4 Instruction Cachep.261.4.5 Data Cachep.261.4.6 Write Bufferp.271.4.7 Read Bufferp.27Functional Description 2p.292.1 Block Diagramp.292.2 Inputs/Outputsp.312.3 Signal Descriptionp.322.4 Memory Mapp.36ARM Implementation Options 3p.393.1 Big and Little Endianp.393.2 Exceptionsp.393.2.1 Power-Up Resetp.403.2.2 ROM Size Selectp.403.2.3 Abortp.413.2.4 Vector Summaryp.423.2.5 Exception Prioritiesp.423.2.6 Interrupt Latencies and Enable Timingp.433.3 Coprocessorsp.43Instruction Set 4p.454.1 Instruction Setp.454.2 Instruction Timingp.45Caches, Write Buffer, and Read Buffer 5p.475.1 Instruction Cache (Icache)p.475.1.1 Icache Operationp.475.1.2 Icache Validityp.475.1.2.1 Software Icache Flushp.475.1.3 Icache Enable/Disable and Resetp.485.1.3.1 Enabling the Icachep.485.1.3.2 Disabling the Icachep.485.2 Data Caches (Dcaches)p.485.2.1 Cacheable Bit – Cp.495.2.1.1 Cacheable Reads – C = 1p.495.2.1.2 Noncacheable Reads – C = 0p.495.2.2 Bufferable Bit – Bp.495.2.3 Software Dcache Flushp.505.2.3.1 Doubly Mapped Spacep.505.2.4 Dcaches Enable/Disable and Resetp.505.2.4.1 Enabling the Dcachesp.515.2.4.2 Disabling the Dcachesp.515.3 Write Buffer (WB)p.515.3.1 Bufferable Bitp.515.3.2 Write Buffer Operationp.515.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)p.515.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)p.525.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0)p.525.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1)p.525.3.3 Enabling the Write Bufferp.525.3.3.1 Disabling the Write Bufferp.525.4 Read Buffer (RB)p.52Coprocessors 6p.556.1 Internal Coprocessor Instructionsp.556.2 Coprocessor 15 Definitionp.566.2.1 Register 0 – IDp.566.2.2 Register 1 – Controlp.576.2.3 Register 2 – Translation Table Basep.586.2.4 Register 3 – Domain Access Controlp.586.2.5 Register 4 – RESERVEDp.596.2.6 Register 5 – Fault Statusp.596.2.7 Register 6 – Fault Addressp.596.2.8 Register 7 – Cache Control Operationsp.596.2.9 Register 8 – TLB Operationsp.606.2.10 Register 9 – Read-Buffer Operationsp.606.2.11 Registers 10 – 12 RESERVEDp.616.2.12 Register 13 – Process ID Virtual Address Mappingp.616.2.13 Register 14 – Debug Support (Breakpoints)p.626.2.14 Register 15 – Test, Clock, and Idle Controlp.63Memory Management Unit (MMU) 7p.657.1 Overviewp.657.1.1 MMU Registersp.657.2 MMU Faults and CPU Abortsp.657.3 Data Abortsp.657.3.1 Cacheable Reads (Linefetches)p.667.3.2 Buffered Writesp.667.4 Interaction of the MMU, Icache, Dcache, and Write Bufferp.667.5 Mini Data Cachep.67Clocks 8p.698.1 Intel® StrongARM SA-1110 Crystal Oscillatorsp.698.2 Core Clock Configuration Registerp.708.2.1 Restrictions on Changing the Core Clock Configurationp.718.3 Driving Intel® StrongARM SA-1110 Crystal Pins from an External Sourcep.718.4 Clocking During Testp.72System Control Module 9p.739.1 General-Purpose I/Op.739.1.1 GPIO Register Definitionsp.749.1.1.1 GPIO Pin-Level Register (GPLR)p.759.1.1.2 GPIO Pin Direction Register (GPDR)p.769.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR)p.779.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER)p.789.1.1.5 GPIO Edge Detect Status Register (GEDR)p.799.1.1.6 GPIO Alternate Function Register (GAFR)p.809.1.2 GPIO Alternate Functionsp.819.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Functionp.829.1.3 GPIO Register Locationsp.829.2 Interrupt Controllerp.839.2.1 Interrupt Controller Register Definitionsp.849.2.1.1 Interrupt Controller Pending Register (ICPR)p.849.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP)p.869.2.1.3 Interrupt Controller Mask Register (ICMR)p.879.2.1.4 Interrupt Controller Level Register (ICLR)p.889.2.1.5 Interrupt Controller Control Register (ICCR)p.899.2.2 Interrupt Controller Register Locationsp.909.3 Real-Time Clockp.909.3.1 RTC Counter Register (RCNR)p.909.3.2 RTC Alarm Register (RTAR)p.919.3.3 RTC Status Register (RTSR)p.919.3.4 RTC Trim Register (RTTR)p.939.3.5 Trim Procedurep.939.3.5.1 Oscillator Frequency Calibrationp.939.3.5.2 RTTR Value Calculationsp.949.3.6 Real-Time Clock Register Locationsp.959.4 Operating System Timerp.959.4.1 OS Timer Count Register (OSCR)p.969.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3)p.969.4.3 OS Timer Watchdog Match Enable Register (OWER)p.969.4.4 OS Timer Status Register (OSSR)p.979.4.5 OS Timer Interrupt Enable Register (OIER)p.989.4.6 Watchdog Timerp.989.4.7 OS Timer Register Locationsp.999.5 Power Managerp.999.5.1 Run Modep.999.5.2 Idle Modep.999.5.2.1 Entering Idle Modep.1009.5.2.2 Exiting Idle Modep.1009.5.3 Sleep Modep.1019.5.3.1 CPU Preparation for Sleep Modep.1019.5.3.2 Events Causing Entry into Sleep Modep.1019.5.3.3 The Sleep Shutdown Sequencep.1019.5.3.4 During Sleep Modep.1029.5.3.5 The Sleep Wake-Up Sequencep.1039.5.3.6 Booting After Sleep Modep.1039.5.3.7 Reviving the DRAMs from Self-Refresh Modep.1049.5.4 Notes on Power Supply Sequencingp.1049.5.5 Assumed Behavior of an Intel® StrongARM SA-1110 System in Sleep Modep.1049.5.6 Pin Operation in Sleep Modep.1069.5.7 Power Manager Registersp.1079.5.7.1 Power Manager Control Register (PMCR)p.1079.5.7.2 Power Manager General Configuration Register (PCFR)p.1089.5.7.3 Power Manager PLL Configuration Register (PPCR)p.1109.5.7.4 Power Manager Wake-Up Enable Register (PWER)p.1109.5.7.5 Power Manager Sleep Status Register (PSSR)p.1119.5.7.6 Power Manager Scratch Pad Register (PSPR)p.1139.5.7.7 Power Manager GPIO Sleep State Register (PGSR)p.1139.5.7.8 Power Manager Oscillator Status Register (POSR)p.1149.5.8 Power Manager Register Locationsp.1149.6 Reset Controllerp.1159.6.1 Reset Controller Registersp.1159.6.1.1 Reset Controller Software Reset Register (RSRR)p.1159.6.1.2 Reset Controller Status Register (RCSR)p.1169.6.2 Reset Controller Register Locationsp.117Memory and PC-Card Control Module 10p.11910.1 Overview of Operationp.12010.1.1 Types of Memory Accessesp.12210.1.2 Readsp.12210.1.3 Writesp.12310.1.4 Transaction Summaryp.12310.1.5 Read-Lock-Writep.12310.1.6 Aborts and Nonexistent Memoryp.12410.2 Memory Interface Reset and Initializationp.12410.2.1 Hardware or Sleep Reset Proceduresp.12510.2.2 Software or Watchdog Reset Proceduresp.12610.3 Memory Configuration Registersp.12710.3.1 DRAM Configuration Register (MDCNFG)p.12810.3.2 DRAM Refresh Control Register (MDREFR)p.13210.3.3 CAS Waveform Rotate Registers (MDCAS00, MDCAS01, MDCAS02, MDCAS20, MDCAS21, MDCAS22)p.13610.3.3.1 MDCAS Registers with Asynchronous DRAMp.13610.3.3.2 MDCAS Registers with SDRAM and SMROMp.13710.3.4 Static Memory Control Registers (MSC2 – 0)p.13910.3.5 Expansion Memory (PC-Card) Configuration Register (MECR)p.14210.4 SMROM Configuration Register (SMCNFG)p.14410.4.1 Changing SMROM RAS Latencyp.14710.5 Dynamic Interface Operationp.14810.5.1 DRAM Overviewp.14810.5.2 DRAM Timingp.15010.5.3 SDRAM Overviewp.15210.5.4 SDRAM Commandsp.15410.5.5 SDRAM State Machinep.15510.5.6 DRAM/SDRAM Refreshp.16010.5.7 DRAM/SDRAM Self-Refresh in Sleep Modep.16110.6 Static Memory Interfacep.16210.6.1 ROM Interface Overviewp.16310.6.2 ROM Timing Diagrams and Parametersp.16310.6.3 SRAM Interface Overviewp.16710.6.4 SRAM Timing Diagrams and Parametersp.16710.6.5 Variable Latency I/O Interface Overviewp.16910.6.6 Variable Latency I/O Timing Diagrams and Parametersp.16910.6.7 FLASH Memory Interface Overviewp.17210.6.8 FLASH Memory Timing Diagrams and Parametersp.17210.6.9 SMROM Overviewp.17310.6.10 SMROM Commandsp.17310.6.11 SMROM State Machinep.17410.7 PC-Card Overviewp.17710.7.1 8-, 16-, and 32-Bit Data Bus Operationp.17910.7.2 External Logic for PC-Card Implementationp.18010.7.3 PC-Card Interface Timing Diagrams and Parametersp.18310.8 Alternate Memory Bus Master Modep.18510.9 Memory System Examplesp.18610.10 SA1110 Memory Configuration Toolp.190Peripheral Control Module 11p.20511.1 Read/Write Interfacep.20511.2 Memory Organizationp.20611.3 Interruptsp.20711.4 Peripheral Pinsp.20811.5 Use of the GPIO Pins for Alternate Functionsp.20911.6 DMA Controllerp.21011.6.1 DMA Register Definitionsp.21111.6.1.1 DMA Device Address Register (DDARn)p.21111.6.1.2 DMA Control/Status Register (DCSRn)p.21311.6.1.3 DMA Buffer A Start Address Register (DBSAn)p.21511.6.1.4 DMA Buffer A Transfer Count Register (DBTAn)p.21611.6.1.5 DMA Buffer B Start Address Register (DBSBn)p.21611.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)p.21611.6.2 DMA Register Listp.21711.7 LCD Controllerp.21911.7.1 LCD Controller Operationp.22011.7.1.1 DMA to Memory Interfacep.22111.7.1.2 Frame Bufferp.22111.7.1.3 Input FIFOp.22611.7.1.4 Lookup Palettep.22611.7.1.5 Color/Gray-Scale Ditheringp.22611.7.1.6 Output FIFOp.22711.7.1.7 LCD Controller Pinsp.22711.7.2 LCD Controller Register Definitionsp.22811.7.3 LCD Controller Control Register 0p.22911.7.3.1 LCD Enable (LEN)p.22911.7.3.2 Color/Monochrome Select (CMS)p.22911.7.3.3 Single-/Dual-Panel Select (SDS)p.22911.7.3.4 LCD Disable Done Interrupt Mask (LDM)p.23111.7.3.5 Base Address Update Interrupt Mask (BAM)p.23211.7.3.6 Error Interrupt Mask (ERM)p.23211.7.3.7 Passive/Active Display Select (PAS)p.23211.7.3.8 Big/Little Endian Select (BLE)p.23311.7.3.9 Double-Pixel Data (DPD) Pin Modep.23411.7.3.10 Vertical Slant Line Correction (VSC)p.23411.7.3.11 Palette DMA Request Delay (PDD)p.23411.7.4 LCD Controller Control Register 1p.23611.7.4.1 Pixels Per Line (PPL)p.23711.7.4.2 Horizontal Sync Pulse Width (HSW)p.23711.7.4.3 End-of-Line Pixel Clock Wait Count (ELW)p.23711.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)p.23711.7.5 LCD Controller Control Register 2p.23811.7.5.1 Lines Per Panel (LPP)p.23811.7.5.2 Vertical Sync Pulse Width (VSW)p.23911.7.5.3 End-of-Frame Line Clock Wait Count (EFW)p.23911.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)p.24011.7.6 LCD Controller Control Register 3p.24111.7.6.1 Pixel Clock Divider (PCD)p.24211.7.6.2 AC Bias Pin Frequency (ACB)p.24211.7.6.3 AC Bias Pin Transitions Per Interrupt (API)p.24211.7.6.4 Vertical Sync Polarity (VSP)p.24311.7.6.5 Horizontal Sync Polarity (HSP)p.24311.7.6.6 Pixel Clock Polarity (PCP)p.24311.7.6.7 Output Enable Polarity (OEP)p.24311.7.7 LCD Controller DMA Registersp.24511.7.8 DMA Channel 1 Base Address Registerp.24511.7.9 DMA Channel 1 Current Address Registerp.24611.7.10 DMA Channel 2 Base and Current Address Registersp.24711.7.11 LCD Controller Status Registerp.24811.7.11.1 LCD Disable Done Flag (LDD) (read/write, maskable interrupt)p.24911.7.11.2 Base Address Update Flag (BAU) (read-only, maskable interrupt)p.24911.7.11.3 Bus Error Status (BER) (read/write, maskable interrupt)p.24911.7.11.4 AC Bias Count Status (ABC) (read/write, nonmaskable interrupt)p.24911.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)p.24911.7.11.6 Input FIFO Underrun Lower Panel Status (IUL) (read/write, maskable interrupt)p.25011.7.11.7 Input FIFO Overrun Upper Panel Status (IOU) (read/write, maskable interrupt)p.25011.7.11.8 Input FIFO Underrun Upper Panel Status (IUU) (read/write, maskable interrupt)p.25011.7.11.9 Output FIFO Overrun Lower Panel Status (OOL) (read/write, maskable interrupt)p.25011.7.11.10 Output FIFO Underrun Lower Panel Status (OUL) (read only, maskable interrupt)p.25011.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)p.25011.7.11.12 Output FIFO Underrun Upper Panel Status (OUU) (read/write, maskable interrupt)p.25111.7.12 LCD Controller Register Locationsp.25211.7.13 LCD Controller Pin Timing Diagramsp.25411.8 Serial Port 0 – USB Device Controller (UDC)p.25911.8.1 USB Operationp.26111.8.1.1 Signalling Levelsp.26111.8.1.2 Connecting the USB to the SA-1110p.26211.8.1.3 Bit Encodingp.26311.8.1.4 Field Formatsp.26411.8.1.5 Packet Typesp.26511.8.1.6 Transaction Formatsp.26711.8.1.7 SA-1110 UDC Device-Request Commandsp.26911.8.1.8 Using DMAp.27111.8.1.9 Software Control of the SA-1110 UDCp.27111.8.1.10 SA-1110 USB Example Codep.27811.8.2 SA-1110 UDC Register Definitionsp.27811.8.3 UDC Control Register (UDCCR)p.27911.8.3.1 UDC Disable (UDD)p.28011.8.3.2 UDC Active (UDA)p.28011.8.3.3 Resume Interrupt Mask (RESIM)p.28011.8.3.4 Endpoint 0 Interrupt Mask (EIM)p.28111.8.3.5 Receive Interrupt Mask (RIM)p.28111.8.3.6 Transmit Interrupt Mask (TIM)p.28111.8.3.7 Suspend Interrupt Mask (SUSIM)p.28211.8.3.8 Reserved/B5p.28211.8.4 UDC Address Register (UDCAR)p.28211.8.5 UDC OUT Maximum Packet Register (UDCOMP)p.28311.8.6 UDC IN Maximum Packet Register (UDCIMP)p.28411.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)p.28411.8.7.1 OUT Packet Ready (OPR)p.28511.8.7.2 IN Packet Ready (IPR)p.28511.8.7.3 Sent Stall (SST)p.28611.8.7.4 Force Stall (FST)p.28611.8.7.5 Data End (DE)p.28611.8.7.6 Setup End (SE)p.28611.8.7.7 Serviced OPR (SO)p.28611.8.7.8 Serviced Setup End (SSE)p.28611.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)p.28611.8.8.1 Receive FIFO Service (RFS)p.28711.8.8.2 Receive Packet Complete (RPC)p.28711.8.8.3 Receive Packet Error (RPE)p.28811.8.8.4 Sent Stall (SST)p.28811.8.8.5 Force Stall (FST)p.28811.8.8.6 Receive FIFO Not Empty (RNE)p.28811.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)p.28811.8.9.1 Transmit FIFO Service (TFS)p.28911.8.9.2 Transmit Packet Complete (TPC)p.28911.8.9.3 Transmit Packet Error (TPE)p.28911.8.9.4 Transmit Underrun (TUR)p.29011.8.9.5 Sent STALL (SST)p.29011.8.9.6 Force STALL (FST)p.29011.8.10 UDC Endpoint 0 Data Register (UDCD0)p.29011.8.11 UDC Endpoint 0 Write Count Register (UDCWC)p.29111.8.12 UDC Data Register (UDCDR)p.29211.8.13 UDC Status/Interrupt Register (UDCSR)p.29211.8.13.1 Endpoint 0 Interrupt Request (EIR)p.29311.8.13.2 Receive Interrupt Request (RIR)p.29411.8.13.3 Transmit Interrupt Request (TIR)p.29411.8.13.4 Suspend Interrupt Request (SUSIR)p.29411.8.13.5 Resume Interrupt Request (RESIR)p.29411.8.13.6 Reset Interrupt Request (RSTIR)p.29411.8.14 SA-1110 UDC Register Locationsp.29411.9 Serial Port 1 – GPCLK/UARTp.29511.9.1 GPCLK Operationp.29511.9.1.1 Simultaneous Use of the UART and GPCLKp.29611.9.2 GPCLK Control Register 0p.29611.9.2.1 GPCLK/UART Select (SUS)p.29611.9.2.2 Sample Clock Enable (SCE)p.29611.9.2.3 Sample Clock Direction (SCD)p.29611.9.3 GPCLK Control Register 1p.29711.9.3.1 Transmit Enable (TXE)p.29711.9.4 GPCLK Control Registers 2 and 3p.29811.9.4.1 Baud Rate Divisor (BRD)p.29811.9.5 UART Register Locationsp.29911.9.6 GPCLK Register Locationsp.30011.10 Serial Port 2 – Infrared Communications Port (ICP)p.30011.10.1 Low-Speed ICP Operationp.30111.10.1.1 HP-SIR Modulationp.30111.10.1.2 UART Frame Formatp.30211.10.2 High-Speed ICP Operationp.30211.10.2.1 4PPM Modulationp.30211.10.2.2 HSSP Frame Formatp.30311.10.2.3 Address Fieldp.30411.10.2.4 Control Fieldp.30411.10.2.5 Data Fieldp.30411.10.2.6 CRC Fieldp.30411.10.2.7 Baud Rate Generationp.30511.10.2.8 Receive Operationp.30511.10.2.9 Transmit Operationp.30611.10.2.10 Transmit and Receive FIFOsp.30711.10.2.11 CPU and DMA Register Access Sizesp.30811.10.3 UART Register Definitionp.30811.10.4 UART Control Register 4p.30811.10.4.1 HP-SIR Enable (HSE)p.30811.10.4.2 Low-Power Mode (LPM)p.30811.10.5 HSSP Register Definitionsp.30911.10.6 HSSP Control Register 0p.30911.10.6.1 IrDA Transmission Rate (ITR)p.30911.10.6.2 Loopback Mode (LBM)p.31011.10.6.3 Transmit FIFO Underrun Select (TUS)p.31011.10.6.4 Transmit Enable (TXE)p.31111.10.6.5 Receive Enable (RXE)p.31111.10.6.6 Receive FIFO Interrupt Enable (RIE)p.31111.10.6.7 Transmit FIFO Interrupt Enable (TIE)p.31211.10.6.8 Address Match Enable (AME)p.31211.10.7 HSSP Control Register 1p.31311.10.7.1 Address Match Value (AMV)p.31311.10.8 HSSP Control Register 2p.31411.10.8.1 Transmit Pin Polarity Select (TXP)p.31411.10.8.2 Receive Pin Polarity Select (RXP)p.31511.10.9 HSSP Data Registerp.31611.10.10 HSSP Status Register 0p.31711.10.10.1 End/Error in FIFO Status (EIF) (read-only, nonmaskable interrupt)p.31811.10.10.2 Transmit Underrun Status (TUR) (read/write, maskable interrupt)p.31811.10.10.3 Receiver Abort Status (RAB) (read/write, nonmaskable interrupt)p.31811.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.31811.10.10.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.31911.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)p.31911.10.11 HSSP Status Register 1p.32011.10.11.1 Receiver Synchronized Flag (RSY) (read-only, noninterruptible)p.32111.10.11.2 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.32111.10.11.3 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.32111.10.11.4 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.32111.10.11.5 End-of-Frame Flag (EOF) (read-only, noninterruptible)p.32111.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)p.32111.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)p.32211.10.12 UART Register Locationsp.32311.10.13 HSSP Register Locationsp.32411.11 Serial Port 3 – UARTp.32511.11.1 UART Operationp.32511.11.1.1 Frame Formatp.32611.11.1.2 Baud Rate Generationp.32611.11.1.3 Receive Operationp.32611.11.1.4 Transmit Operationp.32711.11.1.5 Transmit and Receive FIFOsp.32711.11.1.6 CPU and DMA Register Access Sizesp.32711.11.2 UART Register Definitionsp.32711.11.3 UART Control Register 0p.32811.11.3.1 Parity Enable (PE)p.32811.11.3.2 Odd/Even Parity Select (OES)p.32811.11.3.3 Stop Bit Select (SBS)p.32811.11.3.4 Data Size Select (DSS)p.32911.11.3.5 Sample Clock Enable (SCE)p.32911.11.3.6 Receive Clock Edge Select (RCE)p.32911.11.3.7 Transmit Clock Edge Select (TCE)p.32911.11.4 UART Control Registers 1 and 2p.33011.11.4.1 Baud Rate Divisor (BRD)p.33011.11.5 UART Control Register 3p.33111.11.5.1 Receiver Enable (RXE)p.33211.11.5.2 Transmitter Enable (TXE)p.33211.11.5.3 Break (BRK)p.33211.11.5.4 Receive FIFO Interrupt Enable (RIE)p.33211.11.5.5 Transmit FIFO Interrupt Enable (TIE)p.33311.11.5.6 Loopback Mode (LBM)p.33311.11.6 UART Data Registerp.33411.11.7 UART Status Register 0p.33511.11.7.1 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.33611.11.7.2 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.33611.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)p.33611.11.7.4 Receiver Begin of Break Status (RBB) (read/write, nonmaskable interrupt)p.33711.11.7.5 Receiver End of Break Status (REB) (read/write, nonmaskable interrupt)p.33711.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)p.33711.11.8 UART Status Register 1p.33911.11.8.1 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.33911.11.8.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.33911.11.8.3 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.33911.11.8.4 Parity Error Flag (PRE) (read-only, noninterruptible)p.33911.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)p.33911.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)p.34011.11.9 UART Register Locationsp.34111.12 Serial Port 4 – MCP / SSPp.34211.12.1 MCP Operationp.34311.12.1.1 Frame Formatp.34311.12.1.2 Audio and Telecom Sample Rates and Data Transferp.34511.12.1.3 MCP Transmit and Receive FIFO Operationp.34611.12.1.4 Codec Control Register Data Transferp.34711.12.1.5 External Clock Operationp.34811.12.1.6 Alternate SSP Pin Assignmentp.34811.12.1.7 CPU and DMA Register Access Sizesp.34811.12.2 MCP Register Definitionsp.34911.12.3 MCP Control Register 0p.34911.12.3.1 Audio Sample Rate Divisor (ASD)p.34911.12.3.2 Telecom Sample Rate Divisor (TSD)p.35011.12.3.3 Multimedia Communications Port Enable (MCE)p.35111.12.3.4 External Clock Select (ECS)p.35111.12.3.5 A/D Sampling Mode (ADM)p.35211.12.3.6 Telecom Transmit FIFO Interrupt Enable (TTE)p.35211.12.3.7 Telecom Receive FIFO Interrupt Enable (TRE)p.35211.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)p.35211.12.3.9 Audio Receive FIFO Interrupt Enable (ARE)p.35311.12.3.10 Loopback Mode (LBM)p.35311.12.3.11 External Clock Prescaler (ECP)p.35311.12.4 MCP Control Register 1p.35511.12.4.1 Clock Frequency Select (CFS)p.35511.12.5 MCP Data Registersp.35611.12.5.1 MCP Data Register 0p.35611.12.5.2 MCP Data Register 1p.35711.12.5.3 MCP Data Register 2p.35811.12.6 MCP Status Registerp.36011.12.6.1 Audio Transmit FIFO Service Request Flag (ATS) (read-only, maskable interrupt)p.36011.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)p.36011.12.6.3 Telecom Transmit FIFO Service Request Flag (TTS) (read-only, maskable interrupt)p.36111.12.6.4 Telecom Receive FIFO Service Request Flag (TRS) (read-only, maskable interrupt)p.36111.12.6.5 Audio Transmit FIFO Underrun Status (ATU) (read/write, nonmaskable interrupt)p.36111.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)p.36111.12.6.7 Telecom Transmit FIFO Underrun Status (TTU) (read/write, nonmaskable interrupt)p.36211.12.6.8 Telecom Receive FIFO Overrun Status (TRO) (read/write, nonmaskable interrupt)p.36211.12.6.9 Audio Transmit FIFO Not Full Flag (ANF) (read-only, noninterruptible)p.36211.12.6.10 Audio Receive FIFO Not Empty Flag (ANE) (read-only, noninterruptible)p.36211.12.6.11 Telecom Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.36211.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)p.36211.12.6.13 Codec Write Completed Flag (CWC) (read-only, noninterruptible)p.36311.12.6.14 Codec Read Completed Flag (CRC) (read-only, noninterruptible)p.36311.12.6.15 Audio Codec Enabled Flag (ACE) (read-only, noninterruptible)p.36311.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)p.36311.12.7 SSP Operationp.36511.12.7.1 Frame Formatp.36611.12.7.2 Baud Rate Generationp.37011.12.7.3 SSP Transmit and Receive FIFOsp.37011.12.7.4 CPU and DMA Register Access Sizesp.37111.12.7.5 Alternate SSP Pin Assignmentp.37111.12.8 SSP Register Definitionsp.37111.12.9 SSP Control Register 0p.37211.12.9.1 Data Size Select (DSS)p.37211.12.9.2 Frame Format (FRF)p.37211.12.9.3 Synchronous Serial Port Enable (SSE)p.37211.12.9.4 Serial Clock Rate (SCR)p.37311.12.10 SSP Control Register 1p.37411.12.10.1 Receive FIFO Interrupt Enable (RIE)p.37411.12.10.2 Transmit FIFO Interrupt Enable (TIE)p.37411.12.10.3 Loopback Mode (LBM)p.37511.12.10.4 Serial Clock Polarity (SPO)p.37511.12.10.5 Serial Clock Phase (SPH)p.37511.12.10.6 External Clock Select (ECS)p.37611.12.11 SSP Data Registerp.37711.12.12 SSP Status Registerp.37911.12.12.1 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.37911.12.12.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.37911.12.12.3 SSP Busy Flag (BSY) (read-only, noninterruptible)p.37911.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.37911.12.12.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.38011.12.12.6 Receiver Overrun Status (ROR) (read/write, nonmaskable interrupt)p.38011.12.13 MCP Register Locationsp.38111.12.14 SSP Register Locationsp.38211.13 Peripheral Pin Controller (PPC)p.38211.13.1 PPC Operationp.38211.13.2 PPC Register Definitionsp.38311.13.3 PPC Pin Direction Registerp.38311.13.4 PPC Pin State Registerp.38511.13.5 PPC Pin Assignment Registerp.38711.13.5.1 UART Pin Reassignment (UPR)p.38711.13.5.2 SSP Pin Reassignment (SPR)p.38711.13.6 PPC Sleep Mode Pin Direction Registerp.38811.13.7 PPC Pin Flag Registerp.39011.13.8 PPC Register Locationsp.392DC Parameters 12p.39312.1 Absolute Maximum Ratingsp.39312.2 DC Operating Conditionsp.39412.3 Power Supply Voltages and Currentsp.395AC Parameters 13p.39713.1 Test Conditionsp.39713.2 Model Considerationsp.39813.3 Memory Bus and PCMCIA Signal Timingsp.39813.4 LCD Controller Signalsp.39913.5 MCP Signalsp.39913.6 Timing Parametersp.40113.6.1 Asynchronous Signal Timing Descriptionsp.403Package and Pinout 14p.405Debug Support 15p.41115.1 Instruction Breakpointp.41115.2 Data Breakpointp.411Boundary-Scan Test Interface 16p.41316.1 Overviewp.41316.2 Resetp.41416.3 Pull-Up Resistorsp.41416.4 Instruction Registerp.41416.5 Public Instructionsp.41416.5.1 EXTEST (00000)p.41516.5.2 SAMPLE/PRELOAD (00001)p.41516.5.3 CLAMP (00100)p.41516.5.4 HIGHZ (00101)p.41616.5.5 IDCODE (00110)p.41616.5.6 BYPASS (11111)p.41616.6 Test Data Registersp.41716.6.1 Bypass Registerp.41716.6.2 Intel® StrongARM SA-1110 Device Identification (ID) Code Registerp.41816.6.3 Intel® StrongARM SA-1110 Boundary-Scan (BS) Registerp.41816.7 Boundary-Scan Interface Signalsp.419Register Summary Ap.4273.6864–MHz Oscillator Specifications Bp.433B.1 Specificationsp.433B.1.1 System Specificationsp.433B.1.1.1. Parasitic Capacitance Off-chip Between PXTAL and PEXTALp.434B.1.1.2. Parasitic Capacitance Off-chip Between PXTAL or PEXTAL and VSSp.434B.1.1.3. Parasitic Resistance Between PXTAL and PEXTALp.434B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSSp.434B.1.2 Quartz Crystal Specificationp.43532.768–KHz Oscillator Specifications Cp.437C.1 Specificationsp.437C.1.1 System Specificationsp.437C.1.1.1. Temperature Rangep.437C.1.1.2. Current Consumptionp.437C.1.1.3. Startup Timep.437C.1.1.4. Frequency Shift Due to Temperature Effect on the Circuitp.438C.1.1.5. Parasitic Capacitance Off-chip Between TXTAL and TEXTALp.438C.1.1.6. Parasitic Capacitance Off-chip Between TXTAL or TEXTAL and VSSp.438C.1.1.7. Parasitic Resistance Between TXTAL and TEXTALp.438C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSSp.438C.1.2 Quartz Crystal Specificationp.439Internal Test Dp.441D.1 Test Unit Control Register (TUCR)p.441
Page 1 of the Intel SA-1110 user manual — October 2001
Page 1 · click to enlarge
Page 1

Intel ® StrongARM * SA-1110 Microprocessor

Developer’s Manual

October 2001

Order Number278240-004
Page 2 of the Intel SA-1110 user manual — Intel® StrongARM* SA-1110 Microprocessor
Page 2 · click to enlarge
Page 2

Information in this document is provided in connection with Intel products. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document. Except as provided in Intel's Terms and Conditions of Sale for such products, Intel assumes no liability whatsoever, and Intel disclaims any express or implied warranty, relating to sale and/or use of Intel products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent, copyright or other intellectual property right. Intel products are not intended for use in medical, life saving, or life sustaining applications.

Intel may make changes to specifications and product descriptions at any time, without notice.

Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them.

The SA-1110 may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.

Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.

Copies of documents which have an ordering number and are referenced in this document, or other Intel literature may be obtained by calling 1-800-548-4725 or by visiting Intel's website at http://www.intel.com

Intel is a trademark or registered trademark of Intel Corporation or its subsidiaries in the United States and other countries.

Copyright © Intel Corporation, 2001

*Other names and brands may be claimed as the property of others.

Page 3 of the Intel SA-1110 user manual — Table of Contents
Page 3 · Contents
Contents

Contents

Intel® StrongARM* SA-1110 Microprocessorp.1Contentsp.3Introduction 1p.211.1 Intel® StrongARM* SA-1110 Microprocessorp.211.2 Overviewp.241.3 Example Systemp.251.4 ARM Architecturep.261.4.1 26-Bit Modep.261.4.2 Coprocessorsp.261.4.3 Memory Managementp.261.4.4 Instruction Cachep.261.4.5 Data Cachep.261.4.6 Write Bufferp.271.4.7 Read Bufferp.27Functional Description 2p.292.1 Block Diagramp.292.2 Inputs/Outputsp.312.3 Signal Descriptionp.322.4 Memory Mapp.36ARM Implementation Options 3p.393.1 Big and Little Endianp.393.2 Exceptionsp.393.2.1 Power-Up Resetp.403.2.2 ROM Size Selectp.403.2.3 Abortp.413.2.4 Vector Summaryp.423.2.5 Exception Prioritiesp.423.2.6 Interrupt Latencies and Enable Timingp.433.3 Coprocessorsp.43Instruction Set 4p.454.1 Instruction Setp.454.2 Instruction Timingp.45Caches, Write Buffer, and Read Buffer 5p.475.1 Instruction Cache (Icache)p.475.1.1 Icache Operationp.475.1.2 Icache Validityp.475.1.2.1 Software Icache Flushp.475.1.3 Icache Enable/Disable and Resetp.485.1.3.1 Enabling the Icachep.485.1.3.2 Disabling the Icachep.485.2 Data Caches (Dcaches)p.485.2.1 Cacheable Bit – Cp.495.2.1.1 Cacheable Reads – C = 1p.495.2.1.2 Noncacheable Reads – C = 0p.495.2.2 Bufferable Bit – Bp.495.2.3 Software Dcache Flushp.505.2.3.1 Doubly Mapped Spacep.505.2.4 Dcaches Enable/Disable and Resetp.505.2.4.1 Enabling the Dcachesp.515.2.4.2 Disabling the Dcachesp.515.3 Write Buffer (WB)p.515.3.1 Bufferable Bitp.515.3.2 Write Buffer Operationp.515.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)p.515.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)p.525.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0)p.525.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1)p.525.3.3 Enabling the Write Bufferp.525.3.3.1 Disabling the Write Bufferp.525.4 Read Buffer (RB)p.52Coprocessors 6p.556.1 Internal Coprocessor Instructionsp.556.2 Coprocessor 15 Definitionp.566.2.1 Register 0 – IDp.566.2.2 Register 1 – Controlp.576.2.3 Register 2 – Translation Table Basep.586.2.4 Register 3 – Domain Access Controlp.586.2.5 Register 4 – RESERVEDp.596.2.6 Register 5 – Fault Statusp.596.2.7 Register 6 – Fault Addressp.596.2.8 Register 7 – Cache Control Operationsp.596.2.9 Register 8 – TLB Operationsp.606.2.10 Register 9 – Read-Buffer Operationsp.606.2.11 Registers 10 – 12 RESERVEDp.616.2.12 Register 13 – Process ID Virtual Address Mappingp.616.2.13 Register 14 – Debug Support (Breakpoints)p.626.2.14 Register 15 – Test, Clock, and Idle Controlp.63Memory Management Unit (MMU) 7p.657.1 Overviewp.657.1.1 MMU Registersp.657.2 MMU Faults and CPU Abortsp.657.3 Data Abortsp.657.3.1 Cacheable Reads (Linefetches)p.667.3.2 Buffered Writesp.667.4 Interaction of the MMU, Icache, Dcache, and Write Bufferp.667.5 Mini Data Cachep.67Clocks 8p.698.1 Intel® StrongARM SA-1110 Crystal Oscillatorsp.698.2 Core Clock Configuration Registerp.708.2.1 Restrictions on Changing the Core Clock Configurationp.718.3 Driving Intel® StrongARM SA-1110 Crystal Pins from an External Sourcep.718.4 Clocking During Testp.72System Control Module 9p.739.1 General-Purpose I/Op.739.1.1 GPIO Register Definitionsp.749.1.1.1 GPIO Pin-Level Register (GPLR)p.759.1.1.2 GPIO Pin Direction Register (GPDR)p.769.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR)p.779.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER)p.789.1.1.5 GPIO Edge Detect Status Register (GEDR)p.799.1.1.6 GPIO Alternate Function Register (GAFR)p.809.1.2 GPIO Alternate Functionsp.819.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Functionp.829.1.3 GPIO Register Locationsp.829.2 Interrupt Controllerp.839.2.1 Interrupt Controller Register Definitionsp.849.2.1.1 Interrupt Controller Pending Register (ICPR)p.849.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP)p.869.2.1.3 Interrupt Controller Mask Register (ICMR)p.879.2.1.4 Interrupt Controller Level Register (ICLR)p.889.2.1.5 Interrupt Controller Control Register (ICCR)p.899.2.2 Interrupt Controller Register Locationsp.909.3 Real-Time Clockp.909.3.1 RTC Counter Register (RCNR)p.909.3.2 RTC Alarm Register (RTAR)p.919.3.3 RTC Status Register (RTSR)p.919.3.4 RTC Trim Register (RTTR)p.939.3.5 Trim Procedurep.939.3.5.1 Oscillator Frequency Calibrationp.939.3.5.2 RTTR Value Calculationsp.949.3.6 Real-Time Clock Register Locationsp.959.4 Operating System Timerp.959.4.1 OS Timer Count Register (OSCR)p.969.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3)p.969.4.3 OS Timer Watchdog Match Enable Register (OWER)p.969.4.4 OS Timer Status Register (OSSR)p.979.4.5 OS Timer Interrupt Enable Register (OIER)p.989.4.6 Watchdog Timerp.989.4.7 OS Timer Register Locationsp.999.5 Power Managerp.999.5.1 Run Modep.999.5.2 Idle Modep.999.5.2.1 Entering Idle Modep.1009.5.2.2 Exiting Idle Modep.1009.5.3 Sleep Modep.1019.5.3.1 CPU Preparation for Sleep Modep.1019.5.3.2 Events Causing Entry into Sleep Modep.1019.5.3.3 The Sleep Shutdown Sequencep.1019.5.3.4 During Sleep Modep.1029.5.3.5 The Sleep Wake-Up Sequencep.1039.5.3.6 Booting After Sleep Modep.1039.5.3.7 Reviving the DRAMs from Self-Refresh Modep.1049.5.4 Notes on Power Supply Sequencingp.1049.5.5 Assumed Behavior of an Intel® StrongARM SA-1110 System in Sleep Modep.1049.5.6 Pin Operation in Sleep Modep.1069.5.7 Power Manager Registersp.1079.5.7.1 Power Manager Control Register (PMCR)p.1079.5.7.2 Power Manager General Configuration Register (PCFR)p.1089.5.7.3 Power Manager PLL Configuration Register (PPCR)p.1109.5.7.4 Power Manager Wake-Up Enable Register (PWER)p.1109.5.7.5 Power Manager Sleep Status Register (PSSR)p.1119.5.7.6 Power Manager Scratch Pad Register (PSPR)p.1139.5.7.7 Power Manager GPIO Sleep State Register (PGSR)p.1139.5.7.8 Power Manager Oscillator Status Register (POSR)p.1149.5.8 Power Manager Register Locationsp.1149.6 Reset Controllerp.1159.6.1 Reset Controller Registersp.1159.6.1.1 Reset Controller Software Reset Register (RSRR)p.1159.6.1.2 Reset Controller Status Register (RCSR)p.1169.6.2 Reset Controller Register Locationsp.117Memory and PC-Card Control Module 10p.11910.1 Overview of Operationp.12010.1.1 Types of Memory Accessesp.12210.1.2 Readsp.12210.1.3 Writesp.12310.1.4 Transaction Summaryp.12310.1.5 Read-Lock-Writep.12310.1.6 Aborts and Nonexistent Memoryp.12410.2 Memory Interface Reset and Initializationp.12410.2.1 Hardware or Sleep Reset Proceduresp.12510.2.2 Software or Watchdog Reset Proceduresp.12610.3 Memory Configuration Registersp.12710.3.1 DRAM Configuration Register (MDCNFG)p.12810.3.2 DRAM Refresh Control Register (MDREFR)p.13210.3.3 CAS Waveform Rotate Registers (MDCAS00, MDCAS01, MDCAS02, MDCAS20, MDCAS21, MDCAS22)p.13610.3.3.1 MDCAS Registers with Asynchronous DRAMp.13610.3.3.2 MDCAS Registers with SDRAM and SMROMp.13710.3.4 Static Memory Control Registers (MSC2 – 0)p.13910.3.5 Expansion Memory (PC-Card) Configuration Register (MECR)p.14210.4 SMROM Configuration Register (SMCNFG)p.14410.4.1 Changing SMROM RAS Latencyp.14710.5 Dynamic Interface Operationp.14810.5.1 DRAM Overviewp.14810.5.2 DRAM Timingp.15010.5.3 SDRAM Overviewp.15210.5.4 SDRAM Commandsp.15410.5.5 SDRAM State Machinep.15510.5.6 DRAM/SDRAM Refreshp.16010.5.7 DRAM/SDRAM Self-Refresh in Sleep Modep.16110.6 Static Memory Interfacep.16210.6.1 ROM Interface Overviewp.16310.6.2 ROM Timing Diagrams and Parametersp.16310.6.3 SRAM Interface Overviewp.16710.6.4 SRAM Timing Diagrams and Parametersp.16710.6.5 Variable Latency I/O Interface Overviewp.16910.6.6 Variable Latency I/O Timing Diagrams and Parametersp.16910.6.7 FLASH Memory Interface Overviewp.17210.6.8 FLASH Memory Timing Diagrams and Parametersp.17210.6.9 SMROM Overviewp.17310.6.10 SMROM Commandsp.17310.6.11 SMROM State Machinep.17410.7 PC-Card Overviewp.17710.7.1 8-, 16-, and 32-Bit Data Bus Operationp.17910.7.2 External Logic for PC-Card Implementationp.18010.7.3 PC-Card Interface Timing Diagrams and Parametersp.18310.8 Alternate Memory Bus Master Modep.18510.9 Memory System Examplesp.18610.10 SA1110 Memory Configuration Toolp.190Peripheral Control Module 11p.20511.1 Read/Write Interfacep.20511.2 Memory Organizationp.20611.3 Interruptsp.20711.4 Peripheral Pinsp.20811.5 Use of the GPIO Pins for Alternate Functionsp.20911.6 DMA Controllerp.21011.6.1 DMA Register Definitionsp.21111.6.1.1 DMA Device Address Register (DDARn)p.21111.6.1.2 DMA Control/Status Register (DCSRn)p.21311.6.1.3 DMA Buffer A Start Address Register (DBSAn)p.21511.6.1.4 DMA Buffer A Transfer Count Register (DBTAn)p.21611.6.1.5 DMA Buffer B Start Address Register (DBSBn)p.21611.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)p.21611.6.2 DMA Register Listp.21711.7 LCD Controllerp.21911.7.1 LCD Controller Operationp.22011.7.1.1 DMA to Memory Interfacep.22111.7.1.2 Frame Bufferp.22111.7.1.3 Input FIFOp.22611.7.1.4 Lookup Palettep.22611.7.1.5 Color/Gray-Scale Ditheringp.22611.7.1.6 Output FIFOp.22711.7.1.7 LCD Controller Pinsp.22711.7.2 LCD Controller Register Definitionsp.22811.7.3 LCD Controller Control Register 0p.22911.7.3.1 LCD Enable (LEN)p.22911.7.3.2 Color/Monochrome Select (CMS)p.22911.7.3.3 Single-/Dual-Panel Select (SDS)p.22911.7.3.4 LCD Disable Done Interrupt Mask (LDM)p.23111.7.3.5 Base Address Update Interrupt Mask (BAM)p.23211.7.3.6 Error Interrupt Mask (ERM)p.23211.7.3.7 Passive/Active Display Select (PAS)p.23211.7.3.8 Big/Little Endian Select (BLE)p.23311.7.3.9 Double-Pixel Data (DPD) Pin Modep.23411.7.3.10 Vertical Slant Line Correction (VSC)p.23411.7.3.11 Palette DMA Request Delay (PDD)p.23411.7.4 LCD Controller Control Register 1p.23611.7.4.1 Pixels Per Line (PPL)p.23711.7.4.2 Horizontal Sync Pulse Width (HSW)p.23711.7.4.3 End-of-Line Pixel Clock Wait Count (ELW)p.23711.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)p.23711.7.5 LCD Controller Control Register 2p.23811.7.5.1 Lines Per Panel (LPP)p.23811.7.5.2 Vertical Sync Pulse Width (VSW)p.23911.7.5.3 End-of-Frame Line Clock Wait Count (EFW)p.23911.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)p.24011.7.6 LCD Controller Control Register 3p.24111.7.6.1 Pixel Clock Divider (PCD)p.24211.7.6.2 AC Bias Pin Frequency (ACB)p.24211.7.6.3 AC Bias Pin Transitions Per Interrupt (API)p.24211.7.6.4 Vertical Sync Polarity (VSP)p.24311.7.6.5 Horizontal Sync Polarity (HSP)p.24311.7.6.6 Pixel Clock Polarity (PCP)p.24311.7.6.7 Output Enable Polarity (OEP)p.24311.7.7 LCD Controller DMA Registersp.24511.7.8 DMA Channel 1 Base Address Registerp.24511.7.9 DMA Channel 1 Current Address Registerp.24611.7.10 DMA Channel 2 Base and Current Address Registersp.24711.7.11 LCD Controller Status Registerp.24811.7.11.1 LCD Disable Done Flag (LDD) (read/write, maskable interrupt)p.24911.7.11.2 Base Address Update Flag (BAU) (read-only, maskable interrupt)p.24911.7.11.3 Bus Error Status (BER) (read/write, maskable interrupt)p.24911.7.11.4 AC Bias Count Status (ABC) (read/write, nonmaskable interrupt)p.24911.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)p.24911.7.11.6 Input FIFO Underrun Lower Panel Status (IUL) (read/write, maskable interrupt)p.25011.7.11.7 Input FIFO Overrun Upper Panel Status (IOU) (read/write, maskable interrupt)p.25011.7.11.8 Input FIFO Underrun Upper Panel Status (IUU) (read/write, maskable interrupt)p.25011.7.11.9 Output FIFO Overrun Lower Panel Status (OOL) (read/write, maskable interrupt)p.25011.7.11.10 Output FIFO Underrun Lower Panel Status (OUL) (read only, maskable interrupt)p.25011.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)p.25011.7.11.12 Output FIFO Underrun Upper Panel Status (OUU) (read/write, maskable interrupt)p.25111.7.12 LCD Controller Register Locationsp.25211.7.13 LCD Controller Pin Timing Diagramsp.25411.8 Serial Port 0 – USB Device Controller (UDC)p.25911.8.1 USB Operationp.26111.8.1.1 Signalling Levelsp.26111.8.1.2 Connecting the USB to the SA-1110p.26211.8.1.3 Bit Encodingp.26311.8.1.4 Field Formatsp.26411.8.1.5 Packet Typesp.26511.8.1.6 Transaction Formatsp.26711.8.1.7 SA-1110 UDC Device-Request Commandsp.26911.8.1.8 Using DMAp.27111.8.1.9 Software Control of the SA-1110 UDCp.27111.8.1.10 SA-1110 USB Example Codep.27811.8.2 SA-1110 UDC Register Definitionsp.27811.8.3 UDC Control Register (UDCCR)p.27911.8.3.1 UDC Disable (UDD)p.28011.8.3.2 UDC Active (UDA)p.28011.8.3.3 Resume Interrupt Mask (RESIM)p.28011.8.3.4 Endpoint 0 Interrupt Mask (EIM)p.28111.8.3.5 Receive Interrupt Mask (RIM)p.28111.8.3.6 Transmit Interrupt Mask (TIM)p.28111.8.3.7 Suspend Interrupt Mask (SUSIM)p.28211.8.3.8 Reserved/B5p.28211.8.4 UDC Address Register (UDCAR)p.28211.8.5 UDC OUT Maximum Packet Register (UDCOMP)p.28311.8.6 UDC IN Maximum Packet Register (UDCIMP)p.28411.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)p.28411.8.7.1 OUT Packet Ready (OPR)p.28511.8.7.2 IN Packet Ready (IPR)p.28511.8.7.3 Sent Stall (SST)p.28611.8.7.4 Force Stall (FST)p.28611.8.7.5 Data End (DE)p.28611.8.7.6 Setup End (SE)p.28611.8.7.7 Serviced OPR (SO)p.28611.8.7.8 Serviced Setup End (SSE)p.28611.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)p.28611.8.8.1 Receive FIFO Service (RFS)p.28711.8.8.2 Receive Packet Complete (RPC)p.28711.8.8.3 Receive Packet Error (RPE)p.28811.8.8.4 Sent Stall (SST)p.28811.8.8.5 Force Stall (FST)p.28811.8.8.6 Receive FIFO Not Empty (RNE)p.28811.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)p.28811.8.9.1 Transmit FIFO Service (TFS)p.28911.8.9.2 Transmit Packet Complete (TPC)p.28911.8.9.3 Transmit Packet Error (TPE)p.28911.8.9.4 Transmit Underrun (TUR)p.29011.8.9.5 Sent STALL (SST)p.29011.8.9.6 Force STALL (FST)p.29011.8.10 UDC Endpoint 0 Data Register (UDCD0)p.29011.8.11 UDC Endpoint 0 Write Count Register (UDCWC)p.29111.8.12 UDC Data Register (UDCDR)p.29211.8.13 UDC Status/Interrupt Register (UDCSR)p.29211.8.13.1 Endpoint 0 Interrupt Request (EIR)p.29311.8.13.2 Receive Interrupt Request (RIR)p.29411.8.13.3 Transmit Interrupt Request (TIR)p.29411.8.13.4 Suspend Interrupt Request (SUSIR)p.29411.8.13.5 Resume Interrupt Request (RESIR)p.29411.8.13.6 Reset Interrupt Request (RSTIR)p.29411.8.14 SA-1110 UDC Register Locationsp.29411.9 Serial Port 1 – GPCLK/UARTp.29511.9.1 GPCLK Operationp.29511.9.1.1 Simultaneous Use of the UART and GPCLKp.29611.9.2 GPCLK Control Register 0p.29611.9.2.1 GPCLK/UART Select (SUS)p.29611.9.2.2 Sample Clock Enable (SCE)p.29611.9.2.3 Sample Clock Direction (SCD)p.29611.9.3 GPCLK Control Register 1p.29711.9.3.1 Transmit Enable (TXE)p.29711.9.4 GPCLK Control Registers 2 and 3p.29811.9.4.1 Baud Rate Divisor (BRD)p.29811.9.5 UART Register Locationsp.29911.9.6 GPCLK Register Locationsp.30011.10 Serial Port 2 – Infrared Communications Port (ICP)p.30011.10.1 Low-Speed ICP Operationp.30111.10.1.1 HP-SIR Modulationp.30111.10.1.2 UART Frame Formatp.30211.10.2 High-Speed ICP Operationp.30211.10.2.1 4PPM Modulationp.30211.10.2.2 HSSP Frame Formatp.30311.10.2.3 Address Fieldp.30411.10.2.4 Control Fieldp.30411.10.2.5 Data Fieldp.30411.10.2.6 CRC Fieldp.30411.10.2.7 Baud Rate Generationp.30511.10.2.8 Receive Operationp.30511.10.2.9 Transmit Operationp.30611.10.2.10 Transmit and Receive FIFOsp.30711.10.2.11 CPU and DMA Register Access Sizesp.30811.10.3 UART Register Definitionp.30811.10.4 UART Control Register 4p.30811.10.4.1 HP-SIR Enable (HSE)p.30811.10.4.2 Low-Power Mode (LPM)p.30811.10.5 HSSP Register Definitionsp.30911.10.6 HSSP Control Register 0p.30911.10.6.1 IrDA Transmission Rate (ITR)p.30911.10.6.2 Loopback Mode (LBM)p.31011.10.6.3 Transmit FIFO Underrun Select (TUS)p.31011.10.6.4 Transmit Enable (TXE)p.31111.10.6.5 Receive Enable (RXE)p.31111.10.6.6 Receive FIFO Interrupt Enable (RIE)p.31111.10.6.7 Transmit FIFO Interrupt Enable (TIE)p.31211.10.6.8 Address Match Enable (AME)p.31211.10.7 HSSP Control Register 1p.31311.10.7.1 Address Match Value (AMV)p.31311.10.8 HSSP Control Register 2p.31411.10.8.1 Transmit Pin Polarity Select (TXP)p.31411.10.8.2 Receive Pin Polarity Select (RXP)p.31511.10.9 HSSP Data Registerp.31611.10.10 HSSP Status Register 0p.31711.10.10.1 End/Error in FIFO Status (EIF) (read-only, nonmaskable interrupt)p.31811.10.10.2 Transmit Underrun Status (TUR) (read/write, maskable interrupt)p.31811.10.10.3 Receiver Abort Status (RAB) (read/write, nonmaskable interrupt)p.31811.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.31811.10.10.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.31911.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)p.31911.10.11 HSSP Status Register 1p.32011.10.11.1 Receiver Synchronized Flag (RSY) (read-only, noninterruptible)p.32111.10.11.2 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.32111.10.11.3 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.32111.10.11.4 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.32111.10.11.5 End-of-Frame Flag (EOF) (read-only, noninterruptible)p.32111.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)p.32111.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)p.32211.10.12 UART Register Locationsp.32311.10.13 HSSP Register Locationsp.32411.11 Serial Port 3 – UARTp.32511.11.1 UART Operationp.32511.11.1.1 Frame Formatp.32611.11.1.2 Baud Rate Generationp.32611.11.1.3 Receive Operationp.32611.11.1.4 Transmit Operationp.32711.11.1.5 Transmit and Receive FIFOsp.32711.11.1.6 CPU and DMA Register Access Sizesp.32711.11.2 UART Register Definitionsp.32711.11.3 UART Control Register 0p.32811.11.3.1 Parity Enable (PE)p.32811.11.3.2 Odd/Even Parity Select (OES)p.32811.11.3.3 Stop Bit Select (SBS)p.32811.11.3.4 Data Size Select (DSS)p.32911.11.3.5 Sample Clock Enable (SCE)p.32911.11.3.6 Receive Clock Edge Select (RCE)p.32911.11.3.7 Transmit Clock Edge Select (TCE)p.32911.11.4 UART Control Registers 1 and 2p.33011.11.4.1 Baud Rate Divisor (BRD)p.33011.11.5 UART Control Register 3p.33111.11.5.1 Receiver Enable (RXE)p.33211.11.5.2 Transmitter Enable (TXE)p.33211.11.5.3 Break (BRK)p.33211.11.5.4 Receive FIFO Interrupt Enable (RIE)p.33211.11.5.5 Transmit FIFO Interrupt Enable (TIE)p.33311.11.5.6 Loopback Mode (LBM)p.33311.11.6 UART Data Registerp.33411.11.7 UART Status Register 0p.33511.11.7.1 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.33611.11.7.2 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.33611.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)p.33611.11.7.4 Receiver Begin of Break Status (RBB) (read/write, nonmaskable interrupt)p.33711.11.7.5 Receiver End of Break Status (REB) (read/write, nonmaskable interrupt)p.33711.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)p.33711.11.8 UART Status Register 1p.33911.11.8.1 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.33911.11.8.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.33911.11.8.3 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.33911.11.8.4 Parity Error Flag (PRE) (read-only, noninterruptible)p.33911.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)p.33911.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)p.34011.11.9 UART Register Locationsp.34111.12 Serial Port 4 – MCP / SSPp.34211.12.1 MCP Operationp.34311.12.1.1 Frame Formatp.34311.12.1.2 Audio and Telecom Sample Rates and Data Transferp.34511.12.1.3 MCP Transmit and Receive FIFO Operationp.34611.12.1.4 Codec Control Register Data Transferp.34711.12.1.5 External Clock Operationp.34811.12.1.6 Alternate SSP Pin Assignmentp.34811.12.1.7 CPU and DMA Register Access Sizesp.34811.12.2 MCP Register Definitionsp.34911.12.3 MCP Control Register 0p.34911.12.3.1 Audio Sample Rate Divisor (ASD)p.34911.12.3.2 Telecom Sample Rate Divisor (TSD)p.35011.12.3.3 Multimedia Communications Port Enable (MCE)p.35111.12.3.4 External Clock Select (ECS)p.35111.12.3.5 A/D Sampling Mode (ADM)p.35211.12.3.6 Telecom Transmit FIFO Interrupt Enable (TTE)p.35211.12.3.7 Telecom Receive FIFO Interrupt Enable (TRE)p.35211.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)p.35211.12.3.9 Audio Receive FIFO Interrupt Enable (ARE)p.35311.12.3.10 Loopback Mode (LBM)p.35311.12.3.11 External Clock Prescaler (ECP)p.35311.12.4 MCP Control Register 1p.35511.12.4.1 Clock Frequency Select (CFS)p.35511.12.5 MCP Data Registersp.35611.12.5.1 MCP Data Register 0p.35611.12.5.2 MCP Data Register 1p.35711.12.5.3 MCP Data Register 2p.35811.12.6 MCP Status Registerp.36011.12.6.1 Audio Transmit FIFO Service Request Flag (ATS) (read-only, maskable interrupt)p.36011.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)p.36011.12.6.3 Telecom Transmit FIFO Service Request Flag (TTS) (read-only, maskable interrupt)p.36111.12.6.4 Telecom Receive FIFO Service Request Flag (TRS) (read-only, maskable interrupt)p.36111.12.6.5 Audio Transmit FIFO Underrun Status (ATU) (read/write, nonmaskable interrupt)p.36111.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)p.36111.12.6.7 Telecom Transmit FIFO Underrun Status (TTU) (read/write, nonmaskable interrupt)p.36211.12.6.8 Telecom Receive FIFO Overrun Status (TRO) (read/write, nonmaskable interrupt)p.36211.12.6.9 Audio Transmit FIFO Not Full Flag (ANF) (read-only, noninterruptible)p.36211.12.6.10 Audio Receive FIFO Not Empty Flag (ANE) (read-only, noninterruptible)p.36211.12.6.11 Telecom Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.36211.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)p.36211.12.6.13 Codec Write Completed Flag (CWC) (read-only, noninterruptible)p.36311.12.6.14 Codec Read Completed Flag (CRC) (read-only, noninterruptible)p.36311.12.6.15 Audio Codec Enabled Flag (ACE) (read-only, noninterruptible)p.36311.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)p.36311.12.7 SSP Operationp.36511.12.7.1 Frame Formatp.36611.12.7.2 Baud Rate Generationp.37011.12.7.3 SSP Transmit and Receive FIFOsp.37011.12.7.4 CPU and DMA Register Access Sizesp.37111.12.7.5 Alternate SSP Pin Assignmentp.37111.12.8 SSP Register Definitionsp.37111.12.9 SSP Control Register 0p.37211.12.9.1 Data Size Select (DSS)p.37211.12.9.2 Frame Format (FRF)p.37211.12.9.3 Synchronous Serial Port Enable (SSE)p.37211.12.9.4 Serial Clock Rate (SCR)p.37311.12.10 SSP Control Register 1p.37411.12.10.1 Receive FIFO Interrupt Enable (RIE)p.37411.12.10.2 Transmit FIFO Interrupt Enable (TIE)p.37411.12.10.3 Loopback Mode (LBM)p.37511.12.10.4 Serial Clock Polarity (SPO)p.37511.12.10.5 Serial Clock Phase (SPH)p.37511.12.10.6 External Clock Select (ECS)p.37611.12.11 SSP Data Registerp.37711.12.12 SSP Status Registerp.37911.12.12.1 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.37911.12.12.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.37911.12.12.3 SSP Busy Flag (BSY) (read-only, noninterruptible)p.37911.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.37911.12.12.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.38011.12.12.6 Receiver Overrun Status (ROR) (read/write, nonmaskable interrupt)p.38011.12.13 MCP Register Locationsp.38111.12.14 SSP Register Locationsp.38211.13 Peripheral Pin Controller (PPC)p.38211.13.1 PPC Operationp.38211.13.2 PPC Register Definitionsp.38311.13.3 PPC Pin Direction Registerp.38311.13.4 PPC Pin State Registerp.38511.13.5 PPC Pin Assignment Registerp.38711.13.5.1 UART Pin Reassignment (UPR)p.38711.13.5.2 SSP Pin Reassignment (SPR)p.38711.13.6 PPC Sleep Mode Pin Direction Registerp.38811.13.7 PPC Pin Flag Registerp.39011.13.8 PPC Register Locationsp.392DC Parameters 12p.39312.1 Absolute Maximum Ratingsp.39312.2 DC Operating Conditionsp.39412.3 Power Supply Voltages and Currentsp.395AC Parameters 13p.39713.1 Test Conditionsp.39713.2 Model Considerationsp.39813.3 Memory Bus and PCMCIA Signal Timingsp.39813.4 LCD Controller Signalsp.39913.5 MCP Signalsp.39913.6 Timing Parametersp.40113.6.1 Asynchronous Signal Timing Descriptionsp.403Package and Pinout 14p.405Debug Support 15p.41115.1 Instruction Breakpointp.41115.2 Data Breakpointp.411Boundary-Scan Test Interface 16p.41316.1 Overviewp.41316.2 Resetp.41416.3 Pull-Up Resistorsp.41416.4 Instruction Registerp.41416.5 Public Instructionsp.41416.5.1 EXTEST (00000)p.41516.5.2 SAMPLE/PRELOAD (00001)p.41516.5.3 CLAMP (00100)p.41516.5.4 HIGHZ (00101)p.41616.5.5 IDCODE (00110)p.41616.5.6 BYPASS (11111)p.41616.6 Test Data Registersp.41716.6.1 Bypass Registerp.41716.6.2 Intel® StrongARM SA-1110 Device Identification (ID) Code Registerp.41816.6.3 Intel® StrongARM SA-1110 Boundary-Scan (BS) Registerp.41816.7 Boundary-Scan Interface Signalsp.419Register Summary Ap.4273.6864–MHz Oscillator Specifications Bp.433B.1 Specificationsp.433B.1.1 System Specificationsp.433B.1.1.1. Parasitic Capacitance Off-chip Between PXTAL and PEXTALp.434B.1.1.2. Parasitic Capacitance Off-chip Between PXTAL or PEXTAL and VSSp.434B.1.1.3. Parasitic Resistance Between PXTAL and PEXTALp.434B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSSp.434B.1.2 Quartz Crystal Specificationp.43532.768–KHz Oscillator Specifications Cp.437C.1 Specificationsp.437C.1.1 System Specificationsp.437C.1.1.1. Temperature Rangep.437C.1.1.2. Current Consumptionp.437C.1.1.3. Startup Timep.437C.1.1.4. Frequency Shift Due to Temperature Effect on the Circuitp.438C.1.1.5. Parasitic Capacitance Off-chip Between TXTAL and TEXTALp.438C.1.1.6. Parasitic Capacitance Off-chip Between TXTAL or TEXTAL and VSSp.438C.1.1.7. Parasitic Resistance Between TXTAL and TEXTALp.438C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSSp.438C.1.2 Quartz Crystal Specificationp.439Internal Test Dp.441D.1 Test Unit Control Register (TUCR)p.441
Page 4 of the Intel SA-1110 user manual — 8 Clocks
Page 4 · click to enlarge
Page 4

5.2.1.2 Noncacheable Reads – C = 0 49 5.2.2 Bufferable Bit – B 49 5.2.3 Software Dcache Flush 50 5.2.3.1 Doubly Mapped Space 50 5.2.4 Dcaches Enable/Disable and Reset 50 5.2.4.1 Enabling the Dcaches 51 5.2.4.2 Disabling the Dcaches 51 5.3 Write Buffer (WB) 51 5.3.1 Bufferable Bit 51 5.3.2 Write Buffer Operation 51 5.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1) 51 5.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0) 52 5.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0) 52 5.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1) 52 5.3.3 Enabling the Write Buffer 52 5.3.3.1 Disabling the Write Buffer 52 5.4 Read Buffer (RB) 52

6 Coprocessors

6.1 Internal Coprocessor Instructions 55 6.2 Coprocessor 15 Definition 56 6.2.1 Register 0 – ID 56 6.2.2 Register 1 – Control 57 6.2.3 Register 2 – Translation Table Base 58 6.2.4 Register 3 – Domain Access Control 58 6.2.5 Register 4 – RESERVED 59 6.2.6 Register 5 – Fault Status 59 6.2.7 Register 6 – Fault Address 59 6.2.8 Register 7 – Cache Control Operations 59 6.2.9 Register 8 – TLB Operations 60 6.2.10 Register 9 – Read-Buffer Operations 60 6.2.11 Registers 10 – 12 RESERVED 61 6.2.12 Register 13 – Process ID Virtual Address Mapping 61 6.2.13 Register 14 – Debug Support (Breakpoints) 62 6.2.14 Register 15 – Test, Clock, and Idle Control 63

7 Memory Management Unit (MMU)

7.1 Overview 65 7.1.1 MMU Registers 65 7.2 MMU Faults and CPU Aborts 65 7.3 Data Aborts 65 7.3.1 Cacheable Reads (Linefetches) 66 7.3.2 Buffered Writes 66 7.4 Interaction of the MMU, Icache, Dcache, and Write Buffer 66 7.5 Mini Data Cache 67

8 Clocks

8.1 Intel® StrongARM SA-1110 Crystal Oscillators 69 8.2 Core Clock Configuration Register 70 8.2.1 Restrictions on Changing the Core Clock Configuration 71

Page 5 of the Intel SA-1110 user manual — 9 System Control Module
Page 5 · click to enlarge
Page 5

8.3 Driving Intel® StrongARM SA-1110 Crystal Pins from an External Source 71 8.4 Clocking During Test 72

9 System Control Module

9.1 General-Purpose I/O 73 9.1.1 GPIO Register Definitions 74 9.1.1.1 GPIO Pin-Level Register (GPLR) 75 9.1.1.2 GPIO Pin Direction Register (GPDR) 76 9.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR) 77 9.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER) 78 9.1.1.5 GPIO Edge Detect Status Register (GEDR) 79 9.1.1.6 GPIO Alternate Function Register (GAFR) 80 9.1.2 GPIO Alternate Functions 81 9.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Function 82 9.1.3 GPIO Register Locations 82 9.2 Interrupt Controller 83 9.2.1 Interrupt Controller Register Definitions 84 9.2.1.1 Interrupt Controller Pending Register (ICPR) 84 9.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP) 86 9.2.1.3 Interrupt Controller Mask Register (ICMR) 87 9.2.1.4 Interrupt Controller Level Register (ICLR) 88 9.2.1.5 Interrupt Controller Control Register (ICCR) 89 9.2.2 Interrupt Controller Register Locations 90 9.3 Real-Time Clock 90 9.3.1 RTC Counter Register (RCNR) 90 9.3.2 RTC Alarm Register (RTAR) 91 9.3.3 RTC Status Register (RTSR) 91 9.3.4 RTC Trim Register (RTTR) 93 9.3.5 Trim Procedure 93 9.3.5.1 Oscillator Frequency Calibration 93 9.3.5.2 RTTR Value Calculations 94 9.3.6 Real-Time Clock Register Locations 95 9.4 Operating System Timer 95 9.4.1 OS Timer Count Register (OSCR) 96 9.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3) 96 9.4.3 OS Timer Watchdog Match Enable Register (OWER) 96 9.4.4 OS Timer Status Register (OSSR) 97 9.4.5 OS Timer Interrupt Enable Register (OIER) 98 9.4.6 Watchdog Timer 98 9.4.7 OS Timer Register Locations 99 9.5 Power Manager 99 9.5.1 Run Mode 99 9.5.2 Idle Mode 99 9.5.2.1 Entering Idle Mode 100 9.5.2.2 Exiting Idle Mode 100 9.5.3 Sleep Mode 101

Page 6 of the Intel SA-1110 user manual — Table of contents
Page 6 · click to enlarge
Page 6

Table of contents

Intel® StrongARM* SA-1110 Microprocessorp.1Contentsp.3Introduction 1p.211.1 Intel® StrongARM* SA-1110 Microprocessorp.211.2 Overviewp.241.3 Example Systemp.251.4 ARM Architecturep.261.4.1 26-Bit Modep.261.4.2 Coprocessorsp.261.4.3 Memory Managementp.261.4.4 Instruction Cachep.261.4.5 Data Cachep.261.4.6 Write Bufferp.271.4.7 Read Bufferp.27Functional Description 2p.292.1 Block Diagramp.292.2 Inputs/Outputsp.312.3 Signal Descriptionp.322.4 Memory Mapp.36ARM Implementation Options 3p.393.1 Big and Little Endianp.393.2 Exceptionsp.393.2.1 Power-Up Resetp.403.2.2 ROM Size Selectp.403.2.3 Abortp.413.2.4 Vector Summaryp.423.2.5 Exception Prioritiesp.423.2.6 Interrupt Latencies and Enable Timingp.433.3 Coprocessorsp.43Instruction Set 4p.454.1 Instruction Setp.454.2 Instruction Timingp.45Caches, Write Buffer, and Read Buffer 5p.475.1 Instruction Cache (Icache)p.475.1.1 Icache Operationp.475.1.2 Icache Validityp.475.1.2.1 Software Icache Flushp.475.1.3 Icache Enable/Disable and Resetp.485.1.3.1 Enabling the Icachep.485.1.3.2 Disabling the Icachep.485.2 Data Caches (Dcaches)p.485.2.1 Cacheable Bit – Cp.495.2.1.1 Cacheable Reads – C = 1p.495.2.1.2 Noncacheable Reads – C = 0p.495.2.2 Bufferable Bit – Bp.495.2.3 Software Dcache Flushp.505.2.3.1 Doubly Mapped Spacep.505.2.4 Dcaches Enable/Disable and Resetp.505.2.4.1 Enabling the Dcachesp.515.2.4.2 Disabling the Dcachesp.515.3 Write Buffer (WB)p.515.3.1 Bufferable Bitp.515.3.2 Write Buffer Operationp.515.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)p.515.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)p.525.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0)p.525.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1)p.525.3.3 Enabling the Write Bufferp.525.3.3.1 Disabling the Write Bufferp.525.4 Read Buffer (RB)p.52Coprocessors 6p.556.1 Internal Coprocessor Instructionsp.556.2 Coprocessor 15 Definitionp.566.2.1 Register 0 – IDp.566.2.2 Register 1 – Controlp.576.2.3 Register 2 – Translation Table Basep.586.2.4 Register 3 – Domain Access Controlp.586.2.5 Register 4 – RESERVEDp.596.2.6 Register 5 – Fault Statusp.596.2.7 Register 6 – Fault Addressp.596.2.8 Register 7 – Cache Control Operationsp.596.2.9 Register 8 – TLB Operationsp.606.2.10 Register 9 – Read-Buffer Operationsp.606.2.11 Registers 10 – 12 RESERVEDp.616.2.12 Register 13 – Process ID Virtual Address Mappingp.616.2.13 Register 14 – Debug Support (Breakpoints)p.626.2.14 Register 15 – Test, Clock, and Idle Controlp.63Memory Management Unit (MMU) 7p.657.1 Overviewp.657.1.1 MMU Registersp.657.2 MMU Faults and CPU Abortsp.657.3 Data Abortsp.657.3.1 Cacheable Reads (Linefetches)p.667.3.2 Buffered Writesp.667.4 Interaction of the MMU, Icache, Dcache, and Write Bufferp.667.5 Mini Data Cachep.67Clocks 8p.698.1 Intel® StrongARM SA-1110 Crystal Oscillatorsp.698.2 Core Clock Configuration Registerp.708.2.1 Restrictions on Changing the Core Clock Configurationp.718.3 Driving Intel® StrongARM SA-1110 Crystal Pins from an External Sourcep.718.4 Clocking During Testp.72System Control Module 9p.739.1 General-Purpose I/Op.739.1.1 GPIO Register Definitionsp.749.1.1.1 GPIO Pin-Level Register (GPLR)p.759.1.1.2 GPIO Pin Direction Register (GPDR)p.769.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR)p.779.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER)p.789.1.1.5 GPIO Edge Detect Status Register (GEDR)p.799.1.1.6 GPIO Alternate Function Register (GAFR)p.809.1.2 GPIO Alternate Functionsp.819.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Functionp.829.1.3 GPIO Register Locationsp.829.2 Interrupt Controllerp.839.2.1 Interrupt Controller Register Definitionsp.849.2.1.1 Interrupt Controller Pending Register (ICPR)p.849.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP)p.869.2.1.3 Interrupt Controller Mask Register (ICMR)p.879.2.1.4 Interrupt Controller Level Register (ICLR)p.889.2.1.5 Interrupt Controller Control Register (ICCR)p.899.2.2 Interrupt Controller Register Locationsp.909.3 Real-Time Clockp.909.3.1 RTC Counter Register (RCNR)p.909.3.2 RTC Alarm Register (RTAR)p.919.3.3 RTC Status Register (RTSR)p.919.3.4 RTC Trim Register (RTTR)p.939.3.5 Trim Procedurep.939.3.5.1 Oscillator Frequency Calibrationp.939.3.5.2 RTTR Value Calculationsp.949.3.6 Real-Time Clock Register Locationsp.959.4 Operating System Timerp.959.4.1 OS Timer Count Register (OSCR)p.969.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3)p.969.4.3 OS Timer Watchdog Match Enable Register (OWER)p.969.4.4 OS Timer Status Register (OSSR)p.979.4.5 OS Timer Interrupt Enable Register (OIER)p.989.4.6 Watchdog Timerp.989.4.7 OS Timer Register Locationsp.999.5 Power Managerp.999.5.1 Run Modep.999.5.2 Idle Modep.999.5.2.1 Entering Idle Modep.1009.5.2.2 Exiting Idle Modep.1009.5.3 Sleep Modep.1019.5.3.1 CPU Preparation for Sleep Modep.1019.5.3.2 Events Causing Entry into Sleep Modep.1019.5.3.3 The Sleep Shutdown Sequencep.1019.5.3.4 During Sleep Modep.1029.5.3.5 The Sleep Wake-Up Sequencep.1039.5.3.6 Booting After Sleep Modep.1039.5.3.7 Reviving the DRAMs from Self-Refresh Modep.1049.5.4 Notes on Power Supply Sequencingp.1049.5.5 Assumed Behavior of an Intel® StrongARM SA-1110 System in Sleep Modep.1049.5.6 Pin Operation in Sleep Modep.1069.5.7 Power Manager Registersp.1079.5.7.1 Power Manager Control Register (PMCR)p.1079.5.7.2 Power Manager General Configuration Register (PCFR)p.1089.5.7.3 Power Manager PLL Configuration Register (PPCR)p.1109.5.7.4 Power Manager Wake-Up Enable Register (PWER)p.1109.5.7.5 Power Manager Sleep Status Register (PSSR)p.1119.5.7.6 Power Manager Scratch Pad Register (PSPR)p.1139.5.7.7 Power Manager GPIO Sleep State Register (PGSR)p.1139.5.7.8 Power Manager Oscillator Status Register (POSR)p.1149.5.8 Power Manager Register Locationsp.1149.6 Reset Controllerp.1159.6.1 Reset Controller Registersp.1159.6.1.1 Reset Controller Software Reset Register (RSRR)p.1159.6.1.2 Reset Controller Status Register (RCSR)p.1169.6.2 Reset Controller Register Locationsp.117Memory and PC-Card Control Module 10p.11910.1 Overview of Operationp.12010.1.1 Types of Memory Accessesp.12210.1.2 Readsp.12210.1.3 Writesp.12310.1.4 Transaction Summaryp.12310.1.5 Read-Lock-Writep.12310.1.6 Aborts and Nonexistent Memoryp.12410.2 Memory Interface Reset and Initializationp.12410.2.1 Hardware or Sleep Reset Proceduresp.12510.2.2 Software or Watchdog Reset Proceduresp.12610.3 Memory Configuration Registersp.12710.3.1 DRAM Configuration Register (MDCNFG)p.12810.3.2 DRAM Refresh Control Register (MDREFR)p.13210.3.3 CAS Waveform Rotate Registers (MDCAS00, MDCAS01, MDCAS02, MDCAS20, MDCAS21, MDCAS22)p.13610.3.3.1 MDCAS Registers with Asynchronous DRAMp.13610.3.3.2 MDCAS Registers with SDRAM and SMROMp.13710.3.4 Static Memory Control Registers (MSC2 – 0)p.13910.3.5 Expansion Memory (PC-Card) Configuration Register (MECR)p.14210.4 SMROM Configuration Register (SMCNFG)p.14410.4.1 Changing SMROM RAS Latencyp.14710.5 Dynamic Interface Operationp.14810.5.1 DRAM Overviewp.14810.5.2 DRAM Timingp.15010.5.3 SDRAM Overviewp.15210.5.4 SDRAM Commandsp.15410.5.5 SDRAM State Machinep.15510.5.6 DRAM/SDRAM Refreshp.16010.5.7 DRAM/SDRAM Self-Refresh in Sleep Modep.16110.6 Static Memory Interfacep.16210.6.1 ROM Interface Overviewp.16310.6.2 ROM Timing Diagrams and Parametersp.16310.6.3 SRAM Interface Overviewp.16710.6.4 SRAM Timing Diagrams and Parametersp.16710.6.5 Variable Latency I/O Interface Overviewp.16910.6.6 Variable Latency I/O Timing Diagrams and Parametersp.16910.6.7 FLASH Memory Interface Overviewp.17210.6.8 FLASH Memory Timing Diagrams and Parametersp.17210.6.9 SMROM Overviewp.17310.6.10 SMROM Commandsp.17310.6.11 SMROM State Machinep.17410.7 PC-Card Overviewp.17710.7.1 8-, 16-, and 32-Bit Data Bus Operationp.17910.7.2 External Logic for PC-Card Implementationp.18010.7.3 PC-Card Interface Timing Diagrams and Parametersp.18310.8 Alternate Memory Bus Master Modep.18510.9 Memory System Examplesp.18610.10 SA1110 Memory Configuration Toolp.190Peripheral Control Module 11p.20511.1 Read/Write Interfacep.20511.2 Memory Organizationp.20611.3 Interruptsp.20711.4 Peripheral Pinsp.20811.5 Use of the GPIO Pins for Alternate Functionsp.20911.6 DMA Controllerp.21011.6.1 DMA Register Definitionsp.21111.6.1.1 DMA Device Address Register (DDARn)p.21111.6.1.2 DMA Control/Status Register (DCSRn)p.21311.6.1.3 DMA Buffer A Start Address Register (DBSAn)p.21511.6.1.4 DMA Buffer A Transfer Count Register (DBTAn)p.21611.6.1.5 DMA Buffer B Start Address Register (DBSBn)p.21611.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)p.21611.6.2 DMA Register Listp.21711.7 LCD Controllerp.21911.7.1 LCD Controller Operationp.22011.7.1.1 DMA to Memory Interfacep.22111.7.1.2 Frame Bufferp.22111.7.1.3 Input FIFOp.22611.7.1.4 Lookup Palettep.22611.7.1.5 Color/Gray-Scale Ditheringp.22611.7.1.6 Output FIFOp.22711.7.1.7 LCD Controller Pinsp.22711.7.2 LCD Controller Register Definitionsp.22811.7.3 LCD Controller Control Register 0p.22911.7.3.1 LCD Enable (LEN)p.22911.7.3.2 Color/Monochrome Select (CMS)p.22911.7.3.3 Single-/Dual-Panel Select (SDS)p.22911.7.3.4 LCD Disable Done Interrupt Mask (LDM)p.23111.7.3.5 Base Address Update Interrupt Mask (BAM)p.23211.7.3.6 Error Interrupt Mask (ERM)p.23211.7.3.7 Passive/Active Display Select (PAS)p.23211.7.3.8 Big/Little Endian Select (BLE)p.23311.7.3.9 Double-Pixel Data (DPD) Pin Modep.23411.7.3.10 Vertical Slant Line Correction (VSC)p.23411.7.3.11 Palette DMA Request Delay (PDD)p.23411.7.4 LCD Controller Control Register 1p.23611.7.4.1 Pixels Per Line (PPL)p.23711.7.4.2 Horizontal Sync Pulse Width (HSW)p.23711.7.4.3 End-of-Line Pixel Clock Wait Count (ELW)p.23711.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)p.23711.7.5 LCD Controller Control Register 2p.23811.7.5.1 Lines Per Panel (LPP)p.23811.7.5.2 Vertical Sync Pulse Width (VSW)p.23911.7.5.3 End-of-Frame Line Clock Wait Count (EFW)p.23911.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)p.24011.7.6 LCD Controller Control Register 3p.24111.7.6.1 Pixel Clock Divider (PCD)p.24211.7.6.2 AC Bias Pin Frequency (ACB)p.24211.7.6.3 AC Bias Pin Transitions Per Interrupt (API)p.24211.7.6.4 Vertical Sync Polarity (VSP)p.24311.7.6.5 Horizontal Sync Polarity (HSP)p.24311.7.6.6 Pixel Clock Polarity (PCP)p.24311.7.6.7 Output Enable Polarity (OEP)p.24311.7.7 LCD Controller DMA Registersp.24511.7.8 DMA Channel 1 Base Address Registerp.24511.7.9 DMA Channel 1 Current Address Registerp.24611.7.10 DMA Channel 2 Base and Current Address Registersp.24711.7.11 LCD Controller Status Registerp.24811.7.11.1 LCD Disable Done Flag (LDD) (read/write, maskable interrupt)p.24911.7.11.2 Base Address Update Flag (BAU) (read-only, maskable interrupt)p.24911.7.11.3 Bus Error Status (BER) (read/write, maskable interrupt)p.24911.7.11.4 AC Bias Count Status (ABC) (read/write, nonmaskable interrupt)p.24911.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)p.24911.7.11.6 Input FIFO Underrun Lower Panel Status (IUL) (read/write, maskable interrupt)p.25011.7.11.7 Input FIFO Overrun Upper Panel Status (IOU) (read/write, maskable interrupt)p.25011.7.11.8 Input FIFO Underrun Upper Panel Status (IUU) (read/write, maskable interrupt)p.25011.7.11.9 Output FIFO Overrun Lower Panel Status (OOL) (read/write, maskable interrupt)p.25011.7.11.10 Output FIFO Underrun Lower Panel Status (OUL) (read only, maskable interrupt)p.25011.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)p.25011.7.11.12 Output FIFO Underrun Upper Panel Status (OUU) (read/write, maskable interrupt)p.25111.7.12 LCD Controller Register Locationsp.25211.7.13 LCD Controller Pin Timing Diagramsp.25411.8 Serial Port 0 – USB Device Controller (UDC)p.25911.8.1 USB Operationp.26111.8.1.1 Signalling Levelsp.26111.8.1.2 Connecting the USB to the SA-1110p.26211.8.1.3 Bit Encodingp.26311.8.1.4 Field Formatsp.26411.8.1.5 Packet Typesp.26511.8.1.6 Transaction Formatsp.26711.8.1.7 SA-1110 UDC Device-Request Commandsp.26911.8.1.8 Using DMAp.27111.8.1.9 Software Control of the SA-1110 UDCp.27111.8.1.10 SA-1110 USB Example Codep.27811.8.2 SA-1110 UDC Register Definitionsp.27811.8.3 UDC Control Register (UDCCR)p.27911.8.3.1 UDC Disable (UDD)p.28011.8.3.2 UDC Active (UDA)p.28011.8.3.3 Resume Interrupt Mask (RESIM)p.28011.8.3.4 Endpoint 0 Interrupt Mask (EIM)p.28111.8.3.5 Receive Interrupt Mask (RIM)p.28111.8.3.6 Transmit Interrupt Mask (TIM)p.28111.8.3.7 Suspend Interrupt Mask (SUSIM)p.28211.8.3.8 Reserved/B5p.28211.8.4 UDC Address Register (UDCAR)p.28211.8.5 UDC OUT Maximum Packet Register (UDCOMP)p.28311.8.6 UDC IN Maximum Packet Register (UDCIMP)p.28411.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)p.28411.8.7.1 OUT Packet Ready (OPR)p.28511.8.7.2 IN Packet Ready (IPR)p.28511.8.7.3 Sent Stall (SST)p.28611.8.7.4 Force Stall (FST)p.28611.8.7.5 Data End (DE)p.28611.8.7.6 Setup End (SE)p.28611.8.7.7 Serviced OPR (SO)p.28611.8.7.8 Serviced Setup End (SSE)p.28611.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)p.28611.8.8.1 Receive FIFO Service (RFS)p.28711.8.8.2 Receive Packet Complete (RPC)p.28711.8.8.3 Receive Packet Error (RPE)p.28811.8.8.4 Sent Stall (SST)p.28811.8.8.5 Force Stall (FST)p.28811.8.8.6 Receive FIFO Not Empty (RNE)p.28811.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)p.28811.8.9.1 Transmit FIFO Service (TFS)p.28911.8.9.2 Transmit Packet Complete (TPC)p.28911.8.9.3 Transmit Packet Error (TPE)p.28911.8.9.4 Transmit Underrun (TUR)p.29011.8.9.5 Sent STALL (SST)p.29011.8.9.6 Force STALL (FST)p.29011.8.10 UDC Endpoint 0 Data Register (UDCD0)p.29011.8.11 UDC Endpoint 0 Write Count Register (UDCWC)p.29111.8.12 UDC Data Register (UDCDR)p.29211.8.13 UDC Status/Interrupt Register (UDCSR)p.29211.8.13.1 Endpoint 0 Interrupt Request (EIR)p.29311.8.13.2 Receive Interrupt Request (RIR)p.29411.8.13.3 Transmit Interrupt Request (TIR)p.29411.8.13.4 Suspend Interrupt Request (SUSIR)p.29411.8.13.5 Resume Interrupt Request (RESIR)p.29411.8.13.6 Reset Interrupt Request (RSTIR)p.29411.8.14 SA-1110 UDC Register Locationsp.29411.9 Serial Port 1 – GPCLK/UARTp.29511.9.1 GPCLK Operationp.29511.9.1.1 Simultaneous Use of the UART and GPCLKp.29611.9.2 GPCLK Control Register 0p.29611.9.2.1 GPCLK/UART Select (SUS)p.29611.9.2.2 Sample Clock Enable (SCE)p.29611.9.2.3 Sample Clock Direction (SCD)p.29611.9.3 GPCLK Control Register 1p.29711.9.3.1 Transmit Enable (TXE)p.29711.9.4 GPCLK Control Registers 2 and 3p.29811.9.4.1 Baud Rate Divisor (BRD)p.29811.9.5 UART Register Locationsp.29911.9.6 GPCLK Register Locationsp.30011.10 Serial Port 2 – Infrared Communications Port (ICP)p.30011.10.1 Low-Speed ICP Operationp.30111.10.1.1 HP-SIR Modulationp.30111.10.1.2 UART Frame Formatp.30211.10.2 High-Speed ICP Operationp.30211.10.2.1 4PPM Modulationp.30211.10.2.2 HSSP Frame Formatp.30311.10.2.3 Address Fieldp.30411.10.2.4 Control Fieldp.30411.10.2.5 Data Fieldp.30411.10.2.6 CRC Fieldp.30411.10.2.7 Baud Rate Generationp.30511.10.2.8 Receive Operationp.30511.10.2.9 Transmit Operationp.30611.10.2.10 Transmit and Receive FIFOsp.30711.10.2.11 CPU and DMA Register Access Sizesp.30811.10.3 UART Register Definitionp.30811.10.4 UART Control Register 4p.30811.10.4.1 HP-SIR Enable (HSE)p.30811.10.4.2 Low-Power Mode (LPM)p.30811.10.5 HSSP Register Definitionsp.30911.10.6 HSSP Control Register 0p.30911.10.6.1 IrDA Transmission Rate (ITR)p.30911.10.6.2 Loopback Mode (LBM)p.31011.10.6.3 Transmit FIFO Underrun Select (TUS)p.31011.10.6.4 Transmit Enable (TXE)p.31111.10.6.5 Receive Enable (RXE)p.31111.10.6.6 Receive FIFO Interrupt Enable (RIE)p.31111.10.6.7 Transmit FIFO Interrupt Enable (TIE)p.31211.10.6.8 Address Match Enable (AME)p.31211.10.7 HSSP Control Register 1p.31311.10.7.1 Address Match Value (AMV)p.31311.10.8 HSSP Control Register 2p.31411.10.8.1 Transmit Pin Polarity Select (TXP)p.31411.10.8.2 Receive Pin Polarity Select (RXP)p.31511.10.9 HSSP Data Registerp.31611.10.10 HSSP Status Register 0p.31711.10.10.1 End/Error in FIFO Status (EIF) (read-only, nonmaskable interrupt)p.31811.10.10.2 Transmit Underrun Status (TUR) (read/write, maskable interrupt)p.31811.10.10.3 Receiver Abort Status (RAB) (read/write, nonmaskable interrupt)p.31811.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.31811.10.10.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.31911.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)p.31911.10.11 HSSP Status Register 1p.32011.10.11.1 Receiver Synchronized Flag (RSY) (read-only, noninterruptible)p.32111.10.11.2 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.32111.10.11.3 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.32111.10.11.4 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.32111.10.11.5 End-of-Frame Flag (EOF) (read-only, noninterruptible)p.32111.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)p.32111.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)p.32211.10.12 UART Register Locationsp.32311.10.13 HSSP Register Locationsp.32411.11 Serial Port 3 – UARTp.32511.11.1 UART Operationp.32511.11.1.1 Frame Formatp.32611.11.1.2 Baud Rate Generationp.32611.11.1.3 Receive Operationp.32611.11.1.4 Transmit Operationp.32711.11.1.5 Transmit and Receive FIFOsp.32711.11.1.6 CPU and DMA Register Access Sizesp.32711.11.2 UART Register Definitionsp.32711.11.3 UART Control Register 0p.32811.11.3.1 Parity Enable (PE)p.32811.11.3.2 Odd/Even Parity Select (OES)p.32811.11.3.3 Stop Bit Select (SBS)p.32811.11.3.4 Data Size Select (DSS)p.32911.11.3.5 Sample Clock Enable (SCE)p.32911.11.3.6 Receive Clock Edge Select (RCE)p.32911.11.3.7 Transmit Clock Edge Select (TCE)p.32911.11.4 UART Control Registers 1 and 2p.33011.11.4.1 Baud Rate Divisor (BRD)p.33011.11.5 UART Control Register 3p.33111.11.5.1 Receiver Enable (RXE)p.33211.11.5.2 Transmitter Enable (TXE)p.33211.11.5.3 Break (BRK)p.33211.11.5.4 Receive FIFO Interrupt Enable (RIE)p.33211.11.5.5 Transmit FIFO Interrupt Enable (TIE)p.33311.11.5.6 Loopback Mode (LBM)p.33311.11.6 UART Data Registerp.33411.11.7 UART Status Register 0p.33511.11.7.1 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.33611.11.7.2 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.33611.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)p.33611.11.7.4 Receiver Begin of Break Status (RBB) (read/write, nonmaskable interrupt)p.33711.11.7.5 Receiver End of Break Status (REB) (read/write, nonmaskable interrupt)p.33711.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)p.33711.11.8 UART Status Register 1p.33911.11.8.1 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.33911.11.8.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.33911.11.8.3 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.33911.11.8.4 Parity Error Flag (PRE) (read-only, noninterruptible)p.33911.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)p.33911.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)p.34011.11.9 UART Register Locationsp.34111.12 Serial Port 4 – MCP / SSPp.34211.12.1 MCP Operationp.34311.12.1.1 Frame Formatp.34311.12.1.2 Audio and Telecom Sample Rates and Data Transferp.34511.12.1.3 MCP Transmit and Receive FIFO Operationp.34611.12.1.4 Codec Control Register Data Transferp.34711.12.1.5 External Clock Operationp.34811.12.1.6 Alternate SSP Pin Assignmentp.34811.12.1.7 CPU and DMA Register Access Sizesp.34811.12.2 MCP Register Definitionsp.34911.12.3 MCP Control Register 0p.34911.12.3.1 Audio Sample Rate Divisor (ASD)p.34911.12.3.2 Telecom Sample Rate Divisor (TSD)p.35011.12.3.3 Multimedia Communications Port Enable (MCE)p.35111.12.3.4 External Clock Select (ECS)p.35111.12.3.5 A/D Sampling Mode (ADM)p.35211.12.3.6 Telecom Transmit FIFO Interrupt Enable (TTE)p.35211.12.3.7 Telecom Receive FIFO Interrupt Enable (TRE)p.35211.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)p.35211.12.3.9 Audio Receive FIFO Interrupt Enable (ARE)p.35311.12.3.10 Loopback Mode (LBM)p.35311.12.3.11 External Clock Prescaler (ECP)p.35311.12.4 MCP Control Register 1p.35511.12.4.1 Clock Frequency Select (CFS)p.35511.12.5 MCP Data Registersp.35611.12.5.1 MCP Data Register 0p.35611.12.5.2 MCP Data Register 1p.35711.12.5.3 MCP Data Register 2p.35811.12.6 MCP Status Registerp.36011.12.6.1 Audio Transmit FIFO Service Request Flag (ATS) (read-only, maskable interrupt)p.36011.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)p.36011.12.6.3 Telecom Transmit FIFO Service Request Flag (TTS) (read-only, maskable interrupt)p.36111.12.6.4 Telecom Receive FIFO Service Request Flag (TRS) (read-only, maskable interrupt)p.36111.12.6.5 Audio Transmit FIFO Underrun Status (ATU) (read/write, nonmaskable interrupt)p.36111.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)p.36111.12.6.7 Telecom Transmit FIFO Underrun Status (TTU) (read/write, nonmaskable interrupt)p.36211.12.6.8 Telecom Receive FIFO Overrun Status (TRO) (read/write, nonmaskable interrupt)p.36211.12.6.9 Audio Transmit FIFO Not Full Flag (ANF) (read-only, noninterruptible)p.36211.12.6.10 Audio Receive FIFO Not Empty Flag (ANE) (read-only, noninterruptible)p.36211.12.6.11 Telecom Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.36211.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)p.36211.12.6.13 Codec Write Completed Flag (CWC) (read-only, noninterruptible)p.36311.12.6.14 Codec Read Completed Flag (CRC) (read-only, noninterruptible)p.36311.12.6.15 Audio Codec Enabled Flag (ACE) (read-only, noninterruptible)p.36311.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)p.36311.12.7 SSP Operationp.36511.12.7.1 Frame Formatp.36611.12.7.2 Baud Rate Generationp.37011.12.7.3 SSP Transmit and Receive FIFOsp.37011.12.7.4 CPU and DMA Register Access Sizesp.37111.12.7.5 Alternate SSP Pin Assignmentp.37111.12.8 SSP Register Definitionsp.37111.12.9 SSP Control Register 0p.37211.12.9.1 Data Size Select (DSS)p.37211.12.9.2 Frame Format (FRF)p.37211.12.9.3 Synchronous Serial Port Enable (SSE)p.37211.12.9.4 Serial Clock Rate (SCR)p.37311.12.10 SSP Control Register 1p.37411.12.10.1 Receive FIFO Interrupt Enable (RIE)p.37411.12.10.2 Transmit FIFO Interrupt Enable (TIE)p.37411.12.10.3 Loopback Mode (LBM)p.37511.12.10.4 Serial Clock Polarity (SPO)p.37511.12.10.5 Serial Clock Phase (SPH)p.37511.12.10.6 External Clock Select (ECS)p.37611.12.11 SSP Data Registerp.37711.12.12 SSP Status Registerp.37911.12.12.1 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.37911.12.12.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.37911.12.12.3 SSP Busy Flag (BSY) (read-only, noninterruptible)p.37911.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.37911.12.12.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.38011.12.12.6 Receiver Overrun Status (ROR) (read/write, nonmaskable interrupt)p.38011.12.13 MCP Register Locationsp.38111.12.14 SSP Register Locationsp.38211.13 Peripheral Pin Controller (PPC)p.38211.13.1 PPC Operationp.38211.13.2 PPC Register Definitionsp.38311.13.3 PPC Pin Direction Registerp.38311.13.4 PPC Pin State Registerp.38511.13.5 PPC Pin Assignment Registerp.38711.13.5.1 UART Pin Reassignment (UPR)p.38711.13.5.2 SSP Pin Reassignment (SPR)p.38711.13.6 PPC Sleep Mode Pin Direction Registerp.38811.13.7 PPC Pin Flag Registerp.39011.13.8 PPC Register Locationsp.392DC Parameters 12p.39312.1 Absolute Maximum Ratingsp.39312.2 DC Operating Conditionsp.39412.3 Power Supply Voltages and Currentsp.395AC Parameters 13p.39713.1 Test Conditionsp.39713.2 Model Considerationsp.39813.3 Memory Bus and PCMCIA Signal Timingsp.39813.4 LCD Controller Signalsp.39913.5 MCP Signalsp.39913.6 Timing Parametersp.40113.6.1 Asynchronous Signal Timing Descriptionsp.403Package and Pinout 14p.405Debug Support 15p.41115.1 Instruction Breakpointp.41115.2 Data Breakpointp.411Boundary-Scan Test Interface 16p.41316.1 Overviewp.41316.2 Resetp.41416.3 Pull-Up Resistorsp.41416.4 Instruction Registerp.41416.5 Public Instructionsp.41416.5.1 EXTEST (00000)p.41516.5.2 SAMPLE/PRELOAD (00001)p.41516.5.3 CLAMP (00100)p.41516.5.4 HIGHZ (00101)p.41616.5.5 IDCODE (00110)p.41616.5.6 BYPASS (11111)p.41616.6 Test Data Registersp.41716.6.1 Bypass Registerp.41716.6.2 Intel® StrongARM SA-1110 Device Identification (ID) Code Registerp.41816.6.3 Intel® StrongARM SA-1110 Boundary-Scan (BS) Registerp.41816.7 Boundary-Scan Interface Signalsp.419Register Summary Ap.4273.6864–MHz Oscillator Specifications Bp.433B.1 Specificationsp.433B.1.1 System Specificationsp.433B.1.1.1. Parasitic Capacitance Off-chip Between PXTAL and PEXTALp.434B.1.1.2. Parasitic Capacitance Off-chip Between PXTAL or PEXTAL and VSSp.434B.1.1.3. Parasitic Resistance Between PXTAL and PEXTALp.434B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSSp.434B.1.2 Quartz Crystal Specificationp.43532.768–KHz Oscillator Specifications Cp.437C.1 Specificationsp.437C.1.1 System Specificationsp.437C.1.1.1. Temperature Rangep.437C.1.1.2. Current Consumptionp.437C.1.1.3. Startup Timep.437C.1.1.4. Frequency Shift Due to Temperature Effect on the Circuitp.438C.1.1.5. Parasitic Capacitance Off-chip Between TXTAL and TEXTALp.438C.1.1.6. Parasitic Capacitance Off-chip Between TXTAL or TEXTAL and VSSp.438C.1.1.7. Parasitic Resistance Between TXTAL and TEXTALp.438C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSSp.438C.1.2 Quartz Crystal Specificationp.439Internal Test Dp.441D.1 Test Unit Control Register (TUCR)p.441
Page 7 of the Intel SA-1110 user manual — Table of contents
Page 7 · click to enlarge
Page 7

Table of contents

Intel® StrongARM* SA-1110 Microprocessorp.1Contentsp.3Introduction 1p.211.1 Intel® StrongARM* SA-1110 Microprocessorp.211.2 Overviewp.241.3 Example Systemp.251.4 ARM Architecturep.261.4.1 26-Bit Modep.261.4.2 Coprocessorsp.261.4.3 Memory Managementp.261.4.4 Instruction Cachep.261.4.5 Data Cachep.261.4.6 Write Bufferp.271.4.7 Read Bufferp.27Functional Description 2p.292.1 Block Diagramp.292.2 Inputs/Outputsp.312.3 Signal Descriptionp.322.4 Memory Mapp.36ARM Implementation Options 3p.393.1 Big and Little Endianp.393.2 Exceptionsp.393.2.1 Power-Up Resetp.403.2.2 ROM Size Selectp.403.2.3 Abortp.413.2.4 Vector Summaryp.423.2.5 Exception Prioritiesp.423.2.6 Interrupt Latencies and Enable Timingp.433.3 Coprocessorsp.43Instruction Set 4p.454.1 Instruction Setp.454.2 Instruction Timingp.45Caches, Write Buffer, and Read Buffer 5p.475.1 Instruction Cache (Icache)p.475.1.1 Icache Operationp.475.1.2 Icache Validityp.475.1.2.1 Software Icache Flushp.475.1.3 Icache Enable/Disable and Resetp.485.1.3.1 Enabling the Icachep.485.1.3.2 Disabling the Icachep.485.2 Data Caches (Dcaches)p.485.2.1 Cacheable Bit – Cp.495.2.1.1 Cacheable Reads – C = 1p.495.2.1.2 Noncacheable Reads – C = 0p.495.2.2 Bufferable Bit – Bp.495.2.3 Software Dcache Flushp.505.2.3.1 Doubly Mapped Spacep.505.2.4 Dcaches Enable/Disable and Resetp.505.2.4.1 Enabling the Dcachesp.515.2.4.2 Disabling the Dcachesp.515.3 Write Buffer (WB)p.515.3.1 Bufferable Bitp.515.3.2 Write Buffer Operationp.515.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)p.515.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)p.525.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0)p.525.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1)p.525.3.3 Enabling the Write Bufferp.525.3.3.1 Disabling the Write Bufferp.525.4 Read Buffer (RB)p.52Coprocessors 6p.556.1 Internal Coprocessor Instructionsp.556.2 Coprocessor 15 Definitionp.566.2.1 Register 0 – IDp.566.2.2 Register 1 – Controlp.576.2.3 Register 2 – Translation Table Basep.586.2.4 Register 3 – Domain Access Controlp.586.2.5 Register 4 – RESERVEDp.596.2.6 Register 5 – Fault Statusp.596.2.7 Register 6 – Fault Addressp.596.2.8 Register 7 – Cache Control Operationsp.596.2.9 Register 8 – TLB Operationsp.606.2.10 Register 9 – Read-Buffer Operationsp.606.2.11 Registers 10 – 12 RESERVEDp.616.2.12 Register 13 – Process ID Virtual Address Mappingp.616.2.13 Register 14 – Debug Support (Breakpoints)p.626.2.14 Register 15 – Test, Clock, and Idle Controlp.63Memory Management Unit (MMU) 7p.657.1 Overviewp.657.1.1 MMU Registersp.657.2 MMU Faults and CPU Abortsp.657.3 Data Abortsp.657.3.1 Cacheable Reads (Linefetches)p.667.3.2 Buffered Writesp.667.4 Interaction of the MMU, Icache, Dcache, and Write Bufferp.667.5 Mini Data Cachep.67Clocks 8p.698.1 Intel® StrongARM SA-1110 Crystal Oscillatorsp.698.2 Core Clock Configuration Registerp.708.2.1 Restrictions on Changing the Core Clock Configurationp.718.3 Driving Intel® StrongARM SA-1110 Crystal Pins from an External Sourcep.718.4 Clocking During Testp.72System Control Module 9p.739.1 General-Purpose I/Op.739.1.1 GPIO Register Definitionsp.749.1.1.1 GPIO Pin-Level Register (GPLR)p.759.1.1.2 GPIO Pin Direction Register (GPDR)p.769.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR)p.779.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER)p.789.1.1.5 GPIO Edge Detect Status Register (GEDR)p.799.1.1.6 GPIO Alternate Function Register (GAFR)p.809.1.2 GPIO Alternate Functionsp.819.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Functionp.829.1.3 GPIO Register Locationsp.829.2 Interrupt Controllerp.839.2.1 Interrupt Controller Register Definitionsp.849.2.1.1 Interrupt Controller Pending Register (ICPR)p.849.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP)p.869.2.1.3 Interrupt Controller Mask Register (ICMR)p.879.2.1.4 Interrupt Controller Level Register (ICLR)p.889.2.1.5 Interrupt Controller Control Register (ICCR)p.899.2.2 Interrupt Controller Register Locationsp.909.3 Real-Time Clockp.909.3.1 RTC Counter Register (RCNR)p.909.3.2 RTC Alarm Register (RTAR)p.919.3.3 RTC Status Register (RTSR)p.919.3.4 RTC Trim Register (RTTR)p.939.3.5 Trim Procedurep.939.3.5.1 Oscillator Frequency Calibrationp.939.3.5.2 RTTR Value Calculationsp.949.3.6 Real-Time Clock Register Locationsp.959.4 Operating System Timerp.959.4.1 OS Timer Count Register (OSCR)p.969.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3)p.969.4.3 OS Timer Watchdog Match Enable Register (OWER)p.969.4.4 OS Timer Status Register (OSSR)p.979.4.5 OS Timer Interrupt Enable Register (OIER)p.989.4.6 Watchdog Timerp.989.4.7 OS Timer Register Locationsp.999.5 Power Managerp.999.5.1 Run Modep.999.5.2 Idle Modep.999.5.2.1 Entering Idle Modep.1009.5.2.2 Exiting Idle Modep.1009.5.3 Sleep Modep.1019.5.3.1 CPU Preparation for Sleep Modep.1019.5.3.2 Events Causing Entry into Sleep Modep.1019.5.3.3 The Sleep Shutdown Sequencep.1019.5.3.4 During Sleep Modep.1029.5.3.5 The Sleep Wake-Up Sequencep.1039.5.3.6 Booting After Sleep Modep.1039.5.3.7 Reviving the DRAMs from Self-Refresh Modep.1049.5.4 Notes on Power Supply Sequencingp.1049.5.5 Assumed Behavior of an Intel® StrongARM SA-1110 System in Sleep Modep.1049.5.6 Pin Operation in Sleep Modep.1069.5.7 Power Manager Registersp.1079.5.7.1 Power Manager Control Register (PMCR)p.1079.5.7.2 Power Manager General Configuration Register (PCFR)p.1089.5.7.3 Power Manager PLL Configuration Register (PPCR)p.1109.5.7.4 Power Manager Wake-Up Enable Register (PWER)p.1109.5.7.5 Power Manager Sleep Status Register (PSSR)p.1119.5.7.6 Power Manager Scratch Pad Register (PSPR)p.1139.5.7.7 Power Manager GPIO Sleep State Register (PGSR)p.1139.5.7.8 Power Manager Oscillator Status Register (POSR)p.1149.5.8 Power Manager Register Locationsp.1149.6 Reset Controllerp.1159.6.1 Reset Controller Registersp.1159.6.1.1 Reset Controller Software Reset Register (RSRR)p.1159.6.1.2 Reset Controller Status Register (RCSR)p.1169.6.2 Reset Controller Register Locationsp.117Memory and PC-Card Control Module 10p.11910.1 Overview of Operationp.12010.1.1 Types of Memory Accessesp.12210.1.2 Readsp.12210.1.3 Writesp.12310.1.4 Transaction Summaryp.12310.1.5 Read-Lock-Writep.12310.1.6 Aborts and Nonexistent Memoryp.12410.2 Memory Interface Reset and Initializationp.12410.2.1 Hardware or Sleep Reset Proceduresp.12510.2.2 Software or Watchdog Reset Proceduresp.12610.3 Memory Configuration Registersp.12710.3.1 DRAM Configuration Register (MDCNFG)p.12810.3.2 DRAM Refresh Control Register (MDREFR)p.13210.3.3 CAS Waveform Rotate Registers (MDCAS00, MDCAS01, MDCAS02, MDCAS20, MDCAS21, MDCAS22)p.13610.3.3.1 MDCAS Registers with Asynchronous DRAMp.13610.3.3.2 MDCAS Registers with SDRAM and SMROMp.13710.3.4 Static Memory Control Registers (MSC2 – 0)p.13910.3.5 Expansion Memory (PC-Card) Configuration Register (MECR)p.14210.4 SMROM Configuration Register (SMCNFG)p.14410.4.1 Changing SMROM RAS Latencyp.14710.5 Dynamic Interface Operationp.14810.5.1 DRAM Overviewp.14810.5.2 DRAM Timingp.15010.5.3 SDRAM Overviewp.15210.5.4 SDRAM Commandsp.15410.5.5 SDRAM State Machinep.15510.5.6 DRAM/SDRAM Refreshp.16010.5.7 DRAM/SDRAM Self-Refresh in Sleep Modep.16110.6 Static Memory Interfacep.16210.6.1 ROM Interface Overviewp.16310.6.2 ROM Timing Diagrams and Parametersp.16310.6.3 SRAM Interface Overviewp.16710.6.4 SRAM Timing Diagrams and Parametersp.16710.6.5 Variable Latency I/O Interface Overviewp.16910.6.6 Variable Latency I/O Timing Diagrams and Parametersp.16910.6.7 FLASH Memory Interface Overviewp.17210.6.8 FLASH Memory Timing Diagrams and Parametersp.17210.6.9 SMROM Overviewp.17310.6.10 SMROM Commandsp.17310.6.11 SMROM State Machinep.17410.7 PC-Card Overviewp.17710.7.1 8-, 16-, and 32-Bit Data Bus Operationp.17910.7.2 External Logic for PC-Card Implementationp.18010.7.3 PC-Card Interface Timing Diagrams and Parametersp.18310.8 Alternate Memory Bus Master Modep.18510.9 Memory System Examplesp.18610.10 SA1110 Memory Configuration Toolp.190Peripheral Control Module 11p.20511.1 Read/Write Interfacep.20511.2 Memory Organizationp.20611.3 Interruptsp.20711.4 Peripheral Pinsp.20811.5 Use of the GPIO Pins for Alternate Functionsp.20911.6 DMA Controllerp.21011.6.1 DMA Register Definitionsp.21111.6.1.1 DMA Device Address Register (DDARn)p.21111.6.1.2 DMA Control/Status Register (DCSRn)p.21311.6.1.3 DMA Buffer A Start Address Register (DBSAn)p.21511.6.1.4 DMA Buffer A Transfer Count Register (DBTAn)p.21611.6.1.5 DMA Buffer B Start Address Register (DBSBn)p.21611.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)p.21611.6.2 DMA Register Listp.21711.7 LCD Controllerp.21911.7.1 LCD Controller Operationp.22011.7.1.1 DMA to Memory Interfacep.22111.7.1.2 Frame Bufferp.22111.7.1.3 Input FIFOp.22611.7.1.4 Lookup Palettep.22611.7.1.5 Color/Gray-Scale Ditheringp.22611.7.1.6 Output FIFOp.22711.7.1.7 LCD Controller Pinsp.22711.7.2 LCD Controller Register Definitionsp.22811.7.3 LCD Controller Control Register 0p.22911.7.3.1 LCD Enable (LEN)p.22911.7.3.2 Color/Monochrome Select (CMS)p.22911.7.3.3 Single-/Dual-Panel Select (SDS)p.22911.7.3.4 LCD Disable Done Interrupt Mask (LDM)p.23111.7.3.5 Base Address Update Interrupt Mask (BAM)p.23211.7.3.6 Error Interrupt Mask (ERM)p.23211.7.3.7 Passive/Active Display Select (PAS)p.23211.7.3.8 Big/Little Endian Select (BLE)p.23311.7.3.9 Double-Pixel Data (DPD) Pin Modep.23411.7.3.10 Vertical Slant Line Correction (VSC)p.23411.7.3.11 Palette DMA Request Delay (PDD)p.23411.7.4 LCD Controller Control Register 1p.23611.7.4.1 Pixels Per Line (PPL)p.23711.7.4.2 Horizontal Sync Pulse Width (HSW)p.23711.7.4.3 End-of-Line Pixel Clock Wait Count (ELW)p.23711.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)p.23711.7.5 LCD Controller Control Register 2p.23811.7.5.1 Lines Per Panel (LPP)p.23811.7.5.2 Vertical Sync Pulse Width (VSW)p.23911.7.5.3 End-of-Frame Line Clock Wait Count (EFW)p.23911.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)p.24011.7.6 LCD Controller Control Register 3p.24111.7.6.1 Pixel Clock Divider (PCD)p.24211.7.6.2 AC Bias Pin Frequency (ACB)p.24211.7.6.3 AC Bias Pin Transitions Per Interrupt (API)p.24211.7.6.4 Vertical Sync Polarity (VSP)p.24311.7.6.5 Horizontal Sync Polarity (HSP)p.24311.7.6.6 Pixel Clock Polarity (PCP)p.24311.7.6.7 Output Enable Polarity (OEP)p.24311.7.7 LCD Controller DMA Registersp.24511.7.8 DMA Channel 1 Base Address Registerp.24511.7.9 DMA Channel 1 Current Address Registerp.24611.7.10 DMA Channel 2 Base and Current Address Registersp.24711.7.11 LCD Controller Status Registerp.24811.7.11.1 LCD Disable Done Flag (LDD) (read/write, maskable interrupt)p.24911.7.11.2 Base Address Update Flag (BAU) (read-only, maskable interrupt)p.24911.7.11.3 Bus Error Status (BER) (read/write, maskable interrupt)p.24911.7.11.4 AC Bias Count Status (ABC) (read/write, nonmaskable interrupt)p.24911.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)p.24911.7.11.6 Input FIFO Underrun Lower Panel Status (IUL) (read/write, maskable interrupt)p.25011.7.11.7 Input FIFO Overrun Upper Panel Status (IOU) (read/write, maskable interrupt)p.25011.7.11.8 Input FIFO Underrun Upper Panel Status (IUU) (read/write, maskable interrupt)p.25011.7.11.9 Output FIFO Overrun Lower Panel Status (OOL) (read/write, maskable interrupt)p.25011.7.11.10 Output FIFO Underrun Lower Panel Status (OUL) (read only, maskable interrupt)p.25011.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)p.25011.7.11.12 Output FIFO Underrun Upper Panel Status (OUU) (read/write, maskable interrupt)p.25111.7.12 LCD Controller Register Locationsp.25211.7.13 LCD Controller Pin Timing Diagramsp.25411.8 Serial Port 0 – USB Device Controller (UDC)p.25911.8.1 USB Operationp.26111.8.1.1 Signalling Levelsp.26111.8.1.2 Connecting the USB to the SA-1110p.26211.8.1.3 Bit Encodingp.26311.8.1.4 Field Formatsp.26411.8.1.5 Packet Typesp.26511.8.1.6 Transaction Formatsp.26711.8.1.7 SA-1110 UDC Device-Request Commandsp.26911.8.1.8 Using DMAp.27111.8.1.9 Software Control of the SA-1110 UDCp.27111.8.1.10 SA-1110 USB Example Codep.27811.8.2 SA-1110 UDC Register Definitionsp.27811.8.3 UDC Control Register (UDCCR)p.27911.8.3.1 UDC Disable (UDD)p.28011.8.3.2 UDC Active (UDA)p.28011.8.3.3 Resume Interrupt Mask (RESIM)p.28011.8.3.4 Endpoint 0 Interrupt Mask (EIM)p.28111.8.3.5 Receive Interrupt Mask (RIM)p.28111.8.3.6 Transmit Interrupt Mask (TIM)p.28111.8.3.7 Suspend Interrupt Mask (SUSIM)p.28211.8.3.8 Reserved/B5p.28211.8.4 UDC Address Register (UDCAR)p.28211.8.5 UDC OUT Maximum Packet Register (UDCOMP)p.28311.8.6 UDC IN Maximum Packet Register (UDCIMP)p.28411.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)p.28411.8.7.1 OUT Packet Ready (OPR)p.28511.8.7.2 IN Packet Ready (IPR)p.28511.8.7.3 Sent Stall (SST)p.28611.8.7.4 Force Stall (FST)p.28611.8.7.5 Data End (DE)p.28611.8.7.6 Setup End (SE)p.28611.8.7.7 Serviced OPR (SO)p.28611.8.7.8 Serviced Setup End (SSE)p.28611.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)p.28611.8.8.1 Receive FIFO Service (RFS)p.28711.8.8.2 Receive Packet Complete (RPC)p.28711.8.8.3 Receive Packet Error (RPE)p.28811.8.8.4 Sent Stall (SST)p.28811.8.8.5 Force Stall (FST)p.28811.8.8.6 Receive FIFO Not Empty (RNE)p.28811.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)p.28811.8.9.1 Transmit FIFO Service (TFS)p.28911.8.9.2 Transmit Packet Complete (TPC)p.28911.8.9.3 Transmit Packet Error (TPE)p.28911.8.9.4 Transmit Underrun (TUR)p.29011.8.9.5 Sent STALL (SST)p.29011.8.9.6 Force STALL (FST)p.29011.8.10 UDC Endpoint 0 Data Register (UDCD0)p.29011.8.11 UDC Endpoint 0 Write Count Register (UDCWC)p.29111.8.12 UDC Data Register (UDCDR)p.29211.8.13 UDC Status/Interrupt Register (UDCSR)p.29211.8.13.1 Endpoint 0 Interrupt Request (EIR)p.29311.8.13.2 Receive Interrupt Request (RIR)p.29411.8.13.3 Transmit Interrupt Request (TIR)p.29411.8.13.4 Suspend Interrupt Request (SUSIR)p.29411.8.13.5 Resume Interrupt Request (RESIR)p.29411.8.13.6 Reset Interrupt Request (RSTIR)p.29411.8.14 SA-1110 UDC Register Locationsp.29411.9 Serial Port 1 – GPCLK/UARTp.29511.9.1 GPCLK Operationp.29511.9.1.1 Simultaneous Use of the UART and GPCLKp.29611.9.2 GPCLK Control Register 0p.29611.9.2.1 GPCLK/UART Select (SUS)p.29611.9.2.2 Sample Clock Enable (SCE)p.29611.9.2.3 Sample Clock Direction (SCD)p.29611.9.3 GPCLK Control Register 1p.29711.9.3.1 Transmit Enable (TXE)p.29711.9.4 GPCLK Control Registers 2 and 3p.29811.9.4.1 Baud Rate Divisor (BRD)p.29811.9.5 UART Register Locationsp.29911.9.6 GPCLK Register Locationsp.30011.10 Serial Port 2 – Infrared Communications Port (ICP)p.30011.10.1 Low-Speed ICP Operationp.30111.10.1.1 HP-SIR Modulationp.30111.10.1.2 UART Frame Formatp.30211.10.2 High-Speed ICP Operationp.30211.10.2.1 4PPM Modulationp.30211.10.2.2 HSSP Frame Formatp.30311.10.2.3 Address Fieldp.30411.10.2.4 Control Fieldp.30411.10.2.5 Data Fieldp.30411.10.2.6 CRC Fieldp.30411.10.2.7 Baud Rate Generationp.30511.10.2.8 Receive Operationp.30511.10.2.9 Transmit Operationp.30611.10.2.10 Transmit and Receive FIFOsp.30711.10.2.11 CPU and DMA Register Access Sizesp.30811.10.3 UART Register Definitionp.30811.10.4 UART Control Register 4p.30811.10.4.1 HP-SIR Enable (HSE)p.30811.10.4.2 Low-Power Mode (LPM)p.30811.10.5 HSSP Register Definitionsp.30911.10.6 HSSP Control Register 0p.30911.10.6.1 IrDA Transmission Rate (ITR)p.30911.10.6.2 Loopback Mode (LBM)p.31011.10.6.3 Transmit FIFO Underrun Select (TUS)p.31011.10.6.4 Transmit Enable (TXE)p.31111.10.6.5 Receive Enable (RXE)p.31111.10.6.6 Receive FIFO Interrupt Enable (RIE)p.31111.10.6.7 Transmit FIFO Interrupt Enable (TIE)p.31211.10.6.8 Address Match Enable (AME)p.31211.10.7 HSSP Control Register 1p.31311.10.7.1 Address Match Value (AMV)p.31311.10.8 HSSP Control Register 2p.31411.10.8.1 Transmit Pin Polarity Select (TXP)p.31411.10.8.2 Receive Pin Polarity Select (RXP)p.31511.10.9 HSSP Data Registerp.31611.10.10 HSSP Status Register 0p.31711.10.10.1 End/Error in FIFO Status (EIF) (read-only, nonmaskable interrupt)p.31811.10.10.2 Transmit Underrun Status (TUR) (read/write, maskable interrupt)p.31811.10.10.3 Receiver Abort Status (RAB) (read/write, nonmaskable interrupt)p.31811.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.31811.10.10.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.31911.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)p.31911.10.11 HSSP Status Register 1p.32011.10.11.1 Receiver Synchronized Flag (RSY) (read-only, noninterruptible)p.32111.10.11.2 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.32111.10.11.3 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.32111.10.11.4 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.32111.10.11.5 End-of-Frame Flag (EOF) (read-only, noninterruptible)p.32111.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)p.32111.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)p.32211.10.12 UART Register Locationsp.32311.10.13 HSSP Register Locationsp.32411.11 Serial Port 3 – UARTp.32511.11.1 UART Operationp.32511.11.1.1 Frame Formatp.32611.11.1.2 Baud Rate Generationp.32611.11.1.3 Receive Operationp.32611.11.1.4 Transmit Operationp.32711.11.1.5 Transmit and Receive FIFOsp.32711.11.1.6 CPU and DMA Register Access Sizesp.32711.11.2 UART Register Definitionsp.32711.11.3 UART Control Register 0p.32811.11.3.1 Parity Enable (PE)p.32811.11.3.2 Odd/Even Parity Select (OES)p.32811.11.3.3 Stop Bit Select (SBS)p.32811.11.3.4 Data Size Select (DSS)p.32911.11.3.5 Sample Clock Enable (SCE)p.32911.11.3.6 Receive Clock Edge Select (RCE)p.32911.11.3.7 Transmit Clock Edge Select (TCE)p.32911.11.4 UART Control Registers 1 and 2p.33011.11.4.1 Baud Rate Divisor (BRD)p.33011.11.5 UART Control Register 3p.33111.11.5.1 Receiver Enable (RXE)p.33211.11.5.2 Transmitter Enable (TXE)p.33211.11.5.3 Break (BRK)p.33211.11.5.4 Receive FIFO Interrupt Enable (RIE)p.33211.11.5.5 Transmit FIFO Interrupt Enable (TIE)p.33311.11.5.6 Loopback Mode (LBM)p.33311.11.6 UART Data Registerp.33411.11.7 UART Status Register 0p.33511.11.7.1 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.33611.11.7.2 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.33611.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)p.33611.11.7.4 Receiver Begin of Break Status (RBB) (read/write, nonmaskable interrupt)p.33711.11.7.5 Receiver End of Break Status (REB) (read/write, nonmaskable interrupt)p.33711.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)p.33711.11.8 UART Status Register 1p.33911.11.8.1 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.33911.11.8.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.33911.11.8.3 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.33911.11.8.4 Parity Error Flag (PRE) (read-only, noninterruptible)p.33911.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)p.33911.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)p.34011.11.9 UART Register Locationsp.34111.12 Serial Port 4 – MCP / SSPp.34211.12.1 MCP Operationp.34311.12.1.1 Frame Formatp.34311.12.1.2 Audio and Telecom Sample Rates and Data Transferp.34511.12.1.3 MCP Transmit and Receive FIFO Operationp.34611.12.1.4 Codec Control Register Data Transferp.34711.12.1.5 External Clock Operationp.34811.12.1.6 Alternate SSP Pin Assignmentp.34811.12.1.7 CPU and DMA Register Access Sizesp.34811.12.2 MCP Register Definitionsp.34911.12.3 MCP Control Register 0p.34911.12.3.1 Audio Sample Rate Divisor (ASD)p.34911.12.3.2 Telecom Sample Rate Divisor (TSD)p.35011.12.3.3 Multimedia Communications Port Enable (MCE)p.35111.12.3.4 External Clock Select (ECS)p.35111.12.3.5 A/D Sampling Mode (ADM)p.35211.12.3.6 Telecom Transmit FIFO Interrupt Enable (TTE)p.35211.12.3.7 Telecom Receive FIFO Interrupt Enable (TRE)p.35211.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)p.35211.12.3.9 Audio Receive FIFO Interrupt Enable (ARE)p.35311.12.3.10 Loopback Mode (LBM)p.35311.12.3.11 External Clock Prescaler (ECP)p.35311.12.4 MCP Control Register 1p.35511.12.4.1 Clock Frequency Select (CFS)p.35511.12.5 MCP Data Registersp.35611.12.5.1 MCP Data Register 0p.35611.12.5.2 MCP Data Register 1p.35711.12.5.3 MCP Data Register 2p.35811.12.6 MCP Status Registerp.36011.12.6.1 Audio Transmit FIFO Service Request Flag (ATS) (read-only, maskable interrupt)p.36011.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)p.36011.12.6.3 Telecom Transmit FIFO Service Request Flag (TTS) (read-only, maskable interrupt)p.36111.12.6.4 Telecom Receive FIFO Service Request Flag (TRS) (read-only, maskable interrupt)p.36111.12.6.5 Audio Transmit FIFO Underrun Status (ATU) (read/write, nonmaskable interrupt)p.36111.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)p.36111.12.6.7 Telecom Transmit FIFO Underrun Status (TTU) (read/write, nonmaskable interrupt)p.36211.12.6.8 Telecom Receive FIFO Overrun Status (TRO) (read/write, nonmaskable interrupt)p.36211.12.6.9 Audio Transmit FIFO Not Full Flag (ANF) (read-only, noninterruptible)p.36211.12.6.10 Audio Receive FIFO Not Empty Flag (ANE) (read-only, noninterruptible)p.36211.12.6.11 Telecom Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.36211.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)p.36211.12.6.13 Codec Write Completed Flag (CWC) (read-only, noninterruptible)p.36311.12.6.14 Codec Read Completed Flag (CRC) (read-only, noninterruptible)p.36311.12.6.15 Audio Codec Enabled Flag (ACE) (read-only, noninterruptible)p.36311.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)p.36311.12.7 SSP Operationp.36511.12.7.1 Frame Formatp.36611.12.7.2 Baud Rate Generationp.37011.12.7.3 SSP Transmit and Receive FIFOsp.37011.12.7.4 CPU and DMA Register Access Sizesp.37111.12.7.5 Alternate SSP Pin Assignmentp.37111.12.8 SSP Register Definitionsp.37111.12.9 SSP Control Register 0p.37211.12.9.1 Data Size Select (DSS)p.37211.12.9.2 Frame Format (FRF)p.37211.12.9.3 Synchronous Serial Port Enable (SSE)p.37211.12.9.4 Serial Clock Rate (SCR)p.37311.12.10 SSP Control Register 1p.37411.12.10.1 Receive FIFO Interrupt Enable (RIE)p.37411.12.10.2 Transmit FIFO Interrupt Enable (TIE)p.37411.12.10.3 Loopback Mode (LBM)p.37511.12.10.4 Serial Clock Polarity (SPO)p.37511.12.10.5 Serial Clock Phase (SPH)p.37511.12.10.6 External Clock Select (ECS)p.37611.12.11 SSP Data Registerp.37711.12.12 SSP Status Registerp.37911.12.12.1 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.37911.12.12.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.37911.12.12.3 SSP Busy Flag (BSY) (read-only, noninterruptible)p.37911.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.37911.12.12.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.38011.12.12.6 Receiver Overrun Status (ROR) (read/write, nonmaskable interrupt)p.38011.12.13 MCP Register Locationsp.38111.12.14 SSP Register Locationsp.38211.13 Peripheral Pin Controller (PPC)p.38211.13.1 PPC Operationp.38211.13.2 PPC Register Definitionsp.38311.13.3 PPC Pin Direction Registerp.38311.13.4 PPC Pin State Registerp.38511.13.5 PPC Pin Assignment Registerp.38711.13.5.1 UART Pin Reassignment (UPR)p.38711.13.5.2 SSP Pin Reassignment (SPR)p.38711.13.6 PPC Sleep Mode Pin Direction Registerp.38811.13.7 PPC Pin Flag Registerp.39011.13.8 PPC Register Locationsp.392DC Parameters 12p.39312.1 Absolute Maximum Ratingsp.39312.2 DC Operating Conditionsp.39412.3 Power Supply Voltages and Currentsp.395AC Parameters 13p.39713.1 Test Conditionsp.39713.2 Model Considerationsp.39813.3 Memory Bus and PCMCIA Signal Timingsp.39813.4 LCD Controller Signalsp.39913.5 MCP Signalsp.39913.6 Timing Parametersp.40113.6.1 Asynchronous Signal Timing Descriptionsp.403Package and Pinout 14p.405Debug Support 15p.41115.1 Instruction Breakpointp.41115.2 Data Breakpointp.411Boundary-Scan Test Interface 16p.41316.1 Overviewp.41316.2 Resetp.41416.3 Pull-Up Resistorsp.41416.4 Instruction Registerp.41416.5 Public Instructionsp.41416.5.1 EXTEST (00000)p.41516.5.2 SAMPLE/PRELOAD (00001)p.41516.5.3 CLAMP (00100)p.41516.5.4 HIGHZ (00101)p.41616.5.5 IDCODE (00110)p.41616.5.6 BYPASS (11111)p.41616.6 Test Data Registersp.41716.6.1 Bypass Registerp.41716.6.2 Intel® StrongARM SA-1110 Device Identification (ID) Code Registerp.41816.6.3 Intel® StrongARM SA-1110 Boundary-Scan (BS) Registerp.41816.7 Boundary-Scan Interface Signalsp.419Register Summary Ap.4273.6864–MHz Oscillator Specifications Bp.433B.1 Specificationsp.433B.1.1 System Specificationsp.433B.1.1.1. Parasitic Capacitance Off-chip Between PXTAL and PEXTALp.434B.1.1.2. Parasitic Capacitance Off-chip Between PXTAL or PEXTAL and VSSp.434B.1.1.3. Parasitic Resistance Between PXTAL and PEXTALp.434B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSSp.434B.1.2 Quartz Crystal Specificationp.43532.768–KHz Oscillator Specifications Cp.437C.1 Specificationsp.437C.1.1 System Specificationsp.437C.1.1.1. Temperature Rangep.437C.1.1.2. Current Consumptionp.437C.1.1.3. Startup Timep.437C.1.1.4. Frequency Shift Due to Temperature Effect on the Circuitp.438C.1.1.5. Parasitic Capacitance Off-chip Between TXTAL and TEXTALp.438C.1.1.6. Parasitic Capacitance Off-chip Between TXTAL or TEXTAL and VSSp.438C.1.1.7. Parasitic Resistance Between TXTAL and TEXTALp.438C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSSp.438C.1.2 Quartz Crystal Specificationp.439Internal Test Dp.441D.1 Test Unit Control Register (TUCR)p.441
Page 8 of the Intel SA-1110 user manual — Table of contents
Page 8 · click to enlarge
Page 8

Table of contents

Intel® StrongARM* SA-1110 Microprocessorp.1Contentsp.3Introduction 1p.211.1 Intel® StrongARM* SA-1110 Microprocessorp.211.2 Overviewp.241.3 Example Systemp.251.4 ARM Architecturep.261.4.1 26-Bit Modep.261.4.2 Coprocessorsp.261.4.3 Memory Managementp.261.4.4 Instruction Cachep.261.4.5 Data Cachep.261.4.6 Write Bufferp.271.4.7 Read Bufferp.27Functional Description 2p.292.1 Block Diagramp.292.2 Inputs/Outputsp.312.3 Signal Descriptionp.322.4 Memory Mapp.36ARM Implementation Options 3p.393.1 Big and Little Endianp.393.2 Exceptionsp.393.2.1 Power-Up Resetp.403.2.2 ROM Size Selectp.403.2.3 Abortp.413.2.4 Vector Summaryp.423.2.5 Exception Prioritiesp.423.2.6 Interrupt Latencies and Enable Timingp.433.3 Coprocessorsp.43Instruction Set 4p.454.1 Instruction Setp.454.2 Instruction Timingp.45Caches, Write Buffer, and Read Buffer 5p.475.1 Instruction Cache (Icache)p.475.1.1 Icache Operationp.475.1.2 Icache Validityp.475.1.2.1 Software Icache Flushp.475.1.3 Icache Enable/Disable and Resetp.485.1.3.1 Enabling the Icachep.485.1.3.2 Disabling the Icachep.485.2 Data Caches (Dcaches)p.485.2.1 Cacheable Bit – Cp.495.2.1.1 Cacheable Reads – C = 1p.495.2.1.2 Noncacheable Reads – C = 0p.495.2.2 Bufferable Bit – Bp.495.2.3 Software Dcache Flushp.505.2.3.1 Doubly Mapped Spacep.505.2.4 Dcaches Enable/Disable and Resetp.505.2.4.1 Enabling the Dcachesp.515.2.4.2 Disabling the Dcachesp.515.3 Write Buffer (WB)p.515.3.1 Bufferable Bitp.515.3.2 Write Buffer Operationp.515.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)p.515.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)p.525.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0)p.525.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1)p.525.3.3 Enabling the Write Bufferp.525.3.3.1 Disabling the Write Bufferp.525.4 Read Buffer (RB)p.52Coprocessors 6p.556.1 Internal Coprocessor Instructionsp.556.2 Coprocessor 15 Definitionp.566.2.1 Register 0 – IDp.566.2.2 Register 1 – Controlp.576.2.3 Register 2 – Translation Table Basep.586.2.4 Register 3 – Domain Access Controlp.586.2.5 Register 4 – RESERVEDp.596.2.6 Register 5 – Fault Statusp.596.2.7 Register 6 – Fault Addressp.596.2.8 Register 7 – Cache Control Operationsp.596.2.9 Register 8 – TLB Operationsp.606.2.10 Register 9 – Read-Buffer Operationsp.606.2.11 Registers 10 – 12 RESERVEDp.616.2.12 Register 13 – Process ID Virtual Address Mappingp.616.2.13 Register 14 – Debug Support (Breakpoints)p.626.2.14 Register 15 – Test, Clock, and Idle Controlp.63Memory Management Unit (MMU) 7p.657.1 Overviewp.657.1.1 MMU Registersp.657.2 MMU Faults and CPU Abortsp.657.3 Data Abortsp.657.3.1 Cacheable Reads (Linefetches)p.667.3.2 Buffered Writesp.667.4 Interaction of the MMU, Icache, Dcache, and Write Bufferp.667.5 Mini Data Cachep.67Clocks 8p.698.1 Intel® StrongARM SA-1110 Crystal Oscillatorsp.698.2 Core Clock Configuration Registerp.708.2.1 Restrictions on Changing the Core Clock Configurationp.718.3 Driving Intel® StrongARM SA-1110 Crystal Pins from an External Sourcep.718.4 Clocking During Testp.72System Control Module 9p.739.1 General-Purpose I/Op.739.1.1 GPIO Register Definitionsp.749.1.1.1 GPIO Pin-Level Register (GPLR)p.759.1.1.2 GPIO Pin Direction Register (GPDR)p.769.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR)p.779.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER)p.789.1.1.5 GPIO Edge Detect Status Register (GEDR)p.799.1.1.6 GPIO Alternate Function Register (GAFR)p.809.1.2 GPIO Alternate Functionsp.819.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Functionp.829.1.3 GPIO Register Locationsp.829.2 Interrupt Controllerp.839.2.1 Interrupt Controller Register Definitionsp.849.2.1.1 Interrupt Controller Pending Register (ICPR)p.849.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP)p.869.2.1.3 Interrupt Controller Mask Register (ICMR)p.879.2.1.4 Interrupt Controller Level Register (ICLR)p.889.2.1.5 Interrupt Controller Control Register (ICCR)p.899.2.2 Interrupt Controller Register Locationsp.909.3 Real-Time Clockp.909.3.1 RTC Counter Register (RCNR)p.909.3.2 RTC Alarm Register (RTAR)p.919.3.3 RTC Status Register (RTSR)p.919.3.4 RTC Trim Register (RTTR)p.939.3.5 Trim Procedurep.939.3.5.1 Oscillator Frequency Calibrationp.939.3.5.2 RTTR Value Calculationsp.949.3.6 Real-Time Clock Register Locationsp.959.4 Operating System Timerp.959.4.1 OS Timer Count Register (OSCR)p.969.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3)p.969.4.3 OS Timer Watchdog Match Enable Register (OWER)p.969.4.4 OS Timer Status Register (OSSR)p.979.4.5 OS Timer Interrupt Enable Register (OIER)p.989.4.6 Watchdog Timerp.989.4.7 OS Timer Register Locationsp.999.5 Power Managerp.999.5.1 Run Modep.999.5.2 Idle Modep.999.5.2.1 Entering Idle Modep.1009.5.2.2 Exiting Idle Modep.1009.5.3 Sleep Modep.1019.5.3.1 CPU Preparation for Sleep Modep.1019.5.3.2 Events Causing Entry into Sleep Modep.1019.5.3.3 The Sleep Shutdown Sequencep.1019.5.3.4 During Sleep Modep.1029.5.3.5 The Sleep Wake-Up Sequencep.1039.5.3.6 Booting After Sleep Modep.1039.5.3.7 Reviving the DRAMs from Self-Refresh Modep.1049.5.4 Notes on Power Supply Sequencingp.1049.5.5 Assumed Behavior of an Intel® StrongARM SA-1110 System in Sleep Modep.1049.5.6 Pin Operation in Sleep Modep.1069.5.7 Power Manager Registersp.1079.5.7.1 Power Manager Control Register (PMCR)p.1079.5.7.2 Power Manager General Configuration Register (PCFR)p.1089.5.7.3 Power Manager PLL Configuration Register (PPCR)p.1109.5.7.4 Power Manager Wake-Up Enable Register (PWER)p.1109.5.7.5 Power Manager Sleep Status Register (PSSR)p.1119.5.7.6 Power Manager Scratch Pad Register (PSPR)p.1139.5.7.7 Power Manager GPIO Sleep State Register (PGSR)p.1139.5.7.8 Power Manager Oscillator Status Register (POSR)p.1149.5.8 Power Manager Register Locationsp.1149.6 Reset Controllerp.1159.6.1 Reset Controller Registersp.1159.6.1.1 Reset Controller Software Reset Register (RSRR)p.1159.6.1.2 Reset Controller Status Register (RCSR)p.1169.6.2 Reset Controller Register Locationsp.117Memory and PC-Card Control Module 10p.11910.1 Overview of Operationp.12010.1.1 Types of Memory Accessesp.12210.1.2 Readsp.12210.1.3 Writesp.12310.1.4 Transaction Summaryp.12310.1.5 Read-Lock-Writep.12310.1.6 Aborts and Nonexistent Memoryp.12410.2 Memory Interface Reset and Initializationp.12410.2.1 Hardware or Sleep Reset Proceduresp.12510.2.2 Software or Watchdog Reset Proceduresp.12610.3 Memory Configuration Registersp.12710.3.1 DRAM Configuration Register (MDCNFG)p.12810.3.2 DRAM Refresh Control Register (MDREFR)p.13210.3.3 CAS Waveform Rotate Registers (MDCAS00, MDCAS01, MDCAS02, MDCAS20, MDCAS21, MDCAS22)p.13610.3.3.1 MDCAS Registers with Asynchronous DRAMp.13610.3.3.2 MDCAS Registers with SDRAM and SMROMp.13710.3.4 Static Memory Control Registers (MSC2 – 0)p.13910.3.5 Expansion Memory (PC-Card) Configuration Register (MECR)p.14210.4 SMROM Configuration Register (SMCNFG)p.14410.4.1 Changing SMROM RAS Latencyp.14710.5 Dynamic Interface Operationp.14810.5.1 DRAM Overviewp.14810.5.2 DRAM Timingp.15010.5.3 SDRAM Overviewp.15210.5.4 SDRAM Commandsp.15410.5.5 SDRAM State Machinep.15510.5.6 DRAM/SDRAM Refreshp.16010.5.7 DRAM/SDRAM Self-Refresh in Sleep Modep.16110.6 Static Memory Interfacep.16210.6.1 ROM Interface Overviewp.16310.6.2 ROM Timing Diagrams and Parametersp.16310.6.3 SRAM Interface Overviewp.16710.6.4 SRAM Timing Diagrams and Parametersp.16710.6.5 Variable Latency I/O Interface Overviewp.16910.6.6 Variable Latency I/O Timing Diagrams and Parametersp.16910.6.7 FLASH Memory Interface Overviewp.17210.6.8 FLASH Memory Timing Diagrams and Parametersp.17210.6.9 SMROM Overviewp.17310.6.10 SMROM Commandsp.17310.6.11 SMROM State Machinep.17410.7 PC-Card Overviewp.17710.7.1 8-, 16-, and 32-Bit Data Bus Operationp.17910.7.2 External Logic for PC-Card Implementationp.18010.7.3 PC-Card Interface Timing Diagrams and Parametersp.18310.8 Alternate Memory Bus Master Modep.18510.9 Memory System Examplesp.18610.10 SA1110 Memory Configuration Toolp.190Peripheral Control Module 11p.20511.1 Read/Write Interfacep.20511.2 Memory Organizationp.20611.3 Interruptsp.20711.4 Peripheral Pinsp.20811.5 Use of the GPIO Pins for Alternate Functionsp.20911.6 DMA Controllerp.21011.6.1 DMA Register Definitionsp.21111.6.1.1 DMA Device Address Register (DDARn)p.21111.6.1.2 DMA Control/Status Register (DCSRn)p.21311.6.1.3 DMA Buffer A Start Address Register (DBSAn)p.21511.6.1.4 DMA Buffer A Transfer Count Register (DBTAn)p.21611.6.1.5 DMA Buffer B Start Address Register (DBSBn)p.21611.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)p.21611.6.2 DMA Register Listp.21711.7 LCD Controllerp.21911.7.1 LCD Controller Operationp.22011.7.1.1 DMA to Memory Interfacep.22111.7.1.2 Frame Bufferp.22111.7.1.3 Input FIFOp.22611.7.1.4 Lookup Palettep.22611.7.1.5 Color/Gray-Scale Ditheringp.22611.7.1.6 Output FIFOp.22711.7.1.7 LCD Controller Pinsp.22711.7.2 LCD Controller Register Definitionsp.22811.7.3 LCD Controller Control Register 0p.22911.7.3.1 LCD Enable (LEN)p.22911.7.3.2 Color/Monochrome Select (CMS)p.22911.7.3.3 Single-/Dual-Panel Select (SDS)p.22911.7.3.4 LCD Disable Done Interrupt Mask (LDM)p.23111.7.3.5 Base Address Update Interrupt Mask (BAM)p.23211.7.3.6 Error Interrupt Mask (ERM)p.23211.7.3.7 Passive/Active Display Select (PAS)p.23211.7.3.8 Big/Little Endian Select (BLE)p.23311.7.3.9 Double-Pixel Data (DPD) Pin Modep.23411.7.3.10 Vertical Slant Line Correction (VSC)p.23411.7.3.11 Palette DMA Request Delay (PDD)p.23411.7.4 LCD Controller Control Register 1p.23611.7.4.1 Pixels Per Line (PPL)p.23711.7.4.2 Horizontal Sync Pulse Width (HSW)p.23711.7.4.3 End-of-Line Pixel Clock Wait Count (ELW)p.23711.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)p.23711.7.5 LCD Controller Control Register 2p.23811.7.5.1 Lines Per Panel (LPP)p.23811.7.5.2 Vertical Sync Pulse Width (VSW)p.23911.7.5.3 End-of-Frame Line Clock Wait Count (EFW)p.23911.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)p.24011.7.6 LCD Controller Control Register 3p.24111.7.6.1 Pixel Clock Divider (PCD)p.24211.7.6.2 AC Bias Pin Frequency (ACB)p.24211.7.6.3 AC Bias Pin Transitions Per Interrupt (API)p.24211.7.6.4 Vertical Sync Polarity (VSP)p.24311.7.6.5 Horizontal Sync Polarity (HSP)p.24311.7.6.6 Pixel Clock Polarity (PCP)p.24311.7.6.7 Output Enable Polarity (OEP)p.24311.7.7 LCD Controller DMA Registersp.24511.7.8 DMA Channel 1 Base Address Registerp.24511.7.9 DMA Channel 1 Current Address Registerp.24611.7.10 DMA Channel 2 Base and Current Address Registersp.24711.7.11 LCD Controller Status Registerp.24811.7.11.1 LCD Disable Done Flag (LDD) (read/write, maskable interrupt)p.24911.7.11.2 Base Address Update Flag (BAU) (read-only, maskable interrupt)p.24911.7.11.3 Bus Error Status (BER) (read/write, maskable interrupt)p.24911.7.11.4 AC Bias Count Status (ABC) (read/write, nonmaskable interrupt)p.24911.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)p.24911.7.11.6 Input FIFO Underrun Lower Panel Status (IUL) (read/write, maskable interrupt)p.25011.7.11.7 Input FIFO Overrun Upper Panel Status (IOU) (read/write, maskable interrupt)p.25011.7.11.8 Input FIFO Underrun Upper Panel Status (IUU) (read/write, maskable interrupt)p.25011.7.11.9 Output FIFO Overrun Lower Panel Status (OOL) (read/write, maskable interrupt)p.25011.7.11.10 Output FIFO Underrun Lower Panel Status (OUL) (read only, maskable interrupt)p.25011.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)p.25011.7.11.12 Output FIFO Underrun Upper Panel Status (OUU) (read/write, maskable interrupt)p.25111.7.12 LCD Controller Register Locationsp.25211.7.13 LCD Controller Pin Timing Diagramsp.25411.8 Serial Port 0 – USB Device Controller (UDC)p.25911.8.1 USB Operationp.26111.8.1.1 Signalling Levelsp.26111.8.1.2 Connecting the USB to the SA-1110p.26211.8.1.3 Bit Encodingp.26311.8.1.4 Field Formatsp.26411.8.1.5 Packet Typesp.26511.8.1.6 Transaction Formatsp.26711.8.1.7 SA-1110 UDC Device-Request Commandsp.26911.8.1.8 Using DMAp.27111.8.1.9 Software Control of the SA-1110 UDCp.27111.8.1.10 SA-1110 USB Example Codep.27811.8.2 SA-1110 UDC Register Definitionsp.27811.8.3 UDC Control Register (UDCCR)p.27911.8.3.1 UDC Disable (UDD)p.28011.8.3.2 UDC Active (UDA)p.28011.8.3.3 Resume Interrupt Mask (RESIM)p.28011.8.3.4 Endpoint 0 Interrupt Mask (EIM)p.28111.8.3.5 Receive Interrupt Mask (RIM)p.28111.8.3.6 Transmit Interrupt Mask (TIM)p.28111.8.3.7 Suspend Interrupt Mask (SUSIM)p.28211.8.3.8 Reserved/B5p.28211.8.4 UDC Address Register (UDCAR)p.28211.8.5 UDC OUT Maximum Packet Register (UDCOMP)p.28311.8.6 UDC IN Maximum Packet Register (UDCIMP)p.28411.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)p.28411.8.7.1 OUT Packet Ready (OPR)p.28511.8.7.2 IN Packet Ready (IPR)p.28511.8.7.3 Sent Stall (SST)p.28611.8.7.4 Force Stall (FST)p.28611.8.7.5 Data End (DE)p.28611.8.7.6 Setup End (SE)p.28611.8.7.7 Serviced OPR (SO)p.28611.8.7.8 Serviced Setup End (SSE)p.28611.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)p.28611.8.8.1 Receive FIFO Service (RFS)p.28711.8.8.2 Receive Packet Complete (RPC)p.28711.8.8.3 Receive Packet Error (RPE)p.28811.8.8.4 Sent Stall (SST)p.28811.8.8.5 Force Stall (FST)p.28811.8.8.6 Receive FIFO Not Empty (RNE)p.28811.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)p.28811.8.9.1 Transmit FIFO Service (TFS)p.28911.8.9.2 Transmit Packet Complete (TPC)p.28911.8.9.3 Transmit Packet Error (TPE)p.28911.8.9.4 Transmit Underrun (TUR)p.29011.8.9.5 Sent STALL (SST)p.29011.8.9.6 Force STALL (FST)p.29011.8.10 UDC Endpoint 0 Data Register (UDCD0)p.29011.8.11 UDC Endpoint 0 Write Count Register (UDCWC)p.29111.8.12 UDC Data Register (UDCDR)p.29211.8.13 UDC Status/Interrupt Register (UDCSR)p.29211.8.13.1 Endpoint 0 Interrupt Request (EIR)p.29311.8.13.2 Receive Interrupt Request (RIR)p.29411.8.13.3 Transmit Interrupt Request (TIR)p.29411.8.13.4 Suspend Interrupt Request (SUSIR)p.29411.8.13.5 Resume Interrupt Request (RESIR)p.29411.8.13.6 Reset Interrupt Request (RSTIR)p.29411.8.14 SA-1110 UDC Register Locationsp.29411.9 Serial Port 1 – GPCLK/UARTp.29511.9.1 GPCLK Operationp.29511.9.1.1 Simultaneous Use of the UART and GPCLKp.29611.9.2 GPCLK Control Register 0p.29611.9.2.1 GPCLK/UART Select (SUS)p.29611.9.2.2 Sample Clock Enable (SCE)p.29611.9.2.3 Sample Clock Direction (SCD)p.29611.9.3 GPCLK Control Register 1p.29711.9.3.1 Transmit Enable (TXE)p.29711.9.4 GPCLK Control Registers 2 and 3p.29811.9.4.1 Baud Rate Divisor (BRD)p.29811.9.5 UART Register Locationsp.29911.9.6 GPCLK Register Locationsp.30011.10 Serial Port 2 – Infrared Communications Port (ICP)p.30011.10.1 Low-Speed ICP Operationp.30111.10.1.1 HP-SIR Modulationp.30111.10.1.2 UART Frame Formatp.30211.10.2 High-Speed ICP Operationp.30211.10.2.1 4PPM Modulationp.30211.10.2.2 HSSP Frame Formatp.30311.10.2.3 Address Fieldp.30411.10.2.4 Control Fieldp.30411.10.2.5 Data Fieldp.30411.10.2.6 CRC Fieldp.30411.10.2.7 Baud Rate Generationp.30511.10.2.8 Receive Operationp.30511.10.2.9 Transmit Operationp.30611.10.2.10 Transmit and Receive FIFOsp.30711.10.2.11 CPU and DMA Register Access Sizesp.30811.10.3 UART Register Definitionp.30811.10.4 UART Control Register 4p.30811.10.4.1 HP-SIR Enable (HSE)p.30811.10.4.2 Low-Power Mode (LPM)p.30811.10.5 HSSP Register Definitionsp.30911.10.6 HSSP Control Register 0p.30911.10.6.1 IrDA Transmission Rate (ITR)p.30911.10.6.2 Loopback Mode (LBM)p.31011.10.6.3 Transmit FIFO Underrun Select (TUS)p.31011.10.6.4 Transmit Enable (TXE)p.31111.10.6.5 Receive Enable (RXE)p.31111.10.6.6 Receive FIFO Interrupt Enable (RIE)p.31111.10.6.7 Transmit FIFO Interrupt Enable (TIE)p.31211.10.6.8 Address Match Enable (AME)p.31211.10.7 HSSP Control Register 1p.31311.10.7.1 Address Match Value (AMV)p.31311.10.8 HSSP Control Register 2p.31411.10.8.1 Transmit Pin Polarity Select (TXP)p.31411.10.8.2 Receive Pin Polarity Select (RXP)p.31511.10.9 HSSP Data Registerp.31611.10.10 HSSP Status Register 0p.31711.10.10.1 End/Error in FIFO Status (EIF) (read-only, nonmaskable interrupt)p.31811.10.10.2 Transmit Underrun Status (TUR) (read/write, maskable interrupt)p.31811.10.10.3 Receiver Abort Status (RAB) (read/write, nonmaskable interrupt)p.31811.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.31811.10.10.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.31911.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)p.31911.10.11 HSSP Status Register 1p.32011.10.11.1 Receiver Synchronized Flag (RSY) (read-only, noninterruptible)p.32111.10.11.2 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.32111.10.11.3 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.32111.10.11.4 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.32111.10.11.5 End-of-Frame Flag (EOF) (read-only, noninterruptible)p.32111.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)p.32111.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)p.32211.10.12 UART Register Locationsp.32311.10.13 HSSP Register Locationsp.32411.11 Serial Port 3 – UARTp.32511.11.1 UART Operationp.32511.11.1.1 Frame Formatp.32611.11.1.2 Baud Rate Generationp.32611.11.1.3 Receive Operationp.32611.11.1.4 Transmit Operationp.32711.11.1.5 Transmit and Receive FIFOsp.32711.11.1.6 CPU and DMA Register Access Sizesp.32711.11.2 UART Register Definitionsp.32711.11.3 UART Control Register 0p.32811.11.3.1 Parity Enable (PE)p.32811.11.3.2 Odd/Even Parity Select (OES)p.32811.11.3.3 Stop Bit Select (SBS)p.32811.11.3.4 Data Size Select (DSS)p.32911.11.3.5 Sample Clock Enable (SCE)p.32911.11.3.6 Receive Clock Edge Select (RCE)p.32911.11.3.7 Transmit Clock Edge Select (TCE)p.32911.11.4 UART Control Registers 1 and 2p.33011.11.4.1 Baud Rate Divisor (BRD)p.33011.11.5 UART Control Register 3p.33111.11.5.1 Receiver Enable (RXE)p.33211.11.5.2 Transmitter Enable (TXE)p.33211.11.5.3 Break (BRK)p.33211.11.5.4 Receive FIFO Interrupt Enable (RIE)p.33211.11.5.5 Transmit FIFO Interrupt Enable (TIE)p.33311.11.5.6 Loopback Mode (LBM)p.33311.11.6 UART Data Registerp.33411.11.7 UART Status Register 0p.33511.11.7.1 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.33611.11.7.2 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.33611.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)p.33611.11.7.4 Receiver Begin of Break Status (RBB) (read/write, nonmaskable interrupt)p.33711.11.7.5 Receiver End of Break Status (REB) (read/write, nonmaskable interrupt)p.33711.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)p.33711.11.8 UART Status Register 1p.33911.11.8.1 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.33911.11.8.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.33911.11.8.3 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.33911.11.8.4 Parity Error Flag (PRE) (read-only, noninterruptible)p.33911.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)p.33911.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)p.34011.11.9 UART Register Locationsp.34111.12 Serial Port 4 – MCP / SSPp.34211.12.1 MCP Operationp.34311.12.1.1 Frame Formatp.34311.12.1.2 Audio and Telecom Sample Rates and Data Transferp.34511.12.1.3 MCP Transmit and Receive FIFO Operationp.34611.12.1.4 Codec Control Register Data Transferp.34711.12.1.5 External Clock Operationp.34811.12.1.6 Alternate SSP Pin Assignmentp.34811.12.1.7 CPU and DMA Register Access Sizesp.34811.12.2 MCP Register Definitionsp.34911.12.3 MCP Control Register 0p.34911.12.3.1 Audio Sample Rate Divisor (ASD)p.34911.12.3.2 Telecom Sample Rate Divisor (TSD)p.35011.12.3.3 Multimedia Communications Port Enable (MCE)p.35111.12.3.4 External Clock Select (ECS)p.35111.12.3.5 A/D Sampling Mode (ADM)p.35211.12.3.6 Telecom Transmit FIFO Interrupt Enable (TTE)p.35211.12.3.7 Telecom Receive FIFO Interrupt Enable (TRE)p.35211.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)p.35211.12.3.9 Audio Receive FIFO Interrupt Enable (ARE)p.35311.12.3.10 Loopback Mode (LBM)p.35311.12.3.11 External Clock Prescaler (ECP)p.35311.12.4 MCP Control Register 1p.35511.12.4.1 Clock Frequency Select (CFS)p.35511.12.5 MCP Data Registersp.35611.12.5.1 MCP Data Register 0p.35611.12.5.2 MCP Data Register 1p.35711.12.5.3 MCP Data Register 2p.35811.12.6 MCP Status Registerp.36011.12.6.1 Audio Transmit FIFO Service Request Flag (ATS) (read-only, maskable interrupt)p.36011.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)p.36011.12.6.3 Telecom Transmit FIFO Service Request Flag (TTS) (read-only, maskable interrupt)p.36111.12.6.4 Telecom Receive FIFO Service Request Flag (TRS) (read-only, maskable interrupt)p.36111.12.6.5 Audio Transmit FIFO Underrun Status (ATU) (read/write, nonmaskable interrupt)p.36111.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)p.36111.12.6.7 Telecom Transmit FIFO Underrun Status (TTU) (read/write, nonmaskable interrupt)p.36211.12.6.8 Telecom Receive FIFO Overrun Status (TRO) (read/write, nonmaskable interrupt)p.36211.12.6.9 Audio Transmit FIFO Not Full Flag (ANF) (read-only, noninterruptible)p.36211.12.6.10 Audio Receive FIFO Not Empty Flag (ANE) (read-only, noninterruptible)p.36211.12.6.11 Telecom Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.36211.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)p.36211.12.6.13 Codec Write Completed Flag (CWC) (read-only, noninterruptible)p.36311.12.6.14 Codec Read Completed Flag (CRC) (read-only, noninterruptible)p.36311.12.6.15 Audio Codec Enabled Flag (ACE) (read-only, noninterruptible)p.36311.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)p.36311.12.7 SSP Operationp.36511.12.7.1 Frame Formatp.36611.12.7.2 Baud Rate Generationp.37011.12.7.3 SSP Transmit and Receive FIFOsp.37011.12.7.4 CPU and DMA Register Access Sizesp.37111.12.7.5 Alternate SSP Pin Assignmentp.37111.12.8 SSP Register Definitionsp.37111.12.9 SSP Control Register 0p.37211.12.9.1 Data Size Select (DSS)p.37211.12.9.2 Frame Format (FRF)p.37211.12.9.3 Synchronous Serial Port Enable (SSE)p.37211.12.9.4 Serial Clock Rate (SCR)p.37311.12.10 SSP Control Register 1p.37411.12.10.1 Receive FIFO Interrupt Enable (RIE)p.37411.12.10.2 Transmit FIFO Interrupt Enable (TIE)p.37411.12.10.3 Loopback Mode (LBM)p.37511.12.10.4 Serial Clock Polarity (SPO)p.37511.12.10.5 Serial Clock Phase (SPH)p.37511.12.10.6 External Clock Select (ECS)p.37611.12.11 SSP Data Registerp.37711.12.12 SSP Status Registerp.37911.12.12.1 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.37911.12.12.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.37911.12.12.3 SSP Busy Flag (BSY) (read-only, noninterruptible)p.37911.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.37911.12.12.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.38011.12.12.6 Receiver Overrun Status (ROR) (read/write, nonmaskable interrupt)p.38011.12.13 MCP Register Locationsp.38111.12.14 SSP Register Locationsp.38211.13 Peripheral Pin Controller (PPC)p.38211.13.1 PPC Operationp.38211.13.2 PPC Register Definitionsp.38311.13.3 PPC Pin Direction Registerp.38311.13.4 PPC Pin State Registerp.38511.13.5 PPC Pin Assignment Registerp.38711.13.5.1 UART Pin Reassignment (UPR)p.38711.13.5.2 SSP Pin Reassignment (SPR)p.38711.13.6 PPC Sleep Mode Pin Direction Registerp.38811.13.7 PPC Pin Flag Registerp.39011.13.8 PPC Register Locationsp.392DC Parameters 12p.39312.1 Absolute Maximum Ratingsp.39312.2 DC Operating Conditionsp.39412.3 Power Supply Voltages and Currentsp.395AC Parameters 13p.39713.1 Test Conditionsp.39713.2 Model Considerationsp.39813.3 Memory Bus and PCMCIA Signal Timingsp.39813.4 LCD Controller Signalsp.39913.5 MCP Signalsp.39913.6 Timing Parametersp.40113.6.1 Asynchronous Signal Timing Descriptionsp.403Package and Pinout 14p.405Debug Support 15p.41115.1 Instruction Breakpointp.41115.2 Data Breakpointp.411Boundary-Scan Test Interface 16p.41316.1 Overviewp.41316.2 Resetp.41416.3 Pull-Up Resistorsp.41416.4 Instruction Registerp.41416.5 Public Instructionsp.41416.5.1 EXTEST (00000)p.41516.5.2 SAMPLE/PRELOAD (00001)p.41516.5.3 CLAMP (00100)p.41516.5.4 HIGHZ (00101)p.41616.5.5 IDCODE (00110)p.41616.5.6 BYPASS (11111)p.41616.6 Test Data Registersp.41716.6.1 Bypass Registerp.41716.6.2 Intel® StrongARM SA-1110 Device Identification (ID) Code Registerp.41816.6.3 Intel® StrongARM SA-1110 Boundary-Scan (BS) Registerp.41816.7 Boundary-Scan Interface Signalsp.419Register Summary Ap.4273.6864–MHz Oscillator Specifications Bp.433B.1 Specificationsp.433B.1.1 System Specificationsp.433B.1.1.1. Parasitic Capacitance Off-chip Between PXTAL and PEXTALp.434B.1.1.2. Parasitic Capacitance Off-chip Between PXTAL or PEXTAL and VSSp.434B.1.1.3. Parasitic Resistance Between PXTAL and PEXTALp.434B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSSp.434B.1.2 Quartz Crystal Specificationp.43532.768–KHz Oscillator Specifications Cp.437C.1 Specificationsp.437C.1.1 System Specificationsp.437C.1.1.1. Temperature Rangep.437C.1.1.2. Current Consumptionp.437C.1.1.3. Startup Timep.437C.1.1.4. Frequency Shift Due to Temperature Effect on the Circuitp.438C.1.1.5. Parasitic Capacitance Off-chip Between TXTAL and TEXTALp.438C.1.1.6. Parasitic Capacitance Off-chip Between TXTAL or TEXTAL and VSSp.438C.1.1.7. Parasitic Resistance Between TXTAL and TEXTALp.438C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSSp.438C.1.2 Quartz Crystal Specificationp.439Internal Test Dp.441D.1 Test Unit Control Register (TUCR)p.441
Page 9 of the Intel SA-1110 user manual — Table of contents
Page 9 · click to enlarge
Page 9

Table of contents

Intel® StrongARM* SA-1110 Microprocessorp.1Contentsp.3Introduction 1p.211.1 Intel® StrongARM* SA-1110 Microprocessorp.211.2 Overviewp.241.3 Example Systemp.251.4 ARM Architecturep.261.4.1 26-Bit Modep.261.4.2 Coprocessorsp.261.4.3 Memory Managementp.261.4.4 Instruction Cachep.261.4.5 Data Cachep.261.4.6 Write Bufferp.271.4.7 Read Bufferp.27Functional Description 2p.292.1 Block Diagramp.292.2 Inputs/Outputsp.312.3 Signal Descriptionp.322.4 Memory Mapp.36ARM Implementation Options 3p.393.1 Big and Little Endianp.393.2 Exceptionsp.393.2.1 Power-Up Resetp.403.2.2 ROM Size Selectp.403.2.3 Abortp.413.2.4 Vector Summaryp.423.2.5 Exception Prioritiesp.423.2.6 Interrupt Latencies and Enable Timingp.433.3 Coprocessorsp.43Instruction Set 4p.454.1 Instruction Setp.454.2 Instruction Timingp.45Caches, Write Buffer, and Read Buffer 5p.475.1 Instruction Cache (Icache)p.475.1.1 Icache Operationp.475.1.2 Icache Validityp.475.1.2.1 Software Icache Flushp.475.1.3 Icache Enable/Disable and Resetp.485.1.3.1 Enabling the Icachep.485.1.3.2 Disabling the Icachep.485.2 Data Caches (Dcaches)p.485.2.1 Cacheable Bit – Cp.495.2.1.1 Cacheable Reads – C = 1p.495.2.1.2 Noncacheable Reads – C = 0p.495.2.2 Bufferable Bit – Bp.495.2.3 Software Dcache Flushp.505.2.3.1 Doubly Mapped Spacep.505.2.4 Dcaches Enable/Disable and Resetp.505.2.4.1 Enabling the Dcachesp.515.2.4.2 Disabling the Dcachesp.515.3 Write Buffer (WB)p.515.3.1 Bufferable Bitp.515.3.2 Write Buffer Operationp.515.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)p.515.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)p.525.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0)p.525.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1)p.525.3.3 Enabling the Write Bufferp.525.3.3.1 Disabling the Write Bufferp.525.4 Read Buffer (RB)p.52Coprocessors 6p.556.1 Internal Coprocessor Instructionsp.556.2 Coprocessor 15 Definitionp.566.2.1 Register 0 – IDp.566.2.2 Register 1 – Controlp.576.2.3 Register 2 – Translation Table Basep.586.2.4 Register 3 – Domain Access Controlp.586.2.5 Register 4 – RESERVEDp.596.2.6 Register 5 – Fault Statusp.596.2.7 Register 6 – Fault Addressp.596.2.8 Register 7 – Cache Control Operationsp.596.2.9 Register 8 – TLB Operationsp.606.2.10 Register 9 – Read-Buffer Operationsp.606.2.11 Registers 10 – 12 RESERVEDp.616.2.12 Register 13 – Process ID Virtual Address Mappingp.616.2.13 Register 14 – Debug Support (Breakpoints)p.626.2.14 Register 15 – Test, Clock, and Idle Controlp.63Memory Management Unit (MMU) 7p.657.1 Overviewp.657.1.1 MMU Registersp.657.2 MMU Faults and CPU Abortsp.657.3 Data Abortsp.657.3.1 Cacheable Reads (Linefetches)p.667.3.2 Buffered Writesp.667.4 Interaction of the MMU, Icache, Dcache, and Write Bufferp.667.5 Mini Data Cachep.67Clocks 8p.698.1 Intel® StrongARM SA-1110 Crystal Oscillatorsp.698.2 Core Clock Configuration Registerp.708.2.1 Restrictions on Changing the Core Clock Configurationp.718.3 Driving Intel® StrongARM SA-1110 Crystal Pins from an External Sourcep.718.4 Clocking During Testp.72System Control Module 9p.739.1 General-Purpose I/Op.739.1.1 GPIO Register Definitionsp.749.1.1.1 GPIO Pin-Level Register (GPLR)p.759.1.1.2 GPIO Pin Direction Register (GPDR)p.769.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR)p.779.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER)p.789.1.1.5 GPIO Edge Detect Status Register (GEDR)p.799.1.1.6 GPIO Alternate Function Register (GAFR)p.809.1.2 GPIO Alternate Functionsp.819.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Functionp.829.1.3 GPIO Register Locationsp.829.2 Interrupt Controllerp.839.2.1 Interrupt Controller Register Definitionsp.849.2.1.1 Interrupt Controller Pending Register (ICPR)p.849.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP)p.869.2.1.3 Interrupt Controller Mask Register (ICMR)p.879.2.1.4 Interrupt Controller Level Register (ICLR)p.889.2.1.5 Interrupt Controller Control Register (ICCR)p.899.2.2 Interrupt Controller Register Locationsp.909.3 Real-Time Clockp.909.3.1 RTC Counter Register (RCNR)p.909.3.2 RTC Alarm Register (RTAR)p.919.3.3 RTC Status Register (RTSR)p.919.3.4 RTC Trim Register (RTTR)p.939.3.5 Trim Procedurep.939.3.5.1 Oscillator Frequency Calibrationp.939.3.5.2 RTTR Value Calculationsp.949.3.6 Real-Time Clock Register Locationsp.959.4 Operating System Timerp.959.4.1 OS Timer Count Register (OSCR)p.969.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3)p.969.4.3 OS Timer Watchdog Match Enable Register (OWER)p.969.4.4 OS Timer Status Register (OSSR)p.979.4.5 OS Timer Interrupt Enable Register (OIER)p.989.4.6 Watchdog Timerp.989.4.7 OS Timer Register Locationsp.999.5 Power Managerp.999.5.1 Run Modep.999.5.2 Idle Modep.999.5.2.1 Entering Idle Modep.1009.5.2.2 Exiting Idle Modep.1009.5.3 Sleep Modep.1019.5.3.1 CPU Preparation for Sleep Modep.1019.5.3.2 Events Causing Entry into Sleep Modep.1019.5.3.3 The Sleep Shutdown Sequencep.1019.5.3.4 During Sleep Modep.1029.5.3.5 The Sleep Wake-Up Sequencep.1039.5.3.6 Booting After Sleep Modep.1039.5.3.7 Reviving the DRAMs from Self-Refresh Modep.1049.5.4 Notes on Power Supply Sequencingp.1049.5.5 Assumed Behavior of an Intel® StrongARM SA-1110 System in Sleep Modep.1049.5.6 Pin Operation in Sleep Modep.1069.5.7 Power Manager Registersp.1079.5.7.1 Power Manager Control Register (PMCR)p.1079.5.7.2 Power Manager General Configuration Register (PCFR)p.1089.5.7.3 Power Manager PLL Configuration Register (PPCR)p.1109.5.7.4 Power Manager Wake-Up Enable Register (PWER)p.1109.5.7.5 Power Manager Sleep Status Register (PSSR)p.1119.5.7.6 Power Manager Scratch Pad Register (PSPR)p.1139.5.7.7 Power Manager GPIO Sleep State Register (PGSR)p.1139.5.7.8 Power Manager Oscillator Status Register (POSR)p.1149.5.8 Power Manager Register Locationsp.1149.6 Reset Controllerp.1159.6.1 Reset Controller Registersp.1159.6.1.1 Reset Controller Software Reset Register (RSRR)p.1159.6.1.2 Reset Controller Status Register (RCSR)p.1169.6.2 Reset Controller Register Locationsp.117Memory and PC-Card Control Module 10p.11910.1 Overview of Operationp.12010.1.1 Types of Memory Accessesp.12210.1.2 Readsp.12210.1.3 Writesp.12310.1.4 Transaction Summaryp.12310.1.5 Read-Lock-Writep.12310.1.6 Aborts and Nonexistent Memoryp.12410.2 Memory Interface Reset and Initializationp.12410.2.1 Hardware or Sleep Reset Proceduresp.12510.2.2 Software or Watchdog Reset Proceduresp.12610.3 Memory Configuration Registersp.12710.3.1 DRAM Configuration Register (MDCNFG)p.12810.3.2 DRAM Refresh Control Register (MDREFR)p.13210.3.3 CAS Waveform Rotate Registers (MDCAS00, MDCAS01, MDCAS02, MDCAS20, MDCAS21, MDCAS22)p.13610.3.3.1 MDCAS Registers with Asynchronous DRAMp.13610.3.3.2 MDCAS Registers with SDRAM and SMROMp.13710.3.4 Static Memory Control Registers (MSC2 – 0)p.13910.3.5 Expansion Memory (PC-Card) Configuration Register (MECR)p.14210.4 SMROM Configuration Register (SMCNFG)p.14410.4.1 Changing SMROM RAS Latencyp.14710.5 Dynamic Interface Operationp.14810.5.1 DRAM Overviewp.14810.5.2 DRAM Timingp.15010.5.3 SDRAM Overviewp.15210.5.4 SDRAM Commandsp.15410.5.5 SDRAM State Machinep.15510.5.6 DRAM/SDRAM Refreshp.16010.5.7 DRAM/SDRAM Self-Refresh in Sleep Modep.16110.6 Static Memory Interfacep.16210.6.1 ROM Interface Overviewp.16310.6.2 ROM Timing Diagrams and Parametersp.16310.6.3 SRAM Interface Overviewp.16710.6.4 SRAM Timing Diagrams and Parametersp.16710.6.5 Variable Latency I/O Interface Overviewp.16910.6.6 Variable Latency I/O Timing Diagrams and Parametersp.16910.6.7 FLASH Memory Interface Overviewp.17210.6.8 FLASH Memory Timing Diagrams and Parametersp.17210.6.9 SMROM Overviewp.17310.6.10 SMROM Commandsp.17310.6.11 SMROM State Machinep.17410.7 PC-Card Overviewp.17710.7.1 8-, 16-, and 32-Bit Data Bus Operationp.17910.7.2 External Logic for PC-Card Implementationp.18010.7.3 PC-Card Interface Timing Diagrams and Parametersp.18310.8 Alternate Memory Bus Master Modep.18510.9 Memory System Examplesp.18610.10 SA1110 Memory Configuration Toolp.190Peripheral Control Module 11p.20511.1 Read/Write Interfacep.20511.2 Memory Organizationp.20611.3 Interruptsp.20711.4 Peripheral Pinsp.20811.5 Use of the GPIO Pins for Alternate Functionsp.20911.6 DMA Controllerp.21011.6.1 DMA Register Definitionsp.21111.6.1.1 DMA Device Address Register (DDARn)p.21111.6.1.2 DMA Control/Status Register (DCSRn)p.21311.6.1.3 DMA Buffer A Start Address Register (DBSAn)p.21511.6.1.4 DMA Buffer A Transfer Count Register (DBTAn)p.21611.6.1.5 DMA Buffer B Start Address Register (DBSBn)p.21611.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)p.21611.6.2 DMA Register Listp.21711.7 LCD Controllerp.21911.7.1 LCD Controller Operationp.22011.7.1.1 DMA to Memory Interfacep.22111.7.1.2 Frame Bufferp.22111.7.1.3 Input FIFOp.22611.7.1.4 Lookup Palettep.22611.7.1.5 Color/Gray-Scale Ditheringp.22611.7.1.6 Output FIFOp.22711.7.1.7 LCD Controller Pinsp.22711.7.2 LCD Controller Register Definitionsp.22811.7.3 LCD Controller Control Register 0p.22911.7.3.1 LCD Enable (LEN)p.22911.7.3.2 Color/Monochrome Select (CMS)p.22911.7.3.3 Single-/Dual-Panel Select (SDS)p.22911.7.3.4 LCD Disable Done Interrupt Mask (LDM)p.23111.7.3.5 Base Address Update Interrupt Mask (BAM)p.23211.7.3.6 Error Interrupt Mask (ERM)p.23211.7.3.7 Passive/Active Display Select (PAS)p.23211.7.3.8 Big/Little Endian Select (BLE)p.23311.7.3.9 Double-Pixel Data (DPD) Pin Modep.23411.7.3.10 Vertical Slant Line Correction (VSC)p.23411.7.3.11 Palette DMA Request Delay (PDD)p.23411.7.4 LCD Controller Control Register 1p.23611.7.4.1 Pixels Per Line (PPL)p.23711.7.4.2 Horizontal Sync Pulse Width (HSW)p.23711.7.4.3 End-of-Line Pixel Clock Wait Count (ELW)p.23711.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)p.23711.7.5 LCD Controller Control Register 2p.23811.7.5.1 Lines Per Panel (LPP)p.23811.7.5.2 Vertical Sync Pulse Width (VSW)p.23911.7.5.3 End-of-Frame Line Clock Wait Count (EFW)p.23911.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)p.24011.7.6 LCD Controller Control Register 3p.24111.7.6.1 Pixel Clock Divider (PCD)p.24211.7.6.2 AC Bias Pin Frequency (ACB)p.24211.7.6.3 AC Bias Pin Transitions Per Interrupt (API)p.24211.7.6.4 Vertical Sync Polarity (VSP)p.24311.7.6.5 Horizontal Sync Polarity (HSP)p.24311.7.6.6 Pixel Clock Polarity (PCP)p.24311.7.6.7 Output Enable Polarity (OEP)p.24311.7.7 LCD Controller DMA Registersp.24511.7.8 DMA Channel 1 Base Address Registerp.24511.7.9 DMA Channel 1 Current Address Registerp.24611.7.10 DMA Channel 2 Base and Current Address Registersp.24711.7.11 LCD Controller Status Registerp.24811.7.11.1 LCD Disable Done Flag (LDD) (read/write, maskable interrupt)p.24911.7.11.2 Base Address Update Flag (BAU) (read-only, maskable interrupt)p.24911.7.11.3 Bus Error Status (BER) (read/write, maskable interrupt)p.24911.7.11.4 AC Bias Count Status (ABC) (read/write, nonmaskable interrupt)p.24911.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)p.24911.7.11.6 Input FIFO Underrun Lower Panel Status (IUL) (read/write, maskable interrupt)p.25011.7.11.7 Input FIFO Overrun Upper Panel Status (IOU) (read/write, maskable interrupt)p.25011.7.11.8 Input FIFO Underrun Upper Panel Status (IUU) (read/write, maskable interrupt)p.25011.7.11.9 Output FIFO Overrun Lower Panel Status (OOL) (read/write, maskable interrupt)p.25011.7.11.10 Output FIFO Underrun Lower Panel Status (OUL) (read only, maskable interrupt)p.25011.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)p.25011.7.11.12 Output FIFO Underrun Upper Panel Status (OUU) (read/write, maskable interrupt)p.25111.7.12 LCD Controller Register Locationsp.25211.7.13 LCD Controller Pin Timing Diagramsp.25411.8 Serial Port 0 – USB Device Controller (UDC)p.25911.8.1 USB Operationp.26111.8.1.1 Signalling Levelsp.26111.8.1.2 Connecting the USB to the SA-1110p.26211.8.1.3 Bit Encodingp.26311.8.1.4 Field Formatsp.26411.8.1.5 Packet Typesp.26511.8.1.6 Transaction Formatsp.26711.8.1.7 SA-1110 UDC Device-Request Commandsp.26911.8.1.8 Using DMAp.27111.8.1.9 Software Control of the SA-1110 UDCp.27111.8.1.10 SA-1110 USB Example Codep.27811.8.2 SA-1110 UDC Register Definitionsp.27811.8.3 UDC Control Register (UDCCR)p.27911.8.3.1 UDC Disable (UDD)p.28011.8.3.2 UDC Active (UDA)p.28011.8.3.3 Resume Interrupt Mask (RESIM)p.28011.8.3.4 Endpoint 0 Interrupt Mask (EIM)p.28111.8.3.5 Receive Interrupt Mask (RIM)p.28111.8.3.6 Transmit Interrupt Mask (TIM)p.28111.8.3.7 Suspend Interrupt Mask (SUSIM)p.28211.8.3.8 Reserved/B5p.28211.8.4 UDC Address Register (UDCAR)p.28211.8.5 UDC OUT Maximum Packet Register (UDCOMP)p.28311.8.6 UDC IN Maximum Packet Register (UDCIMP)p.28411.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)p.28411.8.7.1 OUT Packet Ready (OPR)p.28511.8.7.2 IN Packet Ready (IPR)p.28511.8.7.3 Sent Stall (SST)p.28611.8.7.4 Force Stall (FST)p.28611.8.7.5 Data End (DE)p.28611.8.7.6 Setup End (SE)p.28611.8.7.7 Serviced OPR (SO)p.28611.8.7.8 Serviced Setup End (SSE)p.28611.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)p.28611.8.8.1 Receive FIFO Service (RFS)p.28711.8.8.2 Receive Packet Complete (RPC)p.28711.8.8.3 Receive Packet Error (RPE)p.28811.8.8.4 Sent Stall (SST)p.28811.8.8.5 Force Stall (FST)p.28811.8.8.6 Receive FIFO Not Empty (RNE)p.28811.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)p.28811.8.9.1 Transmit FIFO Service (TFS)p.28911.8.9.2 Transmit Packet Complete (TPC)p.28911.8.9.3 Transmit Packet Error (TPE)p.28911.8.9.4 Transmit Underrun (TUR)p.29011.8.9.5 Sent STALL (SST)p.29011.8.9.6 Force STALL (FST)p.29011.8.10 UDC Endpoint 0 Data Register (UDCD0)p.29011.8.11 UDC Endpoint 0 Write Count Register (UDCWC)p.29111.8.12 UDC Data Register (UDCDR)p.29211.8.13 UDC Status/Interrupt Register (UDCSR)p.29211.8.13.1 Endpoint 0 Interrupt Request (EIR)p.29311.8.13.2 Receive Interrupt Request (RIR)p.29411.8.13.3 Transmit Interrupt Request (TIR)p.29411.8.13.4 Suspend Interrupt Request (SUSIR)p.29411.8.13.5 Resume Interrupt Request (RESIR)p.29411.8.13.6 Reset Interrupt Request (RSTIR)p.29411.8.14 SA-1110 UDC Register Locationsp.29411.9 Serial Port 1 – GPCLK/UARTp.29511.9.1 GPCLK Operationp.29511.9.1.1 Simultaneous Use of the UART and GPCLKp.29611.9.2 GPCLK Control Register 0p.29611.9.2.1 GPCLK/UART Select (SUS)p.29611.9.2.2 Sample Clock Enable (SCE)p.29611.9.2.3 Sample Clock Direction (SCD)p.29611.9.3 GPCLK Control Register 1p.29711.9.3.1 Transmit Enable (TXE)p.29711.9.4 GPCLK Control Registers 2 and 3p.29811.9.4.1 Baud Rate Divisor (BRD)p.29811.9.5 UART Register Locationsp.29911.9.6 GPCLK Register Locationsp.30011.10 Serial Port 2 – Infrared Communications Port (ICP)p.30011.10.1 Low-Speed ICP Operationp.30111.10.1.1 HP-SIR Modulationp.30111.10.1.2 UART Frame Formatp.30211.10.2 High-Speed ICP Operationp.30211.10.2.1 4PPM Modulationp.30211.10.2.2 HSSP Frame Formatp.30311.10.2.3 Address Fieldp.30411.10.2.4 Control Fieldp.30411.10.2.5 Data Fieldp.30411.10.2.6 CRC Fieldp.30411.10.2.7 Baud Rate Generationp.30511.10.2.8 Receive Operationp.30511.10.2.9 Transmit Operationp.30611.10.2.10 Transmit and Receive FIFOsp.30711.10.2.11 CPU and DMA Register Access Sizesp.30811.10.3 UART Register Definitionp.30811.10.4 UART Control Register 4p.30811.10.4.1 HP-SIR Enable (HSE)p.30811.10.4.2 Low-Power Mode (LPM)p.30811.10.5 HSSP Register Definitionsp.30911.10.6 HSSP Control Register 0p.30911.10.6.1 IrDA Transmission Rate (ITR)p.30911.10.6.2 Loopback Mode (LBM)p.31011.10.6.3 Transmit FIFO Underrun Select (TUS)p.31011.10.6.4 Transmit Enable (TXE)p.31111.10.6.5 Receive Enable (RXE)p.31111.10.6.6 Receive FIFO Interrupt Enable (RIE)p.31111.10.6.7 Transmit FIFO Interrupt Enable (TIE)p.31211.10.6.8 Address Match Enable (AME)p.31211.10.7 HSSP Control Register 1p.31311.10.7.1 Address Match Value (AMV)p.31311.10.8 HSSP Control Register 2p.31411.10.8.1 Transmit Pin Polarity Select (TXP)p.31411.10.8.2 Receive Pin Polarity Select (RXP)p.31511.10.9 HSSP Data Registerp.31611.10.10 HSSP Status Register 0p.31711.10.10.1 End/Error in FIFO Status (EIF) (read-only, nonmaskable interrupt)p.31811.10.10.2 Transmit Underrun Status (TUR) (read/write, maskable interrupt)p.31811.10.10.3 Receiver Abort Status (RAB) (read/write, nonmaskable interrupt)p.31811.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.31811.10.10.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.31911.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)p.31911.10.11 HSSP Status Register 1p.32011.10.11.1 Receiver Synchronized Flag (RSY) (read-only, noninterruptible)p.32111.10.11.2 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.32111.10.11.3 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.32111.10.11.4 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.32111.10.11.5 End-of-Frame Flag (EOF) (read-only, noninterruptible)p.32111.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)p.32111.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)p.32211.10.12 UART Register Locationsp.32311.10.13 HSSP Register Locationsp.32411.11 Serial Port 3 – UARTp.32511.11.1 UART Operationp.32511.11.1.1 Frame Formatp.32611.11.1.2 Baud Rate Generationp.32611.11.1.3 Receive Operationp.32611.11.1.4 Transmit Operationp.32711.11.1.5 Transmit and Receive FIFOsp.32711.11.1.6 CPU and DMA Register Access Sizesp.32711.11.2 UART Register Definitionsp.32711.11.3 UART Control Register 0p.32811.11.3.1 Parity Enable (PE)p.32811.11.3.2 Odd/Even Parity Select (OES)p.32811.11.3.3 Stop Bit Select (SBS)p.32811.11.3.4 Data Size Select (DSS)p.32911.11.3.5 Sample Clock Enable (SCE)p.32911.11.3.6 Receive Clock Edge Select (RCE)p.32911.11.3.7 Transmit Clock Edge Select (TCE)p.32911.11.4 UART Control Registers 1 and 2p.33011.11.4.1 Baud Rate Divisor (BRD)p.33011.11.5 UART Control Register 3p.33111.11.5.1 Receiver Enable (RXE)p.33211.11.5.2 Transmitter Enable (TXE)p.33211.11.5.3 Break (BRK)p.33211.11.5.4 Receive FIFO Interrupt Enable (RIE)p.33211.11.5.5 Transmit FIFO Interrupt Enable (TIE)p.33311.11.5.6 Loopback Mode (LBM)p.33311.11.6 UART Data Registerp.33411.11.7 UART Status Register 0p.33511.11.7.1 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.33611.11.7.2 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.33611.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)p.33611.11.7.4 Receiver Begin of Break Status (RBB) (read/write, nonmaskable interrupt)p.33711.11.7.5 Receiver End of Break Status (REB) (read/write, nonmaskable interrupt)p.33711.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)p.33711.11.8 UART Status Register 1p.33911.11.8.1 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.33911.11.8.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.33911.11.8.3 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.33911.11.8.4 Parity Error Flag (PRE) (read-only, noninterruptible)p.33911.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)p.33911.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)p.34011.11.9 UART Register Locationsp.34111.12 Serial Port 4 – MCP / SSPp.34211.12.1 MCP Operationp.34311.12.1.1 Frame Formatp.34311.12.1.2 Audio and Telecom Sample Rates and Data Transferp.34511.12.1.3 MCP Transmit and Receive FIFO Operationp.34611.12.1.4 Codec Control Register Data Transferp.34711.12.1.5 External Clock Operationp.34811.12.1.6 Alternate SSP Pin Assignmentp.34811.12.1.7 CPU and DMA Register Access Sizesp.34811.12.2 MCP Register Definitionsp.34911.12.3 MCP Control Register 0p.34911.12.3.1 Audio Sample Rate Divisor (ASD)p.34911.12.3.2 Telecom Sample Rate Divisor (TSD)p.35011.12.3.3 Multimedia Communications Port Enable (MCE)p.35111.12.3.4 External Clock Select (ECS)p.35111.12.3.5 A/D Sampling Mode (ADM)p.35211.12.3.6 Telecom Transmit FIFO Interrupt Enable (TTE)p.35211.12.3.7 Telecom Receive FIFO Interrupt Enable (TRE)p.35211.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)p.35211.12.3.9 Audio Receive FIFO Interrupt Enable (ARE)p.35311.12.3.10 Loopback Mode (LBM)p.35311.12.3.11 External Clock Prescaler (ECP)p.35311.12.4 MCP Control Register 1p.35511.12.4.1 Clock Frequency Select (CFS)p.35511.12.5 MCP Data Registersp.35611.12.5.1 MCP Data Register 0p.35611.12.5.2 MCP Data Register 1p.35711.12.5.3 MCP Data Register 2p.35811.12.6 MCP Status Registerp.36011.12.6.1 Audio Transmit FIFO Service Request Flag (ATS) (read-only, maskable interrupt)p.36011.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)p.36011.12.6.3 Telecom Transmit FIFO Service Request Flag (TTS) (read-only, maskable interrupt)p.36111.12.6.4 Telecom Receive FIFO Service Request Flag (TRS) (read-only, maskable interrupt)p.36111.12.6.5 Audio Transmit FIFO Underrun Status (ATU) (read/write, nonmaskable interrupt)p.36111.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)p.36111.12.6.7 Telecom Transmit FIFO Underrun Status (TTU) (read/write, nonmaskable interrupt)p.36211.12.6.8 Telecom Receive FIFO Overrun Status (TRO) (read/write, nonmaskable interrupt)p.36211.12.6.9 Audio Transmit FIFO Not Full Flag (ANF) (read-only, noninterruptible)p.36211.12.6.10 Audio Receive FIFO Not Empty Flag (ANE) (read-only, noninterruptible)p.36211.12.6.11 Telecom Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.36211.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)p.36211.12.6.13 Codec Write Completed Flag (CWC) (read-only, noninterruptible)p.36311.12.6.14 Codec Read Completed Flag (CRC) (read-only, noninterruptible)p.36311.12.6.15 Audio Codec Enabled Flag (ACE) (read-only, noninterruptible)p.36311.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)p.36311.12.7 SSP Operationp.36511.12.7.1 Frame Formatp.36611.12.7.2 Baud Rate Generationp.37011.12.7.3 SSP Transmit and Receive FIFOsp.37011.12.7.4 CPU and DMA Register Access Sizesp.37111.12.7.5 Alternate SSP Pin Assignmentp.37111.12.8 SSP Register Definitionsp.37111.12.9 SSP Control Register 0p.37211.12.9.1 Data Size Select (DSS)p.37211.12.9.2 Frame Format (FRF)p.37211.12.9.3 Synchronous Serial Port Enable (SSE)p.37211.12.9.4 Serial Clock Rate (SCR)p.37311.12.10 SSP Control Register 1p.37411.12.10.1 Receive FIFO Interrupt Enable (RIE)p.37411.12.10.2 Transmit FIFO Interrupt Enable (TIE)p.37411.12.10.3 Loopback Mode (LBM)p.37511.12.10.4 Serial Clock Polarity (SPO)p.37511.12.10.5 Serial Clock Phase (SPH)p.37511.12.10.6 External Clock Select (ECS)p.37611.12.11 SSP Data Registerp.37711.12.12 SSP Status Registerp.37911.12.12.1 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.37911.12.12.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.37911.12.12.3 SSP Busy Flag (BSY) (read-only, noninterruptible)p.37911.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.37911.12.12.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.38011.12.12.6 Receiver Overrun Status (ROR) (read/write, nonmaskable interrupt)p.38011.12.13 MCP Register Locationsp.38111.12.14 SSP Register Locationsp.38211.13 Peripheral Pin Controller (PPC)p.38211.13.1 PPC Operationp.38211.13.2 PPC Register Definitionsp.38311.13.3 PPC Pin Direction Registerp.38311.13.4 PPC Pin State Registerp.38511.13.5 PPC Pin Assignment Registerp.38711.13.5.1 UART Pin Reassignment (UPR)p.38711.13.5.2 SSP Pin Reassignment (SPR)p.38711.13.6 PPC Sleep Mode Pin Direction Registerp.38811.13.7 PPC Pin Flag Registerp.39011.13.8 PPC Register Locationsp.392DC Parameters 12p.39312.1 Absolute Maximum Ratingsp.39312.2 DC Operating Conditionsp.39412.3 Power Supply Voltages and Currentsp.395AC Parameters 13p.39713.1 Test Conditionsp.39713.2 Model Considerationsp.39813.3 Memory Bus and PCMCIA Signal Timingsp.39813.4 LCD Controller Signalsp.39913.5 MCP Signalsp.39913.6 Timing Parametersp.40113.6.1 Asynchronous Signal Timing Descriptionsp.403Package and Pinout 14p.405Debug Support 15p.41115.1 Instruction Breakpointp.41115.2 Data Breakpointp.411Boundary-Scan Test Interface 16p.41316.1 Overviewp.41316.2 Resetp.41416.3 Pull-Up Resistorsp.41416.4 Instruction Registerp.41416.5 Public Instructionsp.41416.5.1 EXTEST (00000)p.41516.5.2 SAMPLE/PRELOAD (00001)p.41516.5.3 CLAMP (00100)p.41516.5.4 HIGHZ (00101)p.41616.5.5 IDCODE (00110)p.41616.5.6 BYPASS (11111)p.41616.6 Test Data Registersp.41716.6.1 Bypass Registerp.41716.6.2 Intel® StrongARM SA-1110 Device Identification (ID) Code Registerp.41816.6.3 Intel® StrongARM SA-1110 Boundary-Scan (BS) Registerp.41816.7 Boundary-Scan Interface Signalsp.419Register Summary Ap.4273.6864–MHz Oscillator Specifications Bp.433B.1 Specificationsp.433B.1.1 System Specificationsp.433B.1.1.1. Parasitic Capacitance Off-chip Between PXTAL and PEXTALp.434B.1.1.2. Parasitic Capacitance Off-chip Between PXTAL or PEXTAL and VSSp.434B.1.1.3. Parasitic Resistance Between PXTAL and PEXTALp.434B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSSp.434B.1.2 Quartz Crystal Specificationp.43532.768–KHz Oscillator Specifications Cp.437C.1 Specificationsp.437C.1.1 System Specificationsp.437C.1.1.1. Temperature Rangep.437C.1.1.2. Current Consumptionp.437C.1.1.3. Startup Timep.437C.1.1.4. Frequency Shift Due to Temperature Effect on the Circuitp.438C.1.1.5. Parasitic Capacitance Off-chip Between TXTAL and TEXTALp.438C.1.1.6. Parasitic Capacitance Off-chip Between TXTAL or TEXTAL and VSSp.438C.1.1.7. Parasitic Resistance Between TXTAL and TEXTALp.438C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSSp.438C.1.2 Quartz Crystal Specificationp.439Internal Test Dp.441D.1 Test Unit Control Register (TUCR)p.441
Page 10 of the Intel SA-1110 user manual — Table of contents
Page 10 · click to enlarge
Page 10

Table of contents

Intel® StrongARM* SA-1110 Microprocessorp.1Contentsp.3Introduction 1p.211.1 Intel® StrongARM* SA-1110 Microprocessorp.211.2 Overviewp.241.3 Example Systemp.251.4 ARM Architecturep.261.4.1 26-Bit Modep.261.4.2 Coprocessorsp.261.4.3 Memory Managementp.261.4.4 Instruction Cachep.261.4.5 Data Cachep.261.4.6 Write Bufferp.271.4.7 Read Bufferp.27Functional Description 2p.292.1 Block Diagramp.292.2 Inputs/Outputsp.312.3 Signal Descriptionp.322.4 Memory Mapp.36ARM Implementation Options 3p.393.1 Big and Little Endianp.393.2 Exceptionsp.393.2.1 Power-Up Resetp.403.2.2 ROM Size Selectp.403.2.3 Abortp.413.2.4 Vector Summaryp.423.2.5 Exception Prioritiesp.423.2.6 Interrupt Latencies and Enable Timingp.433.3 Coprocessorsp.43Instruction Set 4p.454.1 Instruction Setp.454.2 Instruction Timingp.45Caches, Write Buffer, and Read Buffer 5p.475.1 Instruction Cache (Icache)p.475.1.1 Icache Operationp.475.1.2 Icache Validityp.475.1.2.1 Software Icache Flushp.475.1.3 Icache Enable/Disable and Resetp.485.1.3.1 Enabling the Icachep.485.1.3.2 Disabling the Icachep.485.2 Data Caches (Dcaches)p.485.2.1 Cacheable Bit – Cp.495.2.1.1 Cacheable Reads – C = 1p.495.2.1.2 Noncacheable Reads – C = 0p.495.2.2 Bufferable Bit – Bp.495.2.3 Software Dcache Flushp.505.2.3.1 Doubly Mapped Spacep.505.2.4 Dcaches Enable/Disable and Resetp.505.2.4.1 Enabling the Dcachesp.515.2.4.2 Disabling the Dcachesp.515.3 Write Buffer (WB)p.515.3.1 Bufferable Bitp.515.3.2 Write Buffer Operationp.515.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)p.515.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)p.525.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0)p.525.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1)p.525.3.3 Enabling the Write Bufferp.525.3.3.1 Disabling the Write Bufferp.525.4 Read Buffer (RB)p.52Coprocessors 6p.556.1 Internal Coprocessor Instructionsp.556.2 Coprocessor 15 Definitionp.566.2.1 Register 0 – IDp.566.2.2 Register 1 – Controlp.576.2.3 Register 2 – Translation Table Basep.586.2.4 Register 3 – Domain Access Controlp.586.2.5 Register 4 – RESERVEDp.596.2.6 Register 5 – Fault Statusp.596.2.7 Register 6 – Fault Addressp.596.2.8 Register 7 – Cache Control Operationsp.596.2.9 Register 8 – TLB Operationsp.606.2.10 Register 9 – Read-Buffer Operationsp.606.2.11 Registers 10 – 12 RESERVEDp.616.2.12 Register 13 – Process ID Virtual Address Mappingp.616.2.13 Register 14 – Debug Support (Breakpoints)p.626.2.14 Register 15 – Test, Clock, and Idle Controlp.63Memory Management Unit (MMU) 7p.657.1 Overviewp.657.1.1 MMU Registersp.657.2 MMU Faults and CPU Abortsp.657.3 Data Abortsp.657.3.1 Cacheable Reads (Linefetches)p.667.3.2 Buffered Writesp.667.4 Interaction of the MMU, Icache, Dcache, and Write Bufferp.667.5 Mini Data Cachep.67Clocks 8p.698.1 Intel® StrongARM SA-1110 Crystal Oscillatorsp.698.2 Core Clock Configuration Registerp.708.2.1 Restrictions on Changing the Core Clock Configurationp.718.3 Driving Intel® StrongARM SA-1110 Crystal Pins from an External Sourcep.718.4 Clocking During Testp.72System Control Module 9p.739.1 General-Purpose I/Op.739.1.1 GPIO Register Definitionsp.749.1.1.1 GPIO Pin-Level Register (GPLR)p.759.1.1.2 GPIO Pin Direction Register (GPDR)p.769.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR)p.779.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER)p.789.1.1.5 GPIO Edge Detect Status Register (GEDR)p.799.1.1.6 GPIO Alternate Function Register (GAFR)p.809.1.2 GPIO Alternate Functionsp.819.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Functionp.829.1.3 GPIO Register Locationsp.829.2 Interrupt Controllerp.839.2.1 Interrupt Controller Register Definitionsp.849.2.1.1 Interrupt Controller Pending Register (ICPR)p.849.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP)p.869.2.1.3 Interrupt Controller Mask Register (ICMR)p.879.2.1.4 Interrupt Controller Level Register (ICLR)p.889.2.1.5 Interrupt Controller Control Register (ICCR)p.899.2.2 Interrupt Controller Register Locationsp.909.3 Real-Time Clockp.909.3.1 RTC Counter Register (RCNR)p.909.3.2 RTC Alarm Register (RTAR)p.919.3.3 RTC Status Register (RTSR)p.919.3.4 RTC Trim Register (RTTR)p.939.3.5 Trim Procedurep.939.3.5.1 Oscillator Frequency Calibrationp.939.3.5.2 RTTR Value Calculationsp.949.3.6 Real-Time Clock Register Locationsp.959.4 Operating System Timerp.959.4.1 OS Timer Count Register (OSCR)p.969.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3)p.969.4.3 OS Timer Watchdog Match Enable Register (OWER)p.969.4.4 OS Timer Status Register (OSSR)p.979.4.5 OS Timer Interrupt Enable Register (OIER)p.989.4.6 Watchdog Timerp.989.4.7 OS Timer Register Locationsp.999.5 Power Managerp.999.5.1 Run Modep.999.5.2 Idle Modep.999.5.2.1 Entering Idle Modep.1009.5.2.2 Exiting Idle Modep.1009.5.3 Sleep Modep.1019.5.3.1 CPU Preparation for Sleep Modep.1019.5.3.2 Events Causing Entry into Sleep Modep.1019.5.3.3 The Sleep Shutdown Sequencep.1019.5.3.4 During Sleep Modep.1029.5.3.5 The Sleep Wake-Up Sequencep.1039.5.3.6 Booting After Sleep Modep.1039.5.3.7 Reviving the DRAMs from Self-Refresh Modep.1049.5.4 Notes on Power Supply Sequencingp.1049.5.5 Assumed Behavior of an Intel® StrongARM SA-1110 System in Sleep Modep.1049.5.6 Pin Operation in Sleep Modep.1069.5.7 Power Manager Registersp.1079.5.7.1 Power Manager Control Register (PMCR)p.1079.5.7.2 Power Manager General Configuration Register (PCFR)p.1089.5.7.3 Power Manager PLL Configuration Register (PPCR)p.1109.5.7.4 Power Manager Wake-Up Enable Register (PWER)p.1109.5.7.5 Power Manager Sleep Status Register (PSSR)p.1119.5.7.6 Power Manager Scratch Pad Register (PSPR)p.1139.5.7.7 Power Manager GPIO Sleep State Register (PGSR)p.1139.5.7.8 Power Manager Oscillator Status Register (POSR)p.1149.5.8 Power Manager Register Locationsp.1149.6 Reset Controllerp.1159.6.1 Reset Controller Registersp.1159.6.1.1 Reset Controller Software Reset Register (RSRR)p.1159.6.1.2 Reset Controller Status Register (RCSR)p.1169.6.2 Reset Controller Register Locationsp.117Memory and PC-Card Control Module 10p.11910.1 Overview of Operationp.12010.1.1 Types of Memory Accessesp.12210.1.2 Readsp.12210.1.3 Writesp.12310.1.4 Transaction Summaryp.12310.1.5 Read-Lock-Writep.12310.1.6 Aborts and Nonexistent Memoryp.12410.2 Memory Interface Reset and Initializationp.12410.2.1 Hardware or Sleep Reset Proceduresp.12510.2.2 Software or Watchdog Reset Proceduresp.12610.3 Memory Configuration Registersp.12710.3.1 DRAM Configuration Register (MDCNFG)p.12810.3.2 DRAM Refresh Control Register (MDREFR)p.13210.3.3 CAS Waveform Rotate Registers (MDCAS00, MDCAS01, MDCAS02, MDCAS20, MDCAS21, MDCAS22)p.13610.3.3.1 MDCAS Registers with Asynchronous DRAMp.13610.3.3.2 MDCAS Registers with SDRAM and SMROMp.13710.3.4 Static Memory Control Registers (MSC2 – 0)p.13910.3.5 Expansion Memory (PC-Card) Configuration Register (MECR)p.14210.4 SMROM Configuration Register (SMCNFG)p.14410.4.1 Changing SMROM RAS Latencyp.14710.5 Dynamic Interface Operationp.14810.5.1 DRAM Overviewp.14810.5.2 DRAM Timingp.15010.5.3 SDRAM Overviewp.15210.5.4 SDRAM Commandsp.15410.5.5 SDRAM State Machinep.15510.5.6 DRAM/SDRAM Refreshp.16010.5.7 DRAM/SDRAM Self-Refresh in Sleep Modep.16110.6 Static Memory Interfacep.16210.6.1 ROM Interface Overviewp.16310.6.2 ROM Timing Diagrams and Parametersp.16310.6.3 SRAM Interface Overviewp.16710.6.4 SRAM Timing Diagrams and Parametersp.16710.6.5 Variable Latency I/O Interface Overviewp.16910.6.6 Variable Latency I/O Timing Diagrams and Parametersp.16910.6.7 FLASH Memory Interface Overviewp.17210.6.8 FLASH Memory Timing Diagrams and Parametersp.17210.6.9 SMROM Overviewp.17310.6.10 SMROM Commandsp.17310.6.11 SMROM State Machinep.17410.7 PC-Card Overviewp.17710.7.1 8-, 16-, and 32-Bit Data Bus Operationp.17910.7.2 External Logic for PC-Card Implementationp.18010.7.3 PC-Card Interface Timing Diagrams and Parametersp.18310.8 Alternate Memory Bus Master Modep.18510.9 Memory System Examplesp.18610.10 SA1110 Memory Configuration Toolp.190Peripheral Control Module 11p.20511.1 Read/Write Interfacep.20511.2 Memory Organizationp.20611.3 Interruptsp.20711.4 Peripheral Pinsp.20811.5 Use of the GPIO Pins for Alternate Functionsp.20911.6 DMA Controllerp.21011.6.1 DMA Register Definitionsp.21111.6.1.1 DMA Device Address Register (DDARn)p.21111.6.1.2 DMA Control/Status Register (DCSRn)p.21311.6.1.3 DMA Buffer A Start Address Register (DBSAn)p.21511.6.1.4 DMA Buffer A Transfer Count Register (DBTAn)p.21611.6.1.5 DMA Buffer B Start Address Register (DBSBn)p.21611.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)p.21611.6.2 DMA Register Listp.21711.7 LCD Controllerp.21911.7.1 LCD Controller Operationp.22011.7.1.1 DMA to Memory Interfacep.22111.7.1.2 Frame Bufferp.22111.7.1.3 Input FIFOp.22611.7.1.4 Lookup Palettep.22611.7.1.5 Color/Gray-Scale Ditheringp.22611.7.1.6 Output FIFOp.22711.7.1.7 LCD Controller Pinsp.22711.7.2 LCD Controller Register Definitionsp.22811.7.3 LCD Controller Control Register 0p.22911.7.3.1 LCD Enable (LEN)p.22911.7.3.2 Color/Monochrome Select (CMS)p.22911.7.3.3 Single-/Dual-Panel Select (SDS)p.22911.7.3.4 LCD Disable Done Interrupt Mask (LDM)p.23111.7.3.5 Base Address Update Interrupt Mask (BAM)p.23211.7.3.6 Error Interrupt Mask (ERM)p.23211.7.3.7 Passive/Active Display Select (PAS)p.23211.7.3.8 Big/Little Endian Select (BLE)p.23311.7.3.9 Double-Pixel Data (DPD) Pin Modep.23411.7.3.10 Vertical Slant Line Correction (VSC)p.23411.7.3.11 Palette DMA Request Delay (PDD)p.23411.7.4 LCD Controller Control Register 1p.23611.7.4.1 Pixels Per Line (PPL)p.23711.7.4.2 Horizontal Sync Pulse Width (HSW)p.23711.7.4.3 End-of-Line Pixel Clock Wait Count (ELW)p.23711.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)p.23711.7.5 LCD Controller Control Register 2p.23811.7.5.1 Lines Per Panel (LPP)p.23811.7.5.2 Vertical Sync Pulse Width (VSW)p.23911.7.5.3 End-of-Frame Line Clock Wait Count (EFW)p.23911.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)p.24011.7.6 LCD Controller Control Register 3p.24111.7.6.1 Pixel Clock Divider (PCD)p.24211.7.6.2 AC Bias Pin Frequency (ACB)p.24211.7.6.3 AC Bias Pin Transitions Per Interrupt (API)p.24211.7.6.4 Vertical Sync Polarity (VSP)p.24311.7.6.5 Horizontal Sync Polarity (HSP)p.24311.7.6.6 Pixel Clock Polarity (PCP)p.24311.7.6.7 Output Enable Polarity (OEP)p.24311.7.7 LCD Controller DMA Registersp.24511.7.8 DMA Channel 1 Base Address Registerp.24511.7.9 DMA Channel 1 Current Address Registerp.24611.7.10 DMA Channel 2 Base and Current Address Registersp.24711.7.11 LCD Controller Status Registerp.24811.7.11.1 LCD Disable Done Flag (LDD) (read/write, maskable interrupt)p.24911.7.11.2 Base Address Update Flag (BAU) (read-only, maskable interrupt)p.24911.7.11.3 Bus Error Status (BER) (read/write, maskable interrupt)p.24911.7.11.4 AC Bias Count Status (ABC) (read/write, nonmaskable interrupt)p.24911.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)p.24911.7.11.6 Input FIFO Underrun Lower Panel Status (IUL) (read/write, maskable interrupt)p.25011.7.11.7 Input FIFO Overrun Upper Panel Status (IOU) (read/write, maskable interrupt)p.25011.7.11.8 Input FIFO Underrun Upper Panel Status (IUU) (read/write, maskable interrupt)p.25011.7.11.9 Output FIFO Overrun Lower Panel Status (OOL) (read/write, maskable interrupt)p.25011.7.11.10 Output FIFO Underrun Lower Panel Status (OUL) (read only, maskable interrupt)p.25011.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)p.25011.7.11.12 Output FIFO Underrun Upper Panel Status (OUU) (read/write, maskable interrupt)p.25111.7.12 LCD Controller Register Locationsp.25211.7.13 LCD Controller Pin Timing Diagramsp.25411.8 Serial Port 0 – USB Device Controller (UDC)p.25911.8.1 USB Operationp.26111.8.1.1 Signalling Levelsp.26111.8.1.2 Connecting the USB to the SA-1110p.26211.8.1.3 Bit Encodingp.26311.8.1.4 Field Formatsp.26411.8.1.5 Packet Typesp.26511.8.1.6 Transaction Formatsp.26711.8.1.7 SA-1110 UDC Device-Request Commandsp.26911.8.1.8 Using DMAp.27111.8.1.9 Software Control of the SA-1110 UDCp.27111.8.1.10 SA-1110 USB Example Codep.27811.8.2 SA-1110 UDC Register Definitionsp.27811.8.3 UDC Control Register (UDCCR)p.27911.8.3.1 UDC Disable (UDD)p.28011.8.3.2 UDC Active (UDA)p.28011.8.3.3 Resume Interrupt Mask (RESIM)p.28011.8.3.4 Endpoint 0 Interrupt Mask (EIM)p.28111.8.3.5 Receive Interrupt Mask (RIM)p.28111.8.3.6 Transmit Interrupt Mask (TIM)p.28111.8.3.7 Suspend Interrupt Mask (SUSIM)p.28211.8.3.8 Reserved/B5p.28211.8.4 UDC Address Register (UDCAR)p.28211.8.5 UDC OUT Maximum Packet Register (UDCOMP)p.28311.8.6 UDC IN Maximum Packet Register (UDCIMP)p.28411.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)p.28411.8.7.1 OUT Packet Ready (OPR)p.28511.8.7.2 IN Packet Ready (IPR)p.28511.8.7.3 Sent Stall (SST)p.28611.8.7.4 Force Stall (FST)p.28611.8.7.5 Data End (DE)p.28611.8.7.6 Setup End (SE)p.28611.8.7.7 Serviced OPR (SO)p.28611.8.7.8 Serviced Setup End (SSE)p.28611.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)p.28611.8.8.1 Receive FIFO Service (RFS)p.28711.8.8.2 Receive Packet Complete (RPC)p.28711.8.8.3 Receive Packet Error (RPE)p.28811.8.8.4 Sent Stall (SST)p.28811.8.8.5 Force Stall (FST)p.28811.8.8.6 Receive FIFO Not Empty (RNE)p.28811.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)p.28811.8.9.1 Transmit FIFO Service (TFS)p.28911.8.9.2 Transmit Packet Complete (TPC)p.28911.8.9.3 Transmit Packet Error (TPE)p.28911.8.9.4 Transmit Underrun (TUR)p.29011.8.9.5 Sent STALL (SST)p.29011.8.9.6 Force STALL (FST)p.29011.8.10 UDC Endpoint 0 Data Register (UDCD0)p.29011.8.11 UDC Endpoint 0 Write Count Register (UDCWC)p.29111.8.12 UDC Data Register (UDCDR)p.29211.8.13 UDC Status/Interrupt Register (UDCSR)p.29211.8.13.1 Endpoint 0 Interrupt Request (EIR)p.29311.8.13.2 Receive Interrupt Request (RIR)p.29411.8.13.3 Transmit Interrupt Request (TIR)p.29411.8.13.4 Suspend Interrupt Request (SUSIR)p.29411.8.13.5 Resume Interrupt Request (RESIR)p.29411.8.13.6 Reset Interrupt Request (RSTIR)p.29411.8.14 SA-1110 UDC Register Locationsp.29411.9 Serial Port 1 – GPCLK/UARTp.29511.9.1 GPCLK Operationp.29511.9.1.1 Simultaneous Use of the UART and GPCLKp.29611.9.2 GPCLK Control Register 0p.29611.9.2.1 GPCLK/UART Select (SUS)p.29611.9.2.2 Sample Clock Enable (SCE)p.29611.9.2.3 Sample Clock Direction (SCD)p.29611.9.3 GPCLK Control Register 1p.29711.9.3.1 Transmit Enable (TXE)p.29711.9.4 GPCLK Control Registers 2 and 3p.29811.9.4.1 Baud Rate Divisor (BRD)p.29811.9.5 UART Register Locationsp.29911.9.6 GPCLK Register Locationsp.30011.10 Serial Port 2 – Infrared Communications Port (ICP)p.30011.10.1 Low-Speed ICP Operationp.30111.10.1.1 HP-SIR Modulationp.30111.10.1.2 UART Frame Formatp.30211.10.2 High-Speed ICP Operationp.30211.10.2.1 4PPM Modulationp.30211.10.2.2 HSSP Frame Formatp.30311.10.2.3 Address Fieldp.30411.10.2.4 Control Fieldp.30411.10.2.5 Data Fieldp.30411.10.2.6 CRC Fieldp.30411.10.2.7 Baud Rate Generationp.30511.10.2.8 Receive Operationp.30511.10.2.9 Transmit Operationp.30611.10.2.10 Transmit and Receive FIFOsp.30711.10.2.11 CPU and DMA Register Access Sizesp.30811.10.3 UART Register Definitionp.30811.10.4 UART Control Register 4p.30811.10.4.1 HP-SIR Enable (HSE)p.30811.10.4.2 Low-Power Mode (LPM)p.30811.10.5 HSSP Register Definitionsp.30911.10.6 HSSP Control Register 0p.30911.10.6.1 IrDA Transmission Rate (ITR)p.30911.10.6.2 Loopback Mode (LBM)p.31011.10.6.3 Transmit FIFO Underrun Select (TUS)p.31011.10.6.4 Transmit Enable (TXE)p.31111.10.6.5 Receive Enable (RXE)p.31111.10.6.6 Receive FIFO Interrupt Enable (RIE)p.31111.10.6.7 Transmit FIFO Interrupt Enable (TIE)p.31211.10.6.8 Address Match Enable (AME)p.31211.10.7 HSSP Control Register 1p.31311.10.7.1 Address Match Value (AMV)p.31311.10.8 HSSP Control Register 2p.31411.10.8.1 Transmit Pin Polarity Select (TXP)p.31411.10.8.2 Receive Pin Polarity Select (RXP)p.31511.10.9 HSSP Data Registerp.31611.10.10 HSSP Status Register 0p.31711.10.10.1 End/Error in FIFO Status (EIF) (read-only, nonmaskable interrupt)p.31811.10.10.2 Transmit Underrun Status (TUR) (read/write, maskable interrupt)p.31811.10.10.3 Receiver Abort Status (RAB) (read/write, nonmaskable interrupt)p.31811.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.31811.10.10.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.31911.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)p.31911.10.11 HSSP Status Register 1p.32011.10.11.1 Receiver Synchronized Flag (RSY) (read-only, noninterruptible)p.32111.10.11.2 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.32111.10.11.3 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.32111.10.11.4 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.32111.10.11.5 End-of-Frame Flag (EOF) (read-only, noninterruptible)p.32111.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)p.32111.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)p.32211.10.12 UART Register Locationsp.32311.10.13 HSSP Register Locationsp.32411.11 Serial Port 3 – UARTp.32511.11.1 UART Operationp.32511.11.1.1 Frame Formatp.32611.11.1.2 Baud Rate Generationp.32611.11.1.3 Receive Operationp.32611.11.1.4 Transmit Operationp.32711.11.1.5 Transmit and Receive FIFOsp.32711.11.1.6 CPU and DMA Register Access Sizesp.32711.11.2 UART Register Definitionsp.32711.11.3 UART Control Register 0p.32811.11.3.1 Parity Enable (PE)p.32811.11.3.2 Odd/Even Parity Select (OES)p.32811.11.3.3 Stop Bit Select (SBS)p.32811.11.3.4 Data Size Select (DSS)p.32911.11.3.5 Sample Clock Enable (SCE)p.32911.11.3.6 Receive Clock Edge Select (RCE)p.32911.11.3.7 Transmit Clock Edge Select (TCE)p.32911.11.4 UART Control Registers 1 and 2p.33011.11.4.1 Baud Rate Divisor (BRD)p.33011.11.5 UART Control Register 3p.33111.11.5.1 Receiver Enable (RXE)p.33211.11.5.2 Transmitter Enable (TXE)p.33211.11.5.3 Break (BRK)p.33211.11.5.4 Receive FIFO Interrupt Enable (RIE)p.33211.11.5.5 Transmit FIFO Interrupt Enable (TIE)p.33311.11.5.6 Loopback Mode (LBM)p.33311.11.6 UART Data Registerp.33411.11.7 UART Status Register 0p.33511.11.7.1 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.33611.11.7.2 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.33611.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)p.33611.11.7.4 Receiver Begin of Break Status (RBB) (read/write, nonmaskable interrupt)p.33711.11.7.5 Receiver End of Break Status (REB) (read/write, nonmaskable interrupt)p.33711.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)p.33711.11.8 UART Status Register 1p.33911.11.8.1 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.33911.11.8.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.33911.11.8.3 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.33911.11.8.4 Parity Error Flag (PRE) (read-only, noninterruptible)p.33911.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)p.33911.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)p.34011.11.9 UART Register Locationsp.34111.12 Serial Port 4 – MCP / SSPp.34211.12.1 MCP Operationp.34311.12.1.1 Frame Formatp.34311.12.1.2 Audio and Telecom Sample Rates and Data Transferp.34511.12.1.3 MCP Transmit and Receive FIFO Operationp.34611.12.1.4 Codec Control Register Data Transferp.34711.12.1.5 External Clock Operationp.34811.12.1.6 Alternate SSP Pin Assignmentp.34811.12.1.7 CPU and DMA Register Access Sizesp.34811.12.2 MCP Register Definitionsp.34911.12.3 MCP Control Register 0p.34911.12.3.1 Audio Sample Rate Divisor (ASD)p.34911.12.3.2 Telecom Sample Rate Divisor (TSD)p.35011.12.3.3 Multimedia Communications Port Enable (MCE)p.35111.12.3.4 External Clock Select (ECS)p.35111.12.3.5 A/D Sampling Mode (ADM)p.35211.12.3.6 Telecom Transmit FIFO Interrupt Enable (TTE)p.35211.12.3.7 Telecom Receive FIFO Interrupt Enable (TRE)p.35211.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)p.35211.12.3.9 Audio Receive FIFO Interrupt Enable (ARE)p.35311.12.3.10 Loopback Mode (LBM)p.35311.12.3.11 External Clock Prescaler (ECP)p.35311.12.4 MCP Control Register 1p.35511.12.4.1 Clock Frequency Select (CFS)p.35511.12.5 MCP Data Registersp.35611.12.5.1 MCP Data Register 0p.35611.12.5.2 MCP Data Register 1p.35711.12.5.3 MCP Data Register 2p.35811.12.6 MCP Status Registerp.36011.12.6.1 Audio Transmit FIFO Service Request Flag (ATS) (read-only, maskable interrupt)p.36011.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)p.36011.12.6.3 Telecom Transmit FIFO Service Request Flag (TTS) (read-only, maskable interrupt)p.36111.12.6.4 Telecom Receive FIFO Service Request Flag (TRS) (read-only, maskable interrupt)p.36111.12.6.5 Audio Transmit FIFO Underrun Status (ATU) (read/write, nonmaskable interrupt)p.36111.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)p.36111.12.6.7 Telecom Transmit FIFO Underrun Status (TTU) (read/write, nonmaskable interrupt)p.36211.12.6.8 Telecom Receive FIFO Overrun Status (TRO) (read/write, nonmaskable interrupt)p.36211.12.6.9 Audio Transmit FIFO Not Full Flag (ANF) (read-only, noninterruptible)p.36211.12.6.10 Audio Receive FIFO Not Empty Flag (ANE) (read-only, noninterruptible)p.36211.12.6.11 Telecom Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.36211.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)p.36211.12.6.13 Codec Write Completed Flag (CWC) (read-only, noninterruptible)p.36311.12.6.14 Codec Read Completed Flag (CRC) (read-only, noninterruptible)p.36311.12.6.15 Audio Codec Enabled Flag (ACE) (read-only, noninterruptible)p.36311.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)p.36311.12.7 SSP Operationp.36511.12.7.1 Frame Formatp.36611.12.7.2 Baud Rate Generationp.37011.12.7.3 SSP Transmit and Receive FIFOsp.37011.12.7.4 CPU and DMA Register Access Sizesp.37111.12.7.5 Alternate SSP Pin Assignmentp.37111.12.8 SSP Register Definitionsp.37111.12.9 SSP Control Register 0p.37211.12.9.1 Data Size Select (DSS)p.37211.12.9.2 Frame Format (FRF)p.37211.12.9.3 Synchronous Serial Port Enable (SSE)p.37211.12.9.4 Serial Clock Rate (SCR)p.37311.12.10 SSP Control Register 1p.37411.12.10.1 Receive FIFO Interrupt Enable (RIE)p.37411.12.10.2 Transmit FIFO Interrupt Enable (TIE)p.37411.12.10.3 Loopback Mode (LBM)p.37511.12.10.4 Serial Clock Polarity (SPO)p.37511.12.10.5 Serial Clock Phase (SPH)p.37511.12.10.6 External Clock Select (ECS)p.37611.12.11 SSP Data Registerp.37711.12.12 SSP Status Registerp.37911.12.12.1 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.37911.12.12.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.37911.12.12.3 SSP Busy Flag (BSY) (read-only, noninterruptible)p.37911.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.37911.12.12.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.38011.12.12.6 Receiver Overrun Status (ROR) (read/write, nonmaskable interrupt)p.38011.12.13 MCP Register Locationsp.38111.12.14 SSP Register Locationsp.38211.13 Peripheral Pin Controller (PPC)p.38211.13.1 PPC Operationp.38211.13.2 PPC Register Definitionsp.38311.13.3 PPC Pin Direction Registerp.38311.13.4 PPC Pin State Registerp.38511.13.5 PPC Pin Assignment Registerp.38711.13.5.1 UART Pin Reassignment (UPR)p.38711.13.5.2 SSP Pin Reassignment (SPR)p.38711.13.6 PPC Sleep Mode Pin Direction Registerp.38811.13.7 PPC Pin Flag Registerp.39011.13.8 PPC Register Locationsp.392DC Parameters 12p.39312.1 Absolute Maximum Ratingsp.39312.2 DC Operating Conditionsp.39412.3 Power Supply Voltages and Currentsp.395AC Parameters 13p.39713.1 Test Conditionsp.39713.2 Model Considerationsp.39813.3 Memory Bus and PCMCIA Signal Timingsp.39813.4 LCD Controller Signalsp.39913.5 MCP Signalsp.39913.6 Timing Parametersp.40113.6.1 Asynchronous Signal Timing Descriptionsp.403Package and Pinout 14p.405Debug Support 15p.41115.1 Instruction Breakpointp.41115.2 Data Breakpointp.411Boundary-Scan Test Interface 16p.41316.1 Overviewp.41316.2 Resetp.41416.3 Pull-Up Resistorsp.41416.4 Instruction Registerp.41416.5 Public Instructionsp.41416.5.1 EXTEST (00000)p.41516.5.2 SAMPLE/PRELOAD (00001)p.41516.5.3 CLAMP (00100)p.41516.5.4 HIGHZ (00101)p.41616.5.5 IDCODE (00110)p.41616.5.6 BYPASS (11111)p.41616.6 Test Data Registersp.41716.6.1 Bypass Registerp.41716.6.2 Intel® StrongARM SA-1110 Device Identification (ID) Code Registerp.41816.6.3 Intel® StrongARM SA-1110 Boundary-Scan (BS) Registerp.41816.7 Boundary-Scan Interface Signalsp.419Register Summary Ap.4273.6864–MHz Oscillator Specifications Bp.433B.1 Specificationsp.433B.1.1 System Specificationsp.433B.1.1.1. Parasitic Capacitance Off-chip Between PXTAL and PEXTALp.434B.1.1.2. Parasitic Capacitance Off-chip Between PXTAL or PEXTAL and VSSp.434B.1.1.3. Parasitic Resistance Between PXTAL and PEXTALp.434B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSSp.434B.1.2 Quartz Crystal Specificationp.43532.768–KHz Oscillator Specifications Cp.437C.1 Specificationsp.437C.1.1 System Specificationsp.437C.1.1.1. Temperature Rangep.437C.1.1.2. Current Consumptionp.437C.1.1.3. Startup Timep.437C.1.1.4. Frequency Shift Due to Temperature Effect on the Circuitp.438C.1.1.5. Parasitic Capacitance Off-chip Between TXTAL and TEXTALp.438C.1.1.6. Parasitic Capacitance Off-chip Between TXTAL or TEXTAL and VSSp.438C.1.1.7. Parasitic Resistance Between TXTAL and TEXTALp.438C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSSp.438C.1.2 Quartz Crystal Specificationp.439Internal Test Dp.441D.1 Test Unit Control Register (TUCR)p.441
Page 11 of the Intel SA-1110 user manual — Table of contents
Page 11 · click to enlarge
Page 11

Table of contents

Intel® StrongARM* SA-1110 Microprocessorp.1Contentsp.3Introduction 1p.211.1 Intel® StrongARM* SA-1110 Microprocessorp.211.2 Overviewp.241.3 Example Systemp.251.4 ARM Architecturep.261.4.1 26-Bit Modep.261.4.2 Coprocessorsp.261.4.3 Memory Managementp.261.4.4 Instruction Cachep.261.4.5 Data Cachep.261.4.6 Write Bufferp.271.4.7 Read Bufferp.27Functional Description 2p.292.1 Block Diagramp.292.2 Inputs/Outputsp.312.3 Signal Descriptionp.322.4 Memory Mapp.36ARM Implementation Options 3p.393.1 Big and Little Endianp.393.2 Exceptionsp.393.2.1 Power-Up Resetp.403.2.2 ROM Size Selectp.403.2.3 Abortp.413.2.4 Vector Summaryp.423.2.5 Exception Prioritiesp.423.2.6 Interrupt Latencies and Enable Timingp.433.3 Coprocessorsp.43Instruction Set 4p.454.1 Instruction Setp.454.2 Instruction Timingp.45Caches, Write Buffer, and Read Buffer 5p.475.1 Instruction Cache (Icache)p.475.1.1 Icache Operationp.475.1.2 Icache Validityp.475.1.2.1 Software Icache Flushp.475.1.3 Icache Enable/Disable and Resetp.485.1.3.1 Enabling the Icachep.485.1.3.2 Disabling the Icachep.485.2 Data Caches (Dcaches)p.485.2.1 Cacheable Bit – Cp.495.2.1.1 Cacheable Reads – C = 1p.495.2.1.2 Noncacheable Reads – C = 0p.495.2.2 Bufferable Bit – Bp.495.2.3 Software Dcache Flushp.505.2.3.1 Doubly Mapped Spacep.505.2.4 Dcaches Enable/Disable and Resetp.505.2.4.1 Enabling the Dcachesp.515.2.4.2 Disabling the Dcachesp.515.3 Write Buffer (WB)p.515.3.1 Bufferable Bitp.515.3.2 Write Buffer Operationp.515.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)p.515.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)p.525.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0)p.525.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1)p.525.3.3 Enabling the Write Bufferp.525.3.3.1 Disabling the Write Bufferp.525.4 Read Buffer (RB)p.52Coprocessors 6p.556.1 Internal Coprocessor Instructionsp.556.2 Coprocessor 15 Definitionp.566.2.1 Register 0 – IDp.566.2.2 Register 1 – Controlp.576.2.3 Register 2 – Translation Table Basep.586.2.4 Register 3 – Domain Access Controlp.586.2.5 Register 4 – RESERVEDp.596.2.6 Register 5 – Fault Statusp.596.2.7 Register 6 – Fault Addressp.596.2.8 Register 7 – Cache Control Operationsp.596.2.9 Register 8 – TLB Operationsp.606.2.10 Register 9 – Read-Buffer Operationsp.606.2.11 Registers 10 – 12 RESERVEDp.616.2.12 Register 13 – Process ID Virtual Address Mappingp.616.2.13 Register 14 – Debug Support (Breakpoints)p.626.2.14 Register 15 – Test, Clock, and Idle Controlp.63Memory Management Unit (MMU) 7p.657.1 Overviewp.657.1.1 MMU Registersp.657.2 MMU Faults and CPU Abortsp.657.3 Data Abortsp.657.3.1 Cacheable Reads (Linefetches)p.667.3.2 Buffered Writesp.667.4 Interaction of the MMU, Icache, Dcache, and Write Bufferp.667.5 Mini Data Cachep.67Clocks 8p.698.1 Intel® StrongARM SA-1110 Crystal Oscillatorsp.698.2 Core Clock Configuration Registerp.708.2.1 Restrictions on Changing the Core Clock Configurationp.718.3 Driving Intel® StrongARM SA-1110 Crystal Pins from an External Sourcep.718.4 Clocking During Testp.72System Control Module 9p.739.1 General-Purpose I/Op.739.1.1 GPIO Register Definitionsp.749.1.1.1 GPIO Pin-Level Register (GPLR)p.759.1.1.2 GPIO Pin Direction Register (GPDR)p.769.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR)p.779.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER)p.789.1.1.5 GPIO Edge Detect Status Register (GEDR)p.799.1.1.6 GPIO Alternate Function Register (GAFR)p.809.1.2 GPIO Alternate Functionsp.819.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Functionp.829.1.3 GPIO Register Locationsp.829.2 Interrupt Controllerp.839.2.1 Interrupt Controller Register Definitionsp.849.2.1.1 Interrupt Controller Pending Register (ICPR)p.849.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP)p.869.2.1.3 Interrupt Controller Mask Register (ICMR)p.879.2.1.4 Interrupt Controller Level Register (ICLR)p.889.2.1.5 Interrupt Controller Control Register (ICCR)p.899.2.2 Interrupt Controller Register Locationsp.909.3 Real-Time Clockp.909.3.1 RTC Counter Register (RCNR)p.909.3.2 RTC Alarm Register (RTAR)p.919.3.3 RTC Status Register (RTSR)p.919.3.4 RTC Trim Register (RTTR)p.939.3.5 Trim Procedurep.939.3.5.1 Oscillator Frequency Calibrationp.939.3.5.2 RTTR Value Calculationsp.949.3.6 Real-Time Clock Register Locationsp.959.4 Operating System Timerp.959.4.1 OS Timer Count Register (OSCR)p.969.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3)p.969.4.3 OS Timer Watchdog Match Enable Register (OWER)p.969.4.4 OS Timer Status Register (OSSR)p.979.4.5 OS Timer Interrupt Enable Register (OIER)p.989.4.6 Watchdog Timerp.989.4.7 OS Timer Register Locationsp.999.5 Power Managerp.999.5.1 Run Modep.999.5.2 Idle Modep.999.5.2.1 Entering Idle Modep.1009.5.2.2 Exiting Idle Modep.1009.5.3 Sleep Modep.1019.5.3.1 CPU Preparation for Sleep Modep.1019.5.3.2 Events Causing Entry into Sleep Modep.1019.5.3.3 The Sleep Shutdown Sequencep.1019.5.3.4 During Sleep Modep.1029.5.3.5 The Sleep Wake-Up Sequencep.1039.5.3.6 Booting After Sleep Modep.1039.5.3.7 Reviving the DRAMs from Self-Refresh Modep.1049.5.4 Notes on Power Supply Sequencingp.1049.5.5 Assumed Behavior of an Intel® StrongARM SA-1110 System in Sleep Modep.1049.5.6 Pin Operation in Sleep Modep.1069.5.7 Power Manager Registersp.1079.5.7.1 Power Manager Control Register (PMCR)p.1079.5.7.2 Power Manager General Configuration Register (PCFR)p.1089.5.7.3 Power Manager PLL Configuration Register (PPCR)p.1109.5.7.4 Power Manager Wake-Up Enable Register (PWER)p.1109.5.7.5 Power Manager Sleep Status Register (PSSR)p.1119.5.7.6 Power Manager Scratch Pad Register (PSPR)p.1139.5.7.7 Power Manager GPIO Sleep State Register (PGSR)p.1139.5.7.8 Power Manager Oscillator Status Register (POSR)p.1149.5.8 Power Manager Register Locationsp.1149.6 Reset Controllerp.1159.6.1 Reset Controller Registersp.1159.6.1.1 Reset Controller Software Reset Register (RSRR)p.1159.6.1.2 Reset Controller Status Register (RCSR)p.1169.6.2 Reset Controller Register Locationsp.117Memory and PC-Card Control Module 10p.11910.1 Overview of Operationp.12010.1.1 Types of Memory Accessesp.12210.1.2 Readsp.12210.1.3 Writesp.12310.1.4 Transaction Summaryp.12310.1.5 Read-Lock-Writep.12310.1.6 Aborts and Nonexistent Memoryp.12410.2 Memory Interface Reset and Initializationp.12410.2.1 Hardware or Sleep Reset Proceduresp.12510.2.2 Software or Watchdog Reset Proceduresp.12610.3 Memory Configuration Registersp.12710.3.1 DRAM Configuration Register (MDCNFG)p.12810.3.2 DRAM Refresh Control Register (MDREFR)p.13210.3.3 CAS Waveform Rotate Registers (MDCAS00, MDCAS01, MDCAS02, MDCAS20, MDCAS21, MDCAS22)p.13610.3.3.1 MDCAS Registers with Asynchronous DRAMp.13610.3.3.2 MDCAS Registers with SDRAM and SMROMp.13710.3.4 Static Memory Control Registers (MSC2 – 0)p.13910.3.5 Expansion Memory (PC-Card) Configuration Register (MECR)p.14210.4 SMROM Configuration Register (SMCNFG)p.14410.4.1 Changing SMROM RAS Latencyp.14710.5 Dynamic Interface Operationp.14810.5.1 DRAM Overviewp.14810.5.2 DRAM Timingp.15010.5.3 SDRAM Overviewp.15210.5.4 SDRAM Commandsp.15410.5.5 SDRAM State Machinep.15510.5.6 DRAM/SDRAM Refreshp.16010.5.7 DRAM/SDRAM Self-Refresh in Sleep Modep.16110.6 Static Memory Interfacep.16210.6.1 ROM Interface Overviewp.16310.6.2 ROM Timing Diagrams and Parametersp.16310.6.3 SRAM Interface Overviewp.16710.6.4 SRAM Timing Diagrams and Parametersp.16710.6.5 Variable Latency I/O Interface Overviewp.16910.6.6 Variable Latency I/O Timing Diagrams and Parametersp.16910.6.7 FLASH Memory Interface Overviewp.17210.6.8 FLASH Memory Timing Diagrams and Parametersp.17210.6.9 SMROM Overviewp.17310.6.10 SMROM Commandsp.17310.6.11 SMROM State Machinep.17410.7 PC-Card Overviewp.17710.7.1 8-, 16-, and 32-Bit Data Bus Operationp.17910.7.2 External Logic for PC-Card Implementationp.18010.7.3 PC-Card Interface Timing Diagrams and Parametersp.18310.8 Alternate Memory Bus Master Modep.18510.9 Memory System Examplesp.18610.10 SA1110 Memory Configuration Toolp.190Peripheral Control Module 11p.20511.1 Read/Write Interfacep.20511.2 Memory Organizationp.20611.3 Interruptsp.20711.4 Peripheral Pinsp.20811.5 Use of the GPIO Pins for Alternate Functionsp.20911.6 DMA Controllerp.21011.6.1 DMA Register Definitionsp.21111.6.1.1 DMA Device Address Register (DDARn)p.21111.6.1.2 DMA Control/Status Register (DCSRn)p.21311.6.1.3 DMA Buffer A Start Address Register (DBSAn)p.21511.6.1.4 DMA Buffer A Transfer Count Register (DBTAn)p.21611.6.1.5 DMA Buffer B Start Address Register (DBSBn)p.21611.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)p.21611.6.2 DMA Register Listp.21711.7 LCD Controllerp.21911.7.1 LCD Controller Operationp.22011.7.1.1 DMA to Memory Interfacep.22111.7.1.2 Frame Bufferp.22111.7.1.3 Input FIFOp.22611.7.1.4 Lookup Palettep.22611.7.1.5 Color/Gray-Scale Ditheringp.22611.7.1.6 Output FIFOp.22711.7.1.7 LCD Controller Pinsp.22711.7.2 LCD Controller Register Definitionsp.22811.7.3 LCD Controller Control Register 0p.22911.7.3.1 LCD Enable (LEN)p.22911.7.3.2 Color/Monochrome Select (CMS)p.22911.7.3.3 Single-/Dual-Panel Select (SDS)p.22911.7.3.4 LCD Disable Done Interrupt Mask (LDM)p.23111.7.3.5 Base Address Update Interrupt Mask (BAM)p.23211.7.3.6 Error Interrupt Mask (ERM)p.23211.7.3.7 Passive/Active Display Select (PAS)p.23211.7.3.8 Big/Little Endian Select (BLE)p.23311.7.3.9 Double-Pixel Data (DPD) Pin Modep.23411.7.3.10 Vertical Slant Line Correction (VSC)p.23411.7.3.11 Palette DMA Request Delay (PDD)p.23411.7.4 LCD Controller Control Register 1p.23611.7.4.1 Pixels Per Line (PPL)p.23711.7.4.2 Horizontal Sync Pulse Width (HSW)p.23711.7.4.3 End-of-Line Pixel Clock Wait Count (ELW)p.23711.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)p.23711.7.5 LCD Controller Control Register 2p.23811.7.5.1 Lines Per Panel (LPP)p.23811.7.5.2 Vertical Sync Pulse Width (VSW)p.23911.7.5.3 End-of-Frame Line Clock Wait Count (EFW)p.23911.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)p.24011.7.6 LCD Controller Control Register 3p.24111.7.6.1 Pixel Clock Divider (PCD)p.24211.7.6.2 AC Bias Pin Frequency (ACB)p.24211.7.6.3 AC Bias Pin Transitions Per Interrupt (API)p.24211.7.6.4 Vertical Sync Polarity (VSP)p.24311.7.6.5 Horizontal Sync Polarity (HSP)p.24311.7.6.6 Pixel Clock Polarity (PCP)p.24311.7.6.7 Output Enable Polarity (OEP)p.24311.7.7 LCD Controller DMA Registersp.24511.7.8 DMA Channel 1 Base Address Registerp.24511.7.9 DMA Channel 1 Current Address Registerp.24611.7.10 DMA Channel 2 Base and Current Address Registersp.24711.7.11 LCD Controller Status Registerp.24811.7.11.1 LCD Disable Done Flag (LDD) (read/write, maskable interrupt)p.24911.7.11.2 Base Address Update Flag (BAU) (read-only, maskable interrupt)p.24911.7.11.3 Bus Error Status (BER) (read/write, maskable interrupt)p.24911.7.11.4 AC Bias Count Status (ABC) (read/write, nonmaskable interrupt)p.24911.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)p.24911.7.11.6 Input FIFO Underrun Lower Panel Status (IUL) (read/write, maskable interrupt)p.25011.7.11.7 Input FIFO Overrun Upper Panel Status (IOU) (read/write, maskable interrupt)p.25011.7.11.8 Input FIFO Underrun Upper Panel Status (IUU) (read/write, maskable interrupt)p.25011.7.11.9 Output FIFO Overrun Lower Panel Status (OOL) (read/write, maskable interrupt)p.25011.7.11.10 Output FIFO Underrun Lower Panel Status (OUL) (read only, maskable interrupt)p.25011.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)p.25011.7.11.12 Output FIFO Underrun Upper Panel Status (OUU) (read/write, maskable interrupt)p.25111.7.12 LCD Controller Register Locationsp.25211.7.13 LCD Controller Pin Timing Diagramsp.25411.8 Serial Port 0 – USB Device Controller (UDC)p.25911.8.1 USB Operationp.26111.8.1.1 Signalling Levelsp.26111.8.1.2 Connecting the USB to the SA-1110p.26211.8.1.3 Bit Encodingp.26311.8.1.4 Field Formatsp.26411.8.1.5 Packet Typesp.26511.8.1.6 Transaction Formatsp.26711.8.1.7 SA-1110 UDC Device-Request Commandsp.26911.8.1.8 Using DMAp.27111.8.1.9 Software Control of the SA-1110 UDCp.27111.8.1.10 SA-1110 USB Example Codep.27811.8.2 SA-1110 UDC Register Definitionsp.27811.8.3 UDC Control Register (UDCCR)p.27911.8.3.1 UDC Disable (UDD)p.28011.8.3.2 UDC Active (UDA)p.28011.8.3.3 Resume Interrupt Mask (RESIM)p.28011.8.3.4 Endpoint 0 Interrupt Mask (EIM)p.28111.8.3.5 Receive Interrupt Mask (RIM)p.28111.8.3.6 Transmit Interrupt Mask (TIM)p.28111.8.3.7 Suspend Interrupt Mask (SUSIM)p.28211.8.3.8 Reserved/B5p.28211.8.4 UDC Address Register (UDCAR)p.28211.8.5 UDC OUT Maximum Packet Register (UDCOMP)p.28311.8.6 UDC IN Maximum Packet Register (UDCIMP)p.28411.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)p.28411.8.7.1 OUT Packet Ready (OPR)p.28511.8.7.2 IN Packet Ready (IPR)p.28511.8.7.3 Sent Stall (SST)p.28611.8.7.4 Force Stall (FST)p.28611.8.7.5 Data End (DE)p.28611.8.7.6 Setup End (SE)p.28611.8.7.7 Serviced OPR (SO)p.28611.8.7.8 Serviced Setup End (SSE)p.28611.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)p.28611.8.8.1 Receive FIFO Service (RFS)p.28711.8.8.2 Receive Packet Complete (RPC)p.28711.8.8.3 Receive Packet Error (RPE)p.28811.8.8.4 Sent Stall (SST)p.28811.8.8.5 Force Stall (FST)p.28811.8.8.6 Receive FIFO Not Empty (RNE)p.28811.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)p.28811.8.9.1 Transmit FIFO Service (TFS)p.28911.8.9.2 Transmit Packet Complete (TPC)p.28911.8.9.3 Transmit Packet Error (TPE)p.28911.8.9.4 Transmit Underrun (TUR)p.29011.8.9.5 Sent STALL (SST)p.29011.8.9.6 Force STALL (FST)p.29011.8.10 UDC Endpoint 0 Data Register (UDCD0)p.29011.8.11 UDC Endpoint 0 Write Count Register (UDCWC)p.29111.8.12 UDC Data Register (UDCDR)p.29211.8.13 UDC Status/Interrupt Register (UDCSR)p.29211.8.13.1 Endpoint 0 Interrupt Request (EIR)p.29311.8.13.2 Receive Interrupt Request (RIR)p.29411.8.13.3 Transmit Interrupt Request (TIR)p.29411.8.13.4 Suspend Interrupt Request (SUSIR)p.29411.8.13.5 Resume Interrupt Request (RESIR)p.29411.8.13.6 Reset Interrupt Request (RSTIR)p.29411.8.14 SA-1110 UDC Register Locationsp.29411.9 Serial Port 1 – GPCLK/UARTp.29511.9.1 GPCLK Operationp.29511.9.1.1 Simultaneous Use of the UART and GPCLKp.29611.9.2 GPCLK Control Register 0p.29611.9.2.1 GPCLK/UART Select (SUS)p.29611.9.2.2 Sample Clock Enable (SCE)p.29611.9.2.3 Sample Clock Direction (SCD)p.29611.9.3 GPCLK Control Register 1p.29711.9.3.1 Transmit Enable (TXE)p.29711.9.4 GPCLK Control Registers 2 and 3p.29811.9.4.1 Baud Rate Divisor (BRD)p.29811.9.5 UART Register Locationsp.29911.9.6 GPCLK Register Locationsp.30011.10 Serial Port 2 – Infrared Communications Port (ICP)p.30011.10.1 Low-Speed ICP Operationp.30111.10.1.1 HP-SIR Modulationp.30111.10.1.2 UART Frame Formatp.30211.10.2 High-Speed ICP Operationp.30211.10.2.1 4PPM Modulationp.30211.10.2.2 HSSP Frame Formatp.30311.10.2.3 Address Fieldp.30411.10.2.4 Control Fieldp.30411.10.2.5 Data Fieldp.30411.10.2.6 CRC Fieldp.30411.10.2.7 Baud Rate Generationp.30511.10.2.8 Receive Operationp.30511.10.2.9 Transmit Operationp.30611.10.2.10 Transmit and Receive FIFOsp.30711.10.2.11 CPU and DMA Register Access Sizesp.30811.10.3 UART Register Definitionp.30811.10.4 UART Control Register 4p.30811.10.4.1 HP-SIR Enable (HSE)p.30811.10.4.2 Low-Power Mode (LPM)p.30811.10.5 HSSP Register Definitionsp.30911.10.6 HSSP Control Register 0p.30911.10.6.1 IrDA Transmission Rate (ITR)p.30911.10.6.2 Loopback Mode (LBM)p.31011.10.6.3 Transmit FIFO Underrun Select (TUS)p.31011.10.6.4 Transmit Enable (TXE)p.31111.10.6.5 Receive Enable (RXE)p.31111.10.6.6 Receive FIFO Interrupt Enable (RIE)p.31111.10.6.7 Transmit FIFO Interrupt Enable (TIE)p.31211.10.6.8 Address Match Enable (AME)p.31211.10.7 HSSP Control Register 1p.31311.10.7.1 Address Match Value (AMV)p.31311.10.8 HSSP Control Register 2p.31411.10.8.1 Transmit Pin Polarity Select (TXP)p.31411.10.8.2 Receive Pin Polarity Select (RXP)p.31511.10.9 HSSP Data Registerp.31611.10.10 HSSP Status Register 0p.31711.10.10.1 End/Error in FIFO Status (EIF) (read-only, nonmaskable interrupt)p.31811.10.10.2 Transmit Underrun Status (TUR) (read/write, maskable interrupt)p.31811.10.10.3 Receiver Abort Status (RAB) (read/write, nonmaskable interrupt)p.31811.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.31811.10.10.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.31911.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)p.31911.10.11 HSSP Status Register 1p.32011.10.11.1 Receiver Synchronized Flag (RSY) (read-only, noninterruptible)p.32111.10.11.2 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.32111.10.11.3 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.32111.10.11.4 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.32111.10.11.5 End-of-Frame Flag (EOF) (read-only, noninterruptible)p.32111.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)p.32111.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)p.32211.10.12 UART Register Locationsp.32311.10.13 HSSP Register Locationsp.32411.11 Serial Port 3 – UARTp.32511.11.1 UART Operationp.32511.11.1.1 Frame Formatp.32611.11.1.2 Baud Rate Generationp.32611.11.1.3 Receive Operationp.32611.11.1.4 Transmit Operationp.32711.11.1.5 Transmit and Receive FIFOsp.32711.11.1.6 CPU and DMA Register Access Sizesp.32711.11.2 UART Register Definitionsp.32711.11.3 UART Control Register 0p.32811.11.3.1 Parity Enable (PE)p.32811.11.3.2 Odd/Even Parity Select (OES)p.32811.11.3.3 Stop Bit Select (SBS)p.32811.11.3.4 Data Size Select (DSS)p.32911.11.3.5 Sample Clock Enable (SCE)p.32911.11.3.6 Receive Clock Edge Select (RCE)p.32911.11.3.7 Transmit Clock Edge Select (TCE)p.32911.11.4 UART Control Registers 1 and 2p.33011.11.4.1 Baud Rate Divisor (BRD)p.33011.11.5 UART Control Register 3p.33111.11.5.1 Receiver Enable (RXE)p.33211.11.5.2 Transmitter Enable (TXE)p.33211.11.5.3 Break (BRK)p.33211.11.5.4 Receive FIFO Interrupt Enable (RIE)p.33211.11.5.5 Transmit FIFO Interrupt Enable (TIE)p.33311.11.5.6 Loopback Mode (LBM)p.33311.11.6 UART Data Registerp.33411.11.7 UART Status Register 0p.33511.11.7.1 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.33611.11.7.2 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.33611.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)p.33611.11.7.4 Receiver Begin of Break Status (RBB) (read/write, nonmaskable interrupt)p.33711.11.7.5 Receiver End of Break Status (REB) (read/write, nonmaskable interrupt)p.33711.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)p.33711.11.8 UART Status Register 1p.33911.11.8.1 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.33911.11.8.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.33911.11.8.3 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.33911.11.8.4 Parity Error Flag (PRE) (read-only, noninterruptible)p.33911.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)p.33911.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)p.34011.11.9 UART Register Locationsp.34111.12 Serial Port 4 – MCP / SSPp.34211.12.1 MCP Operationp.34311.12.1.1 Frame Formatp.34311.12.1.2 Audio and Telecom Sample Rates and Data Transferp.34511.12.1.3 MCP Transmit and Receive FIFO Operationp.34611.12.1.4 Codec Control Register Data Transferp.34711.12.1.5 External Clock Operationp.34811.12.1.6 Alternate SSP Pin Assignmentp.34811.12.1.7 CPU and DMA Register Access Sizesp.34811.12.2 MCP Register Definitionsp.34911.12.3 MCP Control Register 0p.34911.12.3.1 Audio Sample Rate Divisor (ASD)p.34911.12.3.2 Telecom Sample Rate Divisor (TSD)p.35011.12.3.3 Multimedia Communications Port Enable (MCE)p.35111.12.3.4 External Clock Select (ECS)p.35111.12.3.5 A/D Sampling Mode (ADM)p.35211.12.3.6 Telecom Transmit FIFO Interrupt Enable (TTE)p.35211.12.3.7 Telecom Receive FIFO Interrupt Enable (TRE)p.35211.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)p.35211.12.3.9 Audio Receive FIFO Interrupt Enable (ARE)p.35311.12.3.10 Loopback Mode (LBM)p.35311.12.3.11 External Clock Prescaler (ECP)p.35311.12.4 MCP Control Register 1p.35511.12.4.1 Clock Frequency Select (CFS)p.35511.12.5 MCP Data Registersp.35611.12.5.1 MCP Data Register 0p.35611.12.5.2 MCP Data Register 1p.35711.12.5.3 MCP Data Register 2p.35811.12.6 MCP Status Registerp.36011.12.6.1 Audio Transmit FIFO Service Request Flag (ATS) (read-only, maskable interrupt)p.36011.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)p.36011.12.6.3 Telecom Transmit FIFO Service Request Flag (TTS) (read-only, maskable interrupt)p.36111.12.6.4 Telecom Receive FIFO Service Request Flag (TRS) (read-only, maskable interrupt)p.36111.12.6.5 Audio Transmit FIFO Underrun Status (ATU) (read/write, nonmaskable interrupt)p.36111.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)p.36111.12.6.7 Telecom Transmit FIFO Underrun Status (TTU) (read/write, nonmaskable interrupt)p.36211.12.6.8 Telecom Receive FIFO Overrun Status (TRO) (read/write, nonmaskable interrupt)p.36211.12.6.9 Audio Transmit FIFO Not Full Flag (ANF) (read-only, noninterruptible)p.36211.12.6.10 Audio Receive FIFO Not Empty Flag (ANE) (read-only, noninterruptible)p.36211.12.6.11 Telecom Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.36211.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)p.36211.12.6.13 Codec Write Completed Flag (CWC) (read-only, noninterruptible)p.36311.12.6.14 Codec Read Completed Flag (CRC) (read-only, noninterruptible)p.36311.12.6.15 Audio Codec Enabled Flag (ACE) (read-only, noninterruptible)p.36311.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)p.36311.12.7 SSP Operationp.36511.12.7.1 Frame Formatp.36611.12.7.2 Baud Rate Generationp.37011.12.7.3 SSP Transmit and Receive FIFOsp.37011.12.7.4 CPU and DMA Register Access Sizesp.37111.12.7.5 Alternate SSP Pin Assignmentp.37111.12.8 SSP Register Definitionsp.37111.12.9 SSP Control Register 0p.37211.12.9.1 Data Size Select (DSS)p.37211.12.9.2 Frame Format (FRF)p.37211.12.9.3 Synchronous Serial Port Enable (SSE)p.37211.12.9.4 Serial Clock Rate (SCR)p.37311.12.10 SSP Control Register 1p.37411.12.10.1 Receive FIFO Interrupt Enable (RIE)p.37411.12.10.2 Transmit FIFO Interrupt Enable (TIE)p.37411.12.10.3 Loopback Mode (LBM)p.37511.12.10.4 Serial Clock Polarity (SPO)p.37511.12.10.5 Serial Clock Phase (SPH)p.37511.12.10.6 External Clock Select (ECS)p.37611.12.11 SSP Data Registerp.37711.12.12 SSP Status Registerp.37911.12.12.1 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.37911.12.12.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.37911.12.12.3 SSP Busy Flag (BSY) (read-only, noninterruptible)p.37911.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.37911.12.12.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.38011.12.12.6 Receiver Overrun Status (ROR) (read/write, nonmaskable interrupt)p.38011.12.13 MCP Register Locationsp.38111.12.14 SSP Register Locationsp.38211.13 Peripheral Pin Controller (PPC)p.38211.13.1 PPC Operationp.38211.13.2 PPC Register Definitionsp.38311.13.3 PPC Pin Direction Registerp.38311.13.4 PPC Pin State Registerp.38511.13.5 PPC Pin Assignment Registerp.38711.13.5.1 UART Pin Reassignment (UPR)p.38711.13.5.2 SSP Pin Reassignment (SPR)p.38711.13.6 PPC Sleep Mode Pin Direction Registerp.38811.13.7 PPC Pin Flag Registerp.39011.13.8 PPC Register Locationsp.392DC Parameters 12p.39312.1 Absolute Maximum Ratingsp.39312.2 DC Operating Conditionsp.39412.3 Power Supply Voltages and Currentsp.395AC Parameters 13p.39713.1 Test Conditionsp.39713.2 Model Considerationsp.39813.3 Memory Bus and PCMCIA Signal Timingsp.39813.4 LCD Controller Signalsp.39913.5 MCP Signalsp.39913.6 Timing Parametersp.40113.6.1 Asynchronous Signal Timing Descriptionsp.403Package and Pinout 14p.405Debug Support 15p.41115.1 Instruction Breakpointp.41115.2 Data Breakpointp.411Boundary-Scan Test Interface 16p.41316.1 Overviewp.41316.2 Resetp.41416.3 Pull-Up Resistorsp.41416.4 Instruction Registerp.41416.5 Public Instructionsp.41416.5.1 EXTEST (00000)p.41516.5.2 SAMPLE/PRELOAD (00001)p.41516.5.3 CLAMP (00100)p.41516.5.4 HIGHZ (00101)p.41616.5.5 IDCODE (00110)p.41616.5.6 BYPASS (11111)p.41616.6 Test Data Registersp.41716.6.1 Bypass Registerp.41716.6.2 Intel® StrongARM SA-1110 Device Identification (ID) Code Registerp.41816.6.3 Intel® StrongARM SA-1110 Boundary-Scan (BS) Registerp.41816.7 Boundary-Scan Interface Signalsp.419Register Summary Ap.4273.6864–MHz Oscillator Specifications Bp.433B.1 Specificationsp.433B.1.1 System Specificationsp.433B.1.1.1. Parasitic Capacitance Off-chip Between PXTAL and PEXTALp.434B.1.1.2. Parasitic Capacitance Off-chip Between PXTAL or PEXTAL and VSSp.434B.1.1.3. Parasitic Resistance Between PXTAL and PEXTALp.434B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSSp.434B.1.2 Quartz Crystal Specificationp.43532.768–KHz Oscillator Specifications Cp.437C.1 Specificationsp.437C.1.1 System Specificationsp.437C.1.1.1. Temperature Rangep.437C.1.1.2. Current Consumptionp.437C.1.1.3. Startup Timep.437C.1.1.4. Frequency Shift Due to Temperature Effect on the Circuitp.438C.1.1.5. Parasitic Capacitance Off-chip Between TXTAL and TEXTALp.438C.1.1.6. Parasitic Capacitance Off-chip Between TXTAL or TEXTAL and VSSp.438C.1.1.7. Parasitic Resistance Between TXTAL and TEXTALp.438C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSSp.438C.1.2 Quartz Crystal Specificationp.439Internal Test Dp.441D.1 Test Unit Control Register (TUCR)p.441
Page 12 of the Intel SA-1110 user manual — Table of contents
Page 12 · click to enlarge
Page 12

Table of contents

Intel® StrongARM* SA-1110 Microprocessorp.1Contentsp.3Introduction 1p.211.1 Intel® StrongARM* SA-1110 Microprocessorp.211.2 Overviewp.241.3 Example Systemp.251.4 ARM Architecturep.261.4.1 26-Bit Modep.261.4.2 Coprocessorsp.261.4.3 Memory Managementp.261.4.4 Instruction Cachep.261.4.5 Data Cachep.261.4.6 Write Bufferp.271.4.7 Read Bufferp.27Functional Description 2p.292.1 Block Diagramp.292.2 Inputs/Outputsp.312.3 Signal Descriptionp.322.4 Memory Mapp.36ARM Implementation Options 3p.393.1 Big and Little Endianp.393.2 Exceptionsp.393.2.1 Power-Up Resetp.403.2.2 ROM Size Selectp.403.2.3 Abortp.413.2.4 Vector Summaryp.423.2.5 Exception Prioritiesp.423.2.6 Interrupt Latencies and Enable Timingp.433.3 Coprocessorsp.43Instruction Set 4p.454.1 Instruction Setp.454.2 Instruction Timingp.45Caches, Write Buffer, and Read Buffer 5p.475.1 Instruction Cache (Icache)p.475.1.1 Icache Operationp.475.1.2 Icache Validityp.475.1.2.1 Software Icache Flushp.475.1.3 Icache Enable/Disable and Resetp.485.1.3.1 Enabling the Icachep.485.1.3.2 Disabling the Icachep.485.2 Data Caches (Dcaches)p.485.2.1 Cacheable Bit – Cp.495.2.1.1 Cacheable Reads – C = 1p.495.2.1.2 Noncacheable Reads – C = 0p.495.2.2 Bufferable Bit – Bp.495.2.3 Software Dcache Flushp.505.2.3.1 Doubly Mapped Spacep.505.2.4 Dcaches Enable/Disable and Resetp.505.2.4.1 Enabling the Dcachesp.515.2.4.2 Disabling the Dcachesp.515.3 Write Buffer (WB)p.515.3.1 Bufferable Bitp.515.3.2 Write Buffer Operationp.515.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)p.515.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)p.525.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0)p.525.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1)p.525.3.3 Enabling the Write Bufferp.525.3.3.1 Disabling the Write Bufferp.525.4 Read Buffer (RB)p.52Coprocessors 6p.556.1 Internal Coprocessor Instructionsp.556.2 Coprocessor 15 Definitionp.566.2.1 Register 0 – IDp.566.2.2 Register 1 – Controlp.576.2.3 Register 2 – Translation Table Basep.586.2.4 Register 3 – Domain Access Controlp.586.2.5 Register 4 – RESERVEDp.596.2.6 Register 5 – Fault Statusp.596.2.7 Register 6 – Fault Addressp.596.2.8 Register 7 – Cache Control Operationsp.596.2.9 Register 8 – TLB Operationsp.606.2.10 Register 9 – Read-Buffer Operationsp.606.2.11 Registers 10 – 12 RESERVEDp.616.2.12 Register 13 – Process ID Virtual Address Mappingp.616.2.13 Register 14 – Debug Support (Breakpoints)p.626.2.14 Register 15 – Test, Clock, and Idle Controlp.63Memory Management Unit (MMU) 7p.657.1 Overviewp.657.1.1 MMU Registersp.657.2 MMU Faults and CPU Abortsp.657.3 Data Abortsp.657.3.1 Cacheable Reads (Linefetches)p.667.3.2 Buffered Writesp.667.4 Interaction of the MMU, Icache, Dcache, and Write Bufferp.667.5 Mini Data Cachep.67Clocks 8p.698.1 Intel® StrongARM SA-1110 Crystal Oscillatorsp.698.2 Core Clock Configuration Registerp.708.2.1 Restrictions on Changing the Core Clock Configurationp.718.3 Driving Intel® StrongARM SA-1110 Crystal Pins from an External Sourcep.718.4 Clocking During Testp.72System Control Module 9p.739.1 General-Purpose I/Op.739.1.1 GPIO Register Definitionsp.749.1.1.1 GPIO Pin-Level Register (GPLR)p.759.1.1.2 GPIO Pin Direction Register (GPDR)p.769.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR)p.779.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER)p.789.1.1.5 GPIO Edge Detect Status Register (GEDR)p.799.1.1.6 GPIO Alternate Function Register (GAFR)p.809.1.2 GPIO Alternate Functionsp.819.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Functionp.829.1.3 GPIO Register Locationsp.829.2 Interrupt Controllerp.839.2.1 Interrupt Controller Register Definitionsp.849.2.1.1 Interrupt Controller Pending Register (ICPR)p.849.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP)p.869.2.1.3 Interrupt Controller Mask Register (ICMR)p.879.2.1.4 Interrupt Controller Level Register (ICLR)p.889.2.1.5 Interrupt Controller Control Register (ICCR)p.899.2.2 Interrupt Controller Register Locationsp.909.3 Real-Time Clockp.909.3.1 RTC Counter Register (RCNR)p.909.3.2 RTC Alarm Register (RTAR)p.919.3.3 RTC Status Register (RTSR)p.919.3.4 RTC Trim Register (RTTR)p.939.3.5 Trim Procedurep.939.3.5.1 Oscillator Frequency Calibrationp.939.3.5.2 RTTR Value Calculationsp.949.3.6 Real-Time Clock Register Locationsp.959.4 Operating System Timerp.959.4.1 OS Timer Count Register (OSCR)p.969.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3)p.969.4.3 OS Timer Watchdog Match Enable Register (OWER)p.969.4.4 OS Timer Status Register (OSSR)p.979.4.5 OS Timer Interrupt Enable Register (OIER)p.989.4.6 Watchdog Timerp.989.4.7 OS Timer Register Locationsp.999.5 Power Managerp.999.5.1 Run Modep.999.5.2 Idle Modep.999.5.2.1 Entering Idle Modep.1009.5.2.2 Exiting Idle Modep.1009.5.3 Sleep Modep.1019.5.3.1 CPU Preparation for Sleep Modep.1019.5.3.2 Events Causing Entry into Sleep Modep.1019.5.3.3 The Sleep Shutdown Sequencep.1019.5.3.4 During Sleep Modep.1029.5.3.5 The Sleep Wake-Up Sequencep.1039.5.3.6 Booting After Sleep Modep.1039.5.3.7 Reviving the DRAMs from Self-Refresh Modep.1049.5.4 Notes on Power Supply Sequencingp.1049.5.5 Assumed Behavior of an Intel® StrongARM SA-1110 System in Sleep Modep.1049.5.6 Pin Operation in Sleep Modep.1069.5.7 Power Manager Registersp.1079.5.7.1 Power Manager Control Register (PMCR)p.1079.5.7.2 Power Manager General Configuration Register (PCFR)p.1089.5.7.3 Power Manager PLL Configuration Register (PPCR)p.1109.5.7.4 Power Manager Wake-Up Enable Register (PWER)p.1109.5.7.5 Power Manager Sleep Status Register (PSSR)p.1119.5.7.6 Power Manager Scratch Pad Register (PSPR)p.1139.5.7.7 Power Manager GPIO Sleep State Register (PGSR)p.1139.5.7.8 Power Manager Oscillator Status Register (POSR)p.1149.5.8 Power Manager Register Locationsp.1149.6 Reset Controllerp.1159.6.1 Reset Controller Registersp.1159.6.1.1 Reset Controller Software Reset Register (RSRR)p.1159.6.1.2 Reset Controller Status Register (RCSR)p.1169.6.2 Reset Controller Register Locationsp.117Memory and PC-Card Control Module 10p.11910.1 Overview of Operationp.12010.1.1 Types of Memory Accessesp.12210.1.2 Readsp.12210.1.3 Writesp.12310.1.4 Transaction Summaryp.12310.1.5 Read-Lock-Writep.12310.1.6 Aborts and Nonexistent Memoryp.12410.2 Memory Interface Reset and Initializationp.12410.2.1 Hardware or Sleep Reset Proceduresp.12510.2.2 Software or Watchdog Reset Proceduresp.12610.3 Memory Configuration Registersp.12710.3.1 DRAM Configuration Register (MDCNFG)p.12810.3.2 DRAM Refresh Control Register (MDREFR)p.13210.3.3 CAS Waveform Rotate Registers (MDCAS00, MDCAS01, MDCAS02, MDCAS20, MDCAS21, MDCAS22)p.13610.3.3.1 MDCAS Registers with Asynchronous DRAMp.13610.3.3.2 MDCAS Registers with SDRAM and SMROMp.13710.3.4 Static Memory Control Registers (MSC2 – 0)p.13910.3.5 Expansion Memory (PC-Card) Configuration Register (MECR)p.14210.4 SMROM Configuration Register (SMCNFG)p.14410.4.1 Changing SMROM RAS Latencyp.14710.5 Dynamic Interface Operationp.14810.5.1 DRAM Overviewp.14810.5.2 DRAM Timingp.15010.5.3 SDRAM Overviewp.15210.5.4 SDRAM Commandsp.15410.5.5 SDRAM State Machinep.15510.5.6 DRAM/SDRAM Refreshp.16010.5.7 DRAM/SDRAM Self-Refresh in Sleep Modep.16110.6 Static Memory Interfacep.16210.6.1 ROM Interface Overviewp.16310.6.2 ROM Timing Diagrams and Parametersp.16310.6.3 SRAM Interface Overviewp.16710.6.4 SRAM Timing Diagrams and Parametersp.16710.6.5 Variable Latency I/O Interface Overviewp.16910.6.6 Variable Latency I/O Timing Diagrams and Parametersp.16910.6.7 FLASH Memory Interface Overviewp.17210.6.8 FLASH Memory Timing Diagrams and Parametersp.17210.6.9 SMROM Overviewp.17310.6.10 SMROM Commandsp.17310.6.11 SMROM State Machinep.17410.7 PC-Card Overviewp.17710.7.1 8-, 16-, and 32-Bit Data Bus Operationp.17910.7.2 External Logic for PC-Card Implementationp.18010.7.3 PC-Card Interface Timing Diagrams and Parametersp.18310.8 Alternate Memory Bus Master Modep.18510.9 Memory System Examplesp.18610.10 SA1110 Memory Configuration Toolp.190Peripheral Control Module 11p.20511.1 Read/Write Interfacep.20511.2 Memory Organizationp.20611.3 Interruptsp.20711.4 Peripheral Pinsp.20811.5 Use of the GPIO Pins for Alternate Functionsp.20911.6 DMA Controllerp.21011.6.1 DMA Register Definitionsp.21111.6.1.1 DMA Device Address Register (DDARn)p.21111.6.1.2 DMA Control/Status Register (DCSRn)p.21311.6.1.3 DMA Buffer A Start Address Register (DBSAn)p.21511.6.1.4 DMA Buffer A Transfer Count Register (DBTAn)p.21611.6.1.5 DMA Buffer B Start Address Register (DBSBn)p.21611.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)p.21611.6.2 DMA Register Listp.21711.7 LCD Controllerp.21911.7.1 LCD Controller Operationp.22011.7.1.1 DMA to Memory Interfacep.22111.7.1.2 Frame Bufferp.22111.7.1.3 Input FIFOp.22611.7.1.4 Lookup Palettep.22611.7.1.5 Color/Gray-Scale Ditheringp.22611.7.1.6 Output FIFOp.22711.7.1.7 LCD Controller Pinsp.22711.7.2 LCD Controller Register Definitionsp.22811.7.3 LCD Controller Control Register 0p.22911.7.3.1 LCD Enable (LEN)p.22911.7.3.2 Color/Monochrome Select (CMS)p.22911.7.3.3 Single-/Dual-Panel Select (SDS)p.22911.7.3.4 LCD Disable Done Interrupt Mask (LDM)p.23111.7.3.5 Base Address Update Interrupt Mask (BAM)p.23211.7.3.6 Error Interrupt Mask (ERM)p.23211.7.3.7 Passive/Active Display Select (PAS)p.23211.7.3.8 Big/Little Endian Select (BLE)p.23311.7.3.9 Double-Pixel Data (DPD) Pin Modep.23411.7.3.10 Vertical Slant Line Correction (VSC)p.23411.7.3.11 Palette DMA Request Delay (PDD)p.23411.7.4 LCD Controller Control Register 1p.23611.7.4.1 Pixels Per Line (PPL)p.23711.7.4.2 Horizontal Sync Pulse Width (HSW)p.23711.7.4.3 End-of-Line Pixel Clock Wait Count (ELW)p.23711.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)p.23711.7.5 LCD Controller Control Register 2p.23811.7.5.1 Lines Per Panel (LPP)p.23811.7.5.2 Vertical Sync Pulse Width (VSW)p.23911.7.5.3 End-of-Frame Line Clock Wait Count (EFW)p.23911.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)p.24011.7.6 LCD Controller Control Register 3p.24111.7.6.1 Pixel Clock Divider (PCD)p.24211.7.6.2 AC Bias Pin Frequency (ACB)p.24211.7.6.3 AC Bias Pin Transitions Per Interrupt (API)p.24211.7.6.4 Vertical Sync Polarity (VSP)p.24311.7.6.5 Horizontal Sync Polarity (HSP)p.24311.7.6.6 Pixel Clock Polarity (PCP)p.24311.7.6.7 Output Enable Polarity (OEP)p.24311.7.7 LCD Controller DMA Registersp.24511.7.8 DMA Channel 1 Base Address Registerp.24511.7.9 DMA Channel 1 Current Address Registerp.24611.7.10 DMA Channel 2 Base and Current Address Registersp.24711.7.11 LCD Controller Status Registerp.24811.7.11.1 LCD Disable Done Flag (LDD) (read/write, maskable interrupt)p.24911.7.11.2 Base Address Update Flag (BAU) (read-only, maskable interrupt)p.24911.7.11.3 Bus Error Status (BER) (read/write, maskable interrupt)p.24911.7.11.4 AC Bias Count Status (ABC) (read/write, nonmaskable interrupt)p.24911.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)p.24911.7.11.6 Input FIFO Underrun Lower Panel Status (IUL) (read/write, maskable interrupt)p.25011.7.11.7 Input FIFO Overrun Upper Panel Status (IOU) (read/write, maskable interrupt)p.25011.7.11.8 Input FIFO Underrun Upper Panel Status (IUU) (read/write, maskable interrupt)p.25011.7.11.9 Output FIFO Overrun Lower Panel Status (OOL) (read/write, maskable interrupt)p.25011.7.11.10 Output FIFO Underrun Lower Panel Status (OUL) (read only, maskable interrupt)p.25011.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)p.25011.7.11.12 Output FIFO Underrun Upper Panel Status (OUU) (read/write, maskable interrupt)p.25111.7.12 LCD Controller Register Locationsp.25211.7.13 LCD Controller Pin Timing Diagramsp.25411.8 Serial Port 0 – USB Device Controller (UDC)p.25911.8.1 USB Operationp.26111.8.1.1 Signalling Levelsp.26111.8.1.2 Connecting the USB to the SA-1110p.26211.8.1.3 Bit Encodingp.26311.8.1.4 Field Formatsp.26411.8.1.5 Packet Typesp.26511.8.1.6 Transaction Formatsp.26711.8.1.7 SA-1110 UDC Device-Request Commandsp.26911.8.1.8 Using DMAp.27111.8.1.9 Software Control of the SA-1110 UDCp.27111.8.1.10 SA-1110 USB Example Codep.27811.8.2 SA-1110 UDC Register Definitionsp.27811.8.3 UDC Control Register (UDCCR)p.27911.8.3.1 UDC Disable (UDD)p.28011.8.3.2 UDC Active (UDA)p.28011.8.3.3 Resume Interrupt Mask (RESIM)p.28011.8.3.4 Endpoint 0 Interrupt Mask (EIM)p.28111.8.3.5 Receive Interrupt Mask (RIM)p.28111.8.3.6 Transmit Interrupt Mask (TIM)p.28111.8.3.7 Suspend Interrupt Mask (SUSIM)p.28211.8.3.8 Reserved/B5p.28211.8.4 UDC Address Register (UDCAR)p.28211.8.5 UDC OUT Maximum Packet Register (UDCOMP)p.28311.8.6 UDC IN Maximum Packet Register (UDCIMP)p.28411.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)p.28411.8.7.1 OUT Packet Ready (OPR)p.28511.8.7.2 IN Packet Ready (IPR)p.28511.8.7.3 Sent Stall (SST)p.28611.8.7.4 Force Stall (FST)p.28611.8.7.5 Data End (DE)p.28611.8.7.6 Setup End (SE)p.28611.8.7.7 Serviced OPR (SO)p.28611.8.7.8 Serviced Setup End (SSE)p.28611.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)p.28611.8.8.1 Receive FIFO Service (RFS)p.28711.8.8.2 Receive Packet Complete (RPC)p.28711.8.8.3 Receive Packet Error (RPE)p.28811.8.8.4 Sent Stall (SST)p.28811.8.8.5 Force Stall (FST)p.28811.8.8.6 Receive FIFO Not Empty (RNE)p.28811.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)p.28811.8.9.1 Transmit FIFO Service (TFS)p.28911.8.9.2 Transmit Packet Complete (TPC)p.28911.8.9.3 Transmit Packet Error (TPE)p.28911.8.9.4 Transmit Underrun (TUR)p.29011.8.9.5 Sent STALL (SST)p.29011.8.9.6 Force STALL (FST)p.29011.8.10 UDC Endpoint 0 Data Register (UDCD0)p.29011.8.11 UDC Endpoint 0 Write Count Register (UDCWC)p.29111.8.12 UDC Data Register (UDCDR)p.29211.8.13 UDC Status/Interrupt Register (UDCSR)p.29211.8.13.1 Endpoint 0 Interrupt Request (EIR)p.29311.8.13.2 Receive Interrupt Request (RIR)p.29411.8.13.3 Transmit Interrupt Request (TIR)p.29411.8.13.4 Suspend Interrupt Request (SUSIR)p.29411.8.13.5 Resume Interrupt Request (RESIR)p.29411.8.13.6 Reset Interrupt Request (RSTIR)p.29411.8.14 SA-1110 UDC Register Locationsp.29411.9 Serial Port 1 – GPCLK/UARTp.29511.9.1 GPCLK Operationp.29511.9.1.1 Simultaneous Use of the UART and GPCLKp.29611.9.2 GPCLK Control Register 0p.29611.9.2.1 GPCLK/UART Select (SUS)p.29611.9.2.2 Sample Clock Enable (SCE)p.29611.9.2.3 Sample Clock Direction (SCD)p.29611.9.3 GPCLK Control Register 1p.29711.9.3.1 Transmit Enable (TXE)p.29711.9.4 GPCLK Control Registers 2 and 3p.29811.9.4.1 Baud Rate Divisor (BRD)p.29811.9.5 UART Register Locationsp.29911.9.6 GPCLK Register Locationsp.30011.10 Serial Port 2 – Infrared Communications Port (ICP)p.30011.10.1 Low-Speed ICP Operationp.30111.10.1.1 HP-SIR Modulationp.30111.10.1.2 UART Frame Formatp.30211.10.2 High-Speed ICP Operationp.30211.10.2.1 4PPM Modulationp.30211.10.2.2 HSSP Frame Formatp.30311.10.2.3 Address Fieldp.30411.10.2.4 Control Fieldp.30411.10.2.5 Data Fieldp.30411.10.2.6 CRC Fieldp.30411.10.2.7 Baud Rate Generationp.30511.10.2.8 Receive Operationp.30511.10.2.9 Transmit Operationp.30611.10.2.10 Transmit and Receive FIFOsp.30711.10.2.11 CPU and DMA Register Access Sizesp.30811.10.3 UART Register Definitionp.30811.10.4 UART Control Register 4p.30811.10.4.1 HP-SIR Enable (HSE)p.30811.10.4.2 Low-Power Mode (LPM)p.30811.10.5 HSSP Register Definitionsp.30911.10.6 HSSP Control Register 0p.30911.10.6.1 IrDA Transmission Rate (ITR)p.30911.10.6.2 Loopback Mode (LBM)p.31011.10.6.3 Transmit FIFO Underrun Select (TUS)p.31011.10.6.4 Transmit Enable (TXE)p.31111.10.6.5 Receive Enable (RXE)p.31111.10.6.6 Receive FIFO Interrupt Enable (RIE)p.31111.10.6.7 Transmit FIFO Interrupt Enable (TIE)p.31211.10.6.8 Address Match Enable (AME)p.31211.10.7 HSSP Control Register 1p.31311.10.7.1 Address Match Value (AMV)p.31311.10.8 HSSP Control Register 2p.31411.10.8.1 Transmit Pin Polarity Select (TXP)p.31411.10.8.2 Receive Pin Polarity Select (RXP)p.31511.10.9 HSSP Data Registerp.31611.10.10 HSSP Status Register 0p.31711.10.10.1 End/Error in FIFO Status (EIF) (read-only, nonmaskable interrupt)p.31811.10.10.2 Transmit Underrun Status (TUR) (read/write, maskable interrupt)p.31811.10.10.3 Receiver Abort Status (RAB) (read/write, nonmaskable interrupt)p.31811.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.31811.10.10.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.31911.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)p.31911.10.11 HSSP Status Register 1p.32011.10.11.1 Receiver Synchronized Flag (RSY) (read-only, noninterruptible)p.32111.10.11.2 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.32111.10.11.3 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.32111.10.11.4 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.32111.10.11.5 End-of-Frame Flag (EOF) (read-only, noninterruptible)p.32111.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)p.32111.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)p.32211.10.12 UART Register Locationsp.32311.10.13 HSSP Register Locationsp.32411.11 Serial Port 3 – UARTp.32511.11.1 UART Operationp.32511.11.1.1 Frame Formatp.32611.11.1.2 Baud Rate Generationp.32611.11.1.3 Receive Operationp.32611.11.1.4 Transmit Operationp.32711.11.1.5 Transmit and Receive FIFOsp.32711.11.1.6 CPU and DMA Register Access Sizesp.32711.11.2 UART Register Definitionsp.32711.11.3 UART Control Register 0p.32811.11.3.1 Parity Enable (PE)p.32811.11.3.2 Odd/Even Parity Select (OES)p.32811.11.3.3 Stop Bit Select (SBS)p.32811.11.3.4 Data Size Select (DSS)p.32911.11.3.5 Sample Clock Enable (SCE)p.32911.11.3.6 Receive Clock Edge Select (RCE)p.32911.11.3.7 Transmit Clock Edge Select (TCE)p.32911.11.4 UART Control Registers 1 and 2p.33011.11.4.1 Baud Rate Divisor (BRD)p.33011.11.5 UART Control Register 3p.33111.11.5.1 Receiver Enable (RXE)p.33211.11.5.2 Transmitter Enable (TXE)p.33211.11.5.3 Break (BRK)p.33211.11.5.4 Receive FIFO Interrupt Enable (RIE)p.33211.11.5.5 Transmit FIFO Interrupt Enable (TIE)p.33311.11.5.6 Loopback Mode (LBM)p.33311.11.6 UART Data Registerp.33411.11.7 UART Status Register 0p.33511.11.7.1 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.33611.11.7.2 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.33611.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)p.33611.11.7.4 Receiver Begin of Break Status (RBB) (read/write, nonmaskable interrupt)p.33711.11.7.5 Receiver End of Break Status (REB) (read/write, nonmaskable interrupt)p.33711.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)p.33711.11.8 UART Status Register 1p.33911.11.8.1 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.33911.11.8.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.33911.11.8.3 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.33911.11.8.4 Parity Error Flag (PRE) (read-only, noninterruptible)p.33911.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)p.33911.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)p.34011.11.9 UART Register Locationsp.34111.12 Serial Port 4 – MCP / SSPp.34211.12.1 MCP Operationp.34311.12.1.1 Frame Formatp.34311.12.1.2 Audio and Telecom Sample Rates and Data Transferp.34511.12.1.3 MCP Transmit and Receive FIFO Operationp.34611.12.1.4 Codec Control Register Data Transferp.34711.12.1.5 External Clock Operationp.34811.12.1.6 Alternate SSP Pin Assignmentp.34811.12.1.7 CPU and DMA Register Access Sizesp.34811.12.2 MCP Register Definitionsp.34911.12.3 MCP Control Register 0p.34911.12.3.1 Audio Sample Rate Divisor (ASD)p.34911.12.3.2 Telecom Sample Rate Divisor (TSD)p.35011.12.3.3 Multimedia Communications Port Enable (MCE)p.35111.12.3.4 External Clock Select (ECS)p.35111.12.3.5 A/D Sampling Mode (ADM)p.35211.12.3.6 Telecom Transmit FIFO Interrupt Enable (TTE)p.35211.12.3.7 Telecom Receive FIFO Interrupt Enable (TRE)p.35211.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)p.35211.12.3.9 Audio Receive FIFO Interrupt Enable (ARE)p.35311.12.3.10 Loopback Mode (LBM)p.35311.12.3.11 External Clock Prescaler (ECP)p.35311.12.4 MCP Control Register 1p.35511.12.4.1 Clock Frequency Select (CFS)p.35511.12.5 MCP Data Registersp.35611.12.5.1 MCP Data Register 0p.35611.12.5.2 MCP Data Register 1p.35711.12.5.3 MCP Data Register 2p.35811.12.6 MCP Status Registerp.36011.12.6.1 Audio Transmit FIFO Service Request Flag (ATS) (read-only, maskable interrupt)p.36011.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)p.36011.12.6.3 Telecom Transmit FIFO Service Request Flag (TTS) (read-only, maskable interrupt)p.36111.12.6.4 Telecom Receive FIFO Service Request Flag (TRS) (read-only, maskable interrupt)p.36111.12.6.5 Audio Transmit FIFO Underrun Status (ATU) (read/write, nonmaskable interrupt)p.36111.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)p.36111.12.6.7 Telecom Transmit FIFO Underrun Status (TTU) (read/write, nonmaskable interrupt)p.36211.12.6.8 Telecom Receive FIFO Overrun Status (TRO) (read/write, nonmaskable interrupt)p.36211.12.6.9 Audio Transmit FIFO Not Full Flag (ANF) (read-only, noninterruptible)p.36211.12.6.10 Audio Receive FIFO Not Empty Flag (ANE) (read-only, noninterruptible)p.36211.12.6.11 Telecom Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.36211.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)p.36211.12.6.13 Codec Write Completed Flag (CWC) (read-only, noninterruptible)p.36311.12.6.14 Codec Read Completed Flag (CRC) (read-only, noninterruptible)p.36311.12.6.15 Audio Codec Enabled Flag (ACE) (read-only, noninterruptible)p.36311.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)p.36311.12.7 SSP Operationp.36511.12.7.1 Frame Formatp.36611.12.7.2 Baud Rate Generationp.37011.12.7.3 SSP Transmit and Receive FIFOsp.37011.12.7.4 CPU and DMA Register Access Sizesp.37111.12.7.5 Alternate SSP Pin Assignmentp.37111.12.8 SSP Register Definitionsp.37111.12.9 SSP Control Register 0p.37211.12.9.1 Data Size Select (DSS)p.37211.12.9.2 Frame Format (FRF)p.37211.12.9.3 Synchronous Serial Port Enable (SSE)p.37211.12.9.4 Serial Clock Rate (SCR)p.37311.12.10 SSP Control Register 1p.37411.12.10.1 Receive FIFO Interrupt Enable (RIE)p.37411.12.10.2 Transmit FIFO Interrupt Enable (TIE)p.37411.12.10.3 Loopback Mode (LBM)p.37511.12.10.4 Serial Clock Polarity (SPO)p.37511.12.10.5 Serial Clock Phase (SPH)p.37511.12.10.6 External Clock Select (ECS)p.37611.12.11 SSP Data Registerp.37711.12.12 SSP Status Registerp.37911.12.12.1 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.37911.12.12.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.37911.12.12.3 SSP Busy Flag (BSY) (read-only, noninterruptible)p.37911.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.37911.12.12.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.38011.12.12.6 Receiver Overrun Status (ROR) (read/write, nonmaskable interrupt)p.38011.12.13 MCP Register Locationsp.38111.12.14 SSP Register Locationsp.38211.13 Peripheral Pin Controller (PPC)p.38211.13.1 PPC Operationp.38211.13.2 PPC Register Definitionsp.38311.13.3 PPC Pin Direction Registerp.38311.13.4 PPC Pin State Registerp.38511.13.5 PPC Pin Assignment Registerp.38711.13.5.1 UART Pin Reassignment (UPR)p.38711.13.5.2 SSP Pin Reassignment (SPR)p.38711.13.6 PPC Sleep Mode Pin Direction Registerp.38811.13.7 PPC Pin Flag Registerp.39011.13.8 PPC Register Locationsp.392DC Parameters 12p.39312.1 Absolute Maximum Ratingsp.39312.2 DC Operating Conditionsp.39412.3 Power Supply Voltages and Currentsp.395AC Parameters 13p.39713.1 Test Conditionsp.39713.2 Model Considerationsp.39813.3 Memory Bus and PCMCIA Signal Timingsp.39813.4 LCD Controller Signalsp.39913.5 MCP Signalsp.39913.6 Timing Parametersp.40113.6.1 Asynchronous Signal Timing Descriptionsp.403Package and Pinout 14p.405Debug Support 15p.41115.1 Instruction Breakpointp.41115.2 Data Breakpointp.411Boundary-Scan Test Interface 16p.41316.1 Overviewp.41316.2 Resetp.41416.3 Pull-Up Resistorsp.41416.4 Instruction Registerp.41416.5 Public Instructionsp.41416.5.1 EXTEST (00000)p.41516.5.2 SAMPLE/PRELOAD (00001)p.41516.5.3 CLAMP (00100)p.41516.5.4 HIGHZ (00101)p.41616.5.5 IDCODE (00110)p.41616.5.6 BYPASS (11111)p.41616.6 Test Data Registersp.41716.6.1 Bypass Registerp.41716.6.2 Intel® StrongARM SA-1110 Device Identification (ID) Code Registerp.41816.6.3 Intel® StrongARM SA-1110 Boundary-Scan (BS) Registerp.41816.7 Boundary-Scan Interface Signalsp.419Register Summary Ap.4273.6864–MHz Oscillator Specifications Bp.433B.1 Specificationsp.433B.1.1 System Specificationsp.433B.1.1.1. Parasitic Capacitance Off-chip Between PXTAL and PEXTALp.434B.1.1.2. Parasitic Capacitance Off-chip Between PXTAL or PEXTAL and VSSp.434B.1.1.3. Parasitic Resistance Between PXTAL and PEXTALp.434B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSSp.434B.1.2 Quartz Crystal Specificationp.43532.768–KHz Oscillator Specifications Cp.437C.1 Specificationsp.437C.1.1 System Specificationsp.437C.1.1.1. Temperature Rangep.437C.1.1.2. Current Consumptionp.437C.1.1.3. Startup Timep.437C.1.1.4. Frequency Shift Due to Temperature Effect on the Circuitp.438C.1.1.5. Parasitic Capacitance Off-chip Between TXTAL and TEXTALp.438C.1.1.6. Parasitic Capacitance Off-chip Between TXTAL or TEXTAL and VSSp.438C.1.1.7. Parasitic Resistance Between TXTAL and TEXTALp.438C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSSp.438C.1.2 Quartz Crystal Specificationp.439Internal Test Dp.441D.1 Test Unit Control Register (TUCR)p.441
Page 13 of the Intel SA-1110 user manual — Table of contents
Page 13 · click to enlarge
Page 13

Table of contents

Intel® StrongARM* SA-1110 Microprocessorp.1Contentsp.3Introduction 1p.211.1 Intel® StrongARM* SA-1110 Microprocessorp.211.2 Overviewp.241.3 Example Systemp.251.4 ARM Architecturep.261.4.1 26-Bit Modep.261.4.2 Coprocessorsp.261.4.3 Memory Managementp.261.4.4 Instruction Cachep.261.4.5 Data Cachep.261.4.6 Write Bufferp.271.4.7 Read Bufferp.27Functional Description 2p.292.1 Block Diagramp.292.2 Inputs/Outputsp.312.3 Signal Descriptionp.322.4 Memory Mapp.36ARM Implementation Options 3p.393.1 Big and Little Endianp.393.2 Exceptionsp.393.2.1 Power-Up Resetp.403.2.2 ROM Size Selectp.403.2.3 Abortp.413.2.4 Vector Summaryp.423.2.5 Exception Prioritiesp.423.2.6 Interrupt Latencies and Enable Timingp.433.3 Coprocessorsp.43Instruction Set 4p.454.1 Instruction Setp.454.2 Instruction Timingp.45Caches, Write Buffer, and Read Buffer 5p.475.1 Instruction Cache (Icache)p.475.1.1 Icache Operationp.475.1.2 Icache Validityp.475.1.2.1 Software Icache Flushp.475.1.3 Icache Enable/Disable and Resetp.485.1.3.1 Enabling the Icachep.485.1.3.2 Disabling the Icachep.485.2 Data Caches (Dcaches)p.485.2.1 Cacheable Bit – Cp.495.2.1.1 Cacheable Reads – C = 1p.495.2.1.2 Noncacheable Reads – C = 0p.495.2.2 Bufferable Bit – Bp.495.2.3 Software Dcache Flushp.505.2.3.1 Doubly Mapped Spacep.505.2.4 Dcaches Enable/Disable and Resetp.505.2.4.1 Enabling the Dcachesp.515.2.4.2 Disabling the Dcachesp.515.3 Write Buffer (WB)p.515.3.1 Bufferable Bitp.515.3.2 Write Buffer Operationp.515.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)p.515.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)p.525.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0)p.525.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1)p.525.3.3 Enabling the Write Bufferp.525.3.3.1 Disabling the Write Bufferp.525.4 Read Buffer (RB)p.52Coprocessors 6p.556.1 Internal Coprocessor Instructionsp.556.2 Coprocessor 15 Definitionp.566.2.1 Register 0 – IDp.566.2.2 Register 1 – Controlp.576.2.3 Register 2 – Translation Table Basep.586.2.4 Register 3 – Domain Access Controlp.586.2.5 Register 4 – RESERVEDp.596.2.6 Register 5 – Fault Statusp.596.2.7 Register 6 – Fault Addressp.596.2.8 Register 7 – Cache Control Operationsp.596.2.9 Register 8 – TLB Operationsp.606.2.10 Register 9 – Read-Buffer Operationsp.606.2.11 Registers 10 – 12 RESERVEDp.616.2.12 Register 13 – Process ID Virtual Address Mappingp.616.2.13 Register 14 – Debug Support (Breakpoints)p.626.2.14 Register 15 – Test, Clock, and Idle Controlp.63Memory Management Unit (MMU) 7p.657.1 Overviewp.657.1.1 MMU Registersp.657.2 MMU Faults and CPU Abortsp.657.3 Data Abortsp.657.3.1 Cacheable Reads (Linefetches)p.667.3.2 Buffered Writesp.667.4 Interaction of the MMU, Icache, Dcache, and Write Bufferp.667.5 Mini Data Cachep.67Clocks 8p.698.1 Intel® StrongARM SA-1110 Crystal Oscillatorsp.698.2 Core Clock Configuration Registerp.708.2.1 Restrictions on Changing the Core Clock Configurationp.718.3 Driving Intel® StrongARM SA-1110 Crystal Pins from an External Sourcep.718.4 Clocking During Testp.72System Control Module 9p.739.1 General-Purpose I/Op.739.1.1 GPIO Register Definitionsp.749.1.1.1 GPIO Pin-Level Register (GPLR)p.759.1.1.2 GPIO Pin Direction Register (GPDR)p.769.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR)p.779.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER)p.789.1.1.5 GPIO Edge Detect Status Register (GEDR)p.799.1.1.6 GPIO Alternate Function Register (GAFR)p.809.1.2 GPIO Alternate Functionsp.819.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Functionp.829.1.3 GPIO Register Locationsp.829.2 Interrupt Controllerp.839.2.1 Interrupt Controller Register Definitionsp.849.2.1.1 Interrupt Controller Pending Register (ICPR)p.849.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP)p.869.2.1.3 Interrupt Controller Mask Register (ICMR)p.879.2.1.4 Interrupt Controller Level Register (ICLR)p.889.2.1.5 Interrupt Controller Control Register (ICCR)p.899.2.2 Interrupt Controller Register Locationsp.909.3 Real-Time Clockp.909.3.1 RTC Counter Register (RCNR)p.909.3.2 RTC Alarm Register (RTAR)p.919.3.3 RTC Status Register (RTSR)p.919.3.4 RTC Trim Register (RTTR)p.939.3.5 Trim Procedurep.939.3.5.1 Oscillator Frequency Calibrationp.939.3.5.2 RTTR Value Calculationsp.949.3.6 Real-Time Clock Register Locationsp.959.4 Operating System Timerp.959.4.1 OS Timer Count Register (OSCR)p.969.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3)p.969.4.3 OS Timer Watchdog Match Enable Register (OWER)p.969.4.4 OS Timer Status Register (OSSR)p.979.4.5 OS Timer Interrupt Enable Register (OIER)p.989.4.6 Watchdog Timerp.989.4.7 OS Timer Register Locationsp.999.5 Power Managerp.999.5.1 Run Modep.999.5.2 Idle Modep.999.5.2.1 Entering Idle Modep.1009.5.2.2 Exiting Idle Modep.1009.5.3 Sleep Modep.1019.5.3.1 CPU Preparation for Sleep Modep.1019.5.3.2 Events Causing Entry into Sleep Modep.1019.5.3.3 The Sleep Shutdown Sequencep.1019.5.3.4 During Sleep Modep.1029.5.3.5 The Sleep Wake-Up Sequencep.1039.5.3.6 Booting After Sleep Modep.1039.5.3.7 Reviving the DRAMs from Self-Refresh Modep.1049.5.4 Notes on Power Supply Sequencingp.1049.5.5 Assumed Behavior of an Intel® StrongARM SA-1110 System in Sleep Modep.1049.5.6 Pin Operation in Sleep Modep.1069.5.7 Power Manager Registersp.1079.5.7.1 Power Manager Control Register (PMCR)p.1079.5.7.2 Power Manager General Configuration Register (PCFR)p.1089.5.7.3 Power Manager PLL Configuration Register (PPCR)p.1109.5.7.4 Power Manager Wake-Up Enable Register (PWER)p.1109.5.7.5 Power Manager Sleep Status Register (PSSR)p.1119.5.7.6 Power Manager Scratch Pad Register (PSPR)p.1139.5.7.7 Power Manager GPIO Sleep State Register (PGSR)p.1139.5.7.8 Power Manager Oscillator Status Register (POSR)p.1149.5.8 Power Manager Register Locationsp.1149.6 Reset Controllerp.1159.6.1 Reset Controller Registersp.1159.6.1.1 Reset Controller Software Reset Register (RSRR)p.1159.6.1.2 Reset Controller Status Register (RCSR)p.1169.6.2 Reset Controller Register Locationsp.117Memory and PC-Card Control Module 10p.11910.1 Overview of Operationp.12010.1.1 Types of Memory Accessesp.12210.1.2 Readsp.12210.1.3 Writesp.12310.1.4 Transaction Summaryp.12310.1.5 Read-Lock-Writep.12310.1.6 Aborts and Nonexistent Memoryp.12410.2 Memory Interface Reset and Initializationp.12410.2.1 Hardware or Sleep Reset Proceduresp.12510.2.2 Software or Watchdog Reset Proceduresp.12610.3 Memory Configuration Registersp.12710.3.1 DRAM Configuration Register (MDCNFG)p.12810.3.2 DRAM Refresh Control Register (MDREFR)p.13210.3.3 CAS Waveform Rotate Registers (MDCAS00, MDCAS01, MDCAS02, MDCAS20, MDCAS21, MDCAS22)p.13610.3.3.1 MDCAS Registers with Asynchronous DRAMp.13610.3.3.2 MDCAS Registers with SDRAM and SMROMp.13710.3.4 Static Memory Control Registers (MSC2 – 0)p.13910.3.5 Expansion Memory (PC-Card) Configuration Register (MECR)p.14210.4 SMROM Configuration Register (SMCNFG)p.14410.4.1 Changing SMROM RAS Latencyp.14710.5 Dynamic Interface Operationp.14810.5.1 DRAM Overviewp.14810.5.2 DRAM Timingp.15010.5.3 SDRAM Overviewp.15210.5.4 SDRAM Commandsp.15410.5.5 SDRAM State Machinep.15510.5.6 DRAM/SDRAM Refreshp.16010.5.7 DRAM/SDRAM Self-Refresh in Sleep Modep.16110.6 Static Memory Interfacep.16210.6.1 ROM Interface Overviewp.16310.6.2 ROM Timing Diagrams and Parametersp.16310.6.3 SRAM Interface Overviewp.16710.6.4 SRAM Timing Diagrams and Parametersp.16710.6.5 Variable Latency I/O Interface Overviewp.16910.6.6 Variable Latency I/O Timing Diagrams and Parametersp.16910.6.7 FLASH Memory Interface Overviewp.17210.6.8 FLASH Memory Timing Diagrams and Parametersp.17210.6.9 SMROM Overviewp.17310.6.10 SMROM Commandsp.17310.6.11 SMROM State Machinep.17410.7 PC-Card Overviewp.17710.7.1 8-, 16-, and 32-Bit Data Bus Operationp.17910.7.2 External Logic for PC-Card Implementationp.18010.7.3 PC-Card Interface Timing Diagrams and Parametersp.18310.8 Alternate Memory Bus Master Modep.18510.9 Memory System Examplesp.18610.10 SA1110 Memory Configuration Toolp.190Peripheral Control Module 11p.20511.1 Read/Write Interfacep.20511.2 Memory Organizationp.20611.3 Interruptsp.20711.4 Peripheral Pinsp.20811.5 Use of the GPIO Pins for Alternate Functionsp.20911.6 DMA Controllerp.21011.6.1 DMA Register Definitionsp.21111.6.1.1 DMA Device Address Register (DDARn)p.21111.6.1.2 DMA Control/Status Register (DCSRn)p.21311.6.1.3 DMA Buffer A Start Address Register (DBSAn)p.21511.6.1.4 DMA Buffer A Transfer Count Register (DBTAn)p.21611.6.1.5 DMA Buffer B Start Address Register (DBSBn)p.21611.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)p.21611.6.2 DMA Register Listp.21711.7 LCD Controllerp.21911.7.1 LCD Controller Operationp.22011.7.1.1 DMA to Memory Interfacep.22111.7.1.2 Frame Bufferp.22111.7.1.3 Input FIFOp.22611.7.1.4 Lookup Palettep.22611.7.1.5 Color/Gray-Scale Ditheringp.22611.7.1.6 Output FIFOp.22711.7.1.7 LCD Controller Pinsp.22711.7.2 LCD Controller Register Definitionsp.22811.7.3 LCD Controller Control Register 0p.22911.7.3.1 LCD Enable (LEN)p.22911.7.3.2 Color/Monochrome Select (CMS)p.22911.7.3.3 Single-/Dual-Panel Select (SDS)p.22911.7.3.4 LCD Disable Done Interrupt Mask (LDM)p.23111.7.3.5 Base Address Update Interrupt Mask (BAM)p.23211.7.3.6 Error Interrupt Mask (ERM)p.23211.7.3.7 Passive/Active Display Select (PAS)p.23211.7.3.8 Big/Little Endian Select (BLE)p.23311.7.3.9 Double-Pixel Data (DPD) Pin Modep.23411.7.3.10 Vertical Slant Line Correction (VSC)p.23411.7.3.11 Palette DMA Request Delay (PDD)p.23411.7.4 LCD Controller Control Register 1p.23611.7.4.1 Pixels Per Line (PPL)p.23711.7.4.2 Horizontal Sync Pulse Width (HSW)p.23711.7.4.3 End-of-Line Pixel Clock Wait Count (ELW)p.23711.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)p.23711.7.5 LCD Controller Control Register 2p.23811.7.5.1 Lines Per Panel (LPP)p.23811.7.5.2 Vertical Sync Pulse Width (VSW)p.23911.7.5.3 End-of-Frame Line Clock Wait Count (EFW)p.23911.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)p.24011.7.6 LCD Controller Control Register 3p.24111.7.6.1 Pixel Clock Divider (PCD)p.24211.7.6.2 AC Bias Pin Frequency (ACB)p.24211.7.6.3 AC Bias Pin Transitions Per Interrupt (API)p.24211.7.6.4 Vertical Sync Polarity (VSP)p.24311.7.6.5 Horizontal Sync Polarity (HSP)p.24311.7.6.6 Pixel Clock Polarity (PCP)p.24311.7.6.7 Output Enable Polarity (OEP)p.24311.7.7 LCD Controller DMA Registersp.24511.7.8 DMA Channel 1 Base Address Registerp.24511.7.9 DMA Channel 1 Current Address Registerp.24611.7.10 DMA Channel 2 Base and Current Address Registersp.24711.7.11 LCD Controller Status Registerp.24811.7.11.1 LCD Disable Done Flag (LDD) (read/write, maskable interrupt)p.24911.7.11.2 Base Address Update Flag (BAU) (read-only, maskable interrupt)p.24911.7.11.3 Bus Error Status (BER) (read/write, maskable interrupt)p.24911.7.11.4 AC Bias Count Status (ABC) (read/write, nonmaskable interrupt)p.24911.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)p.24911.7.11.6 Input FIFO Underrun Lower Panel Status (IUL) (read/write, maskable interrupt)p.25011.7.11.7 Input FIFO Overrun Upper Panel Status (IOU) (read/write, maskable interrupt)p.25011.7.11.8 Input FIFO Underrun Upper Panel Status (IUU) (read/write, maskable interrupt)p.25011.7.11.9 Output FIFO Overrun Lower Panel Status (OOL) (read/write, maskable interrupt)p.25011.7.11.10 Output FIFO Underrun Lower Panel Status (OUL) (read only, maskable interrupt)p.25011.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)p.25011.7.11.12 Output FIFO Underrun Upper Panel Status (OUU) (read/write, maskable interrupt)p.25111.7.12 LCD Controller Register Locationsp.25211.7.13 LCD Controller Pin Timing Diagramsp.25411.8 Serial Port 0 – USB Device Controller (UDC)p.25911.8.1 USB Operationp.26111.8.1.1 Signalling Levelsp.26111.8.1.2 Connecting the USB to the SA-1110p.26211.8.1.3 Bit Encodingp.26311.8.1.4 Field Formatsp.26411.8.1.5 Packet Typesp.26511.8.1.6 Transaction Formatsp.26711.8.1.7 SA-1110 UDC Device-Request Commandsp.26911.8.1.8 Using DMAp.27111.8.1.9 Software Control of the SA-1110 UDCp.27111.8.1.10 SA-1110 USB Example Codep.27811.8.2 SA-1110 UDC Register Definitionsp.27811.8.3 UDC Control Register (UDCCR)p.27911.8.3.1 UDC Disable (UDD)p.28011.8.3.2 UDC Active (UDA)p.28011.8.3.3 Resume Interrupt Mask (RESIM)p.28011.8.3.4 Endpoint 0 Interrupt Mask (EIM)p.28111.8.3.5 Receive Interrupt Mask (RIM)p.28111.8.3.6 Transmit Interrupt Mask (TIM)p.28111.8.3.7 Suspend Interrupt Mask (SUSIM)p.28211.8.3.8 Reserved/B5p.28211.8.4 UDC Address Register (UDCAR)p.28211.8.5 UDC OUT Maximum Packet Register (UDCOMP)p.28311.8.6 UDC IN Maximum Packet Register (UDCIMP)p.28411.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)p.28411.8.7.1 OUT Packet Ready (OPR)p.28511.8.7.2 IN Packet Ready (IPR)p.28511.8.7.3 Sent Stall (SST)p.28611.8.7.4 Force Stall (FST)p.28611.8.7.5 Data End (DE)p.28611.8.7.6 Setup End (SE)p.28611.8.7.7 Serviced OPR (SO)p.28611.8.7.8 Serviced Setup End (SSE)p.28611.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)p.28611.8.8.1 Receive FIFO Service (RFS)p.28711.8.8.2 Receive Packet Complete (RPC)p.28711.8.8.3 Receive Packet Error (RPE)p.28811.8.8.4 Sent Stall (SST)p.28811.8.8.5 Force Stall (FST)p.28811.8.8.6 Receive FIFO Not Empty (RNE)p.28811.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)p.28811.8.9.1 Transmit FIFO Service (TFS)p.28911.8.9.2 Transmit Packet Complete (TPC)p.28911.8.9.3 Transmit Packet Error (TPE)p.28911.8.9.4 Transmit Underrun (TUR)p.29011.8.9.5 Sent STALL (SST)p.29011.8.9.6 Force STALL (FST)p.29011.8.10 UDC Endpoint 0 Data Register (UDCD0)p.29011.8.11 UDC Endpoint 0 Write Count Register (UDCWC)p.29111.8.12 UDC Data Register (UDCDR)p.29211.8.13 UDC Status/Interrupt Register (UDCSR)p.29211.8.13.1 Endpoint 0 Interrupt Request (EIR)p.29311.8.13.2 Receive Interrupt Request (RIR)p.29411.8.13.3 Transmit Interrupt Request (TIR)p.29411.8.13.4 Suspend Interrupt Request (SUSIR)p.29411.8.13.5 Resume Interrupt Request (RESIR)p.29411.8.13.6 Reset Interrupt Request (RSTIR)p.29411.8.14 SA-1110 UDC Register Locationsp.29411.9 Serial Port 1 – GPCLK/UARTp.29511.9.1 GPCLK Operationp.29511.9.1.1 Simultaneous Use of the UART and GPCLKp.29611.9.2 GPCLK Control Register 0p.29611.9.2.1 GPCLK/UART Select (SUS)p.29611.9.2.2 Sample Clock Enable (SCE)p.29611.9.2.3 Sample Clock Direction (SCD)p.29611.9.3 GPCLK Control Register 1p.29711.9.3.1 Transmit Enable (TXE)p.29711.9.4 GPCLK Control Registers 2 and 3p.29811.9.4.1 Baud Rate Divisor (BRD)p.29811.9.5 UART Register Locationsp.29911.9.6 GPCLK Register Locationsp.30011.10 Serial Port 2 – Infrared Communications Port (ICP)p.30011.10.1 Low-Speed ICP Operationp.30111.10.1.1 HP-SIR Modulationp.30111.10.1.2 UART Frame Formatp.30211.10.2 High-Speed ICP Operationp.30211.10.2.1 4PPM Modulationp.30211.10.2.2 HSSP Frame Formatp.30311.10.2.3 Address Fieldp.30411.10.2.4 Control Fieldp.30411.10.2.5 Data Fieldp.30411.10.2.6 CRC Fieldp.30411.10.2.7 Baud Rate Generationp.30511.10.2.8 Receive Operationp.30511.10.2.9 Transmit Operationp.30611.10.2.10 Transmit and Receive FIFOsp.30711.10.2.11 CPU and DMA Register Access Sizesp.30811.10.3 UART Register Definitionp.30811.10.4 UART Control Register 4p.30811.10.4.1 HP-SIR Enable (HSE)p.30811.10.4.2 Low-Power Mode (LPM)p.30811.10.5 HSSP Register Definitionsp.30911.10.6 HSSP Control Register 0p.30911.10.6.1 IrDA Transmission Rate (ITR)p.30911.10.6.2 Loopback Mode (LBM)p.31011.10.6.3 Transmit FIFO Underrun Select (TUS)p.31011.10.6.4 Transmit Enable (TXE)p.31111.10.6.5 Receive Enable (RXE)p.31111.10.6.6 Receive FIFO Interrupt Enable (RIE)p.31111.10.6.7 Transmit FIFO Interrupt Enable (TIE)p.31211.10.6.8 Address Match Enable (AME)p.31211.10.7 HSSP Control Register 1p.31311.10.7.1 Address Match Value (AMV)p.31311.10.8 HSSP Control Register 2p.31411.10.8.1 Transmit Pin Polarity Select (TXP)p.31411.10.8.2 Receive Pin Polarity Select (RXP)p.31511.10.9 HSSP Data Registerp.31611.10.10 HSSP Status Register 0p.31711.10.10.1 End/Error in FIFO Status (EIF) (read-only, nonmaskable interrupt)p.31811.10.10.2 Transmit Underrun Status (TUR) (read/write, maskable interrupt)p.31811.10.10.3 Receiver Abort Status (RAB) (read/write, nonmaskable interrupt)p.31811.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.31811.10.10.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.31911.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)p.31911.10.11 HSSP Status Register 1p.32011.10.11.1 Receiver Synchronized Flag (RSY) (read-only, noninterruptible)p.32111.10.11.2 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.32111.10.11.3 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.32111.10.11.4 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.32111.10.11.5 End-of-Frame Flag (EOF) (read-only, noninterruptible)p.32111.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)p.32111.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)p.32211.10.12 UART Register Locationsp.32311.10.13 HSSP Register Locationsp.32411.11 Serial Port 3 – UARTp.32511.11.1 UART Operationp.32511.11.1.1 Frame Formatp.32611.11.1.2 Baud Rate Generationp.32611.11.1.3 Receive Operationp.32611.11.1.4 Transmit Operationp.32711.11.1.5 Transmit and Receive FIFOsp.32711.11.1.6 CPU and DMA Register Access Sizesp.32711.11.2 UART Register Definitionsp.32711.11.3 UART Control Register 0p.32811.11.3.1 Parity Enable (PE)p.32811.11.3.2 Odd/Even Parity Select (OES)p.32811.11.3.3 Stop Bit Select (SBS)p.32811.11.3.4 Data Size Select (DSS)p.32911.11.3.5 Sample Clock Enable (SCE)p.32911.11.3.6 Receive Clock Edge Select (RCE)p.32911.11.3.7 Transmit Clock Edge Select (TCE)p.32911.11.4 UART Control Registers 1 and 2p.33011.11.4.1 Baud Rate Divisor (BRD)p.33011.11.5 UART Control Register 3p.33111.11.5.1 Receiver Enable (RXE)p.33211.11.5.2 Transmitter Enable (TXE)p.33211.11.5.3 Break (BRK)p.33211.11.5.4 Receive FIFO Interrupt Enable (RIE)p.33211.11.5.5 Transmit FIFO Interrupt Enable (TIE)p.33311.11.5.6 Loopback Mode (LBM)p.33311.11.6 UART Data Registerp.33411.11.7 UART Status Register 0p.33511.11.7.1 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.33611.11.7.2 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.33611.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)p.33611.11.7.4 Receiver Begin of Break Status (RBB) (read/write, nonmaskable interrupt)p.33711.11.7.5 Receiver End of Break Status (REB) (read/write, nonmaskable interrupt)p.33711.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)p.33711.11.8 UART Status Register 1p.33911.11.8.1 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.33911.11.8.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.33911.11.8.3 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.33911.11.8.4 Parity Error Flag (PRE) (read-only, noninterruptible)p.33911.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)p.33911.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)p.34011.11.9 UART Register Locationsp.34111.12 Serial Port 4 – MCP / SSPp.34211.12.1 MCP Operationp.34311.12.1.1 Frame Formatp.34311.12.1.2 Audio and Telecom Sample Rates and Data Transferp.34511.12.1.3 MCP Transmit and Receive FIFO Operationp.34611.12.1.4 Codec Control Register Data Transferp.34711.12.1.5 External Clock Operationp.34811.12.1.6 Alternate SSP Pin Assignmentp.34811.12.1.7 CPU and DMA Register Access Sizesp.34811.12.2 MCP Register Definitionsp.34911.12.3 MCP Control Register 0p.34911.12.3.1 Audio Sample Rate Divisor (ASD)p.34911.12.3.2 Telecom Sample Rate Divisor (TSD)p.35011.12.3.3 Multimedia Communications Port Enable (MCE)p.35111.12.3.4 External Clock Select (ECS)p.35111.12.3.5 A/D Sampling Mode (ADM)p.35211.12.3.6 Telecom Transmit FIFO Interrupt Enable (TTE)p.35211.12.3.7 Telecom Receive FIFO Interrupt Enable (TRE)p.35211.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)p.35211.12.3.9 Audio Receive FIFO Interrupt Enable (ARE)p.35311.12.3.10 Loopback Mode (LBM)p.35311.12.3.11 External Clock Prescaler (ECP)p.35311.12.4 MCP Control Register 1p.35511.12.4.1 Clock Frequency Select (CFS)p.35511.12.5 MCP Data Registersp.35611.12.5.1 MCP Data Register 0p.35611.12.5.2 MCP Data Register 1p.35711.12.5.3 MCP Data Register 2p.35811.12.6 MCP Status Registerp.36011.12.6.1 Audio Transmit FIFO Service Request Flag (ATS) (read-only, maskable interrupt)p.36011.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)p.36011.12.6.3 Telecom Transmit FIFO Service Request Flag (TTS) (read-only, maskable interrupt)p.36111.12.6.4 Telecom Receive FIFO Service Request Flag (TRS) (read-only, maskable interrupt)p.36111.12.6.5 Audio Transmit FIFO Underrun Status (ATU) (read/write, nonmaskable interrupt)p.36111.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)p.36111.12.6.7 Telecom Transmit FIFO Underrun Status (TTU) (read/write, nonmaskable interrupt)p.36211.12.6.8 Telecom Receive FIFO Overrun Status (TRO) (read/write, nonmaskable interrupt)p.36211.12.6.9 Audio Transmit FIFO Not Full Flag (ANF) (read-only, noninterruptible)p.36211.12.6.10 Audio Receive FIFO Not Empty Flag (ANE) (read-only, noninterruptible)p.36211.12.6.11 Telecom Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.36211.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)p.36211.12.6.13 Codec Write Completed Flag (CWC) (read-only, noninterruptible)p.36311.12.6.14 Codec Read Completed Flag (CRC) (read-only, noninterruptible)p.36311.12.6.15 Audio Codec Enabled Flag (ACE) (read-only, noninterruptible)p.36311.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)p.36311.12.7 SSP Operationp.36511.12.7.1 Frame Formatp.36611.12.7.2 Baud Rate Generationp.37011.12.7.3 SSP Transmit and Receive FIFOsp.37011.12.7.4 CPU and DMA Register Access Sizesp.37111.12.7.5 Alternate SSP Pin Assignmentp.37111.12.8 SSP Register Definitionsp.37111.12.9 SSP Control Register 0p.37211.12.9.1 Data Size Select (DSS)p.37211.12.9.2 Frame Format (FRF)p.37211.12.9.3 Synchronous Serial Port Enable (SSE)p.37211.12.9.4 Serial Clock Rate (SCR)p.37311.12.10 SSP Control Register 1p.37411.12.10.1 Receive FIFO Interrupt Enable (RIE)p.37411.12.10.2 Transmit FIFO Interrupt Enable (TIE)p.37411.12.10.3 Loopback Mode (LBM)p.37511.12.10.4 Serial Clock Polarity (SPO)p.37511.12.10.5 Serial Clock Phase (SPH)p.37511.12.10.6 External Clock Select (ECS)p.37611.12.11 SSP Data Registerp.37711.12.12 SSP Status Registerp.37911.12.12.1 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.37911.12.12.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.37911.12.12.3 SSP Busy Flag (BSY) (read-only, noninterruptible)p.37911.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.37911.12.12.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.38011.12.12.6 Receiver Overrun Status (ROR) (read/write, nonmaskable interrupt)p.38011.12.13 MCP Register Locationsp.38111.12.14 SSP Register Locationsp.38211.13 Peripheral Pin Controller (PPC)p.38211.13.1 PPC Operationp.38211.13.2 PPC Register Definitionsp.38311.13.3 PPC Pin Direction Registerp.38311.13.4 PPC Pin State Registerp.38511.13.5 PPC Pin Assignment Registerp.38711.13.5.1 UART Pin Reassignment (UPR)p.38711.13.5.2 SSP Pin Reassignment (SPR)p.38711.13.6 PPC Sleep Mode Pin Direction Registerp.38811.13.7 PPC Pin Flag Registerp.39011.13.8 PPC Register Locationsp.392DC Parameters 12p.39312.1 Absolute Maximum Ratingsp.39312.2 DC Operating Conditionsp.39412.3 Power Supply Voltages and Currentsp.395AC Parameters 13p.39713.1 Test Conditionsp.39713.2 Model Considerationsp.39813.3 Memory Bus and PCMCIA Signal Timingsp.39813.4 LCD Controller Signalsp.39913.5 MCP Signalsp.39913.6 Timing Parametersp.40113.6.1 Asynchronous Signal Timing Descriptionsp.403Package and Pinout 14p.405Debug Support 15p.41115.1 Instruction Breakpointp.41115.2 Data Breakpointp.411Boundary-Scan Test Interface 16p.41316.1 Overviewp.41316.2 Resetp.41416.3 Pull-Up Resistorsp.41416.4 Instruction Registerp.41416.5 Public Instructionsp.41416.5.1 EXTEST (00000)p.41516.5.2 SAMPLE/PRELOAD (00001)p.41516.5.3 CLAMP (00100)p.41516.5.4 HIGHZ (00101)p.41616.5.5 IDCODE (00110)p.41616.5.6 BYPASS (11111)p.41616.6 Test Data Registersp.41716.6.1 Bypass Registerp.41716.6.2 Intel® StrongARM SA-1110 Device Identification (ID) Code Registerp.41816.6.3 Intel® StrongARM SA-1110 Boundary-Scan (BS) Registerp.41816.7 Boundary-Scan Interface Signalsp.419Register Summary Ap.4273.6864–MHz Oscillator Specifications Bp.433B.1 Specificationsp.433B.1.1 System Specificationsp.433B.1.1.1. Parasitic Capacitance Off-chip Between PXTAL and PEXTALp.434B.1.1.2. Parasitic Capacitance Off-chip Between PXTAL or PEXTAL and VSSp.434B.1.1.3. Parasitic Resistance Between PXTAL and PEXTALp.434B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSSp.434B.1.2 Quartz Crystal Specificationp.43532.768–KHz Oscillator Specifications Cp.437C.1 Specificationsp.437C.1.1 System Specificationsp.437C.1.1.1. Temperature Rangep.437C.1.1.2. Current Consumptionp.437C.1.1.3. Startup Timep.437C.1.1.4. Frequency Shift Due to Temperature Effect on the Circuitp.438C.1.1.5. Parasitic Capacitance Off-chip Between TXTAL and TEXTALp.438C.1.1.6. Parasitic Capacitance Off-chip Between TXTAL or TEXTAL and VSSp.438C.1.1.7. Parasitic Resistance Between TXTAL and TEXTALp.438C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSSp.438C.1.2 Quartz Crystal Specificationp.439Internal Test Dp.441D.1 Test Unit Control Register (TUCR)p.441
Page 14 of the Intel SA-1110 user manual — Table of contents
Page 14 · click to enlarge
Page 14

Table of contents

Intel® StrongARM* SA-1110 Microprocessorp.1Contentsp.3Introduction 1p.211.1 Intel® StrongARM* SA-1110 Microprocessorp.211.2 Overviewp.241.3 Example Systemp.251.4 ARM Architecturep.261.4.1 26-Bit Modep.261.4.2 Coprocessorsp.261.4.3 Memory Managementp.261.4.4 Instruction Cachep.261.4.5 Data Cachep.261.4.6 Write Bufferp.271.4.7 Read Bufferp.27Functional Description 2p.292.1 Block Diagramp.292.2 Inputs/Outputsp.312.3 Signal Descriptionp.322.4 Memory Mapp.36ARM Implementation Options 3p.393.1 Big and Little Endianp.393.2 Exceptionsp.393.2.1 Power-Up Resetp.403.2.2 ROM Size Selectp.403.2.3 Abortp.413.2.4 Vector Summaryp.423.2.5 Exception Prioritiesp.423.2.6 Interrupt Latencies and Enable Timingp.433.3 Coprocessorsp.43Instruction Set 4p.454.1 Instruction Setp.454.2 Instruction Timingp.45Caches, Write Buffer, and Read Buffer 5p.475.1 Instruction Cache (Icache)p.475.1.1 Icache Operationp.475.1.2 Icache Validityp.475.1.2.1 Software Icache Flushp.475.1.3 Icache Enable/Disable and Resetp.485.1.3.1 Enabling the Icachep.485.1.3.2 Disabling the Icachep.485.2 Data Caches (Dcaches)p.485.2.1 Cacheable Bit – Cp.495.2.1.1 Cacheable Reads – C = 1p.495.2.1.2 Noncacheable Reads – C = 0p.495.2.2 Bufferable Bit – Bp.495.2.3 Software Dcache Flushp.505.2.3.1 Doubly Mapped Spacep.505.2.4 Dcaches Enable/Disable and Resetp.505.2.4.1 Enabling the Dcachesp.515.2.4.2 Disabling the Dcachesp.515.3 Write Buffer (WB)p.515.3.1 Bufferable Bitp.515.3.2 Write Buffer Operationp.515.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)p.515.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)p.525.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0)p.525.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1)p.525.3.3 Enabling the Write Bufferp.525.3.3.1 Disabling the Write Bufferp.525.4 Read Buffer (RB)p.52Coprocessors 6p.556.1 Internal Coprocessor Instructionsp.556.2 Coprocessor 15 Definitionp.566.2.1 Register 0 – IDp.566.2.2 Register 1 – Controlp.576.2.3 Register 2 – Translation Table Basep.586.2.4 Register 3 – Domain Access Controlp.586.2.5 Register 4 – RESERVEDp.596.2.6 Register 5 – Fault Statusp.596.2.7 Register 6 – Fault Addressp.596.2.8 Register 7 – Cache Control Operationsp.596.2.9 Register 8 – TLB Operationsp.606.2.10 Register 9 – Read-Buffer Operationsp.606.2.11 Registers 10 – 12 RESERVEDp.616.2.12 Register 13 – Process ID Virtual Address Mappingp.616.2.13 Register 14 – Debug Support (Breakpoints)p.626.2.14 Register 15 – Test, Clock, and Idle Controlp.63Memory Management Unit (MMU) 7p.657.1 Overviewp.657.1.1 MMU Registersp.657.2 MMU Faults and CPU Abortsp.657.3 Data Abortsp.657.3.1 Cacheable Reads (Linefetches)p.667.3.2 Buffered Writesp.667.4 Interaction of the MMU, Icache, Dcache, and Write Bufferp.667.5 Mini Data Cachep.67Clocks 8p.698.1 Intel® StrongARM SA-1110 Crystal Oscillatorsp.698.2 Core Clock Configuration Registerp.708.2.1 Restrictions on Changing the Core Clock Configurationp.718.3 Driving Intel® StrongARM SA-1110 Crystal Pins from an External Sourcep.718.4 Clocking During Testp.72System Control Module 9p.739.1 General-Purpose I/Op.739.1.1 GPIO Register Definitionsp.749.1.1.1 GPIO Pin-Level Register (GPLR)p.759.1.1.2 GPIO Pin Direction Register (GPDR)p.769.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR)p.779.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER)p.789.1.1.5 GPIO Edge Detect Status Register (GEDR)p.799.1.1.6 GPIO Alternate Function Register (GAFR)p.809.1.2 GPIO Alternate Functionsp.819.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Functionp.829.1.3 GPIO Register Locationsp.829.2 Interrupt Controllerp.839.2.1 Interrupt Controller Register Definitionsp.849.2.1.1 Interrupt Controller Pending Register (ICPR)p.849.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP)p.869.2.1.3 Interrupt Controller Mask Register (ICMR)p.879.2.1.4 Interrupt Controller Level Register (ICLR)p.889.2.1.5 Interrupt Controller Control Register (ICCR)p.899.2.2 Interrupt Controller Register Locationsp.909.3 Real-Time Clockp.909.3.1 RTC Counter Register (RCNR)p.909.3.2 RTC Alarm Register (RTAR)p.919.3.3 RTC Status Register (RTSR)p.919.3.4 RTC Trim Register (RTTR)p.939.3.5 Trim Procedurep.939.3.5.1 Oscillator Frequency Calibrationp.939.3.5.2 RTTR Value Calculationsp.949.3.6 Real-Time Clock Register Locationsp.959.4 Operating System Timerp.959.4.1 OS Timer Count Register (OSCR)p.969.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3)p.969.4.3 OS Timer Watchdog Match Enable Register (OWER)p.969.4.4 OS Timer Status Register (OSSR)p.979.4.5 OS Timer Interrupt Enable Register (OIER)p.989.4.6 Watchdog Timerp.989.4.7 OS Timer Register Locationsp.999.5 Power Managerp.999.5.1 Run Modep.999.5.2 Idle Modep.999.5.2.1 Entering Idle Modep.1009.5.2.2 Exiting Idle Modep.1009.5.3 Sleep Modep.1019.5.3.1 CPU Preparation for Sleep Modep.1019.5.3.2 Events Causing Entry into Sleep Modep.1019.5.3.3 The Sleep Shutdown Sequencep.1019.5.3.4 During Sleep Modep.1029.5.3.5 The Sleep Wake-Up Sequencep.1039.5.3.6 Booting After Sleep Modep.1039.5.3.7 Reviving the DRAMs from Self-Refresh Modep.1049.5.4 Notes on Power Supply Sequencingp.1049.5.5 Assumed Behavior of an Intel® StrongARM SA-1110 System in Sleep Modep.1049.5.6 Pin Operation in Sleep Modep.1069.5.7 Power Manager Registersp.1079.5.7.1 Power Manager Control Register (PMCR)p.1079.5.7.2 Power Manager General Configuration Register (PCFR)p.1089.5.7.3 Power Manager PLL Configuration Register (PPCR)p.1109.5.7.4 Power Manager Wake-Up Enable Register (PWER)p.1109.5.7.5 Power Manager Sleep Status Register (PSSR)p.1119.5.7.6 Power Manager Scratch Pad Register (PSPR)p.1139.5.7.7 Power Manager GPIO Sleep State Register (PGSR)p.1139.5.7.8 Power Manager Oscillator Status Register (POSR)p.1149.5.8 Power Manager Register Locationsp.1149.6 Reset Controllerp.1159.6.1 Reset Controller Registersp.1159.6.1.1 Reset Controller Software Reset Register (RSRR)p.1159.6.1.2 Reset Controller Status Register (RCSR)p.1169.6.2 Reset Controller Register Locationsp.117Memory and PC-Card Control Module 10p.11910.1 Overview of Operationp.12010.1.1 Types of Memory Accessesp.12210.1.2 Readsp.12210.1.3 Writesp.12310.1.4 Transaction Summaryp.12310.1.5 Read-Lock-Writep.12310.1.6 Aborts and Nonexistent Memoryp.12410.2 Memory Interface Reset and Initializationp.12410.2.1 Hardware or Sleep Reset Proceduresp.12510.2.2 Software or Watchdog Reset Proceduresp.12610.3 Memory Configuration Registersp.12710.3.1 DRAM Configuration Register (MDCNFG)p.12810.3.2 DRAM Refresh Control Register (MDREFR)p.13210.3.3 CAS Waveform Rotate Registers (MDCAS00, MDCAS01, MDCAS02, MDCAS20, MDCAS21, MDCAS22)p.13610.3.3.1 MDCAS Registers with Asynchronous DRAMp.13610.3.3.2 MDCAS Registers with SDRAM and SMROMp.13710.3.4 Static Memory Control Registers (MSC2 – 0)p.13910.3.5 Expansion Memory (PC-Card) Configuration Register (MECR)p.14210.4 SMROM Configuration Register (SMCNFG)p.14410.4.1 Changing SMROM RAS Latencyp.14710.5 Dynamic Interface Operationp.14810.5.1 DRAM Overviewp.14810.5.2 DRAM Timingp.15010.5.3 SDRAM Overviewp.15210.5.4 SDRAM Commandsp.15410.5.5 SDRAM State Machinep.15510.5.6 DRAM/SDRAM Refreshp.16010.5.7 DRAM/SDRAM Self-Refresh in Sleep Modep.16110.6 Static Memory Interfacep.16210.6.1 ROM Interface Overviewp.16310.6.2 ROM Timing Diagrams and Parametersp.16310.6.3 SRAM Interface Overviewp.16710.6.4 SRAM Timing Diagrams and Parametersp.16710.6.5 Variable Latency I/O Interface Overviewp.16910.6.6 Variable Latency I/O Timing Diagrams and Parametersp.16910.6.7 FLASH Memory Interface Overviewp.17210.6.8 FLASH Memory Timing Diagrams and Parametersp.17210.6.9 SMROM Overviewp.17310.6.10 SMROM Commandsp.17310.6.11 SMROM State Machinep.17410.7 PC-Card Overviewp.17710.7.1 8-, 16-, and 32-Bit Data Bus Operationp.17910.7.2 External Logic for PC-Card Implementationp.18010.7.3 PC-Card Interface Timing Diagrams and Parametersp.18310.8 Alternate Memory Bus Master Modep.18510.9 Memory System Examplesp.18610.10 SA1110 Memory Configuration Toolp.190Peripheral Control Module 11p.20511.1 Read/Write Interfacep.20511.2 Memory Organizationp.20611.3 Interruptsp.20711.4 Peripheral Pinsp.20811.5 Use of the GPIO Pins for Alternate Functionsp.20911.6 DMA Controllerp.21011.6.1 DMA Register Definitionsp.21111.6.1.1 DMA Device Address Register (DDARn)p.21111.6.1.2 DMA Control/Status Register (DCSRn)p.21311.6.1.3 DMA Buffer A Start Address Register (DBSAn)p.21511.6.1.4 DMA Buffer A Transfer Count Register (DBTAn)p.21611.6.1.5 DMA Buffer B Start Address Register (DBSBn)p.21611.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)p.21611.6.2 DMA Register Listp.21711.7 LCD Controllerp.21911.7.1 LCD Controller Operationp.22011.7.1.1 DMA to Memory Interfacep.22111.7.1.2 Frame Bufferp.22111.7.1.3 Input FIFOp.22611.7.1.4 Lookup Palettep.22611.7.1.5 Color/Gray-Scale Ditheringp.22611.7.1.6 Output FIFOp.22711.7.1.7 LCD Controller Pinsp.22711.7.2 LCD Controller Register Definitionsp.22811.7.3 LCD Controller Control Register 0p.22911.7.3.1 LCD Enable (LEN)p.22911.7.3.2 Color/Monochrome Select (CMS)p.22911.7.3.3 Single-/Dual-Panel Select (SDS)p.22911.7.3.4 LCD Disable Done Interrupt Mask (LDM)p.23111.7.3.5 Base Address Update Interrupt Mask (BAM)p.23211.7.3.6 Error Interrupt Mask (ERM)p.23211.7.3.7 Passive/Active Display Select (PAS)p.23211.7.3.8 Big/Little Endian Select (BLE)p.23311.7.3.9 Double-Pixel Data (DPD) Pin Modep.23411.7.3.10 Vertical Slant Line Correction (VSC)p.23411.7.3.11 Palette DMA Request Delay (PDD)p.23411.7.4 LCD Controller Control Register 1p.23611.7.4.1 Pixels Per Line (PPL)p.23711.7.4.2 Horizontal Sync Pulse Width (HSW)p.23711.7.4.3 End-of-Line Pixel Clock Wait Count (ELW)p.23711.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)p.23711.7.5 LCD Controller Control Register 2p.23811.7.5.1 Lines Per Panel (LPP)p.23811.7.5.2 Vertical Sync Pulse Width (VSW)p.23911.7.5.3 End-of-Frame Line Clock Wait Count (EFW)p.23911.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)p.24011.7.6 LCD Controller Control Register 3p.24111.7.6.1 Pixel Clock Divider (PCD)p.24211.7.6.2 AC Bias Pin Frequency (ACB)p.24211.7.6.3 AC Bias Pin Transitions Per Interrupt (API)p.24211.7.6.4 Vertical Sync Polarity (VSP)p.24311.7.6.5 Horizontal Sync Polarity (HSP)p.24311.7.6.6 Pixel Clock Polarity (PCP)p.24311.7.6.7 Output Enable Polarity (OEP)p.24311.7.7 LCD Controller DMA Registersp.24511.7.8 DMA Channel 1 Base Address Registerp.24511.7.9 DMA Channel 1 Current Address Registerp.24611.7.10 DMA Channel 2 Base and Current Address Registersp.24711.7.11 LCD Controller Status Registerp.24811.7.11.1 LCD Disable Done Flag (LDD) (read/write, maskable interrupt)p.24911.7.11.2 Base Address Update Flag (BAU) (read-only, maskable interrupt)p.24911.7.11.3 Bus Error Status (BER) (read/write, maskable interrupt)p.24911.7.11.4 AC Bias Count Status (ABC) (read/write, nonmaskable interrupt)p.24911.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)p.24911.7.11.6 Input FIFO Underrun Lower Panel Status (IUL) (read/write, maskable interrupt)p.25011.7.11.7 Input FIFO Overrun Upper Panel Status (IOU) (read/write, maskable interrupt)p.25011.7.11.8 Input FIFO Underrun Upper Panel Status (IUU) (read/write, maskable interrupt)p.25011.7.11.9 Output FIFO Overrun Lower Panel Status (OOL) (read/write, maskable interrupt)p.25011.7.11.10 Output FIFO Underrun Lower Panel Status (OUL) (read only, maskable interrupt)p.25011.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)p.25011.7.11.12 Output FIFO Underrun Upper Panel Status (OUU) (read/write, maskable interrupt)p.25111.7.12 LCD Controller Register Locationsp.25211.7.13 LCD Controller Pin Timing Diagramsp.25411.8 Serial Port 0 – USB Device Controller (UDC)p.25911.8.1 USB Operationp.26111.8.1.1 Signalling Levelsp.26111.8.1.2 Connecting the USB to the SA-1110p.26211.8.1.3 Bit Encodingp.26311.8.1.4 Field Formatsp.26411.8.1.5 Packet Typesp.26511.8.1.6 Transaction Formatsp.26711.8.1.7 SA-1110 UDC Device-Request Commandsp.26911.8.1.8 Using DMAp.27111.8.1.9 Software Control of the SA-1110 UDCp.27111.8.1.10 SA-1110 USB Example Codep.27811.8.2 SA-1110 UDC Register Definitionsp.27811.8.3 UDC Control Register (UDCCR)p.27911.8.3.1 UDC Disable (UDD)p.28011.8.3.2 UDC Active (UDA)p.28011.8.3.3 Resume Interrupt Mask (RESIM)p.28011.8.3.4 Endpoint 0 Interrupt Mask (EIM)p.28111.8.3.5 Receive Interrupt Mask (RIM)p.28111.8.3.6 Transmit Interrupt Mask (TIM)p.28111.8.3.7 Suspend Interrupt Mask (SUSIM)p.28211.8.3.8 Reserved/B5p.28211.8.4 UDC Address Register (UDCAR)p.28211.8.5 UDC OUT Maximum Packet Register (UDCOMP)p.28311.8.6 UDC IN Maximum Packet Register (UDCIMP)p.28411.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)p.28411.8.7.1 OUT Packet Ready (OPR)p.28511.8.7.2 IN Packet Ready (IPR)p.28511.8.7.3 Sent Stall (SST)p.28611.8.7.4 Force Stall (FST)p.28611.8.7.5 Data End (DE)p.28611.8.7.6 Setup End (SE)p.28611.8.7.7 Serviced OPR (SO)p.28611.8.7.8 Serviced Setup End (SSE)p.28611.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)p.28611.8.8.1 Receive FIFO Service (RFS)p.28711.8.8.2 Receive Packet Complete (RPC)p.28711.8.8.3 Receive Packet Error (RPE)p.28811.8.8.4 Sent Stall (SST)p.28811.8.8.5 Force Stall (FST)p.28811.8.8.6 Receive FIFO Not Empty (RNE)p.28811.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)p.28811.8.9.1 Transmit FIFO Service (TFS)p.28911.8.9.2 Transmit Packet Complete (TPC)p.28911.8.9.3 Transmit Packet Error (TPE)p.28911.8.9.4 Transmit Underrun (TUR)p.29011.8.9.5 Sent STALL (SST)p.29011.8.9.6 Force STALL (FST)p.29011.8.10 UDC Endpoint 0 Data Register (UDCD0)p.29011.8.11 UDC Endpoint 0 Write Count Register (UDCWC)p.29111.8.12 UDC Data Register (UDCDR)p.29211.8.13 UDC Status/Interrupt Register (UDCSR)p.29211.8.13.1 Endpoint 0 Interrupt Request (EIR)p.29311.8.13.2 Receive Interrupt Request (RIR)p.29411.8.13.3 Transmit Interrupt Request (TIR)p.29411.8.13.4 Suspend Interrupt Request (SUSIR)p.29411.8.13.5 Resume Interrupt Request (RESIR)p.29411.8.13.6 Reset Interrupt Request (RSTIR)p.29411.8.14 SA-1110 UDC Register Locationsp.29411.9 Serial Port 1 – GPCLK/UARTp.29511.9.1 GPCLK Operationp.29511.9.1.1 Simultaneous Use of the UART and GPCLKp.29611.9.2 GPCLK Control Register 0p.29611.9.2.1 GPCLK/UART Select (SUS)p.29611.9.2.2 Sample Clock Enable (SCE)p.29611.9.2.3 Sample Clock Direction (SCD)p.29611.9.3 GPCLK Control Register 1p.29711.9.3.1 Transmit Enable (TXE)p.29711.9.4 GPCLK Control Registers 2 and 3p.29811.9.4.1 Baud Rate Divisor (BRD)p.29811.9.5 UART Register Locationsp.29911.9.6 GPCLK Register Locationsp.30011.10 Serial Port 2 – Infrared Communications Port (ICP)p.30011.10.1 Low-Speed ICP Operationp.30111.10.1.1 HP-SIR Modulationp.30111.10.1.2 UART Frame Formatp.30211.10.2 High-Speed ICP Operationp.30211.10.2.1 4PPM Modulationp.30211.10.2.2 HSSP Frame Formatp.30311.10.2.3 Address Fieldp.30411.10.2.4 Control Fieldp.30411.10.2.5 Data Fieldp.30411.10.2.6 CRC Fieldp.30411.10.2.7 Baud Rate Generationp.30511.10.2.8 Receive Operationp.30511.10.2.9 Transmit Operationp.30611.10.2.10 Transmit and Receive FIFOsp.30711.10.2.11 CPU and DMA Register Access Sizesp.30811.10.3 UART Register Definitionp.30811.10.4 UART Control Register 4p.30811.10.4.1 HP-SIR Enable (HSE)p.30811.10.4.2 Low-Power Mode (LPM)p.30811.10.5 HSSP Register Definitionsp.30911.10.6 HSSP Control Register 0p.30911.10.6.1 IrDA Transmission Rate (ITR)p.30911.10.6.2 Loopback Mode (LBM)p.31011.10.6.3 Transmit FIFO Underrun Select (TUS)p.31011.10.6.4 Transmit Enable (TXE)p.31111.10.6.5 Receive Enable (RXE)p.31111.10.6.6 Receive FIFO Interrupt Enable (RIE)p.31111.10.6.7 Transmit FIFO Interrupt Enable (TIE)p.31211.10.6.8 Address Match Enable (AME)p.31211.10.7 HSSP Control Register 1p.31311.10.7.1 Address Match Value (AMV)p.31311.10.8 HSSP Control Register 2p.31411.10.8.1 Transmit Pin Polarity Select (TXP)p.31411.10.8.2 Receive Pin Polarity Select (RXP)p.31511.10.9 HSSP Data Registerp.31611.10.10 HSSP Status Register 0p.31711.10.10.1 End/Error in FIFO Status (EIF) (read-only, nonmaskable interrupt)p.31811.10.10.2 Transmit Underrun Status (TUR) (read/write, maskable interrupt)p.31811.10.10.3 Receiver Abort Status (RAB) (read/write, nonmaskable interrupt)p.31811.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.31811.10.10.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.31911.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)p.31911.10.11 HSSP Status Register 1p.32011.10.11.1 Receiver Synchronized Flag (RSY) (read-only, noninterruptible)p.32111.10.11.2 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.32111.10.11.3 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.32111.10.11.4 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.32111.10.11.5 End-of-Frame Flag (EOF) (read-only, noninterruptible)p.32111.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)p.32111.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)p.32211.10.12 UART Register Locationsp.32311.10.13 HSSP Register Locationsp.32411.11 Serial Port 3 – UARTp.32511.11.1 UART Operationp.32511.11.1.1 Frame Formatp.32611.11.1.2 Baud Rate Generationp.32611.11.1.3 Receive Operationp.32611.11.1.4 Transmit Operationp.32711.11.1.5 Transmit and Receive FIFOsp.32711.11.1.6 CPU and DMA Register Access Sizesp.32711.11.2 UART Register Definitionsp.32711.11.3 UART Control Register 0p.32811.11.3.1 Parity Enable (PE)p.32811.11.3.2 Odd/Even Parity Select (OES)p.32811.11.3.3 Stop Bit Select (SBS)p.32811.11.3.4 Data Size Select (DSS)p.32911.11.3.5 Sample Clock Enable (SCE)p.32911.11.3.6 Receive Clock Edge Select (RCE)p.32911.11.3.7 Transmit Clock Edge Select (TCE)p.32911.11.4 UART Control Registers 1 and 2p.33011.11.4.1 Baud Rate Divisor (BRD)p.33011.11.5 UART Control Register 3p.33111.11.5.1 Receiver Enable (RXE)p.33211.11.5.2 Transmitter Enable (TXE)p.33211.11.5.3 Break (BRK)p.33211.11.5.4 Receive FIFO Interrupt Enable (RIE)p.33211.11.5.5 Transmit FIFO Interrupt Enable (TIE)p.33311.11.5.6 Loopback Mode (LBM)p.33311.11.6 UART Data Registerp.33411.11.7 UART Status Register 0p.33511.11.7.1 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.33611.11.7.2 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.33611.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)p.33611.11.7.4 Receiver Begin of Break Status (RBB) (read/write, nonmaskable interrupt)p.33711.11.7.5 Receiver End of Break Status (REB) (read/write, nonmaskable interrupt)p.33711.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)p.33711.11.8 UART Status Register 1p.33911.11.8.1 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.33911.11.8.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.33911.11.8.3 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.33911.11.8.4 Parity Error Flag (PRE) (read-only, noninterruptible)p.33911.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)p.33911.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)p.34011.11.9 UART Register Locationsp.34111.12 Serial Port 4 – MCP / SSPp.34211.12.1 MCP Operationp.34311.12.1.1 Frame Formatp.34311.12.1.2 Audio and Telecom Sample Rates and Data Transferp.34511.12.1.3 MCP Transmit and Receive FIFO Operationp.34611.12.1.4 Codec Control Register Data Transferp.34711.12.1.5 External Clock Operationp.34811.12.1.6 Alternate SSP Pin Assignmentp.34811.12.1.7 CPU and DMA Register Access Sizesp.34811.12.2 MCP Register Definitionsp.34911.12.3 MCP Control Register 0p.34911.12.3.1 Audio Sample Rate Divisor (ASD)p.34911.12.3.2 Telecom Sample Rate Divisor (TSD)p.35011.12.3.3 Multimedia Communications Port Enable (MCE)p.35111.12.3.4 External Clock Select (ECS)p.35111.12.3.5 A/D Sampling Mode (ADM)p.35211.12.3.6 Telecom Transmit FIFO Interrupt Enable (TTE)p.35211.12.3.7 Telecom Receive FIFO Interrupt Enable (TRE)p.35211.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)p.35211.12.3.9 Audio Receive FIFO Interrupt Enable (ARE)p.35311.12.3.10 Loopback Mode (LBM)p.35311.12.3.11 External Clock Prescaler (ECP)p.35311.12.4 MCP Control Register 1p.35511.12.4.1 Clock Frequency Select (CFS)p.35511.12.5 MCP Data Registersp.35611.12.5.1 MCP Data Register 0p.35611.12.5.2 MCP Data Register 1p.35711.12.5.3 MCP Data Register 2p.35811.12.6 MCP Status Registerp.36011.12.6.1 Audio Transmit FIFO Service Request Flag (ATS) (read-only, maskable interrupt)p.36011.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)p.36011.12.6.3 Telecom Transmit FIFO Service Request Flag (TTS) (read-only, maskable interrupt)p.36111.12.6.4 Telecom Receive FIFO Service Request Flag (TRS) (read-only, maskable interrupt)p.36111.12.6.5 Audio Transmit FIFO Underrun Status (ATU) (read/write, nonmaskable interrupt)p.36111.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)p.36111.12.6.7 Telecom Transmit FIFO Underrun Status (TTU) (read/write, nonmaskable interrupt)p.36211.12.6.8 Telecom Receive FIFO Overrun Status (TRO) (read/write, nonmaskable interrupt)p.36211.12.6.9 Audio Transmit FIFO Not Full Flag (ANF) (read-only, noninterruptible)p.36211.12.6.10 Audio Receive FIFO Not Empty Flag (ANE) (read-only, noninterruptible)p.36211.12.6.11 Telecom Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.36211.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)p.36211.12.6.13 Codec Write Completed Flag (CWC) (read-only, noninterruptible)p.36311.12.6.14 Codec Read Completed Flag (CRC) (read-only, noninterruptible)p.36311.12.6.15 Audio Codec Enabled Flag (ACE) (read-only, noninterruptible)p.36311.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)p.36311.12.7 SSP Operationp.36511.12.7.1 Frame Formatp.36611.12.7.2 Baud Rate Generationp.37011.12.7.3 SSP Transmit and Receive FIFOsp.37011.12.7.4 CPU and DMA Register Access Sizesp.37111.12.7.5 Alternate SSP Pin Assignmentp.37111.12.8 SSP Register Definitionsp.37111.12.9 SSP Control Register 0p.37211.12.9.1 Data Size Select (DSS)p.37211.12.9.2 Frame Format (FRF)p.37211.12.9.3 Synchronous Serial Port Enable (SSE)p.37211.12.9.4 Serial Clock Rate (SCR)p.37311.12.10 SSP Control Register 1p.37411.12.10.1 Receive FIFO Interrupt Enable (RIE)p.37411.12.10.2 Transmit FIFO Interrupt Enable (TIE)p.37411.12.10.3 Loopback Mode (LBM)p.37511.12.10.4 Serial Clock Polarity (SPO)p.37511.12.10.5 Serial Clock Phase (SPH)p.37511.12.10.6 External Clock Select (ECS)p.37611.12.11 SSP Data Registerp.37711.12.12 SSP Status Registerp.37911.12.12.1 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.37911.12.12.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.37911.12.12.3 SSP Busy Flag (BSY) (read-only, noninterruptible)p.37911.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.37911.12.12.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.38011.12.12.6 Receiver Overrun Status (ROR) (read/write, nonmaskable interrupt)p.38011.12.13 MCP Register Locationsp.38111.12.14 SSP Register Locationsp.38211.13 Peripheral Pin Controller (PPC)p.38211.13.1 PPC Operationp.38211.13.2 PPC Register Definitionsp.38311.13.3 PPC Pin Direction Registerp.38311.13.4 PPC Pin State Registerp.38511.13.5 PPC Pin Assignment Registerp.38711.13.5.1 UART Pin Reassignment (UPR)p.38711.13.5.2 SSP Pin Reassignment (SPR)p.38711.13.6 PPC Sleep Mode Pin Direction Registerp.38811.13.7 PPC Pin Flag Registerp.39011.13.8 PPC Register Locationsp.392DC Parameters 12p.39312.1 Absolute Maximum Ratingsp.39312.2 DC Operating Conditionsp.39412.3 Power Supply Voltages and Currentsp.395AC Parameters 13p.39713.1 Test Conditionsp.39713.2 Model Considerationsp.39813.3 Memory Bus and PCMCIA Signal Timingsp.39813.4 LCD Controller Signalsp.39913.5 MCP Signalsp.39913.6 Timing Parametersp.40113.6.1 Asynchronous Signal Timing Descriptionsp.403Package and Pinout 14p.405Debug Support 15p.41115.1 Instruction Breakpointp.41115.2 Data Breakpointp.411Boundary-Scan Test Interface 16p.41316.1 Overviewp.41316.2 Resetp.41416.3 Pull-Up Resistorsp.41416.4 Instruction Registerp.41416.5 Public Instructionsp.41416.5.1 EXTEST (00000)p.41516.5.2 SAMPLE/PRELOAD (00001)p.41516.5.3 CLAMP (00100)p.41516.5.4 HIGHZ (00101)p.41616.5.5 IDCODE (00110)p.41616.5.6 BYPASS (11111)p.41616.6 Test Data Registersp.41716.6.1 Bypass Registerp.41716.6.2 Intel® StrongARM SA-1110 Device Identification (ID) Code Registerp.41816.6.3 Intel® StrongARM SA-1110 Boundary-Scan (BS) Registerp.41816.7 Boundary-Scan Interface Signalsp.419Register Summary Ap.4273.6864–MHz Oscillator Specifications Bp.433B.1 Specificationsp.433B.1.1 System Specificationsp.433B.1.1.1. Parasitic Capacitance Off-chip Between PXTAL and PEXTALp.434B.1.1.2. Parasitic Capacitance Off-chip Between PXTAL or PEXTAL and VSSp.434B.1.1.3. Parasitic Resistance Between PXTAL and PEXTALp.434B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSSp.434B.1.2 Quartz Crystal Specificationp.43532.768–KHz Oscillator Specifications Cp.437C.1 Specificationsp.437C.1.1 System Specificationsp.437C.1.1.1. Temperature Rangep.437C.1.1.2. Current Consumptionp.437C.1.1.3. Startup Timep.437C.1.1.4. Frequency Shift Due to Temperature Effect on the Circuitp.438C.1.1.5. Parasitic Capacitance Off-chip Between TXTAL and TEXTALp.438C.1.1.6. Parasitic Capacitance Off-chip Between TXTAL or TEXTAL and VSSp.438C.1.1.7. Parasitic Resistance Between TXTAL and TEXTALp.438C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSSp.438C.1.2 Quartz Crystal Specificationp.439Internal Test Dp.441D.1 Test Unit Control Register (TUCR)p.441
Page 15 of the Intel SA-1110 user manual — Table of contents
Page 15 · click to enlarge
Page 15

Table of contents

Intel® StrongARM* SA-1110 Microprocessorp.1Contentsp.3Introduction 1p.211.1 Intel® StrongARM* SA-1110 Microprocessorp.211.2 Overviewp.241.3 Example Systemp.251.4 ARM Architecturep.261.4.1 26-Bit Modep.261.4.2 Coprocessorsp.261.4.3 Memory Managementp.261.4.4 Instruction Cachep.261.4.5 Data Cachep.261.4.6 Write Bufferp.271.4.7 Read Bufferp.27Functional Description 2p.292.1 Block Diagramp.292.2 Inputs/Outputsp.312.3 Signal Descriptionp.322.4 Memory Mapp.36ARM Implementation Options 3p.393.1 Big and Little Endianp.393.2 Exceptionsp.393.2.1 Power-Up Resetp.403.2.2 ROM Size Selectp.403.2.3 Abortp.413.2.4 Vector Summaryp.423.2.5 Exception Prioritiesp.423.2.6 Interrupt Latencies and Enable Timingp.433.3 Coprocessorsp.43Instruction Set 4p.454.1 Instruction Setp.454.2 Instruction Timingp.45Caches, Write Buffer, and Read Buffer 5p.475.1 Instruction Cache (Icache)p.475.1.1 Icache Operationp.475.1.2 Icache Validityp.475.1.2.1 Software Icache Flushp.475.1.3 Icache Enable/Disable and Resetp.485.1.3.1 Enabling the Icachep.485.1.3.2 Disabling the Icachep.485.2 Data Caches (Dcaches)p.485.2.1 Cacheable Bit – Cp.495.2.1.1 Cacheable Reads – C = 1p.495.2.1.2 Noncacheable Reads – C = 0p.495.2.2 Bufferable Bit – Bp.495.2.3 Software Dcache Flushp.505.2.3.1 Doubly Mapped Spacep.505.2.4 Dcaches Enable/Disable and Resetp.505.2.4.1 Enabling the Dcachesp.515.2.4.2 Disabling the Dcachesp.515.3 Write Buffer (WB)p.515.3.1 Bufferable Bitp.515.3.2 Write Buffer Operationp.515.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)p.515.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)p.525.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0)p.525.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1)p.525.3.3 Enabling the Write Bufferp.525.3.3.1 Disabling the Write Bufferp.525.4 Read Buffer (RB)p.52Coprocessors 6p.556.1 Internal Coprocessor Instructionsp.556.2 Coprocessor 15 Definitionp.566.2.1 Register 0 – IDp.566.2.2 Register 1 – Controlp.576.2.3 Register 2 – Translation Table Basep.586.2.4 Register 3 – Domain Access Controlp.586.2.5 Register 4 – RESERVEDp.596.2.6 Register 5 – Fault Statusp.596.2.7 Register 6 – Fault Addressp.596.2.8 Register 7 – Cache Control Operationsp.596.2.9 Register 8 – TLB Operationsp.606.2.10 Register 9 – Read-Buffer Operationsp.606.2.11 Registers 10 – 12 RESERVEDp.616.2.12 Register 13 – Process ID Virtual Address Mappingp.616.2.13 Register 14 – Debug Support (Breakpoints)p.626.2.14 Register 15 – Test, Clock, and Idle Controlp.63Memory Management Unit (MMU) 7p.657.1 Overviewp.657.1.1 MMU Registersp.657.2 MMU Faults and CPU Abortsp.657.3 Data Abortsp.657.3.1 Cacheable Reads (Linefetches)p.667.3.2 Buffered Writesp.667.4 Interaction of the MMU, Icache, Dcache, and Write Bufferp.667.5 Mini Data Cachep.67Clocks 8p.698.1 Intel® StrongARM SA-1110 Crystal Oscillatorsp.698.2 Core Clock Configuration Registerp.708.2.1 Restrictions on Changing the Core Clock Configurationp.718.3 Driving Intel® StrongARM SA-1110 Crystal Pins from an External Sourcep.718.4 Clocking During Testp.72System Control Module 9p.739.1 General-Purpose I/Op.739.1.1 GPIO Register Definitionsp.749.1.1.1 GPIO Pin-Level Register (GPLR)p.759.1.1.2 GPIO Pin Direction Register (GPDR)p.769.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR)p.779.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER)p.789.1.1.5 GPIO Edge Detect Status Register (GEDR)p.799.1.1.6 GPIO Alternate Function Register (GAFR)p.809.1.2 GPIO Alternate Functionsp.819.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Functionp.829.1.3 GPIO Register Locationsp.829.2 Interrupt Controllerp.839.2.1 Interrupt Controller Register Definitionsp.849.2.1.1 Interrupt Controller Pending Register (ICPR)p.849.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP)p.869.2.1.3 Interrupt Controller Mask Register (ICMR)p.879.2.1.4 Interrupt Controller Level Register (ICLR)p.889.2.1.5 Interrupt Controller Control Register (ICCR)p.899.2.2 Interrupt Controller Register Locationsp.909.3 Real-Time Clockp.909.3.1 RTC Counter Register (RCNR)p.909.3.2 RTC Alarm Register (RTAR)p.919.3.3 RTC Status Register (RTSR)p.919.3.4 RTC Trim Register (RTTR)p.939.3.5 Trim Procedurep.939.3.5.1 Oscillator Frequency Calibrationp.939.3.5.2 RTTR Value Calculationsp.949.3.6 Real-Time Clock Register Locationsp.959.4 Operating System Timerp.959.4.1 OS Timer Count Register (OSCR)p.969.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3)p.969.4.3 OS Timer Watchdog Match Enable Register (OWER)p.969.4.4 OS Timer Status Register (OSSR)p.979.4.5 OS Timer Interrupt Enable Register (OIER)p.989.4.6 Watchdog Timerp.989.4.7 OS Timer Register Locationsp.999.5 Power Managerp.999.5.1 Run Modep.999.5.2 Idle Modep.999.5.2.1 Entering Idle Modep.1009.5.2.2 Exiting Idle Modep.1009.5.3 Sleep Modep.1019.5.3.1 CPU Preparation for Sleep Modep.1019.5.3.2 Events Causing Entry into Sleep Modep.1019.5.3.3 The Sleep Shutdown Sequencep.1019.5.3.4 During Sleep Modep.1029.5.3.5 The Sleep Wake-Up Sequencep.1039.5.3.6 Booting After Sleep Modep.1039.5.3.7 Reviving the DRAMs from Self-Refresh Modep.1049.5.4 Notes on Power Supply Sequencingp.1049.5.5 Assumed Behavior of an Intel® StrongARM SA-1110 System in Sleep Modep.1049.5.6 Pin Operation in Sleep Modep.1069.5.7 Power Manager Registersp.1079.5.7.1 Power Manager Control Register (PMCR)p.1079.5.7.2 Power Manager General Configuration Register (PCFR)p.1089.5.7.3 Power Manager PLL Configuration Register (PPCR)p.1109.5.7.4 Power Manager Wake-Up Enable Register (PWER)p.1109.5.7.5 Power Manager Sleep Status Register (PSSR)p.1119.5.7.6 Power Manager Scratch Pad Register (PSPR)p.1139.5.7.7 Power Manager GPIO Sleep State Register (PGSR)p.1139.5.7.8 Power Manager Oscillator Status Register (POSR)p.1149.5.8 Power Manager Register Locationsp.1149.6 Reset Controllerp.1159.6.1 Reset Controller Registersp.1159.6.1.1 Reset Controller Software Reset Register (RSRR)p.1159.6.1.2 Reset Controller Status Register (RCSR)p.1169.6.2 Reset Controller Register Locationsp.117Memory and PC-Card Control Module 10p.11910.1 Overview of Operationp.12010.1.1 Types of Memory Accessesp.12210.1.2 Readsp.12210.1.3 Writesp.12310.1.4 Transaction Summaryp.12310.1.5 Read-Lock-Writep.12310.1.6 Aborts and Nonexistent Memoryp.12410.2 Memory Interface Reset and Initializationp.12410.2.1 Hardware or Sleep Reset Proceduresp.12510.2.2 Software or Watchdog Reset Proceduresp.12610.3 Memory Configuration Registersp.12710.3.1 DRAM Configuration Register (MDCNFG)p.12810.3.2 DRAM Refresh Control Register (MDREFR)p.13210.3.3 CAS Waveform Rotate Registers (MDCAS00, MDCAS01, MDCAS02, MDCAS20, MDCAS21, MDCAS22)p.13610.3.3.1 MDCAS Registers with Asynchronous DRAMp.13610.3.3.2 MDCAS Registers with SDRAM and SMROMp.13710.3.4 Static Memory Control Registers (MSC2 – 0)p.13910.3.5 Expansion Memory (PC-Card) Configuration Register (MECR)p.14210.4 SMROM Configuration Register (SMCNFG)p.14410.4.1 Changing SMROM RAS Latencyp.14710.5 Dynamic Interface Operationp.14810.5.1 DRAM Overviewp.14810.5.2 DRAM Timingp.15010.5.3 SDRAM Overviewp.15210.5.4 SDRAM Commandsp.15410.5.5 SDRAM State Machinep.15510.5.6 DRAM/SDRAM Refreshp.16010.5.7 DRAM/SDRAM Self-Refresh in Sleep Modep.16110.6 Static Memory Interfacep.16210.6.1 ROM Interface Overviewp.16310.6.2 ROM Timing Diagrams and Parametersp.16310.6.3 SRAM Interface Overviewp.16710.6.4 SRAM Timing Diagrams and Parametersp.16710.6.5 Variable Latency I/O Interface Overviewp.16910.6.6 Variable Latency I/O Timing Diagrams and Parametersp.16910.6.7 FLASH Memory Interface Overviewp.17210.6.8 FLASH Memory Timing Diagrams and Parametersp.17210.6.9 SMROM Overviewp.17310.6.10 SMROM Commandsp.17310.6.11 SMROM State Machinep.17410.7 PC-Card Overviewp.17710.7.1 8-, 16-, and 32-Bit Data Bus Operationp.17910.7.2 External Logic for PC-Card Implementationp.18010.7.3 PC-Card Interface Timing Diagrams and Parametersp.18310.8 Alternate Memory Bus Master Modep.18510.9 Memory System Examplesp.18610.10 SA1110 Memory Configuration Toolp.190Peripheral Control Module 11p.20511.1 Read/Write Interfacep.20511.2 Memory Organizationp.20611.3 Interruptsp.20711.4 Peripheral Pinsp.20811.5 Use of the GPIO Pins for Alternate Functionsp.20911.6 DMA Controllerp.21011.6.1 DMA Register Definitionsp.21111.6.1.1 DMA Device Address Register (DDARn)p.21111.6.1.2 DMA Control/Status Register (DCSRn)p.21311.6.1.3 DMA Buffer A Start Address Register (DBSAn)p.21511.6.1.4 DMA Buffer A Transfer Count Register (DBTAn)p.21611.6.1.5 DMA Buffer B Start Address Register (DBSBn)p.21611.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)p.21611.6.2 DMA Register Listp.21711.7 LCD Controllerp.21911.7.1 LCD Controller Operationp.22011.7.1.1 DMA to Memory Interfacep.22111.7.1.2 Frame Bufferp.22111.7.1.3 Input FIFOp.22611.7.1.4 Lookup Palettep.22611.7.1.5 Color/Gray-Scale Ditheringp.22611.7.1.6 Output FIFOp.22711.7.1.7 LCD Controller Pinsp.22711.7.2 LCD Controller Register Definitionsp.22811.7.3 LCD Controller Control Register 0p.22911.7.3.1 LCD Enable (LEN)p.22911.7.3.2 Color/Monochrome Select (CMS)p.22911.7.3.3 Single-/Dual-Panel Select (SDS)p.22911.7.3.4 LCD Disable Done Interrupt Mask (LDM)p.23111.7.3.5 Base Address Update Interrupt Mask (BAM)p.23211.7.3.6 Error Interrupt Mask (ERM)p.23211.7.3.7 Passive/Active Display Select (PAS)p.23211.7.3.8 Big/Little Endian Select (BLE)p.23311.7.3.9 Double-Pixel Data (DPD) Pin Modep.23411.7.3.10 Vertical Slant Line Correction (VSC)p.23411.7.3.11 Palette DMA Request Delay (PDD)p.23411.7.4 LCD Controller Control Register 1p.23611.7.4.1 Pixels Per Line (PPL)p.23711.7.4.2 Horizontal Sync Pulse Width (HSW)p.23711.7.4.3 End-of-Line Pixel Clock Wait Count (ELW)p.23711.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)p.23711.7.5 LCD Controller Control Register 2p.23811.7.5.1 Lines Per Panel (LPP)p.23811.7.5.2 Vertical Sync Pulse Width (VSW)p.23911.7.5.3 End-of-Frame Line Clock Wait Count (EFW)p.23911.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)p.24011.7.6 LCD Controller Control Register 3p.24111.7.6.1 Pixel Clock Divider (PCD)p.24211.7.6.2 AC Bias Pin Frequency (ACB)p.24211.7.6.3 AC Bias Pin Transitions Per Interrupt (API)p.24211.7.6.4 Vertical Sync Polarity (VSP)p.24311.7.6.5 Horizontal Sync Polarity (HSP)p.24311.7.6.6 Pixel Clock Polarity (PCP)p.24311.7.6.7 Output Enable Polarity (OEP)p.24311.7.7 LCD Controller DMA Registersp.24511.7.8 DMA Channel 1 Base Address Registerp.24511.7.9 DMA Channel 1 Current Address Registerp.24611.7.10 DMA Channel 2 Base and Current Address Registersp.24711.7.11 LCD Controller Status Registerp.24811.7.11.1 LCD Disable Done Flag (LDD) (read/write, maskable interrupt)p.24911.7.11.2 Base Address Update Flag (BAU) (read-only, maskable interrupt)p.24911.7.11.3 Bus Error Status (BER) (read/write, maskable interrupt)p.24911.7.11.4 AC Bias Count Status (ABC) (read/write, nonmaskable interrupt)p.24911.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)p.24911.7.11.6 Input FIFO Underrun Lower Panel Status (IUL) (read/write, maskable interrupt)p.25011.7.11.7 Input FIFO Overrun Upper Panel Status (IOU) (read/write, maskable interrupt)p.25011.7.11.8 Input FIFO Underrun Upper Panel Status (IUU) (read/write, maskable interrupt)p.25011.7.11.9 Output FIFO Overrun Lower Panel Status (OOL) (read/write, maskable interrupt)p.25011.7.11.10 Output FIFO Underrun Lower Panel Status (OUL) (read only, maskable interrupt)p.25011.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)p.25011.7.11.12 Output FIFO Underrun Upper Panel Status (OUU) (read/write, maskable interrupt)p.25111.7.12 LCD Controller Register Locationsp.25211.7.13 LCD Controller Pin Timing Diagramsp.25411.8 Serial Port 0 – USB Device Controller (UDC)p.25911.8.1 USB Operationp.26111.8.1.1 Signalling Levelsp.26111.8.1.2 Connecting the USB to the SA-1110p.26211.8.1.3 Bit Encodingp.26311.8.1.4 Field Formatsp.26411.8.1.5 Packet Typesp.26511.8.1.6 Transaction Formatsp.26711.8.1.7 SA-1110 UDC Device-Request Commandsp.26911.8.1.8 Using DMAp.27111.8.1.9 Software Control of the SA-1110 UDCp.27111.8.1.10 SA-1110 USB Example Codep.27811.8.2 SA-1110 UDC Register Definitionsp.27811.8.3 UDC Control Register (UDCCR)p.27911.8.3.1 UDC Disable (UDD)p.28011.8.3.2 UDC Active (UDA)p.28011.8.3.3 Resume Interrupt Mask (RESIM)p.28011.8.3.4 Endpoint 0 Interrupt Mask (EIM)p.28111.8.3.5 Receive Interrupt Mask (RIM)p.28111.8.3.6 Transmit Interrupt Mask (TIM)p.28111.8.3.7 Suspend Interrupt Mask (SUSIM)p.28211.8.3.8 Reserved/B5p.28211.8.4 UDC Address Register (UDCAR)p.28211.8.5 UDC OUT Maximum Packet Register (UDCOMP)p.28311.8.6 UDC IN Maximum Packet Register (UDCIMP)p.28411.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)p.28411.8.7.1 OUT Packet Ready (OPR)p.28511.8.7.2 IN Packet Ready (IPR)p.28511.8.7.3 Sent Stall (SST)p.28611.8.7.4 Force Stall (FST)p.28611.8.7.5 Data End (DE)p.28611.8.7.6 Setup End (SE)p.28611.8.7.7 Serviced OPR (SO)p.28611.8.7.8 Serviced Setup End (SSE)p.28611.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)p.28611.8.8.1 Receive FIFO Service (RFS)p.28711.8.8.2 Receive Packet Complete (RPC)p.28711.8.8.3 Receive Packet Error (RPE)p.28811.8.8.4 Sent Stall (SST)p.28811.8.8.5 Force Stall (FST)p.28811.8.8.6 Receive FIFO Not Empty (RNE)p.28811.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)p.28811.8.9.1 Transmit FIFO Service (TFS)p.28911.8.9.2 Transmit Packet Complete (TPC)p.28911.8.9.3 Transmit Packet Error (TPE)p.28911.8.9.4 Transmit Underrun (TUR)p.29011.8.9.5 Sent STALL (SST)p.29011.8.9.6 Force STALL (FST)p.29011.8.10 UDC Endpoint 0 Data Register (UDCD0)p.29011.8.11 UDC Endpoint 0 Write Count Register (UDCWC)p.29111.8.12 UDC Data Register (UDCDR)p.29211.8.13 UDC Status/Interrupt Register (UDCSR)p.29211.8.13.1 Endpoint 0 Interrupt Request (EIR)p.29311.8.13.2 Receive Interrupt Request (RIR)p.29411.8.13.3 Transmit Interrupt Request (TIR)p.29411.8.13.4 Suspend Interrupt Request (SUSIR)p.29411.8.13.5 Resume Interrupt Request (RESIR)p.29411.8.13.6 Reset Interrupt Request (RSTIR)p.29411.8.14 SA-1110 UDC Register Locationsp.29411.9 Serial Port 1 – GPCLK/UARTp.29511.9.1 GPCLK Operationp.29511.9.1.1 Simultaneous Use of the UART and GPCLKp.29611.9.2 GPCLK Control Register 0p.29611.9.2.1 GPCLK/UART Select (SUS)p.29611.9.2.2 Sample Clock Enable (SCE)p.29611.9.2.3 Sample Clock Direction (SCD)p.29611.9.3 GPCLK Control Register 1p.29711.9.3.1 Transmit Enable (TXE)p.29711.9.4 GPCLK Control Registers 2 and 3p.29811.9.4.1 Baud Rate Divisor (BRD)p.29811.9.5 UART Register Locationsp.29911.9.6 GPCLK Register Locationsp.30011.10 Serial Port 2 – Infrared Communications Port (ICP)p.30011.10.1 Low-Speed ICP Operationp.30111.10.1.1 HP-SIR Modulationp.30111.10.1.2 UART Frame Formatp.30211.10.2 High-Speed ICP Operationp.30211.10.2.1 4PPM Modulationp.30211.10.2.2 HSSP Frame Formatp.30311.10.2.3 Address Fieldp.30411.10.2.4 Control Fieldp.30411.10.2.5 Data Fieldp.30411.10.2.6 CRC Fieldp.30411.10.2.7 Baud Rate Generationp.30511.10.2.8 Receive Operationp.30511.10.2.9 Transmit Operationp.30611.10.2.10 Transmit and Receive FIFOsp.30711.10.2.11 CPU and DMA Register Access Sizesp.30811.10.3 UART Register Definitionp.30811.10.4 UART Control Register 4p.30811.10.4.1 HP-SIR Enable (HSE)p.30811.10.4.2 Low-Power Mode (LPM)p.30811.10.5 HSSP Register Definitionsp.30911.10.6 HSSP Control Register 0p.30911.10.6.1 IrDA Transmission Rate (ITR)p.30911.10.6.2 Loopback Mode (LBM)p.31011.10.6.3 Transmit FIFO Underrun Select (TUS)p.31011.10.6.4 Transmit Enable (TXE)p.31111.10.6.5 Receive Enable (RXE)p.31111.10.6.6 Receive FIFO Interrupt Enable (RIE)p.31111.10.6.7 Transmit FIFO Interrupt Enable (TIE)p.31211.10.6.8 Address Match Enable (AME)p.31211.10.7 HSSP Control Register 1p.31311.10.7.1 Address Match Value (AMV)p.31311.10.8 HSSP Control Register 2p.31411.10.8.1 Transmit Pin Polarity Select (TXP)p.31411.10.8.2 Receive Pin Polarity Select (RXP)p.31511.10.9 HSSP Data Registerp.31611.10.10 HSSP Status Register 0p.31711.10.10.1 End/Error in FIFO Status (EIF) (read-only, nonmaskable interrupt)p.31811.10.10.2 Transmit Underrun Status (TUR) (read/write, maskable interrupt)p.31811.10.10.3 Receiver Abort Status (RAB) (read/write, nonmaskable interrupt)p.31811.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.31811.10.10.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.31911.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)p.31911.10.11 HSSP Status Register 1p.32011.10.11.1 Receiver Synchronized Flag (RSY) (read-only, noninterruptible)p.32111.10.11.2 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.32111.10.11.3 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.32111.10.11.4 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.32111.10.11.5 End-of-Frame Flag (EOF) (read-only, noninterruptible)p.32111.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)p.32111.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)p.32211.10.12 UART Register Locationsp.32311.10.13 HSSP Register Locationsp.32411.11 Serial Port 3 – UARTp.32511.11.1 UART Operationp.32511.11.1.1 Frame Formatp.32611.11.1.2 Baud Rate Generationp.32611.11.1.3 Receive Operationp.32611.11.1.4 Transmit Operationp.32711.11.1.5 Transmit and Receive FIFOsp.32711.11.1.6 CPU and DMA Register Access Sizesp.32711.11.2 UART Register Definitionsp.32711.11.3 UART Control Register 0p.32811.11.3.1 Parity Enable (PE)p.32811.11.3.2 Odd/Even Parity Select (OES)p.32811.11.3.3 Stop Bit Select (SBS)p.32811.11.3.4 Data Size Select (DSS)p.32911.11.3.5 Sample Clock Enable (SCE)p.32911.11.3.6 Receive Clock Edge Select (RCE)p.32911.11.3.7 Transmit Clock Edge Select (TCE)p.32911.11.4 UART Control Registers 1 and 2p.33011.11.4.1 Baud Rate Divisor (BRD)p.33011.11.5 UART Control Register 3p.33111.11.5.1 Receiver Enable (RXE)p.33211.11.5.2 Transmitter Enable (TXE)p.33211.11.5.3 Break (BRK)p.33211.11.5.4 Receive FIFO Interrupt Enable (RIE)p.33211.11.5.5 Transmit FIFO Interrupt Enable (TIE)p.33311.11.5.6 Loopback Mode (LBM)p.33311.11.6 UART Data Registerp.33411.11.7 UART Status Register 0p.33511.11.7.1 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.33611.11.7.2 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.33611.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)p.33611.11.7.4 Receiver Begin of Break Status (RBB) (read/write, nonmaskable interrupt)p.33711.11.7.5 Receiver End of Break Status (REB) (read/write, nonmaskable interrupt)p.33711.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)p.33711.11.8 UART Status Register 1p.33911.11.8.1 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.33911.11.8.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.33911.11.8.3 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.33911.11.8.4 Parity Error Flag (PRE) (read-only, noninterruptible)p.33911.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)p.33911.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)p.34011.11.9 UART Register Locationsp.34111.12 Serial Port 4 – MCP / SSPp.34211.12.1 MCP Operationp.34311.12.1.1 Frame Formatp.34311.12.1.2 Audio and Telecom Sample Rates and Data Transferp.34511.12.1.3 MCP Transmit and Receive FIFO Operationp.34611.12.1.4 Codec Control Register Data Transferp.34711.12.1.5 External Clock Operationp.34811.12.1.6 Alternate SSP Pin Assignmentp.34811.12.1.7 CPU and DMA Register Access Sizesp.34811.12.2 MCP Register Definitionsp.34911.12.3 MCP Control Register 0p.34911.12.3.1 Audio Sample Rate Divisor (ASD)p.34911.12.3.2 Telecom Sample Rate Divisor (TSD)p.35011.12.3.3 Multimedia Communications Port Enable (MCE)p.35111.12.3.4 External Clock Select (ECS)p.35111.12.3.5 A/D Sampling Mode (ADM)p.35211.12.3.6 Telecom Transmit FIFO Interrupt Enable (TTE)p.35211.12.3.7 Telecom Receive FIFO Interrupt Enable (TRE)p.35211.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)p.35211.12.3.9 Audio Receive FIFO Interrupt Enable (ARE)p.35311.12.3.10 Loopback Mode (LBM)p.35311.12.3.11 External Clock Prescaler (ECP)p.35311.12.4 MCP Control Register 1p.35511.12.4.1 Clock Frequency Select (CFS)p.35511.12.5 MCP Data Registersp.35611.12.5.1 MCP Data Register 0p.35611.12.5.2 MCP Data Register 1p.35711.12.5.3 MCP Data Register 2p.35811.12.6 MCP Status Registerp.36011.12.6.1 Audio Transmit FIFO Service Request Flag (ATS) (read-only, maskable interrupt)p.36011.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)p.36011.12.6.3 Telecom Transmit FIFO Service Request Flag (TTS) (read-only, maskable interrupt)p.36111.12.6.4 Telecom Receive FIFO Service Request Flag (TRS) (read-only, maskable interrupt)p.36111.12.6.5 Audio Transmit FIFO Underrun Status (ATU) (read/write, nonmaskable interrupt)p.36111.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)p.36111.12.6.7 Telecom Transmit FIFO Underrun Status (TTU) (read/write, nonmaskable interrupt)p.36211.12.6.8 Telecom Receive FIFO Overrun Status (TRO) (read/write, nonmaskable interrupt)p.36211.12.6.9 Audio Transmit FIFO Not Full Flag (ANF) (read-only, noninterruptible)p.36211.12.6.10 Audio Receive FIFO Not Empty Flag (ANE) (read-only, noninterruptible)p.36211.12.6.11 Telecom Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.36211.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)p.36211.12.6.13 Codec Write Completed Flag (CWC) (read-only, noninterruptible)p.36311.12.6.14 Codec Read Completed Flag (CRC) (read-only, noninterruptible)p.36311.12.6.15 Audio Codec Enabled Flag (ACE) (read-only, noninterruptible)p.36311.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)p.36311.12.7 SSP Operationp.36511.12.7.1 Frame Formatp.36611.12.7.2 Baud Rate Generationp.37011.12.7.3 SSP Transmit and Receive FIFOsp.37011.12.7.4 CPU and DMA Register Access Sizesp.37111.12.7.5 Alternate SSP Pin Assignmentp.37111.12.8 SSP Register Definitionsp.37111.12.9 SSP Control Register 0p.37211.12.9.1 Data Size Select (DSS)p.37211.12.9.2 Frame Format (FRF)p.37211.12.9.3 Synchronous Serial Port Enable (SSE)p.37211.12.9.4 Serial Clock Rate (SCR)p.37311.12.10 SSP Control Register 1p.37411.12.10.1 Receive FIFO Interrupt Enable (RIE)p.37411.12.10.2 Transmit FIFO Interrupt Enable (TIE)p.37411.12.10.3 Loopback Mode (LBM)p.37511.12.10.4 Serial Clock Polarity (SPO)p.37511.12.10.5 Serial Clock Phase (SPH)p.37511.12.10.6 External Clock Select (ECS)p.37611.12.11 SSP Data Registerp.37711.12.12 SSP Status Registerp.37911.12.12.1 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.37911.12.12.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.37911.12.12.3 SSP Busy Flag (BSY) (read-only, noninterruptible)p.37911.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.37911.12.12.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.38011.12.12.6 Receiver Overrun Status (ROR) (read/write, nonmaskable interrupt)p.38011.12.13 MCP Register Locationsp.38111.12.14 SSP Register Locationsp.38211.13 Peripheral Pin Controller (PPC)p.38211.13.1 PPC Operationp.38211.13.2 PPC Register Definitionsp.38311.13.3 PPC Pin Direction Registerp.38311.13.4 PPC Pin State Registerp.38511.13.5 PPC Pin Assignment Registerp.38711.13.5.1 UART Pin Reassignment (UPR)p.38711.13.5.2 SSP Pin Reassignment (SPR)p.38711.13.6 PPC Sleep Mode Pin Direction Registerp.38811.13.7 PPC Pin Flag Registerp.39011.13.8 PPC Register Locationsp.392DC Parameters 12p.39312.1 Absolute Maximum Ratingsp.39312.2 DC Operating Conditionsp.39412.3 Power Supply Voltages and Currentsp.395AC Parameters 13p.39713.1 Test Conditionsp.39713.2 Model Considerationsp.39813.3 Memory Bus and PCMCIA Signal Timingsp.39813.4 LCD Controller Signalsp.39913.5 MCP Signalsp.39913.6 Timing Parametersp.40113.6.1 Asynchronous Signal Timing Descriptionsp.403Package and Pinout 14p.405Debug Support 15p.41115.1 Instruction Breakpointp.41115.2 Data Breakpointp.411Boundary-Scan Test Interface 16p.41316.1 Overviewp.41316.2 Resetp.41416.3 Pull-Up Resistorsp.41416.4 Instruction Registerp.41416.5 Public Instructionsp.41416.5.1 EXTEST (00000)p.41516.5.2 SAMPLE/PRELOAD (00001)p.41516.5.3 CLAMP (00100)p.41516.5.4 HIGHZ (00101)p.41616.5.5 IDCODE (00110)p.41616.5.6 BYPASS (11111)p.41616.6 Test Data Registersp.41716.6.1 Bypass Registerp.41716.6.2 Intel® StrongARM SA-1110 Device Identification (ID) Code Registerp.41816.6.3 Intel® StrongARM SA-1110 Boundary-Scan (BS) Registerp.41816.7 Boundary-Scan Interface Signalsp.419Register Summary Ap.4273.6864–MHz Oscillator Specifications Bp.433B.1 Specificationsp.433B.1.1 System Specificationsp.433B.1.1.1. Parasitic Capacitance Off-chip Between PXTAL and PEXTALp.434B.1.1.2. Parasitic Capacitance Off-chip Between PXTAL or PEXTAL and VSSp.434B.1.1.3. Parasitic Resistance Between PXTAL and PEXTALp.434B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSSp.434B.1.2 Quartz Crystal Specificationp.43532.768–KHz Oscillator Specifications Cp.437C.1 Specificationsp.437C.1.1 System Specificationsp.437C.1.1.1. Temperature Rangep.437C.1.1.2. Current Consumptionp.437C.1.1.3. Startup Timep.437C.1.1.4. Frequency Shift Due to Temperature Effect on the Circuitp.438C.1.1.5. Parasitic Capacitance Off-chip Between TXTAL and TEXTALp.438C.1.1.6. Parasitic Capacitance Off-chip Between TXTAL or TEXTAL and VSSp.438C.1.1.7. Parasitic Resistance Between TXTAL and TEXTALp.438C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSSp.438C.1.2 Quartz Crystal Specificationp.439Internal Test Dp.441D.1 Test Unit Control Register (TUCR)p.441
Page 16 of the Intel SA-1110 user manual — D Internal Test
Page 16 · click to enlarge
Page 16

C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSS 438 C.1.2 Quartz Crystal Specification 439

D Internal Test

D.1 Test Unit Control Register (TUCR) ...........................................................................................441

Figures

1-1 SA-1110 Features 21 1-2 SA-1110 Example System 25 2-1 SA-1110 Block Diagram 30 2-2 SA-1110 Functional Diagram 31 2-3 SA-1110 Memory Map 38 6-1 Format of Internal Coprocessor Instructions MRC and MCR 55 8-1 SA-1110 Clock System Block Diagram 69 9-1 General-Purpose I/O Block Diagram 74 9-2 Interrupt Controller Block Diagram 83 9-3 Transitions Between Modes of Operation 105 10-1 General Memory Interface Configuration 120 10-2 Memory Pins and Memory Controller State after Hardware Reset 124 10-3 DRAM Single-Beat Transactions 151 10-4 Dram Burst-of-Eight Transactions 152 10-5 SDRAM State Machine 156 10-6 SDRAM 1-Beat Read/Write/Read Timing for 4 Bank x 4 M x 4 Bit Organization (64 Mbit) 157 10-7 SDRAM 1-Beat Read/Write Timing for 4 Bank x 4 M x 4 Bit Organization (64 Mbit) at Half-Memory Clock Frequency (MDREFR:KnDB2=1)) 158 10-8 SDRAM 8-Beat Read/Write Timing for 4 Bank x 4 M x 4 Bit Organization (64 Mbit) 159 10-9 DRAM/SDRAM CBR Refresh Cycle 161 10-10 Burst-of-Eight ROM or Flash Read Timing Diagram 164 10-11 Eight-Beat Burst Read from Burst-of-Four ROM or Flash 165 10-12 Nonburst ROM, SRAM, or Flash Read Timing Diagram – Four Data Beats) 166 10-13 SRAM Write Timing Diagram (4–Beat Burst) 168 10-14 Variable Latency I/O Read Timing (Burst-of-Four) 170 10-15 Variable Latency I/O Write Timing (Burst-of-Four) 171 10-16 Flash Write Timing Diagram (2 Writes) 173 10-17 SMROM State Machine 176 10-18 SMROM Eight-Beat and Two-Beat Timing for 2 M x 16 Bit Organization (32 Mbit) at Half-Memory Clock Frequency (MDREFR:K0DB2=1) 177 10-19 PC-Card Memory Map 178 10-20 PC-Card External Logic for a Two-Socket Configuration 181 10-21 PC-Card External Logic for a One-Socket Configuration 182 10-22 PC-Card Memory or I/O 16-Bit Access 183 10-23 PC-Card I/O 16-Bit Access to 8-Bit Device 184 10-24 DRAM System Example 187 10-25 SDRAM System Example 188

Page 17 of the Intel SA-1110 user manual — Contents
Page 17 · click to enlarge
Page 17

10-26 SMROM System Example 189 10-27 Memory Configuration Tool - page 1 191 10-28 Memory Configuration Tool - page 1, continued 192 10-29 Memory Configuration Tool - page 2 193 10-30 Memory Configuration Tool - page 3 194 10-31 Memory Configuration Tool - page 4 195 10-32 Memory Configuration Tool - page 5 196 10-33 Memory Configuration Tool - page 5, continued 197 10-34 Memory Configuration Tool - page 6 198 10-35 Memory Configuration Tool - page 6, continued 199 10-36 Memory Configuration Tool - page 7 200 10-37 Memory Configuration Tool - page 8 201 10-38 Memory Configuration Tool - page 8, continued 202 10-39 Memory Configuration Tool - page 8, continued 203 11-1 Peripheral Control Module Block Diagram 206 11-2 Big and Little Endian DMA Transfers 212 11-3 Palette Buffer Format 222 11-4 4 Bits Per Pixel Data Memory Organization (Little Endian) 223 11-5 12-Bits Per Pixel Data Memory Organization (Passive Mode Only) 224 11-6 16-Bits Per Pixel Data Memory Organization (Active Mode Only) 224 11-7 LCD Data-Pin Pixel Ordering 231 11-8 Frame Buffer/Palette Bits Output to LCD Data Pins in Active Mode 233 11-9 Passive Mode Beginning-of-Frame Timing 254 11-10 Passive Mode End-of-Frame Timing 255 11-11 Passive Mode Pixel Clock and Data Pin Timing 256 11-12 Active Mode Timing 257 11-13 Active Mode Pixel Clock and Data Pin Timing 258 11-14 Connecting the USB to the SA-1110 UDC 263 11-15 NRZI Bit Encoding Example 264 11-16 Setup Token Packet Format 266 11-17 SOF Token Packet Format 266 11-18 Data Packet Format 266 11-19 Handshake Packet Format 267 11-20 Bulk Transaction Formats 268 11-21 Control Transaction Formats 269 11-22 HP-SIR Modulation Example 301 11-23 UART Frame Format for IrDA Transmission (

Page 18 of the Intel SA-1110 user manual — Tables
Page 18 · click to enlarge
Page 18

13-1 Memory Bus AC Timing Definitions 398 13-2 LCD AC Timing Definitions 399 13-3 MCP AC Timing Definitions 400 14-1 SA-1110 256-Pin mBGA Mechanical Drawing 406 16-1 Test Access Port (TAP) Controller State Transitions 413 16-2 Boundary-Scan Block Diagram 417 16-3 Boundary-Scan General Timing 419 16-4 Boundary-Scan Tristate Timing 420 16-5 Boundary-Scan Reset Timing 420

Tables

1-2 Changes to the SA-1110 Core from the SA-110 22 1-1 Features of the SA-1110 CPU 22 1-3 Feature Additions to the SA-1110 from the SA-110 23 1-4 Feature Additions to the SA-1110 from the SA-1100 23 2-1 Signal Descriptions 32 3-1 Vector Summary 42 4-1 Instruction Timing 45 5-1 Effects of the Cacheable and Bufferable Bits on the Data Caches 49 6-1 Cache and MMU Control Registers (Coprocessor 15) 56 7-1 Valid MMU, Dcache, and Write Buffer Combinations 66 8-1 Core Clock Configurations 70 9-1 OS Timer Register Locations 99 9-2 SA-1110 Power and Clock Supply Sources and States During Power-Down Modes 106 9-3 Pin State During Sleep 107 9-4 Power Manager Register Locations 114 9-5 Reset Controller Register Locations 117 10-1 Supported Memory Types 119 10-2 SA-1110 Transactions On 32-Bit Data Buses 123 10-3 Memory Interface Control Registers 127 10-4 Timing Interpretations of Possible SDRAM/SMROM MDCAS Settings 139 10-5 BS_xx Bit Encoding 143 10-6 BCLK Speeds for 160-MHz Processor Core Frequency 143 10-7 Some DRAM Memory Size Options 148 10-8 DRAM or SMROM Row/Column Address Multiplexing 149 10-9 SDRAM Command Encoding 154 10-10 Summary of Static Memory and Variable Latency I/O Capabilities 162 10-11 SMROM Command Encoding 174 11-1 Peripheral Control Modules’ Register Width and DMA Port Size 206 11-2 Peripheral Unit Base Addresses 207 11-3 Peripheral Unit Interrupt Numbers 207 11-4 Dedicated Peripheral Pins 208 11-5 Peripheral Unit GPIO Pin Assignment 209 11-6 Valid Settings for the DDARn Register 213 11-7 8-Bits Per Pixel Data Memory Organization (Little Endian) 224 11-8 Color/Gray-Scale Intensities and Modulation Rates 227 11-9 LCD Controller Data Pin Utilization 230

Page 19 of the Intel SA-1110 user manual — Contents
Page 19 · click to enlarge
Page 19

11-10 LCD Controller Control, DMA, and Status Register Locations 252 11-11 USB Bus States 261 11-12 Endpoint Field Addressing 265 11-13 Host Device-Request Command Summary 270 11-14 SA-1110 UDC Control, Data, and Status Register Locations 294 11-15 UART Control, Data, and Status Register Locations 299 11-16 GPCLK Control Register Locations 300 11-17 UART Control, Data, and Status Register Locations 324 11-18 HSSP Control, Data, and Status Register Locations 324 11-19 Serial Port 3 Control, Data, and Status Register Locations 341 11-20 MCP Control, Data, and Status Register Locations 381 11-21 SSP Control, Data, and Status Register Locations 382 11-22 PPC Control and Flag Register Locations 392 12-1 SA-1110 DC Maximum Ratings 393 12-2 SA-1110 DC Operating Conditions 394 12-3 SA-1110 Power Supply Voltages and Currents 395 13-1 SA-1110 Output Derating — Fast Output Buffer 397 13-2 SA-1110 Output Derating — Slow Output Buffer 397 13-3 SA-1110 AC Timing Specifications and Guidelines for SDRAM/SMROM 401 13-4 SA-1110 AC Timing Guidelines for Asynchronous Memory Types 402 13-5 SA-1110 AC Timing Table: MCP Interface and LCD Controller 402 14-1 SA-1110 Pinout – Numeric Signal Pin List 407 14-2 SA-1110 Pinout – Alphabetic Signal Pin List 408 14-3 Package Marking Versus Revision Number 409 16-1 SA-1110 Boundary-Scan Interface Timing 421 16-2 Boundary-Scan Signals and Pins 422

Page 20 of the Intel SA-1110 user manual — Contents
Page 20 · click to enlarge
Page 20
Page 20 of the Intel SA-1110 user manual — Contents
Page 21 of the Intel SA-1110 user manual — Figure 1-1. SA-1110 Features
Page 21 · click to enlarge
Page 21

Introduction 1

1.1 Intel ® StrongARM* SA-1110 Microprocessor

The Intel® StrongARM* SA-1110 Microprocessor (SA-1110) is a highly integrated communications microcontroller that incorporates a 32-bit StrongARM RISC processor core, system support logic, multiple communication channels, an LCD controller, a memory and PCMCIA controller, and general-purpose I/O ports. As do the Intel StrongARM SA-110 Microprocessor (SA-110) and Intel StrongARM SA-1100 Microprocessor (SA-1100), earlier members of the StrongARM family, the SA-1110 provides power efficiency, low cost, and high performance. Figure 1-1 shows the features of the SA-1110. The shaded boxes are features that have carried over with few or no changes from the SA-110. The nonshaded boxes are new or updated features for the SA-1110; most of the features are equivalent to that of the SA-1100. The SA-1110 differs from the SA-1100 only in the features of its memory and PCMCIA controller.

Figure 1-1. SA-1110 Features

16KB Instruction

JTAG

Cache

IMMU

Intel ® StrongARM *

DMMU

CPU

Write Buffer

I/O

A6830-01

Show 13 more labels / short text on this page
Read Buffer · 8KB Data Cache · 512-byte MiniDcache · Interrupt Controller · General-Purpose · Memory/ Controller · DMA Controller · Serial Controllers · LCD Controller · Interval · Real-Time · Timer · Clock
Page 22 of the Intel SA-1110 user manual — Table 1-2. Changes to the SA-1110 Core from the SA-110
Page 22 · click to enlarge
Page 22

Introduction

Table 1-1. Features of the SA-1110 CPU

  • High Performance
  • 3.3 V I/O interface
  • 256-pin mini-BGA package (mBGA)
  • 32-way set-associative caches

— 150 Dhrystone 2.1 MIPS @ 133 MHz

— 235 Dhrystone 2.1 MIPS @ 206 MHz • Low power (normal mode)†

— 16 Kbyte instruction cache

— <240 mW @1.55 V/133 MHz

— 8 Kbyte write-back data cache • 32-entry memory-management units

— <400 mW @ 1.75 V/206 MHz • Integrated clock generation

— Maps 4 Kbyte, 8 Kbyte, or 1 Mbyte • Write buffer

— Internal phase-locked loop (PLL)

— 3.686 MHz oscillator

— 8-entry, between 1 and 16 bytes each • Read buffer

— 32.768 kHz oscillator • Power-management features

— 4-entry, 1, 4, or 8 words • Memory bus

— Normal (full-on) mode

— Idle (power-down) mode

— Interfaces to ROM, synchronous

mask ROM (SMROM), Flash, SRAM, SRAM-like variable latency I/O, DRAM, and synchronous DRAM (SDRAM)

— Sleep (power-down) mode • Big and little endian operating modes

— Supports two PCMCIA sockets

† Power dissipation, particularly in idle mode, is strongly dependent on the details of the system design.

Table 1-2. Changes to the SA-1110 Core from the SA-110

  • Data cache reduced from 16 Kbyte to 8 Kbyte
  • Interrupt vector address adjust capability
  • Read buffer (nonblocking)
  • Minicache for alternate data caching
  • Hardware breakpoints
  • Memory-management unit (MMU) enhancements
  • Process ID mapping
Page 23 of the Intel SA-1110 user manual — Table 1-4. Feature Additions to the SA-1110 from the SA-1100
Page 23 · click to enlarge
Page 23

Introduction

Table 1-3. Feature Additions to the SA-1110 from the SA-110

  • Memory controller supporting ROM, synchronous mask ROM (SMROM), Flash, DRAM, synchronous DRAM (SDRAM), SRAM, and SRAM-like variable latency I/O
  • LCD controller
  • Twenty-eight general-purpose I/O ports
  • Real-time clock with interrupt capability
  • On-chip oscillators for clock sources
  • Interrupt controller
  • Power-management features

— 1-, 2-, or 4-bit gray-scale levels

— Normal (full-on) mode

  • — 8-, 12-, or 16-bit color levels
  • 230-Kbps UART
  • Touch-screen, audio, telecom port
  • Infrared data (IrDA) serial port

— Idle (power-down) mode

  • — Sleep (power-down) mode
  • Four general-purpose interruptible timers
  • 12-Mbps USB device controller
  • Synchronous serial port (UCB1100, UCB1200, SPI, TI, Wire)
  • — 115 Kbps, 4 Mbps
  • Six-channel DMA controller
  • Integrated two-slot PCMCIA controller

Table 1-4. Feature Additions to the SA-1110 from the SA-1100

  • Synchronous DRAM (SDRAM) support
  • Synchronous mask ROM (SMROM) support (32-bit only) on CS0-3
  • Ready input signal for variable latency I/O devices (for example, graphics chips)
  • CS4 and CS5 for variable latency I/O devices, ROM, or Flash memory
  • CS3 support for variable latency I/O devices (instead of SRAM)
  • Support for burst (page-mode) read timings from Flash memory
  • Support for 16-bit data busses on all memory types (except SMROM)
  • Support for SRAM, DRAM, and SDRAM in the same system
Page 24 of the Intel SA-1110 user manual — The instruction set comprises eight basic instruction types:
Page 24 · click to enlarge
Page 24

Introduction

1.2 Overview

The SA-1110 is a general-purpose, 32-bit RISC microprocessor with a 16 Kbyte instruction cache, an 8 Kbyte write-back data cache, a minicache, a write buffer, a read buffer, and a memory management unit (MMU) combined in a single chip. The SA-1110 is software compatible with the ARM* V4 architecture processor family and can be used with ARM* support chips such as I/O, memory, and video. The core of the SA-1110 is derived from the core of the Intel® StrongARM SA-110 Microprocessor (SA-110), with the following changes:

  • Reduction in size of the data cache from 16 Kbyte to 8 Kbyte
  • Addition of a 512-byte mini data cache that allocates data based on MMU settings
  • Addition of debug support in the form of address and data breakpoints
  • Addition of a four-entry read buffer to facilitate software-controlled data prefetching
  • Addition of vector address adjust capability
  • Addition of a process ID register

The logic outside the core and caches is grouped into the following three modules:

  • Memory and PCMCIA control module (MPCM) – Memory interface supporting ROM, Synchronous Mask ROM (SMROM), Flash, DRAM, SDRAM, SRAM, SRAM-like variable latency I/O, and PCMCIA control signals
  • System control module (SCM) – Twenty-eight general-purpose interruptible I/O ports – Real-time clock, watchdog, and interval timers – Power management controller – Interrupt controller – Reset controller – Two on-chip oscillators for connection to 3.686 MHz and 32.768 kHz crystals
  • Peripheral control module (PCM) – Six-channel DMA controller – Gray/color, active/passive LCD controller – 16550-compatible UART – IrDA serial port (115 Kbps, 4 Mbps) – Synchronous serial port (UCB1100, UCB1200, SPI, TI, µWire) – Universal serial bus (USB) device controller

The instruction set comprises eight basic instruction types:

  • Two make use of on-chip arithmetic logic unit, barrel shifter, and multiplier to perform high-speed operations on data in a bank of 16 logical registers (31 physical registers), each 32 bits wide.
  • Three classes of instructions control data transfer between memory and the registers: one optimized for flexibility of addressing, one for rapid context switching, and one for swapping data.
  • Two instructions control the flow and privilege level of execution.
  • One class is used to access the privileged state of the CPU.
Page 25 of the Intel SA-1110 user manual — SDRAM/DRAM
Page 25 · click to enlarge
Page 25

Introduction

The ARM instruction set is a good target for compilers of many different high-level languages. Where required for critical code segments, assembly code programming is also straightforward, unlike some RISC processors that need sophisticated compiler technology to manage complicated instruction interdependencies.

The SA-1110 is a static part and has been designed to run at a reduced voltage to minimize its power requirements. This makes it a good choice for portable applications where both of these features are essential.

1.3 Example System

Figure 1-2 shows how the SA-1110 can be used in a hand held computing device.

Figure 1-2. SA-1110 Example System

Intel® StrongARM*

SA-1110

3.686 MHz

32.768 KHz

SDRAM/DRAM

SRAM

SMROM/

ROM

I/O

A6701-01

Show 18 more labels / short text on this page
UART Communications · Gray Scale · or Color LCD · Tablet / Serial · Display · Keyboard · Portable Communications · Codec · Microcontroller · Infrared Communications · USB Synchronization · Port · Glue Logic · PCMCIA Interface · (Flash, Modem) · Variable · Latency · Flash
Page 26 of the Intel SA-1110 user manual — 1.4.5 Data Cache
Page 26 · click to enlarge
Page 26

Introduction

1.4 ARM Architecture

The SA-1110 implements the ARM* V4 architecture as defined in the ARM Architecture Reference, 28-July-1995, with the following options:

1.4.1 26-Bit Mode

The SA-1110 supports 26-bit mode but all exceptions are initiated in 32-bit mode. The P and D bits do not affect the operation of SA-1110; they are always read as ones and writes to them are ignored.

1.4.2 Coprocessors

The SA-1110 supports MCR and MRC access to coprocessor number 15. These instructions are used to access the memory-management, configuration, and cache control registers. In addition, coprocessor 15 provides control for read buffer fills and flushes, and hardware breakpoints. All other coprocessor instructions cause an undefined instruction exception. No support for external coprocessors is provided.

1.4.3 Memory Management

Memory management exceptions preserve the base address registers so that no code is required to restore state. Separate translation lookaside buffers (TLBs) are implemented for the instruction and data streams. Each TLB has 32 entries that can each map a segment, a large page, or a small page. The TLB replacement algorithm is round robin. The data TLBs support both the flush-all and flush-single-entry operations, while the instruction TLBs support only the flush-all operation.

1.4.4 Instruction Cache

The SA-1110 has a 16 Kbyte instruction cache (Icache) with 32-byte blocks and 32-way associativity. The cache supports the flush-all function. Replacement is round robin within a set. The Icache can be enabled while memory management is disabled. When memory management is disabled, all memory is considered cacheable by the Icache.

1.4.5 Data Cache

The SA-1110 has an 8 Kbyte data cache (Dcache) with 32-byte blocks and 32-way associativity. The cache supports the flush-all, flush-entry, and copyback-entry functions. The copyback-all function is not supported in hardware. This function can be provided by software. The cache is read allocate with round-robin replacement.

The Dcache has been augmented with a 16-entry, two-way set associative minicache that allocates when the MMU b and c bits are 0 and 1, respectively. This cache is accessed in parallel with the main Dcache. Unlike the main data cache, the minicache implements a least-recently-used (LRU) replacement algorithm. This cache is useful for applications that access large data structures and would normally thrash the main Dcache. Instead, these data structures can be mapped so that they allocate into the minicache and only replace data from the same structure.

Page 27 of the Intel SA-1110 user manual — 1.4.7 Read Buffer
Page 27 · click to enlarge
Page 27

Introduction

1.4.6 Write Buffer

The SA-1110 has an eight-entry write buffer with each entry able to contain 1 to 16 bytes. A drain write buffer operation is supported.

1.4.7 Read Buffer

The SA-1110 has a four-entry read buffer capable of loading 1, 4, or 8 words of data per entry. This facility permits software to preload data into the buffer for use at a later time without blocking the operation of the processor. Software can flush either a single entry or the entire buffer (four entries). The read buffer is controlled through system control coprocessor 15 and can be enabled for use in user mode.

Page 28 of the Intel SA-1110 user manual — 1.4.6 Write Buffer
Page 28 · click to enlarge
Page 28
Page 28 of the Intel SA-1110 user manual — 1.4.6 Write Buffer
Page 29 of the Intel SA-1110 user manual — mode
Page 29 · click to enlarge
Page 29

Functional Description 2

This chapter provides a functional description of the Intel® StrongARM* SA-1110 Microprocessor (SA-1110). It describes the basic building blocks within the processor, lists and describes the pins, and explains the memory map.

2.1 Block Diagram

The SA-1110 consists of the following functional blocks:

  • Processing Core The processor is the ARM * SA-1 core with a 16 Kbyte instruction cache (Icache) and 8 Kbyte data cache (Dcache). The instruction (I) and data (D) streams are translated through independent memory-management units (MMUs). Stores are made using a four-line write buffer. The performance of specialized load routines is enhanced with the four-entry read buffer that can be used to prefetch data for use at a later time. A 16-entry minicache provides a smaller and logically separate data cache that can be used to enhance caching performance when dealing with large data structures.
  • Memory and PCMCIA Control Module The memory and PCMCIA control module (MPCM) supports four banks of fast-page-mode (FPM), extended-data-out (EDO), and/or synchronous DRAM (SDRAM). It also supports up to six banks of static memory: all six banks allow ROM or Flash memory, each with non-burst or burst read timings. Additionally, the lower three static banks support SRAM, the upper three static banks support variable latency I/O devices (with the variable data latency controlled by a shared data ready input), and the lower four static banks support synchronous mask ROM (SMROM). SMROM is supported only on 32-bit data busses. All other dynamic and static memory types and variable latency I/O devices are supported on either 16-bit or 32-bit data busses. Expansion devices are supported through PCMCIA control signals that share the memory bus data and address lines to complete the card interface. Some external glue logic (buffers and transceivers) is necessary to implement the interface. Control is provided to permit two card slots with hot-swap capability.
  • Peripheral Control Module The peripheral control module (PCM) contains a number of serial control devices, an LCD controller as well as a six-channel DMA controller to provide service to these devices:

– An LCD controller with support for passive or active displays – A universal serial bus (USB) endpoint controller – A serial controller with supporting 115 Kbps and 4 Mbps IrDA protocols – A 16550-like UART supporting 230 Kbps – A CODEC interface supporting Motorola SPI, National Microwire, TI Synchronous

Serial, or the Phillips UCB1100 and UCB1200 protocol • System Control Module The system control module (SCM) is also connected to the peripheral bus. It contains five blocks used for general system functions:

– A real-time clock (RTC) clocked from an independent 32.768 kHz oscillator – An operating system timer (OST) for general system timer functions as well as a watchdog

mode

Page 30 of the Intel SA-1110 user manual — Figure 2-1. SA-1110 Block Diagram
Page 30 · click to enlarge
Page 30

Functional Description

– Twenty-eight general-purpose I/Os (GPIO) – An interrupt controller – A power-management controller that handles the transitions in and out of sleep and idle

modes – A reset controller that handles the various reset sources on the processor Figure 2-1 shows the functional blocks contained in the SA-1110 integrated processor. Figure 2-2 is a functional diagram of the SA-1110.

Figure 2-1. SA-1110 Block Diagram

Intel SA-1110 — Figure 2-1. SA-1110 Block Diagram diagram (page 30)
Fig. 1 · Figure 2-1. SA-1110 Block Diagram
Page 31 of the Intel SA-1110 user manual — Functional Description
Page 31 · click to enlarge
Page 31

Functional Description

2.2 Inputs/Outputs

Figure 2-2. SA-1110 Functional Diagram

Intel SA-1110 — Functional Description diagram (page 31)
Fig. 2 · Functional Description
Page 32 of the Intel SA-1110 user manual — Table 2-1. Signal Descriptions (Sheet 1 of 4)
Page 32 · click to enlarge
Page 32

Functional Description

2.3 Signal Description

The following table describes the signals. Key to Signal Types: n – Active low signal

IC – Input, CMOS threshold ICOCZ – Input, CMOS threshold, output CMOS levels, tristatable OCZ – Output, CMOS levels, tristatable

Table 2-1. Signal Descriptions (Sheet 1 of 4)

A[25:0] OCZ Memory address bus. This bus signals the address requested for memory accesses.

Bits 24..10 carry the 15-bit DRAM address. The static memory devices and the expansion bus receive address bits 25..0.

D[31:0] ICOCZ Memory data bus. Bits 15..0 are used for 16-bit data busses.

nCS[5:0] OCZ Static chip selects. These signals are chip selects to static memory devices such as ROM and Flash. They are individually programmable in the memory configuration registers. Bits 5..3 can be used with variable latency I/O devices.

RDY IC Static data ready signal for nCS[5:3]. This signal should be connected to the data ready output pins of variable latency I/O devices that require variable data latencies. Devices selected by nCS[5:3] can share the RDY pin if they drive it high prior to tristating and a weak external pull-up is present.

nOE OCZ Memory output enable. This signal should be connected to the output enables of memory devices to control their data bus drivers.

nWE OCZ Memory write enable. This signal should be connected to the write enables of memory devices.This signal is used in conjunction with nCAS[3:0] to perform byte writes.

nRAS[3:0]/ nSDCS[3:0]

OCZ DRAM RAS or SDRAM CS for banks 0 through 3. These signals should be connected to the row address strobe (RAS) pins for asynchronous DRAM or the chip select (CS) pins for SDRAM.

nCAS[3:0]/ DQM[3:0]

OCZ DRAM CAS or SDRAM DQM for data banks 0 through 3. These signals should be connected to the column address strobe (CAS) pins for asynchronous DRAM or the data output mask enables (DQM) for SDRAM.

nSDRAS OCZ SDRAM RAS. This signal should be connected to the row address strobe (RAS) pins for all banks of SDRAM.

nSDCAS OCZ SDRAM CAS. This signal should be connected to the column address strobe (CAS) pins for all banks of SDRAM.

SDCKE[1:0] OCZ SDRAM and/or SMROM clock enables.

SDCKE 0 should be connected to the clock enable (CKE) pins of SMROM. SDCKE 0 is asserted upon any rest (including sleep-exit) if static memory bank 0 (boot space) is configured for synchronous mask ROM (SMROM_EN = 1); otherwise it is deasserted upon reset.

SDCKE 1 should be connected to the clock enable pins of SDRAM.They are deasserted (held low) during sleep. SDCKE 1 always is deasserted upon reset.

The memory controller provides control register bits for deassertion of each SDCKE pin. However, SDCKE 0 cannot be deasserted via program if SMROM_EN =1.

Name Type Description

Page 33 of the Intel SA-1110 user manual — Functional Description
Page 33 · click to enlarge
Page 33

Functional Description

Table 2-1. Signal Descriptions (Sheet 2 of 4)

SDCLK[2:0] OCZ SDRAM and/or SMROM clock.

SDCLK 0 should be connected to the clock (CLK) pins of SMROM.

SDCLK 1 and SDCLK 2 should be connected to the clock pins of SDRAM in bank pairs 0/1 and 2/3, respectively. They are driven by either the internal memory controller clock (CPU clock divided by 2) or the memory controller clock divided by 2 (CPU clock divided by 4).

All SDCLK pins are held low during sleep mode and start running at CPU clock divide by 4 upon any reset (including sleep-exit).

The memory controller provides control register bits for clock division and disable of each SDCLK pin. However, SDCLK 0 cannot be disabled via program if static memory bank 0 (boot space) is configured for synchronous mask ROM (SMROM_EN = 1).

RD/nWR OCZ Read/write direction control for memory and PCMCIA data bus (D[31:0]). This signal is applicable to all memory bus and PCMCIA transfers.

For reads (RD/nWR = 1), system-level bus transceivers or directly connected memory devices should drive D[31:0].

For writes (RD/nWR = 0), the SA-1110 will drive D[31:0].

nPOE OCZ PCMCIA output enable. This signal is an output and is used to perform reads from memory and attribute space.

nPWE OCZ PCMCIA write enable. This signal is an output and is used to perform writes to memory and attribute space.

nPIOW OCZ PCMCIA I/O write. This signal is an output and is used to perform write transactions to the PCMCIA I/O space.

nPIOR OCZ PCMCIA I/O read. This signal is an output and is used to perform read transactions from the PCMCIA I/O space.

nPCE[2:1] OCZ PCMCIA card enable. These signals are output and are used to select a PCMCIA card. nPCE 2 enables the high-byte lane and nPCE 1 enables the low-byte lane.

nIOIS16 IC I/O Select 16. This signal is an input and is an acknowledgment from the PCMCIA card that it can perform 16-bit I/O data transfers.

nPWAIT IC PCMCIA wait. This signal is an input and is driven low by the PCMCIA card to extend the duration of transfers to/from the SA-1110.

PSKTSEL OCZ PCMCIA socket select. This signal is an output and is used by external steering logic to route control, address, and data signals to one of the PCMCIA sockets. When PSKTSEL is low, socket zero is selected. When PSKTSEL is high, socket one is selected. This signal has the same timing as the address lines.

nPREG OCZ PCMCIA register select. This signal is an output and indicates that, on a memory transaction, the target address is attribute space. This signal has the same timing as address.

L_DD[7:0] OCZ LCD controller display data.

L_FCLK OCZ LCD frame clock.

L_LCLK OCZ LCD line clock.

L_PCLK OCZ LCD pixel clock.

L_BIAS OCZ LCD ac bias drive.

TXD_C OCZ CODEC transmit.

RXD_C IC CODEC receive.

Name Type Description

Page 34 of the Intel SA-1110 user manual — Functional Description
Page 34 · click to enlarge
Page 34

Functional Description

Table 2-1. Signal Descriptions (Sheet 3 of 4)

SCLK_C OCZ CODEC clock.

SFRM_C OCZ CODEC frame signal.

UDC+ ICOCZ Serial port zero bidirectional, differential signalling pin (UDC).

UDC- ICOCZ Serial port zero bidirectional, differential signalling pin (UDC).

TXD_1 OCZ Serial port one transmit pin (UART).

RXD_1 IC Serial port one receive pin (UART).

TXD_2 OCZ Serial port two transmit pin (IrDA).

RXD_2 IC Serial port two receive pin (IrDA).

TXD_3 OCZ Serial port three transmit pin (UART).

RXD_3 IC Serial port three receive pin (UART).

GP[27:0] ICOCZ General-purpose input output.

SMROM_EN IC Synchronous mask ROM (SMROM) enable. This pin is used to determine if the boot ROM (static memory bank 0) is asynchronous or synchronous. If asynchronous, boot ROM is selected (SMROM_EN = 0) and its width is determined by the state of the ROM_SEL pin. SMROM is supported only on 32-bit data busses.

ROM_SEL IC ROM select. This pin is used to configure the ROM width. It is either grounded or pulled high. If ROM_SEL is grounded, the ROM width is 16 bits. If ROM_SEL is pulled up, the ROM width is 32 bits.

PXTAL IC Input connection for 3.686-MHz crystal (non-CMOS threshold).

PEXTAL OCZ Output connection for 3.686-MHz crystal (non-CMOS level).

TXTAL IC Input connection for 32.768-kHz crystal (non-CMOS threshold).

TEXTAL OCZ Output connection for 32.768-kHz crystal (non-CMOS level).

PWR_EN OCZ Power enable. Active high. PWR_EN enables the external VDD power supply. Deasserting it signals the power supply that the system is going into sleep mode and that the VDD power supply should be removed.

BATT_FAULT IC Battery fault. Signals the SA-1110 that the main power source is going away (battery is low or has been removed from the system). The assertion of BATT_FAULT causes the SA-1110 to enter sleep mode. The SA-1110 will not recognize a wake-up event while this signal is asserted.

VDD_FAULT IC VDD fault. Signals the SA-1110 that the main power supply is going out of regulation (shorted card is inserted). VDD_FAULT will cause the SA-1110 to enter sleep mode. VDD_FAULT is ignored after a wake-up event until the power supply timer completes (approximately 10 ms).

nRESET IC Hard reset. This active low signal is a level-sensitive input used to start the processor from a known address. A low level will cause the current instruction to terminate abnormally, and the on-chip caches, MMU, and write buffer to be disabled. When nRESET is driven high, the processor will restart from address 0. nRESET must remain low until the power supply is stable and the internal 3.686-MHz oscillator has come up to speed. While nRESET is low, the processor will perform idle cycles.

nRESET_OUT OCZ Reset out. This signal is asserted when nRESET is asserted and deasserts when the processor has completed resetting. nRESET_OUT is also asserted for "soft" reset events (sleep and watchdog).

nTRST IC Test interface reset. Note this pin has an internal pull-down resistor and must be driven high to enable the JTAG circuitry. If left unconnected, this pin is pulled low and disables JTAG operation.

Name Type Description

Page 35 of the Intel SA-1110 user manual — Functional Description
Page 35 · click to enlarge
Page 35

Functional Description

Table 2-1. Signal Descriptions (Sheet 4 of 4)

TDI IC JTAG test interface data input. Note this pin has an internal pull-up resistor.

TDO OCZ JTAG test interface data output. Note this pin does not have an internal pull-up resistor.

TMS IC JTAG test interface mode select. Note this pin has an internal pull-up resistor.

TCK IC JTAG test interface reference clock. This times all the transfers on the JTAG test interface. Note this pin has an internal pull-down resistor.

TCK_BYP IC Test clock PLL bypass. When TCK_BYP is high, the TESTCLK is used as the core clock in place of the PLL clock; when low, the internal PLL output is used. This signal has no relation to the JTAG TCK pin.

TESTCLK IC Test clock. TESTCLK is used to provide the core clock when TCK_BYP is high. It should be tied low if TCK_BYP is low. This pin should be used for test purposes only. An end user should ground this pin.

VDD — Positive supply for the core. Nine pins are allocated to this supply; eight pins are labeled VDD. The ninth pin, labeled VDDP is dedicated to the PLL supply and should have its own dedicated decoupling capacitor. Also, it should be tied directly to the VDD power plane with the other eight VDD pins.

VDDX — Positive supply for the pins. See Chapter 14 for a count of VDDX pins. All of the pins allocated to VDDX (labeled VDDX1, VDDX2, and VDDX3) should be tied directly to the VDDX power plane and are all required to remain powered up at all times for proper device operation. VDDX3 is connected to an internal voltage regulator and should have its own dedicated decoupling capacitor.

VSS — Ground supply. Nine pins are allocated to VSS, including one for the PLL.

VSSX — Ground supply for the I/O pins. See Chapter 14, “Package and Pinout,” for a count of VSSX pins.

Name Type Description

Page 36 of the Intel SA-1110 user manual — — Peripheral Control Module Registers
Page 36 · click to enlarge
Page 36

Functional Description

2.4 Memory Map

Figure 2-3 shows the SA-1110 memory map. The map is divided into four main partitions of 1 Gbyte each. • Physical address: 0h0000 0000 to 0h3FFF FFFF. This partition is dedicated to static memory devices (ROM, SRAM, and Flash) and to the PCMCIA expansion bus area. This space is divided into:

— Four 128 Mbyte blocks for static memory devices

The static memory space is intended for ROM, SRAM, and Flash memory. The bottom partition (at 0h0000 0000) is assumed to be ROM at boot time. The SMROM_EN pin is used to determine if the boot ROM is asynchronous or synchronous. If asynchronous, boot ROM is selected (SMROM_EN = 0), its width (16-bit or 32-bit) is determined by the state of the ROM_SEL pin. SMROM is supported only on 32-bit data busses. Note: The upper 64MBytes of each 128MByte static bank select cannot be accessed because only 26 bits of the physical address are available on external pins. Attempts to accesses any static bank selects upper 64Mbyte will actually cause an access to that bank selects lower 64MByte, because the missing (27th) physical address bit is ignored.

— Two 256 Mbyte blocks for the PCMCIA interface

The PCMCIA interface is divided into Socket 0 and Socket 1 space. These partitions are further subdivided into I/O, memory and attribute space. • Physical address: 0h4000 0000 to 0h7FFF FFFF This partition includes:

— Two 128 Mbyte blocks for static memory or variable latency I/O devices. This block

differs from the other three status memory spaces because it can be used for variable latency I/O but not SRAM. Note: The upper 64MBytes of each 128MByte static bank select cannot be accessed because only 26 bits of the physical address are available on external pins. Attempts to accesses any static bank selects upper 64Mbyte will actually cause an access to that bank selects lower 64MByte, because the missing (27th) physical address bit is ignored.

— One 768 Mbyte block of reserved space. Accessing this reserved space results in a data

abort exception. • Physical address: 0h8000 0000 to 0hBFFF FFFF This partition contains all on-chip registers (except those specified by the ARM V4 architecture). This block is further divided into four 256 Mbyte blocks that contain control registers for the following major functional blocks within the processor:

— Peripheral Control Module Registers

— System Control Module Registers

— Memory and Expansion Registers

— LCD and DMA Registers • Physical address: 0hC000 0000 to 0hFFFF FFFF This partition contains DRAM memory and is divided into:

— Four banks of DRAM fixed at 128 Mbyte each. With multiple banks implemented, there

probably will be gaps in the map that should be mapped through the memory-management unit.

Page 37 of the Intel SA-1110 user manual — Functional Description
Page 37 · click to enlarge
Page 37

Functional Description

— One 128 Mbyte block that is mapped within the memory controller and returns zeros

when read. This function is intended to facilitate rapid cache flushing by not requiring an external memory access to load data into the cache. This space is burstable. Writes to this space have no effect.

— One 384 Mbyte block of reserved space. Accessing this reserved space results in a data

abort exception.

Page 38 of the Intel SA-1110 user manual — A9080-01
Page 38 · click to enlarge
Page 38

Functional Description

Figure 2-3. SA-1110 Memory Map

Cache flush replacement data. Reads return zero 128 Mbytes

Zeros Bank (128 Mbytes)

DRAM Bank 3 (128 Mbytes)

DRAM Bank 2 (128 Mbytes)

Dynamic Memory Interface 512 Mbytes

DRAM Bank 1 (128 Mbytes)

DRAM Bank 0 (128 Mbytes)

LCD and DMA Registers

Memory and Expansion Registers

Internal Registers 1 Gbyte

System Control Module Registers

Peripheral Control Module Registers

Static Bank Select 5 (128 Mbytes)

Static Memory or Variable Latency I/O Interface 256 Mbytes

Static Bank Select 4 (128 Mbytes)

PCMCIA Socket 1 Space

PCMCIA Interface 512 Mbytes

PCMCIA Socket 0 Space

Static Bank Select 3 (128 Mbytes)

Variable Latency I/O Interface 128 Mbytes

Static Bank Select 2 (128 Mbytes)

Static Memory Interface (ROM, Flash, SRAM) 512 Mbytes

Static Bank Select 1 (128 Mbytes)

Static Bank Select 0 (128 Mbytes)

A9080-01

Show 14 more labels / short text on this page
Reserved (384 Mbytes) · 0hC000 0000 · (256 Mbytes) · (256 Mbytes) · (256 Mbytes) · (256 Mbytes) · 0h8000 0000 · Reserved (768 Mbytes) · 0h5000 0000 · 0h4000 0000 · (256 Mbytes) · (256 Mbytes) · 0h2000 0000 · 0h0000 0000
Page 39 of the Intel SA-1110 user manual — 3.2 Exceptions
Page 39 · click to enlarge
Page 39

ARM Implementation Options 3

The following sections describe ARM* architecture options that are implemented by the Intel® StrongARM* SA-1110 Microprocessor (SA-1110).

3.1 Big and Little Endian

The big endian bit in the control register sets whether the SA-1110 treats words stored in memory as being stored in big endian or little endian format. Memory is viewed as a linear collection of bytes numbered upwards from 0. Bytes 0 to 3 hold the first stored word, bytes 4 to 7 hold the second, and so on.

In the little endian scheme, the lowest numbered byte in a word is considered to be the least significant byte of the word and the highest numbered byte is the most significant. Byte 0 of the memory system should be connected to data lines 7 through 0 (D[7:0]) in this scheme.

In the big endian scheme, the most significant byte of a word is stored at the lowest numbered byte and the least significant byte is stored at the highest numbered byte. Therefore, byte 0 of the memory system should be connected to data lines 31 through 24 (D[31:24]).

The state of the big endian bit changes the location of the bytes only within a 32-bit word. The accessed bytes are changed for the load byte, store byte, load halfword, and store halfword instructions only. Instruction fetches and word load and stores are not changed by the state of the big endian bit, except when those accesses are performed with memory on 16-bit busses. See Chapter 10, “Memory and PC-Card Control Module” for details on configuring data bus widths for various memory types.

These conventions are identical to those of the SA-110. In addition, the SA-1110 DMA controller is programmable by channel as to the endian format of the transfer. For DMA transfers, all memory accesses are words. Then the data is buffered and transferred to/from the device as halfwords or bytes. When the words are assembled or disassembled, the endian format of the channel is observed. For details on how DMA data is transferred relative to the endian format of the channel, see the Section 11.6, “DMA Controller” on page 11-210 in Chapter 11, “Peripheral Control Module”.

3.2 Exceptions

Exceptions arise whenever there is a need for the normal flow of program execution to be broken; for example, so that the processor can be diverted to handle an interrupt from a peripheral. The processor state just prior to handling the exception must be preserved so that the original program resumes when the exception routine has completed. Many exceptions may arise at the same time. The SA-1110 handles exceptions by making use of banked registers to save state. The contents of PC and CPSR are copied into the appropriate R14 and SPSR, and the PC and mode bits in the CPSR bits are forced to a value that depends on the exception.

Page 40 of the Intel SA-1110 user manual — 3.2.2 ROM Size Select
Page 40 · click to enlarge
Page 40

ARM Implementation Options

Interrupt disable flags are set where required to prevent otherwise unmanageable nestings of exceptions. In the case of a reentrant interrupt handler, R14 and the SPSR should be saved onto a stack in main memory before reenabling the interrupt; when transferring the SPSR register to and from a stack, it is important to transfer the whole 32-bit value, and not just the flag or control fields. When multiple exceptions arise simultaneously, a fixed priority determines the order in which they are handled. The priorities are listed later in this chapter. Most exceptions are fully defined in the ARM Architectural Reference. The following sections specify the exceptions where the SA-1110 implementation differs from the ARM Architectural Reference.

SA-1110 initiates all exceptions in 32-bit mode. When an exception occurs while running in 26-bit mode, the SA-1110 saves only the PC in R14 and the CPSR in the SPSR of the exception mode. The 32-bit handler must merge the condition codes, the interrupt enables, and the mode from the SPSR into R14 if a handler is to run in 26-bit mode.

3.2.1 Power-Up Reset

When the nRESET signal is low, SA-1110 stops executing instructions, asserts the nRESET_OUT pin, and then performs idle cycles on the bus.

When nRESET is high again, SA-1110 does the following:

1. Overwrites R14_svc and SPSR_svc by copying the current values of the PC and CPSR into them. The values of the saved PC and CPSR are not defined.
2. Forces M 4:0 =10011 (32-bit supervisor mode) and sets the I and F bits in the CPSR.
3. Forces the PC to fetch the next instruction from address 0x0000 0000.
4. Based on the state of the ROM_SEL pin, fetches this first instruction from either 16-bit (ROM_SEL low) or 32-bit (ROM_SEL high) space. The SA-1110 memory controller assembles the data into words in the case of a 16-bit wide ROM.

At the end of the reset sequence, the MMU, Icache, Dcache, and write buffer are disabled. Alignment faults are also disabled, and little-endian mode is enabled. During power-up, nRESET must be negated no earlier than 150 milliseconds after VDD and VDDx are stable to allow the internal 3.686-MHz oscillator to stabilize. After the negation of nRESET, the PLL begins its internally timed locking sequence. Note that the assertion of nRESET is destructive because the state of the real-time clock and the contents of DRAM are lost.

The SA-1110 has three types of reset. See Section 16.2, “Reset” on page 16-414 in the Boundary-Scan Test Interface for details.

3.2.2 ROM Size Select

The ROM width may be selected using the ROM_SEL pin. This pin is sampled during the assertion of nRESET. The value is stored in the memory controller for use during ROM accesses. If this signal is high during RESET, then the ROM is selected to be 32 bits wide. If it is low during RESET, then the ROM width is 16 bits. There is no provision for 8-bit ROMs in the SA-1110.

Page 41 of the Intel SA-1110 user manual — ARM Implementation Options
Page 41 · click to enlarge
Page 41

ARM Implementation Options

3.2.3 Abort

An abort can be signalled by the internal memory-management unit, through a data breakpoint, or by a reference to reserved memory. An abort indicates that the current memory access cannot be completed or that a prespecified breakpoint address and (optionally) data pattern has been reached. For instance, in a virtual memory system, the data corresponding to the current address may have been moved out of memory onto a disk, and considerable processor activity may be required to recover the data before the access can be performed successfully. The SA-1110 checks for an abort during memory access cycles. When aborted, the SA-1110 responds in one of two ways:

1. If the abort occurred during an instruction prefetch (a prefetch abort ), the prefetched instruction is marked as invalid but the abort exception does not occur immediately. If the instruction is not executed, for example, as a result of a branch being taken while it is in the pipeline, no abort will occur. An abort will take place if the instruction reaches the head of the pipeline and is about to be executed.
2. If the abort occurred during a data access (a data abort ), the action depends on the instruction type.

a. Single data transfer instructions (LDR, STR) will abort with no registers modified.

b. The swap instruction (SWP) is aborted as though it had not executed, though externally

the read access may take place.

c. Block data transfer instructions (LDM, STM) abort on the first access that cannot

complete. If write-back is set, the base is NOT updated. If the instruction would normally have overwritten the base with data (for example, an LDM instruction with the base in the transfer list), the original value in the base register is restored.

When either a prefetch or data abort occurs, the SA-1110 performs the following:

1. Saves the address of the aborted instruction plus 4 (for prefetch aborts) or 8 (for data aborts) in R14_abt; saves CPSR in SPSR_abt.
2. Forces M 4:0 =10111 (abort mode) and sets the I bit in the CPSR.
3. Forces the PC to fetch the next instruction from either address 0x0C (prefetch abort) or address 0x10 (data abort).

To return after fixing the reason for the abort, use SUBS PC,R14_abt,#4 (for a prefetch abort) or SUBS PC,R14_abt,#8 (for a data abort). This will restore both the PC and the CPSR, and retry the aborted instruction.

The abort mechanism allows a demand paged virtual memory system to be implemented when suitable memory management software is available. The processor is allowed to generate arbitrary addresses, and when the data at an address is unavailable, the MMU signals an abort. The processor traps into system software, which must work out the cause of the abort, make the requested data available, and retry the aborted instruction. The application program needs no knowledge of the amount of memory available to it, nor is its state in any way affected by the abort.

Page 42 of the Intel SA-1110 user manual — 1. Reset (highest priority)
Page 42 · click to enlarge
Page 42

ARM Implementation Options

3.2.4 Vector Summary

Table 3-1 lists byte addresses, and they normally contain branch instructions pointing to the relevant routines. These addresses (except the reset vector) can be changed (to 0xFFFF xxxx) through the vector adjust facility (bit 13, register 1, coprocessor 15). The vector adjust is cleared at reset and cannot modify the reset vector.

Table 3-1. Vector Summary

Address Exception Mode on Entry

0x00000004 Undefined instruction Undefined

0x00000008 Software interrupt Supervisor

0x0000000C Abort (prefetch) Abort

0x00000010 Abort (data) Abort

0x00000014 Not used —

3.2.5 Exception Priorities

When multiple exceptions arise at the same time, a fixed priority system determines the order in which they will be handled:

1. Reset (highest priority)

2. Data abort

3. FIQ

4. IRQ

5. Prefetch abort

6. Undefined instruction, software interrupt (lowest priority)

If a data abort occurs at the same time as a FIQ, and FIQs are enabled (that is, the F flag in the CPSR is clear), the SA-1110 will enter the data abort handler and then immediately proceed to the FIQ vector. A normal return from FIQ will cause the data abort handler to resume execution. Placing data abort at a higher priority than FIQ is necessary to ensure that the transfer error does not escape detection; the time for this exception entry should be added to worst-case FIQ latency calculations.

0x00000000 Reset Supervisor · 0x00000018 IRQ IRQ · 0x0000001C FIQ FIQ

Page 43 of the Intel SA-1110 user manual — 3.3 Coprocessors
Page 43 · click to enlarge
Page 43

ARM Implementation Options

3.2.6 Interrupt Latencies and Enable Timing

The ability to recognize an IRQ or FIQ interrupt is, in part, determined by the I and F bits of the CPSR. To ensure that a pending interrupt is taken, an interrupt-enabling write to CPSR (msr instruction) must be separated from an interrupt-disabling write to the CPSR by at least two instructions.

3.3 Coprocessors

The SA-1110 has no external coprocessor bus, so it is not possible to add external coprocessors to this device.

The SA-1110 uses the internal coprocessor designated 15 for control of the on-chip MMU, caches, clocks, and breakpoints. Coprocessor 15 is also used for read-buffer fills and flushes. If a coprocessor other than 15 is used, then the SA-1110 will take the undefined instruction trap. The coprocessor load, store, and data operation instructions also take the undefined instruction trap. Permissions are set so that access to coprocessor 15 is privileged except where protection is programmable with respect to the read buffer operations.

Note: The write buffer must be flushed prior to loading the read buffer to maintain coherency between the two buffers. But, if user-mode MCR access is enabled for the read buffer and the flush is attempted while in user mode, an undefined instruction exception will occur. In this case, the exception handler must perform the write buffer flush, then return to user mode to execute the read buffer load. Alternatively, an SWI instruction can be used as a service call to flush the write buffer.

Page 44 of the Intel SA-1110 user manual — 3.2.6 Interrupt Latencies and Enable Timing
Page 44 · click to enlarge
Page 44
Page 44 of the Intel SA-1110 user manual — 3.2.6 Interrupt Latencies and Enable Timing
Page 45 of the Intel SA-1110 user manual — MRS 0 1
Page 45 · click to enlarge
Page 45

Instruction Set 4

This section describes the instruction timing for the Intel® StrongARM* SA-1110 Microprocessor (SA-1110).

4.1 Instruction Set

The SA-1110 implements the ARM* V4 architecture as defined in the ARM Architecture Reference, 28-July-1995, with previously noted options and additions.

4.2 Instruction Timing

Table 4-1 lists the instruction timing for the SA-1110. The result delay is the number of cycles that the next sequential instruction would stall if it used the result as an input. The issue cycles are the number of cycles that this instruction takes to issue. For most instructions, the result delay is zero and the issue cycles is one. For load and stores, the timing is for cache hits.

Table 4-1. Instruction Timing

Instruction Group Result Delay Issue Cycles

Data processing 0 1

Mul or Mul/Add giving 32-bit result 1..3 1

Mul or Mul/Add giving 64-bit result 1..3 2

Load single – write-back of base 0 1

Load single – load data zero extended 1 1

Load single – load data sign extended 2 1

Store single – write-back of base 0 1

Load multiple (delay for last register) 1 MAX

(2, number of registers loaded)

Store multiple – write-back of base 0 MAX

(2, number of registers loaded)

Branch or branch and link 0 1

MCR 2 1

MRC 1 1

MSR to control 0 3

MRS 0 1

Swap 2 2

Page 46 of the Intel SA-1110 user manual — Instruction Set 4
Page 46 · click to enlarge
Page 46
Page 46 of the Intel SA-1110 user manual — Instruction Set 4
Page 47 of the Intel SA-1110 user manual — 5.1.2.1 Software Icache Flush
Page 47 · click to enlarge
Page 47

Caches, Write Buffer, and Read Buffer 5

To reduce effective memory access time, the Intel® StrongARM* SA-1110 Microprocessor (SA-1110) has an instruction cache, a data cache, a write buffer, and a read buffer. All except the read buffer are transparent to program execution. The following sections describe each of these units and give all necessary programming information.

5.1 Instruction Cache (Icache)

The SA-1110 contains a 16 Kbyte instruction cache (Icache). The Icache has 512 lines of 32 bytes (8 words), arranged as a 32-way set associative cache, and uses the virtual addresses generated by the processor core. The Icache is always reloaded a line at a time (8 words). It may be enabled or disabled via the SA-1110 control register, and is disabled on the assertion of nRESET or through a software or sleep reset sequence. (See Chapter 9, “System Control Module” for details.) The operation of the cache, when memory management is enabled, is further controlled by the cacheable or C bit stored in the memory-management page table. If memory management is disabled, all addresses are marked as cacheable (C=1). When memory management is enabled, the C bit in each page table entry can disable caching for an area of virtual memory.

5.1.1 Icache Operation

In the SA-1110, the instruction cache is searched regardless of the state of the C bit; only reads that miss the cache are affected. If, on an Icache miss, the C bit is a one or the Memory Management Unit (MMU) is disabled, a line fetch of 8 words is performed and it is placed in a cache bank with a round-robin replacement algorithm. If, on a miss, the MMU is enabled and the C bit is a zero for the given virtual address, an external memory access for a single word is performed and the cache is not written.The Icache should be enabled as soon as possible after reset for best performance.

5.1.2 Icache Validity

The Icache operates with virtual addresses, so care must be taken to ensure that its contents remain consistent with the virtual-to-physical mappings performed by the memory management unit. If the memory mappings are changed, the Icache validity must be ensured. The Icache is not coherent with stores to memory, so programs that write cacheable instruction locations must ensure the Icache validity. Instruction fetches do not check the write buffer, so data must not only be pushed out of the cache but the write buffer must also be drained.

5.1.2.1 Software Icache Flush

The entire Icache can be invalidated by writing to the SA-1110 cache operations register (register 7). The cache is flushed immediately when the register is written, but note that the following instruction fetches may come from the cache before the register is written.

Page 48 of the Intel SA-1110 user manual — 5.2 Data Caches (Dcaches)
Page 48 · click to enlarge
Page 48

Caches, Write Buffer, and Read Buffer

5.1.3 Icache Enable/Disable and Reset

The Icache is automatically disabled and flushed on the assertion of nRESET. Once enabled, cacheable read accesses cause lines to be placed in the cache. If the Icache is subsequently disabled, no new lines are placed in the cache, but the cache is still searched and if the data is found, it will be used by the processor. If the data in the cache must not be used, then the cache must be flushed.

5.1.3.1 Enabling the Icache

To enable the Icache, set bit 12 in the control register. The MMU and Icache may be enabled simultaneously with a single control register write.

5.1.3.2 Disabling the Icache

To disable the Icache, clear bit 12 in the control register.

5.2 Data Caches (Dcaches)

The SA-1110 contains two logically separate data caches: the main data cache and the mini data cache (or minicache). The main data cache, an 8 Kbyte write-back Dcache, has 256 lines of 32 bytes (8words) in a 32-way set-associative organization. It is intended for use during most data accesses. This cache allocates on loads to spaces marked B=1 and C=1. Replacements in the main data cache are selected according to a set of round-robin pointers. At reset, the pointer in each block of the Dcache points to way zero of each 32-way block. As lines are allocated, the pointers are incremented to the next way of the set. After way 31 is allocated, the next line fill replaces (and copies back to memory, if dirty) the data in way zero. The minicache is a 512-byte write-back cache. It has 16 lines of 32 bytes (8 words) in a two-way set-associative organization and provides an alternate caching structure for dealing with large data structures that could thrash the main data cache. This cache allocates on loads to spaces marked B=0 and C=1. Unlike the main data cache, the minicache implements a least-recently-used (LRU) replacement algorithm.

The Dcaches are accessed in parallel and the design ensures that a particular line entry will exist in only one of the two at any time. Both Dcaches use the virtual address generated by the processor and allocate only on loads (write misses never allocate in the cache). Each line entry contains the physical address of the line and two dirty bits. The dirty bits indicate the status of the first and the second halves of the line. When a store hits in the Dcaches, the dirty bit associated with it is set. When a line is evicted from the Dcaches, the dirty bits are used to decide if all, half, or none of the line will be written back to memory using the physical address stored with the line. The Dcaches are always reloaded a line at a time (8 words).

The Dcaches allocate only on loads and according to the settings of the B and C bits in the MMU. If B=0 and C=1, the memory access allocates into the minicache. If B=1 and C=1, the memory access allocates into the main data cache. The Dcaches should be flushed prior to changing the bufferable and/or cacheable state of the page table mapping.

The main data cache and the minicache are enabled and disabled via the SA-1110 control register, and are disabled on nRESET as well as software, sleep, and watchdog reset. The operation of the Dcaches is further controlled by the cacheable or C bit and the bufferable or B bit stored in the memory-management page table. For this reason, to use the Dcaches, the MMU must be enabled. The two functions may be enabled simultaneously with a single write to the control register.

Page 49 of the Intel SA-1110 user manual — 5.2.2 Bufferable Bit – B
Page 49 · click to enlarge
Page 49

Caches, Write Buffer, and Read Buffer

5.2.1 Cacheable Bit – C

The cacheable bit determines whether, on load misses, the data being read should be placed in one of the two data caches. Cache hits are not affected by the cacheable bit; if a data access hits in the cache, the data is assumed to be valid and the load or store is performed. Typically, main memory is marked as cacheable to improve system performance and I/O space as noncacheable to stop the data from being stored in SA-1110's cache. For example, if the processor is polling a hardware flag in I/O space, it is important that the processor is forced to read data from the external peripheral, and not a copy of initial data held in the cache.

5.2.1.1 Cacheable Reads – C = 1

A linefetch of 8 words will be performed and it will be placed in a cache bank with a round-robin replacement algorithm.

5.2.1.2 Noncacheable Reads – C = 0

An external memory access will be performed and the cache will not be written.

5.2.2 Bufferable Bit – B

The bufferable bit does not affect writes that hit the Dcaches. If a store hits in the Dcaches, the store is assumed to be bufferable. Write-backs of dirty lines are treated as bufferable writes. See the Section 5.3, “Write Buffer (WB)” on page 5-51 for more information on the B bit.

Table 5-1 summarizes the effects of the B and C bits on the Dcaches.

Table 5-1. Effects of the Cacheable and Bufferable Bits on the Data Caches

B C Cache Hit Cache Miss Cache Hit Cache Miss

0 0 Deliver cache data. Load from memory.

Store to either cache.

Store to memory.

– No allocate.

– Mark line dirty.

– No allocate.

0 1 Deliver cache data. Allocate to minicache. Store to either cache.

Store to memory.

– Mark line dirty.

– No allocate.

1 0 Deliver cache data. Load from memory.

Store to either cache. – Mark line dirty.

Store to memory.

– No allocate.

– No allocate.

1 1 Deliver cache data. Allocate to main data cache. Store to either cache. – Mark line dirty.

Store to memory.

– No allocate.

Load Store

Page 50 of the Intel SA-1110 user manual — 5.2.4 Dcaches Enable/Disable and Reset
Page 50 · click to enlarge
Page 50

Caches, Write Buffer, and Read Buffer

5.2.3 Software Dcache Flush

The SA-1110 supports the flush and clean operations on single entries of the Dcaches by writes to the cache operations registers. The flush whole cache is also supported. Note that since this is a write-back cache, to prevent the loss of data, a flush whole must be preceded by a sequence of loads to cause the cache to write back any dirty entries. The memory controller in the SA-1110 provides an internally decoded memory space to perform coherent Dcache flushing. This space resides in the upper 512 megabytes of the memory map (starting at virtual address 0hE000 0000) and, when accessed, is detected by the memory controller, which then returns zeros without incurring an external memory latency.

The following code causes the main data cache to flush all dirty entries:

;Call:

; R0 points to the start of a 8192 byte region of readable data used

; only for this cache flushing routine.

;Return:

; R0, R1, R2 trashed

; Data cache is clean

ldr r2, r0, #32

mcrp15, 0, r0, c7, c6, 0

A similar routine may be written to flush the minicache. To perform this flush, the MMU B and C settings must be as described above. The invalidate-all operation also invalidates the minicache.

5.2.3.1 Doubly Mapped Space

Since the Dcaches work with virtual addresses, it is assumed that every virtual address maps to a different physical address. If the same physical location is accessed by more than one virtual address, the cache cannot maintain consistency, since each virtual address has a separate entry in the cache, and only one entry is updated on a processor write operation. To avoid any cache inconsistencies, doubly mapped virtual addresses should be marked as noncacheable.

5.2.4 Dcaches Enable/Disable and Reset

The Dcaches are automatically disabled and flushed on the assertion of nRESET. Once enabled, cacheable read accesses cause lines to be placed in the Dcaches. If subsequently disabled, no new lines are placed in the Dcaches, but they are still searched and if the data is found, it is used by the processor. Write operations continue to update the Dcaches, thus maintaining consistency with the external memory. If the data in the Dcaches must not be used, then the Dcaches must be flushed.

Show 9 more labels / short text on this page
;+ · ; bl writeBackDC · ;- · writeBackDC · movr0, 0hE0000000 · addr1, r0, #8192 · teqr1, r0 · bnel1 · movpc, r14
Page 51 of the Intel SA-1110 user manual — 5.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)
Page 51 · click to enlarge
Page 51

Caches, Write Buffer, and Read Buffer

5.2.4.1 Enabling the Dcaches

To enable the Dcaches, make sure that the MMU is enabled first by setting bit 0 in the control register, then enable the Dcaches by setting bit 2 in the control register. The MMU and Dcaches can be enabled simultaneously with a single control register write.

5.2.4.2 Disabling the Dcaches

To disable the Dcache, clear bit 2 in the control register.

5.3 Write Buffer (WB)

The SA-1110 write buffer is used to improve system performance by buffering up to 8 blocks of data of 1 to 16 bytes, at independent addresses. It can be enabled or disabled via the W bit (bit 3) in the SA-1110 control register. The buffer is disabled and all entries are marked empty following reset. Operation of the write buffer is further controlled by the cacheable or C bit and the bufferable or B bit, which are stored in the memory-management page tables. For this reason, to use the write buffer, the MMU must be enabled. The two functions can be enabled simultaneously with a single write to the control register. For a write to use the write buffer, both the W bit in the control register and the B bit in the corresponding page table must be set. It is not possible to abort buffered writes externally. Stores will not merge with other data at the same line address in the write buffer with the exception of store multiples, which do merge.

5.3.1 Bufferable Bit

This bit controls whether a write operation may use the write buffer. Typically, main memory is bufferable and I/O space unbufferable.

5.3.2 Write Buffer Operation

When the CPU performs a store, the Dcaches are first checked. If one of the Dcaches hits on the store and the protection for the location and mode of the store allows the write, then the write completes in the Dcaches and the write buffer is not used. If the location misses in the Dcaches, then the translation entry for that address is inspected and the state of the B and C bits determines which of the three following actions are performed. If the write buffer is disabled via the SA-1110 control register, writes are treated as if the B bit is a zero.

5.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)

If the write buffer is enabled and the processor performs a write to a bufferable and cacheable location, and the data is in one of the caches, then the data is written to that cache, and the cache line is marked dirty. If a write to a bufferable area misses in both data caches, the data is placed in the write buffer and the CPU continues execution. The write buffer performs the external write sometime later. If a write is performed and the write buffer is full, then the processor is stalled until there is sufficient space in the buffer. No write buffer merging is allowed in the SA-1110 except during store multiples.

Page 52 of the Intel SA-1110 user manual — 5.4 Read Buffer (RB)
Page 52 · click to enlarge
Page 52

Caches, Write Buffer, and Read Buffer

5.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)

If the write buffer is enabled and the processor performs a write to a bufferable but noncacheable location and misses in the Dcaches, the data is placed in the write buffer and the CPU continues execution. The write buffer performs the external write sometime later. Store multiples are not merged in the write buffer when B = 1, C = 0.

5.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0)

If the write buffer is disabled or the CPU performs a write to an unbufferable area, the processor is stalled until the write buffer empties and the write completes externally. This requires several external clock cycles.

5.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1)

When store multiples occur to a page that is cacheable but not buffereable (B=0,C=1), the write data will be merged into the write buffer and burst writes will occur to memory.

5.3.3 Enabling the Write Buffer

To enable the write buffer, ensure that the MMU is enabled by setting bit 0 in the control register, then enable the write buffer by setting bit 3 in the control register. The MMU and write buffer can be enabled simultaneously with a single write to the control register.

5.3.3.1 Disabling the Write Buffer

To disable the write buffer, clear bit 3 in the control register. Any writes already in the write buffer will complete normally, but a drain write buffer needs to be done to force all writes out to memory.

5.4 Read Buffer (RB)

The SA-1110 contains a software-programmable read buffer that can increase the performance of critical loop code by prefetching data. The RB enables the preallocation of read-only data into one of four 32-byte buffers without stalling the pipe. For subsequent loads that hit in the RB, data is sourced from the buffer instead of the Dcaches at a rate of 1 word per core clock (as long as the load address hits in the TLB of the DMMU). Also, because the programmer specifies which entry of the RB is used, critical data can be “locked” in to eliminate bus latency.

The RB is controlled using coprocessor 15, register 9, and provides the capability to allocate 1 word, a half-line (4 words), or a full line (8 words) into one of four entries of the RB. (See Chapter 6, “Coprocessors” for a detailed RB coprocessor description.) Half-line loads are automatically aligned onto half-block boundaries (the lower four address bits are ignored). Full-line loads are automatically aligned onto line boundaries (the lower five address bits are ignored). For partial cache line RB loads, only the words actually fetched are marked valid and can be sourced from the buffer. A small queue is used to ensure that subsequent RB load instructions go out in order.

Page 53 of the Intel SA-1110 user manual — Caches, Write Buffer, and Read Buffer
Page 53 · click to enlarge
Page 53

Caches, Write Buffer, and Read Buffer

When an RB allocate instruction is executed, the virtual address is looked up in the TB to check for a translation hit and possible access violations. If the access misses in the TB, the pipe is stalled until the page is fetched through the normal hardware tablewalk mechanism. If an access violation occurs, the RB load is NOP’d. For example, an RB allocate instruction can generate a data abort. Once the RB allocate has received a TB hit and no access violations, a bus access is requested that fills the appropriate buffer without stalling the core pipeline. Subsequent load instructions to this virtual address result in an RB hit and data is sourced from the appropriate entry to the core.

Any two data words with the same virtual address may not be contained in the RB at the same time. If an RB allocate references a data word that is already contained in another RB entry, then the old RB entry is invalidated and the new allocation is performed. It is possible for a portion of a cache block at a given virtual address to be contained in one RB entry while another portion of the same block is contained in another RB entry. However, a given word can not be in more than one entry at a time.

If a load instruction misses in the RB, then a normal cache fill is performed (provided the cache is enabled and the page is marked cacheable). It then presents the possibility of having a partial line resident in the RB as well as having the line present in one of the Dcaches. This presents coherency issues that must be managed by software. If this situation does occur and the addressed data is in both the Dcache and the RB, then the data is sourced from the RB. If an RB entry contains a partial cache block (1 or 4 words), then those words will be sourced from the RB while the remaining words are sourced from the data cache or memory.

RB allocate instructions are not affected by the cache enable bit (bit 2 in the control register) or by the C bit in the MMU. Any RB allocate to a valid RB entry causes that RB entry to be invalidated, followed by a new allocation for the desired data. This occurs regardless of the address of the data currently in the buffer. For example, back-to-back RB allocate instructions to the same entry at the same address will invalidate the entry caused by the first instruction prior to performing the second fill.

An RB allocate or a load instruction that is issued to an RB entry currently being filled will stall until the fill completes. If a data abort is signaled on a read buffer allocate, the fill completes. After that, if a load to that entry is attempted, a data abort exception is issued. The coprocessor 15 register provides the ability to invalidate individual entries in the RB or to invalidate the entire buffer in one operation. RB coherency must be managed in software. Writes to addresses present in the read buffer are not written into the buffer. Specific RB entries must be invalidated before writing to the addresses or changing the page tables of the entries. Coherency is not checked between the RB and the WB. The WB should be drained prior to performing an RB load.

Note: The write buffer must be flushed prior to loading the read buffer to maintain coherency between the two buffers. But, if user-mode MCR access is enabled for the read buffer and the flush is attempted while in user mode, an undefined instruction exception will occur. In this case, the exception handler must perform the write buffer flush, then return to user mode to execute the read buffer load. Alternatively, an SWI instruction can be used as a service call to flush the write buffer.

Page 54 of the Intel SA-1110 user manual — 5.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)
Page 54 · click to enlarge
Page 54
Page 54 of the Intel SA-1110 user manual — 5.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)
Page 55 of the Intel SA-1110 user manual — Cond ARM * condition codes
Page 55 · click to enlarge
Page 55

Coprocessors 6

The operation and configuration of the Intel® StrongARM* SA-1110 Microprocessor (SA-1110) is controlled with coprocessor instructions, configuration pins, and memory-management page tables. The coprocessor 15 instructions manipulate on-chip registers that control the configuration of the cache, write buffer, MMU, read buffer, breakpoints, and other configuration options.

6.1 Internal Coprocessor Instructions

The on-chip cache, MMU, write buffer, and read buffers are controlled using MRC instructions and MCR instructions. These operations to coprocessor 15 are allowed only in nonuser modes except when read-buffer operations are explicitly enabled. The undefined instruction trap is taken if accesses are attempted in user mode. Figure 6-1 shows the format of internal coprocessor instructions MRC and MCR.

Note: The write buffer must be flushed prior to loading the read buffer to maintain coherency between the two buffers. But, if user-mode MCR access is enabled for the read buffer and the flush is attempted while in user mode, an undefined instruction exception will occur. In this case, the exception handler must perform the write buffer flush, then return to user mode to execute the read buffer load. Alternatively, an SWI instruction can be used as a service call to flush the write buffer."

Figure 6-1. Format of Internal Coprocessor Instructions MRC and MCR

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Cond 1 1 1 0 n CRn Rd 1 OPC_2 1 CRm

Cond ARM * condition codes

n 1 MRC register read

0 MCR register write

CRn SA-1110 register

Rd ARM register

OPC_2 Function bits for some MRC/MCR instructions

CRm Function bits for some MRC/MCR instructions

Page 56 of the Intel SA-1110 user manual — 6.2.1 Register 0 – ID
Page 56 · click to enlarge
Page 56

Coprocessors

6.2 Coprocessor 15 Definition

The SA-1110 coprocessor 15 contains registers that control the cache, MMU, and write buffer operation as well as some clocking functions. These registers are accessed using CPRT instructions to coprocessor 15 with the processor in any privileged mode. Only some of registers 0–15 are valid; the result of an access to an invalid register is unpredictable. Table 6-1 lists the coprocessor 15 control registers.

Table 6-1. Cache and MMU Control Registers (Coprocessor 15)

Intel SA-1110 — Table 6-1. Cache and MMU Control Registers (Coprocessor 15) diagram (page 56)
Fig. 3 · Table 6-1. Cache and MMU Control Registers (Coproces…

13 Read process ID (PID) Write process ID (PID)

6.2.1 Register 0 – ID

Register 0 is a read-only register that returns an architecture and implementation-defined identification for the device.

Register 0 – ID Read-Only

Intel SA-1110 — 6.2.1 Register 0 – ID diagram (page 56)
Fig. 4 · 6.2.1 Register 0 – ID

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Intel SA-1110 — 6.2.1 Register 0 – ID diagram (page 56)
Fig. 5 · 6.2.1 Register 0 – ID

0000 = A0 stepping 0100 = B0 stepping 0101 = B1 stepping

0110 = B2 stepping 1000 = B4 stepping 1001 = B5 stepping

Page 57 of the Intel SA-1110 user manual — ROM
Page 57 · click to enlarge
Page 57

Coprocessors

6.2.2 Register 1 – Control

Register 1 is a read/write register containing control bits. All writable bits in this register are forced low by reset. The shaded bits (also labeled r) are reserved and are not readable or writable..

Register 1 – Control Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

R S B 1 1 1 W C A M

(Sheet 1 of 2)

0 M

0. On-chip memory-management unit disabled
1. On-chip memory-management unit enabled

1 A

0. Alignment fault disabled
1. Alignment fault enabled
0. Data cache disabled
1. Data cache enabled

3 W

0. Write buffer disabled
1. Write buffer enabled

4 P 32-bit/26-bit exception handlers.

Should always be 1.

5 D 32-bit/26-bit Data address range.

Should always be 1.

6 L Implementation defined.

Should always be 1.

7 B

0. Little endian operation
1. Big endian operation

8 S

This bit selects the access checks performed by the memory-management unit.

See the ARM Architecture Reference for more information.

ROM

9 R

This bit selects the access checks performed by the memory-management unit.

See the ARM Architecture Reference for more information.

11..10 — Unused.

Undefined on Read. Writes ignored.

0. Instruction cache disabled
1. Instruction cache enabled
Show 10 more labels / short text on this page
Undefined · Undefined X I · Bits Name Description · Enable/disable · Address fault enable/disable · Data cache enable/disable · Write buffer enable/disable · Big/little endian · System · Instruction cache enable/disable
Page 58 of the Intel SA-1110 user manual — 6.2.4 Register 3 – Domain Access Control
Page 58 · click to enlarge
Page 58

Coprocessors

Register 1 – Control Read/Write

Intel SA-1110 — Coprocessors diagram (page 58)
Fig. 6 · Coprocessors

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

R S B 1 1 1 W C A M

0. Base address of interrupt vectors is 0h0000 0000
1. Base address of interrupt vectors is 0hFFFF 0000

6.2.3 Register 2 – Translation Table Base

Register 2 is a read/write register that holds the base of the currently active level 1 page table. Bits [13:0] are undefined on read, ignored on write.

Register 2 – Translation Table

Intel SA-1110 — 6.2.3 Register 2 – Translation Table Base diagram (page 58)
Fig. 7 · 6.2.3 Register 2 – Translation Table Base

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

6.2.4 Register 3 – Domain Access Control

Register 3 is a read/write register that holds the current access control for domains 0 to 15. Refer to the ARM Architecture Reference for a description of the domain structure.

Register 3 – Domain Access

Intel SA-1110 — 6.2.4 Register 3 – Domain Access Control diagram (page 58)
Fig. 8 · 6.2.4 Register 3 – Domain Access Control

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Base Read/Write · Control Read/Write

Page 59 of the Intel SA-1110 user manual — 6.2.8 Register 7 – Cache Control Operations
Page 59 · click to enlarge
Page 59

Coprocessors

6.2.5 Register 4 – RESERVED

Accessing register 4 may yield unpredictable results.

6.2.6 Register 5 – Fault Status

Reading register 5 returns the current contents of the fault status register (FSR). The FSR is written when a data memory fault occurs or can be written by an MCR to the FSR. It is not updated for a prefetch fault. See Chapter 7, “Memory Management Unit (MMU)” for more details. Bits [31:10] are undefined on read, ignored on write. Bit 9 is set when a data breakpoint is taken and can be cleared by an MCR operation. Bit 8 is ignored on write and is always returned as zero. Refer to the ARM Architecture Reference for a description of the domain and status fields.

Register 5 – Fault Status

Intel SA-1110 — 6.2.6 Register 5 – Fault Status diagram (page 59)
Fig. 9 · 6.2.6 Register 5 – Fault Status

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

6.2.7 Register 6 – Fault Address

Reading register 6 returns the current contents of the fault address register (FAR). The FAR is written when a data memory fault occurs with the virtual address of the data fault or can be written by an MCR to the FAR.

Register 6– Fault Address

Intel SA-1110 — 6.2.7 Register 6 – Fault Address diagram (page 59)
Fig. 10 · 6.2.7 Register 6 – Fault Address

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

6.2.8 Register 7 – Cache Control Operations

Register 7 is a write-only register. The CRm and OPC_2 fields are used to encode the cache control operations. Operation for all other values for OPC_2 and CRm is unpredictable.

Intel SA-1110 — 6.2.8 Register 7 – Cache Control Operations diagram (page 59)
Fig. 11 · 6.2.8 Register 7 – Cache Control Operations
Page 60 of the Intel SA-1110 user manual — 6.2.10 Register 9 – Read-Buffer Operations
Page 60 · click to enlarge
Page 60

Coprocessors

Function OPC_2 CRm Data

Flush D single entry 0b001 0b0110 Virtual address

Clean Dcache entry 0b001 0b1010 Virtual address

Drain write buffer 0b100 0b1010 Ignored

Note: The write buffer must be flushed prior to loading the read buffer to maintain coherency between the two buffers. But, if user-mode MCR access is enabled for the read buffer and the flush is attempted while in user mode, an undefined instruction exception will occur. In this case, the exception handler must perform the write buffer flush, then return to user mode to execute the read buffer load. Alternatively, an SWI instruction can be used as a service call to flush the write buffer.

6.2.9 Register 8 – TLB Operations

Register 8 is a write-only register. The CRm and OPC_2 fields are used to encode the following TLB flush operations. Operation for all other values of OPC_2 and CRm is unpredictable.

Function OPC_2 CRm Data

Flush I+D 0b000 0b0111 Ignored

Flush I 0b000 0b0101 Ignored

Flush D 0b000 0b0110 Ignored

Flush D single entry 0b001 0b0110 Virtual address

6.2.10 Register 9 – Read-Buffer Operations

The read buffer is controlled and accessed through register 9 of coprocessor 15. The functions supported are: flush-all buffers, flush-a-single entry, load-an-entry (1, 4 or 8 words), and enable/disable user mode access.

The CRm and OPC_2 fields are used to encode these control operations. All other values for OPC_2 and CRm are undefined and the results of using them are unpredictable.

Function OPC_2 CRm Data

Flush all entries 0b000 0b0000 Ignored

Flush Buffer 0 0b001 0b0000 Ignored

Flush Buffer 1 0b001 0b0001 Ignored

Flush Buffer 2 0b001 0b0010 Ignored

Flush Buffer 3 0b001 0b0011 Ignored

Load Buffer 0 with one word 0b010 0b0000 Virtual address

Load Buffer 0 with four words 0b010 0b0100 Virtual address

Load Buffer 0 with eight words 0b010 0b1000 Virtual address

Load Buffer 1 with one word 0b010 0b0001 Virtual address

Load Buffer 1 with four words 0b010 0b0101 Virtual address

Load Buffer 1 with eight words 0b010 0b1001 Virtual address

Page 61 of the Intel SA-1110 user manual — 6.2.12 Register 13 – Process ID Virtual Address Mapping
Page 61 · click to enlarge
Page 61

Coprocessors

Function OPC_2 CRm Data

Load Buffer 2 with one word 0b010 0b0010 Virtual address

Load Buffer 2 with four words 0b010 0b0110 Virtual address

Load Buffer 2 with eight words 0b010 0b1010 Virtual address

Load Buffer 3 with one word 0b010 0b0011 Virtual address

Load Buffer 3 with four words 0b010 0b0111 Virtual address

Load Buffer 3 with eight words 0b010 0b1011 Virtual address

Disable user-mode MCR access 0b100 0b0000 Ignored

Enable user-mode MCR access 0b101 0b0000 Ignored

See Chapter 5, “Caches, Write Buffer, and Read Buffer” for details on the use and operation of the read buffer.

Note: The write buffer must be flushed prior to loading the read buffer to maintain coherency between the two buffers. But, if user-mode MCR access is enabled for the read buffer and the flush is attempted while in user mode, an undefined instruction exception will occur. In this case, the exception handler must perform the write buffer flush, then return to user mode to execute the read buffer load. Alternatively, an SWI instruction can be used as a service call to flush the write buffer.

6.2.11 Registers 10 – 12 RESERVED

Accessing registers 10 – 12 may yield unpredictable results.

6.2.12 Register 13 – Process ID Virtual Address Mapping

The SA-1110 supports the remapping of virtual addresses through a process ID (PID) register. The 6-bit PID value is OR’ed with bits 30..25 of the virtual address when bits 31..25 of the virtual address are zero. This effectively remaps the address to one of 64 “slots” in the lower 2 Gbyte address space. The following table shows the OPC_2 and CRm field encodings used to access the process ID register. This register is zero at reset and if left unmodified, effectively disables the remapping function. As such, no explicit enable or disable function is necessary. Reserved bits read as zero and must be written as zero. This register is readable and writable.

Access process ID register 0b000 0b0000

The following figure shows the format of the process ID register.

Function OPC_2 CRm

Page 62 of the Intel SA-1110 user manual — 6.2.13 Register 14 – Debug Support (Breakpoints)
Page 62 · click to enlarge
Page 62

Coprocessors

Register 13 – Process ID Read/Write

Intel SA-1110 — Coprocessors diagram (page 62)
Fig. 12 · Coprocessors

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

6.2.13 Register 14 – Debug Support (Breakpoints)

The SA-1110 supports address and data breakpoints through register 14 of coprocessor 15. The instruction formats follow. For a description of the breakpoint operation, see Chapter 15, “Debug Support”. The following table shows the OPC_2 and CRm field encodings used to access the address and data breakpoints.

The DBAR, DBVR, DBMR and DBCR registers are Read/Write registers. The IBCR is a Write-Only register.

Intel SA-1110 — 6.2.13 Register 14 – Debug Support (Breakpoints) diagram (page 62)
Fig. 13 · 6.2.13 Register 14 – Debug Support (Breakpoints)

Write instruction breakpoint address and control register (IBCR). 0b000 0b1000

The DBCR register is a 3-bit register used to control the enabling and disabling of the data breakpoints. Bits 0..2 are valid and positioned as shown below. Bits 3..31 are reserved. These bits read as zeros and writes have no effect.

Data Breakpoint Control Register

Intel SA-1110 — 6.2.13 Register 14 – Debug Support (Breakpoints) diagram (page 62)
Fig. 14 · 6.2.13 Register 14 – Debug Support (Breakpoints)

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

(DBCR) Read/Write

Page 63 of the Intel SA-1110 user manual — 6.2.14 Register 15 – Test, Clock, and Idle Control
Page 63 · click to enlarge
Page 63

Coprocessors

Data Breakpoint Control Register

Intel SA-1110 — Coprocessors diagram (page 63)
Fig. 15 · Coprocessors

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

The IBCR is a write-only register used to load an address breakpoint address and to set an enable bit for the function. If an address is loaded with bit 0 (E) set, then the address is enabled as a breakpoint. If bit zero is cleared, then the breakpoint is disabled. Bit 1 is reserved and should be written to zero.

and Control Register (IBCR) Write-Only

Intel SA-1110 — Coprocessors diagram (page 63)
Fig. 16 · Coprocessors

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

6.2.14 Register 15 – Test, Clock, and Idle Control

Register 15 is a write-only register. The CRm and OPC_2 fields are used to encode the following control operations. Operation for all other values of OPC_2 and CRm is unpredictable.

(DBCR) Read/Write · Instruction Breakpoint Address

Page 64 of the Intel SA-1110 user manual — Coprocessors
Page 64 · click to enlarge
Page 64

Coprocessors

Enable odd-word loading of the linear feedback shift register ( LFSR)

Enable even-word loading of LFSR 0b001 0b0010

Clear LFSR 0b001 0b0100

Move LFSR to R14.abort 0b001 0b1000

Enable clock switching 0b010 0b0001

Disable clock switching 0b010 0b0010

Wait for interrupt 0b010 0b1000

Function OPC_2 CRm · 0b001 0b0001 · RESERVED 0b010 0b0100

Page 65 of the Intel SA-1110 user manual — 7.3 Data Aborts
Page 65 · click to enlarge
Page 65

Memory Management Unit (MMU) 7

This chapter describes the memory management functions.

7.1 Overview

The Intel® StrongARM* SA-1110 Microprocessor (SA-1110) implements the standard ARM*

memory-management functions using two 32-entry fully associative translation buffers (TBs). One is used for instruction accesses and the other for data accesses. On a TB miss, the translation table hardware is invoked to retrieve the translation and access permission information. Once retrieved, if the entry maps to a valid page or section, then the information is placed into the TB. The replacement algorithm in the TB is round robin. For an invalid page or section, an abort is generated and the entry is not placed in the TB.

7.1.1 MMU Registers

See Section 6.2, “Coprocessor 15 Definition” on page 6-56 for a description of the Memory Management Unit (MMU) coprocessor 15 registers supported by the SA-1110.

7.2 MMU Faults and CPU Aborts

The MMU generates four faults:

  • Alignment fault
  • Translation fault
  • Domain fault
  • Permission fault

Alignment faults are generated by word loads or stores with the low-order two address bits nonzero, and by load or store half words when the low-order address bit is a one. Translation faults are generated by access to pages marked invalid by the memory-management page tables. Domain faults and permission faults are generated by accesses to memory that are protected by the current mode, domain, and page protection. See the ARM Architecture Reference for more information. In addition, an external abort may be raised on external data accesses.

7.3 Data Aborts

The SA-1110 takes a data abort exception due to: MMU-generated exceptions, accessing reserved memory space.

Page 66 of the Intel SA-1110 user manual — To enable the MMU:
Page 66 · click to enlarge
Page 66

Memory Management Unit (MMU)

7.3.1 Cacheable Reads (Linefetches)

A linefetch can be safely aborted on any word in the transfer. If an abort occurs during the linefetch, the cache is purged so it will not contain invalid data. If the abort happens before the word that was requested by the access is returned, the load is aborted. If the abort happens after the word that was requested by the access is returned, the load completes and the fill is aborted (but no exception is generated).

7.3.2 Buffered Writes

Buffered writes cannot be externally aborted. Therefore, the system should be configured such that it does not perform buffered writes to areas of memory that are capable of flagging an external abort.

7.4 Interaction of the MMU, Icache, Dcache, and Write Buffer

The MMU, Icache, Dcache, and WB can be enabled or disabled independently. The Icache can be enabled with the MMU enabled or disabled. However, the Dcache and WB can only be enabled when the MMU is enabled. Because the write buffer is used to hold dirty copy-back cached lines from the Dcache, it must be enabled along with the Dcache. Therefore, only four of the eight combinations of the MMU, Dcache, and WB enables are valid. There are no hardware interlocks on these restrictions, so invalid combinations will cause undefined results.

Table 7-1. Valid MMU, Dcache, and Write Buffer Combinations

MMU Dcache Write Buffer

The following procedures must be observed.

To enable the MMU:

1. Program the translation table base and domain access control registers.
2. Program level 1 and level 2 page tables as required.
3. Enable the MMU by setting bit 0 in the control register.
Show 4 more labels / short text on this page
Off Off Off · On Off Off · On Off On · On On On
Page 67 of the Intel SA-1110 user manual — 7.5 Mini Data Cache
Page 67 · click to enlarge
Page 67

Memory Management Unit (MMU)

MOV R1, #0x1 MCR 15,0,R1,0,0 ; Enable MMU Fetch nontranslated Fetch nontranslated Fetch nontranslated Fetch Translated

To disable the MMU:

1. Disable the WB by clearing bit 3 in the control register.
2. Disable the Dcache by clearing bit 2 in the control register.
3. Disable the Icache by clearing bit 12 in the control register.
4. Disable the MMU by clearing bit 0 in the control register.

7.5 Mini Data Cache

The mini data cache is a 16-entry, 2-way set-associative data cache. It is accessed in parallel with the main data cache. A data reference is allocated into the mini data cache if the B and C bits in the MMU are 0 and 1, respectively. A line of data can reside only in one of the two Dcaches at any one time. Both Dcaches must be flushed prior to any page table manipulation that could change the allocation policy.

Page 68 of the Intel SA-1110 user manual — 7.5 Mini Data Cache
Page 68 · click to enlarge
Page 68
Page 68 of the Intel SA-1110 user manual — 7.5 Mini Data Cache
Page 69 of the Intel SA-1110 user manual — GPIO 27
Page 69 · click to enlarge
Page 69

Clocks 8

This section describes the Intel® StrongARM* SA-1110 Microprocessor (SA-1110) clocks. The following diagram shows the distribution of clocks in the SA-1110. The 3.6864-MHz oscillator feeds both PLLs. The primary PLL provides clocks for the core logic and a 7.36-MHz clock for several of the serial controllers. The core, Dcaches, and read and write buffers use either the full-speed core clock or the divided-down clock. The LCD controller, DMA, memory controller, and GPIO use the core clock divided by 2 (RCLK). The 32.768-kHz oscillator feeds the real-time clock (RTC) and the power manager logic. The secondary PLL provides the clock for the UDC, the ICP, and the MCP. The oscillators and PLLs are completely integrated with the SA-1110 and require no external devices other than the crystals for operation.The following figure shows a block diagram of the clocking system for the SA-1110.

Figure 8-1. SA-1110 Clock System Block Diagram

32.768 kHz Oscillator

3.6864 MHz Oscillator

Primary PLL 59 MHz - 200 MHz

UART: 7.36 MHz ICP: 7.36 or 48 MHz MCP/SSP: 7.36 or 12 MHz PPC: 7.36 MHz UDC: 48 MHz

GPIO 27

A8054-01

8.1 Intel ® StrongARM SA-1110 Crystal Oscillators

The SA-1110 clocks are derived from two crystals connected to on–chip oscillators. The first clock source is a 3.6864-MHz crystal that feeds the CPU PLL and the 48-MHz PLL. The CPU PLL multiplies the oscillator output up to the core frequency. This frequency is then divided down to generate baud rates for the serial ports. If the UARTs are not being used or do not need standard

Show 17 more labels / short text on this page
Intel® ARM* · SA-1 Core · Divide · by 2 · I-Cache · D-Cache · Write Buffer · Secondary PLL · 48 MHz · Read Buffer · RTC and Power · Manager · Peripherals · LCD Controller · DMA Controller · Memory Controller · I/O Controller
Page 70 of the Intel SA-1110 user manual — Table 8-1. Core Clock Configurations
Page 70 · click to enlarge
Page 70

Clocks

baud rates, then the 3.6864 -Hz oscillator may be replaced with a 3.5795-MHz crystal to generate frequencies as shown in Table 8-1.The second oscillator is connected to a 32.768-kHz crystal. The output of this oscillator clocks the power management controller and the real-time clock (RTC).

See Appendix B, “3.6864–MHz Oscillator Specifications” and Appendix C, “32.768–KHz Oscillator Specifications” for detailed specifications of the crystal oscillators.

8.2 Core Clock Configuration Register

The core clock frequency is configured by software through the core clock configuration field (CCF[4:0]) in the power manager phase-locked loop (PLL) configuration register (PPCR). This field should be programmed during the boot sequence for the desired full-speed operation. nRESET clears the field by selecting the lowest frequency operation.

See Section 9.5, “Power Manager” on page 9-99 for the physical address used to access this register.

Table 8-1 shows the core clock frequency as a function of the CCF setting.

Table 8-1. Core Clock Configurations

CCF[4:0] Core Clock Frequency in MHz

3.6864-MHz Crystal Oscillator 3.5795-MHz Crystal Oscillator

00000 59.0 57.3

00001 73.7 71.6

00010 88.5 85.9

00011 103.2 100.2

00100 118.0 114.5

00101 132.7 128.9

00110 147.5 143.2

00111 162.2 157.5

01000 176.9 171.8

01001 191.7 186.1

01010 206.4 200.5

01011 221.2 214.8

01100– 11111 Not supported. —

The actual core clock (DCLK) can switch between being driven by the high speed core clock (CCLK, set by CCF[4:0]) and the memory clock (MCLK), which runs at half the frequency of CCLK. CCLK is used except when the SA-1110 is waiting for fills to complete after a cache miss. At reset, clock switching is disabled and the DCLK is driven by MCLK. Clock switching can also be disabled by writing to CP15 register 15 with OPC_2 = 2 and CRm = 2 (see Section 6.2.14). Clock switching is enabled by writing to CP15 register 15 with OPC_2 = 2 and CRm = 1. Disabling clock switching only disables switching for DCLK; it does not force the DCLK to MCLK. However, DCLK can be forced to MCLK by forcing an instruction or data cache miss after clock switching is disabled.

Page 71 of the Intel SA-1110 user manual — the PXTAL and PEXTAL pins, approximately 1 V per 100 ns. †
Page 71 · click to enlarge
Page 71

Clocks

8.2.1 Restrictions on Changing the Core Clock Configuration

When the CPU writes to the PPCR, the core clock PLL and the 48-MHz PLL are stopped for a period of time to allow the core clock PLL to relock to the new frequency. When these PLLs are stopped, the core clock and all clocks derived from that clock are stopped. When this happens, certain units within the SA-1110 (the LCD controller, all serial controllers, the DMA controller, and the OS timer) will experience an interruption in operation for approximately 150 microseconds after the PPCR is written.

Because of these restrictions, it is recommended that the user not change the PPCR except immediately following a hard reset or immediately following wake-up from sleep mode. The LCD controller, all serial controllers (except the UDC), the DMA controller, and the OS timer are already disabled and are not affected by an interruption in their clock stream. In addition to these restrictions, the PPCR must be written prior to enabling clock switching. Note that the 32.768-kHz clock is not affected by any change in the PPCR and units using this clock (power management, RTC) do not see any interruption in service during the 150 microsecond period.

8.3 Driving Intel ® StrongARM SA-1110 Crystal Pins from an External Source

In most applications, a 3.6864-MHz crystal will be connected between the PXTAL and the PEXTAL pins. Similarly, a 32.768-kHz crystal will be connected between the TXTAL and TEXTAL pins. In some applications, supplying these clocks from an external source may be preferred. This is accommodated in the SA-1110 design by:

  • Supplying the 32.768-kHz clock from an external source

— Only the TXTAL pin is driven. The TEXTAL pin must be left floating.

— The peak-to-peak voltage swing on TXTAL must be at least 0.6 V and the voltage on the

pin must remain within the range of 0 V to 1 V, independent of the other power supply voltages applied to the processor. • Supplying a 3.6864-MHz clock from an external source

— Both PXTAL and PEXTAL are driven with complementary signals.

— The peak-to-peak voltage swing on PXTAL and PEXTAL must be at least 0.6 V and the

voltage on the pin must remain in the range of 0 V to 1 V, independent of the other power supply voltages applied to the processor.†

— When an external clock is being used, the pull-down path in the internal 3.6864 MHz

oscillator is active. To limit the current into the internal oscillator, it is recommended that the minimum impedance to the positive supply be controlled. The maximum current sourced by the external clock source when the clock is at its maximum positive voltage should be about 1 mA.†

— The maximum impedance of the external clock source is set by the minimum slew rate at

the PXTAL and PEXTAL pins, approximately 1 V per 100 ns. †

†These constraints can be satisfied by the following suggestions: • For applications in which a pulse generator is available, drive differential 1-V signals through series 1-K resistors (after the usual 50-ohm terminators-to-ground).

Page 72 of the Intel SA-1110 user manual — 8.4 Clocking During Test
Page 72 · click to enlarge
Page 72

Clocks

  • To supply external clock signals from a 3.3-V supply, drive signals with open collector or tristateable drivers. Set high level with 3.3 K from 3.3 V to the output and 1.3 K from the output to ground.
  • To supply external clock signals from a 1.5-V supply, drive signals with open collector or tristatable drivers. Set high level with 1.5 K from 1.5 V to the output and 2.7 K from output to ground. This solution may be preferred in portable applications that turn off the 1.5-V supply in sleep mode because this would eliminate the current through the resistors in sleep mode.

The two pairs of crystal pins are located close to each other on the processor. This arrangement is advantageous when there are crystals connected to the pins because the low signal swings and slow edges result in limited noise coupling between the pins. If one of the crystals is replaced by an independent signal source and the other is not, some degradation of the remaining crystal oscillator performance can result due to increased noise coupling. If only one crystal is being used, this effect can be reduced by limiting the speed of the edge rate on the pin driven by the independent source.

If the PXTAL or TXTAL pin is driven above the voltage indicated, there will be no permanent damage to the processor for pin voltages less than 2.5 V. However, ESD diodes on these pins will attempt to clamp the voltage at approximately 1.5 V. The clamping action results in significant noise injected into an internally generated supply used by several sensitive circuits on the processor. Consequently, driving this pin higher than the 1 V limit can result in unpredictable operation not obviously connected with the crystal pins. It is advised to not drive the crystal pins higher than 1 V even if there is no obvious side effect.

8.4 Clocking During Test

If TCK_BYP is high, then the PLLs and oscillators are not used and the high-speed core clock is supplied externally on the TESTCLK pin. This mode is for testing only and is not supported for standard operation.

Page 73 of the Intel SA-1110 user manual — 9.1 General-Purpose I/O
Page 73 · click to enlarge
Page 73

System Control Module 9

This chapter describes the system control module that controls several processor-wide system functions. The units contained in the system control module are: the general-purpose I/O ports, the interrupt controller, the real-time clock, the operating system timer, the power manager, and the reset controller.

9.1 General-Purpose I/O

The Intel® StrongARM* SA-1110 Microprocessor (SA-1110) provides 28 general-purpose I/O (GPIO) port pins for use in generating and capturing application-specific input and output signals. Each pin is programmable as an input or output and as an interrupt source. All 28 pins are configured as inputs during the assertion of reset, and remain inputs until they are configured otherwise.

Each GPIO pin can be configured as an input or an output by programming the GPIO pin direction register (GPDR). When programmed as an output, the pin can be controlled by writing to the GPIO pin output set register (GPSR) and the GPIO pin output clear register (GPCR). Writing to these registers controls the output data register, which is not directly readable or writable. The set and clear registers can be written regardless of whether the pin is configured as an input or an output. The programmed output state will take effect when the pin is reconfigured as an output.

When programmed as an input, the current state of each GPIO pin can be read through the GPIO pin-level register (GPLR). This register can be read at any time and can be used to confirm the state of the pin when it is configured as an output. In addition, each GPIO pin can be programmed to detect a rising and/or falling edge through the GPIO rising-edge detect register (GRER) and GPIO falling-edge detect register (GFER). The state of the edge detect can be read through the GPIO edge detect status register (GEDR). These edge detects can be programmed to generate an interrupt (see the Section 9.2, “Interrupt Controller” on page 9-83) or to serve as a wake-up event to bring the SA-1110 out of sleep mode (see the Section 9.5, “Power Manager” on page 9-99).

When the SA-1110 enters sleep mode, the contents of the power manager sleep state register (PGSR) is loaded into the output data register. If the particular pin is programmed as an output, then the state in the PGSR will be driven onto the pin before entering sleep. When the SA-1110 exits sleep mode, these values remain until reprogrammed by writing to the GPSR and GPCR.

Some GPIO pins can also serve an alternate function within the SA-1110. Certain modes within the serial controllers and LCD controller require extra pins. These functions are hard–wired into specific GPIO pins. How these functions are used is described in the following sections. Even though a GPIO pin has been taken over for an alternate function, you must still program the correct direction of that pin through the GPDR. Details on alternate functions are also provided in following sections. Figure 9-1 shows a block diagram of a single GPIO pin.

Page 74 of the Intel SA-1110 user manual — 9.1.1 GPIO Register Definitions
Page 74 · click to enlarge
Page 74

System Control Module

Figure 9-1. General-Purpose I/O Block Diagram

Intel SA-1110 — System Control Module diagram (page 74)
Fig. 17 · System Control Module

9.1.1 GPIO Register Definitions

There are a total of eight registers within the GPIO control block: one is used to monitor pin state; two are used to control pin state; one is used to control pin direction; two are used to specify a pin’s edge type that should be detected; and one is used to flag when specified edge types are detected on pins.

The last register indicates whether a pin is used as normal GPIO or whether it is taken over by the alternate function. The values in all other GPIO registers are unknown following reset and must be initialized by software.

GPIO Pin

Page 75 of the Intel SA-1110 user manual — PL27
Page 75 · click to enlarge
Page 75

System Control Module

9.1.1.1 GPIO Pin-Level Register (GPLR)

The state of each of the GPIO port pins is visible through the GPIO pin-level register (GPLR). Each bit number corresponds to the port pin number from bit 0 to bit 27. This is a read-only register that is used to determine the current level of a particular pin (regardless of the programmed pin direction).

The following table shows the locations of the 28 pin-level bits within the GPLR. This is a read-only register. For reserved bits, reads return zero; a question mark indicates that the values are unknown at reset.

0h 9004 0000 GPLR Read-Only

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

PL27

PL26

PL25

PL24

PL23

PL22

PL21

PL20

PL19

PL18

PL17

PL16

PL15

PL14

PL13

PL12

PL11

PL10

PL9

PL8

PL7

PL6

PL5

PL4

PL3

PL2

PL1

PL0

Reset 0 ?

GPIO port pin level n (where n = 0 through 27).

0. Pin state is low.
1. Pin state is high

31..28 — Reserved

Reserved · Bits Name Description · n PLn

Page 76 of the Intel SA-1110 user manual — PD27
Page 76 · click to enlarge
Page 76

System Control Module

9.1.1.2 GPIO Pin Direction Register (GPDR)

Pin direction is controlled by programming the GPIO pin direction register (GPDR). The GPDR contains one direction control bit for each of the 28 port pins. If a direction bit is programmed to a one, the port is an output. If it is programmed to a zero, it is an input. At hardware reset, all bits in this register are cleared, configuring all GPIO pins as inputs. Soft resets and sleep reset have no effect on this register. For reserved bits, writes are ignored and reads return zero. The following table shows the location of each pin direction bit in the GPIO pin direction register.

0h 9004 0004 GPDR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

PD27

PD26

PD25

PD24

PD23

PD22

PD21

PD20

PD19

PD18

PD17

PD16

PD15

PD14

PD13

PD12

PD11

PD10

PD9

PD8

PD7

PD6

PD5

PD4

PD3

PD2

PD1

PD0

Reset 0

GPIO port pin direction n (where n = 0 through 27).

0. Pin configured as an input.
1. Pin configured as an output.

31..28 — Reserved

Reserved · Bits Name Description · n PDn

Page 77 of the Intel SA-1110 user manual — System Control Module
Page 77 · click to enlarge
Page 77

System Control Module

9.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR)

When a port is configured as an output, the user controls the state of the pin by writing to either the GPIO pin output set register (GPSR) or the GPIO pin output clear register (GPCR). An output pin is set by writing a one to its corresponding bit within the GPSR. To clear an output pin, a one is written to the corresponding bit within the GPCR. These are write-only registers. Reads return unpredictable values. Writing a zero to any of the GPSR or GPCR bits has no effect. Writing a one to a GPSR or GPCR bit corresponding to a pin that is configured as an input has no effect. For reserved bits, writes are ignored. The following tables show the locations of the GPSR bits and the locations of the GPCR bits. These are write-only registers and reset values do not apply.

0h 9004 0008 GPSR Write-Only

Intel SA-1110 — System Control Module diagram (page 77)
Fig. 18 · System Control Module

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset ?

GPIO output pin set n (where n = 0 through 27).

1. If pin configured as an output, set pin level high (one).

0h 9004 000C GPCR Write-Only

Intel SA-1110 — System Control Module diagram (page 77)
Fig. 19 · System Control Module

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset ?

GPIO output pin clear n (where n = 0 through 27).

1. If pin configured as an output, clear pin level low (zero).

The user can test a bit within the GPLR corresponding to a pin that is configured as an output after having set or cleared the pin state to determine if there is an external conflict on the pin. For example, if an off-chip device is driving a GPIO output pin high and the user has cleared the pin’s state by writing a one to its GPCR bit, the user can read the GPLR, then compare the written value (zero) to the actual value (one) to detect the conflict.

Page 78 of the Intel SA-1110 user manual — System Control Module
Page 78 · click to enlarge
Page 78

System Control Module

9.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER)

Each GPIO port can also be programmed to detect a rising-edge, falling-edge, or either transition on a pin. When an edge is detected that matches the type of edge programmed for the pin, a status bit is set. The interrupt controller can be programmed to signal an interrupt to the CPU or wake up the SA-1110 from sleep mode when any one of these status bits is set.

The GPIO rising-edge and falling-edge detect registers (GRER and GFER, respectively) are used to select the type of transition on a GPIO pin that causes a bit within the GPIO edge detect status register (GEDR) to be set. For a given GPIO port pin, its corresponding GRER bit is set to cause a GEDR status bit to be set when the pin transitions from logic level zero (0) to one (1). Likewise, GFER is used to set the corresponding GEDR status bit when a transition from logic level one (1) to zero (0) occurs. When the corresponding bits are set in both registers, either a falling- or a rising-edge transition causes the corresponding GEDR status bit to be set.

The following table shows both the rising-edge and falling-edge enable bit locations corresponding to all 28 port pins. For reserved bits, writes are ignored and reads return zero; a question mark indicates that the values are unknown at reset.

0h 9004 0010 GRER Read/Write

Intel SA-1110 — System Control Module diagram (page 78)
Fig. 20 · System Control Module

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset 0 ? 1 1

GPIO pin n rising-edge detect (where n = 0 through 27).

1. Set corresponding GEDR status bit when a rising edge is detected on the GPIO pin.

0h 9004 0014 GFER Read/Write

Intel SA-1110 — System Control Module diagram (page 78)
Fig. 21 · System Control Module

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset 0 ? 1 1

GPIO pin n falling-edge detect (where n = 0 through 27).

1. Set corresponding GEDR status bit when a falling edge is detected on the GPIO pin.
Page 79 of the Intel SA-1110 user manual — ED27
Page 79 · click to enlarge
Page 79

System Control Module

9.1.1.5 GPIO Edge Detect Status Register (GEDR)

The GPIO edge detect status register (GEDR) contains 28 status bits that correspond to the 28 GPIO port pins. When an edge detect occurs on a pin that matches the type of edge programmed in the GRER and/or GFER registers, the corresponding status bit is set in GEDR. Once a GEDR bit is set, the CPU must clear it. GEDR status bits are cleared by writing a one to them. Writing a zero to a GEDR status bit has no effect.

Each edge detect that sets the corresponding GEDR status bit for GPIO pins 0 – 27 can trigger an interrupt request. Pins 27 – 11 together form a group that can cause one interrupt request to be triggered when any one of the GEDR status bits 27 – 11 is set. Each of GPIO pins 10 – 0 causes an independent first-level interrupt. See the Section 9.2, “Interrupt Controller” on page 9-83 for a description of the programming of GPIO interrupts. The following table shows a summary of GEDR; a question mark indicates that the values are unknown at reset.

0h 9004 0018 GEDR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

ED27

ED26

ED25

ED24

ED23

ED22

ED21

ED20

ED19

ED18

ED17

ED16

ED15

ED14

ED13

ED12

ED11

ED10

ED9

ED8

ED7

ED6

ED5

ED4

ED3

ED2

ED1

ED0

Reset 0 ?

GPIO edge detect status n (where n = 0 through 27).

0. No edge detect has occurred on pin as specified in GRER and/or GFER.
1. Edge detect has occurred on pin as specified in GRER and/or GFER.

31..28 — Reserved

Reserved · Bits Name Description · n EDn

Page 80 of the Intel SA-1110 user manual — AF27
Page 80 · click to enlarge
Page 80

System Control Module

9.1.1.6 GPIO Alternate Function Register (GAFR)

The GPIO alternate function register (GAFR) contains 28 control bits that correspond to the 28 GPIO port pins. When the processor sets a bit in the GAFR, the corresponding GPIO pin is switched over to that pin’s alternate function. See the following section for details on alternate functions. This register is cleared to all zeros on all reset conditions.

0h 9004 001C GAFR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

AF27

AF26

AF25

AF24

AF23

AF22

AF21

AF20

AF19

AF18

AF17

AF16

AF15

AF14

AF13

AF12

AF11

AF10

AF9

AF8

AF7

AF6

AF5

AF4

AF3

AF2

AF1

AF0

Reset 0

GPIO alternate function bits (where n = 0 through 27).

A bit set in this register indicates that the corresponding GPIO pin is to be used for its alternate function. A zero in this register indicates that the corresponding GPIO pin is to be used for its normal GPIO function.

31..28 — Reserved

Reserved · Bits Name Description · n AFn

Page 81 of the Intel SA-1110 user manual — System Control Module
Page 81 · click to enlarge
Page 81

System Control Module

9.1.2 GPIO Alternate Functions

Most GPIO pins have an alternate function that can be invoked to enable additional functionality within the SA-1110. If a GPIO is used for this alternate function, then it cannot be used as a GPIO at the same time. Pins 0 and 1 are reserved because of their special use during sleep mode and are not available for any alternate function. The following table shows each GPIO pin and its corresponding alternate function. For more details on an alternate function, see the section that corresponds to its name in the Unit column in the table.

Pin Alternate Function Direction Unit Signal Description

GP 27 32KHZ_OUT Output Clocks Raw 32.768-kHz oscillator output

GP 26 RCLK_OUT† Output Clocks Internal clock/2

GP 25 RTC clock Output RTC Real time clock

GP 24 Reserved — — —

GP 23 TREQB† Input Test controller TIC request B

GP 22 TREQA†/MBREQ Input Test controller Either TIC request A or MBREQ

GP 21 TIC_ACK†/MBGNT Output Test controller Either TIC acknowledge or MBGNT

GP 21 MCP_CLK Input Serial port 4 MCP clock in

GP 20 UART_SCLK3 Input Serial port 3:UART Sample clock input

GP 19 SSP_CLK Input Serial port 4:SSP Sample clock input

GP 18 UART_SCLK1 Input Serial port 1:UART Sample clock input

GP 17 Reserved — — —

GP 16 GPCLK_OUT Output Serial port 1 General-purpose clock out

GP 15 UART_RXD Input Serial port 1:UART UART receive

GP 14 UART_TXD Output Serial port 1:UART UART transmit

GP 13 SSP_SFRM Output Serial Port 4:SSP SSP frame clock

GP 12 SSP_SCLK Output Serial port 4:SSP SSP serial clock

GP 11 SSP_RXD Input Serial port 4:SSP SSP receive

GP 10 SSP_TXD Output Serial port 4:SSP SSP transmit

GP 2..9 LDD 8..15 Output LCD controller High-order data pins for split-screen color LCD support

GP 1 Reserved — — No alternate function

GP 0 Reserved —- — No alternate function

† To enable RCLK_OUT, it is also necessary to set bits [31:29] of the Test Unit Control Register (TUCR) = 0b100. See Appendix D, “Internal Test” for more information about the TUCR.

† The signals, TREQA, TREQB, and TIC_ACK are reserved by Intel for test purposes.

Page 82 of the Intel SA-1110 user manual — 9.1.3 GPIO Register Locations
Page 82 · click to enlarge
Page 82

System Control Module

9.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Function

When GP 27 is configured for its alternate output function by setting bit 27 in both the GAFR and GPDR, bit 29 of the test unit control register (TUCR) at physical address 0x9003 0008 can be set to select the 3.6864 MHz oscillator output instead of the 32.768 KHz oscillator output. When TUCR 29 is cleared the 32.768 KHz oscillator output is selected again. Neither option provides a fixed phase relationship with any other pin signals; and some glitching may occur when switching between the two options.

The 3.6864 MHz option is particularly useful for companion chips that require some clock cycles after assertion of VDD_FAULT or BATT_FAULT. The oscillator output will continue through the first step of the sleep shutdown sequence, which lasts for one cycle of the power manager’s 32.768 KHz clock (~30 microseconds). Thus, at least 112 cycles of 3.6864 MHz oscillation are provided prior to shutdown. See Section 9.5.3 for a detailed description of sleep mode and the sleep shutdown sequence.

9.1.3 GPIO Register Locations

The following table shows the registers associated with the GPIO block and the physical addresses used to access them.

0h 9004 0000 GPLR GPIO pin-level register

0h 9004 0004 GPDR GPIO pin direction register

0h 9004 0008 GPSR GPIO pin output set register

0h 9004 000C GPCR GPIO pin output clear register

0h 9004 0010 GRER GPIO rising-edge detect register

0h 9004 0014 GFER GPIO falling-edge detect register

0h 9004 0018 GEDR GPIO edge detect status register

0h 9004 001C GAFR GPIO alternate function register

Address Name Description

Page 83 of the Intel SA-1110 user manual — Figure 9-2. Interrupt Controller Block Diagram
Page 83 · click to enlarge
Page 83

System Control Module

9.2 Interrupt Controller

The SA-1110 interrupt controller provides masking capability for all interrupt sources and combines them into their final state, either an FIQ or IRQ processor interrupt. The interrupt hierarchy of the SA-1110 is a two-level structure.

The first level of the structure, represented by the interrupt controller IRQ pending register (ICIP) and the interrupt controller FIQ pending register (ICFP) contain the all-enabled and unmasked interrupt sources. The interrupt controller pending register (ICPR) shows both IRQ and FIQ pending interrupts. Interrupts are enabled at their source and unmasked in the interrupt controller mask register (ICMR). The ICIP contains the interrupts that are programmed to generate an IRQ interrupt. The ICFP contains all valid interrupts that are programmed to generate an FIQ interrupt. This routing is programmed via the interrupt controller level register (ICLR).

The second level of the interrupt structure is represented by registers contained in the source device (the device generating the first-level interrupt bit). Second-level interrupt status gives additional information about the interrupt and is used inside the interrupt service routine. In general, multiple second-level interrupts are OR’ed to produce a first- level interrupt bit. The enabling of interrupts is performed inside the source device.

In most cases, the root source of an interrupt can be determined through reading two register locations: the ICIP or ICFP (depending on which interrupt handler the software is in) to determine the interrupting device, followed by the status register within that device to find the exact function needing service. When the SA-1110 is in idle mode (see the Section 9.5, “Power Manager” on page 9-99), any enabled interrupt causes it to resume operation. The interrupt mask is ignored during idle mode if the DIM bit in the interrupt controller control register (ICCR) is set to zero (0). Figure 9-2 shows a block diagram of the interrupt controller.

Figure 9-2. Interrupt Controller Block Diagram

Intel SA-1110 — Figure 9-2. Interrupt Controller Block Diagram diagram (page 83)
Fig. 22 · Figure 9-2. Interrupt Controller Block Diagram
Show 4 more labels / short text on this page
FIQ Interrupt · to Processor · IRQ Interrupt · to Processor
Page 84 of the Intel SA-1110 user manual — IP 25
Page 84 · click to enlarge
Page 84

System Control Module

9.2.1 Interrupt Controller Register Definitions

The interrupt controller contains four registers: the interrupt controller IRQ pending register (ICIP), the interrupt controller FIQ pending register (ICFP), the interrupt controller mask register (ICMR), and the interrupt controller level register (ICLR). Following reset, the FIQ and IRQ interrupts are disabled within the CPU, and the states of all of the interrupt controller’s registers are unknown and must be initialized by software before interrupts are enabled within the CPU.

9.2.1.1 Interrupt Controller Pending Register (ICPR)

The ICPR is a 32-bit read-only register that shows all active interrupts in the system. These bits are not affected by the state of the mask register (ICMR). The following table shows the pending interrupt source assigned to each bit position in the ICPR. Also included in the table are the source units for the interrupts and the number of second-level interrupts associated with each. For more detail on the second-level interrupts, see the section describing that unit.

Bit Position Unit Source Module # of Level 2 Sources Bit Field Description

IP 31

1 RTC equals alarm register.

IP 30 1 One Hz clock TIC occurred.

IP 29

1 OS timer equals match register 3.

IP 28 1 OS timer equals match register 2.

IP 27 1 OS timer equals match register 1.

IP 26 1 OS timer equals match register 0.

IP 25

3 Channel 5 service request.

IP 24 3 Channel 4 service request.

IP 23 3 Channel 3 service request.

IP 22 3 Channel 2 service request.

IP 21 3 Channel 1 service request.

IP 20 3 Channel 0 service request.

IP 19 Serial port 4b 3 SSP service request.

IP 18 Serial port 4a 8 MCP service request.

IP 17 Serial port 3 6 UART service request.

IP 16 Serial port 2 6+6 UART/HSSP service request.

IP 15 Serial port 1b 6 UART service request.

IP 14 Reserved — Reserved.

IP 13 Serial port 0 6 UDC service request.

IP 12 LCD controller 12 LCD controller service request.

Show 5 more labels / short text on this page
Real-time clock · System · Operating system timer · DMA controller · Peripheral
Page 85 of the Intel SA-1110 user manual — System Control Module
Page 85 · click to enlarge
Page 85

System Control Module

Bit Position Unit Source Module # of Level 2 Sources Bit Field Description

IP 11 System General-purpose I/O 17 “OR” of GPIO edge detects 27-11.

IP 10 1 GPIO 10 edge detect.

IP 9 1 GPIO 9 edge detect.

IP 8 1 GPIO 8 edge detect.

IP 7 1 GPIO 7 edge detect.

IP 6 1 GPIO 6 edge detect.

IP 5 1 GPIO 5 edge detect.

IP 4 1 GPIO 4 edge detect.

IP 3 1 GPIO 3 edge detect.

IP 2 1 GPIO 2 edge detect.

IP 1 1 GPIO 1 edge detect.

IP 0 1 GPIO 0 edge detect.

Total level 2 interrupt sources

Several units have more than one source per interrupt signal. When an interrupt is signalled from one of these units, the interrupt handler routine identifies which interrupt was signalled using the interrupt controller’s flag register (this identifies the unit that made the request, but not the exact source). The handler then reads the interrupting unit’s status register to identify which source within the unit signalled the interrupt. For all interrupts that have one corresponding source, the interrupt handler routine needs to use only the interrupt controller’s registers to identify the exact cause of the interrupt.

Page 86 of the Intel SA-1110 user manual — System Control Module
Page 86 · click to enlarge
Page 86

System Control Module

9.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP)

The ICIP and the ICFP contain one flag per interrupt (32 total) that indicates an interrupt request has been made by a unit. Inside the interrupt service routine, the ICIP and ICFP are read to determine the interrupt source. In general, software then reads status registers within the interrupting device to determine how to service the interrupt.

Bits within the ICPR are read only, and represent the logical OR of status bits for a given interrupt within the source unit. Once an interrupt has been serviced, the handler clears the pending interrupt at the source by writing a one to the necessary status bit. Clearing the interrupt status bit at the source automatically clears the corresponding ICIP and ICFP flag provided there are no other interrupt status bits set within the source unit.

All interrupt source status bits are cleared by writing a one to them. Writing a zero to an interrupt status bit has no effect. The following table shows the bit locations corresponding to the 32 separate interrupt pending status flags in the ICIP. The next table shows the bit locations corresponding to the 32 separate interrupt pending status flags in the ICFP. This is a read-only register.

0h 9005 0000 ICIP Read-Only

Intel SA-1110 — System Control Module diagram (page 86)
Fig. 23 · System Control Module

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset 0

31..0 — These flags reflect the OR of the reset state of the individual interrupt status bits at the source unit.

0h 9005 0010 ICFP Read-Only

Intel SA-1110 — System Control Module diagram (page 86)
Fig. 24 · System Control Module

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

31..0 — These flags reflect the OR of the reset state of the individual interrupt status bits at the source unit.

Page 87 of the Intel SA-1110 user manual — IM31
Page 87 · click to enlarge
Page 87

System Control Module

9.2.1.3 Interrupt Controller Mask Register (ICMR)

The interrupt controller mask register (ICMR) contains one mask bit per pending interrupt bit (32 total). The mask bits control whether a pending interrupt bit will generate a processor interrupt (IRQ or FIQ). When a pending interrupt becomes active, it is sent to the CPU only if its corresponding ICMR mask bit is set to a one.

Mask bits serve two purposes. First, they allow periodic software polling of interruptible sources while preventing them from actually causing an interrupt. Second, they allow the interrupt handler routine to prevent interrupts of lower priority from occurring while still maintaining a list of pending interrupts that may have occurred previously (or during the servicing of another interrupt). The ICMR is not initialized at reset; a question mark indicates that the values are unknown at reset.

The following table shows the bit locations corresponding to the 32 separate interrupt mask bits.

0h 9005 0004 ICMR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

IM31

IM30

IM29

IM28

IM27

IM26

IM25

IM24

IM23

IM22

IM21

IM20

IM19

IM18

IM17

IM16

IM15

IM14

IM13

IM12

IM11

IM10

IM9

IM8

IM7

IM6

IM5

IM4

IM3

IM2

IM1

IM0

Reset ?

Interrupt mask n (where n = 0 through 31).

0. Pending interrupt is masked from becoming active (interrupts not sent to CPU, Power Manager).
1. Pending interrupt is allowed to become active (interrupt sent to CPU, Power Manager).

Bits Name Description · n IMn

Page 88 of the Intel SA-1110 user manual — System Control Module
Page 88 · click to enlarge
Page 88

System Control Module

9.2.1.4 Interrupt Controller Level Register (ICLR)

The interrupt controller level register (ICLR) controls whether a pending interrupt generates an FIQ or an IRQ CPU interrupt. If a pending interrupt is unmasked, the corresponding ICLR bit field is decoded to select which CPU interrupt should be asserted. If the interrupt is masked, then the corresponding bit in the ICLR has no effect. The following table shows the location of all interrupt level bits in the ICLR; question marks indicate that the values are unknown at reset.

0h 9005 0008 ICLR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset ?

Interrupt level n (where n = 0 through 31).

0. Interrupt routed to CPU IRQ interrupt input.
1. Interrupt routed to CPU FIQ interrupt input.

Bits Name Description · n ILn

Page 89 of the Intel SA-1110 user manual — 0 DIM
Page 89 · click to enlarge
Page 89

System Control Module

9.2.1.5 Interrupt Controller Control Register (ICCR)

The interrupt controller control register (ICCR) contains a single control bit, the disable idle mask bit (DIM). When set, this bit inhibits the idle mode operation where the output of the ICMR is OR’ed to all ones. If this bit is set, then the interrupts that are capable of bringing the SA-1110 out of idle mode are defined by the contents of the ICMR. The following table shows the location of all interrupt level bits in the ICCR.

0h 9005 000C ICCR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

DIM

Reset 0

Disable idle mask.

0. All enabled interrupts will bring the SA-1110 out of idle mode.

0 DIM

1. Only enabled and unmasked (as defined in the ICMR) will bring the SA-1110 out of idle mode. This bit is cleared during all resets.

31..1 — Reserved

Reserved · Bits Name Description

Page 90 of the Intel SA-1110 user manual — 9.3.1 RTC Counter Register (RCNR)
Page 90 · click to enlarge
Page 90

System Control Module

9.2.2 Interrupt Controller Register Locations

The following table shows the registers associated with the interrupt controller block and the physical addresses used to access them.

0h 9005 0000 ICIP Interrupt controller IRQ pending register

0h 9005 0004 ICMR Interrupt controller mask register

0h 9005 0008 ICLR Interrupt controller level register

0h 9005 0010 ICFP Interrupt controller FIQ pending register

0h 9005 0020 ICPR Interrupt controller pending register

0h 9005 000C ICCR Interrupt controller control register

9.3 Real-Time Clock

The SA-1110 contains a real-time clock (RTC) that provides a general-purpose real-time reference for use by the system. The RTC is uninitialized after a hardware reset (nRESET) and must be written by the user to the desired value. Thereafter, the counter will remain valid until another hardware reset (assumed to be infrequent). The value of the counter is unaffected by transitions into and out of sleep, idle, software reset, or a watchdog reset. The counter is incremented on rising edges of the 1-Hz clock.

In addition to the counter [ RTC counter register (RCNR) ], the RTC incorporates a 32-bit alarm register (RTAR). The RTAR may be programmed with a value to be compared against the counter. RCNR is incremented on each rising edge of the 1-Hz clock. Throughout each 1-Hz clock period RCNR is compared to RTAR. If the values match and the alarm interrupt is enabled, then a status bit is set. This status bit is also routed to the interrupt controller and may be programmed to generate a CPU interrupt.

Another status bit is available that is set whenever the 1 Hz clock interrupt occurs. Each status bit may be cleared by writing a one to the status register in the desired bit position. The 1-Hz clock is generated by dividing down the 32.768-kHz crystal oscillator output. This divider logic is programmable to allow the user to “trim” the counter to adjust for inherent inaccuracies in the crystal’s frequency. This trimming mechanism permits the user to adjust the RTC to an accuracy of +/- 5 seconds per month. The trimming procedure is described later in this section.

9.3.1 RTC Counter Register (RCNR)

The RTC counter register (RCNR) is a read/write register and is not cleared by any reset source. The counter may be written by the processor at any time although it is recommended that the operating system prevent inadvertent writes to the RCNR through the use of the MMU protection mechanisms.

Address Name Description

Page 91 of the Intel SA-1110 user manual — 2 ALE
Page 91 · click to enlarge
Page 91

System Control Module

Because of the asynchronous nature of the 1-Hz clock relative to the processor clock, writes to this counter are controlled by a hardware mechanism that delays the actual write to the counter by up to one 32-kHz-clock (~ 30 µs) after the processor store is performed.

After the processor writes to the RCNR, all other writes to this register location are ignored until the new value is actually loaded into the counter. The RCNR may be read at any time. Reads reflect the value in the counter immediately after it increments or loads.

Note: When a value is written to the RTC registers RTTR or RCNR registers, the value is stored correctly, but doing a read immediately after the write will read an incorrect value. A one-instruction delay is needed for the values to propagate through the RTC's logic before the stored value can be read back correctly. This delay can be accomplished by doing two reads, but only using the results of the second read.

9.3.2 RTC Alarm Register (RTAR)

The real-time clock alarm register is a 32-bit register that is readable and writable by the processor. Throughout each 1-Hz clock period, RCNR is compared to RTAR. If the two are equal and the enable bit is set, then the alarm bit in the RTC status register is set. The value in this register is undefined after the assertion of nRESET.

9.3.3 RTC Status Register (RTSR)

The following table shows the location of all bits in the RTSR. All reserved bits are read as zeros and are unaffected by writes; a question mark indicates that the value is unknown at reset. The AL and HZ bits in this register are routed to the interrupt controller where they may be enabled to cause an interrupt. The AL and HZ bits are cleared by writing ones to them. The ALE interrupt enable bit must be set by software to allow the RTC's assertion of the AL bit and the RTC alarm interrupt.

0h 9001 0010 RTSR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

HZE

ALE

HZ

AL

Reset 0 ?

RTC alarm interrupt detected.

0 AL

0. No alarm interrupt has been detected.
1. An alarm interrupt has been detected (RTNR matched RTAR).

1-Hz rising-edge interrupt detected.

1 HZ

0. No rising-edge interrupt has been detected.
1. A rising-edge interrupt has been detected.

RTC alarm interrupt enable.

2 ALE

0. The RTC alarm interrupt is not enabled.
1. The RTC alarm interrupt is enabled.

Reserved · Bits Name Description

Page 92 of the Intel SA-1110 user manual — 3 HZE
Page 92 · click to enlarge
Page 92

System Control Module

0h 9001 0010 RTSR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

HZE

ALE

HZ

AL

Reset 0 ?

1-Hz interrupt enable.

3 HZE

0. The 1-Hz interrupt is not enabled.
1. The 1-Hz interrupt is enabled.

31..4 — Reserved

Reserved · Bits Name Description

Page 93 of the Intel SA-1110 user manual — 9.3.5.1 Oscillator Frequency Calibration
Page 93 · click to enlarge
Page 93

System Control Module

9.3.4 RTC Trim Register (RTTR)

Program the RTTR to select the frequency of the Real Time Clock (RTC). If this register is not programmed and left at its reset value (all zeros), then the RTC will actually be running at 32.768 kHz. Refer to Section 9.5.7.8, “Power Manager Oscillator Status Register (POSR)” on page 9-114 to understand when the Real Time Clock is stable. Refer to Section 9.3.5.2, “RTTR Value Calculations” on page 9-94 for details on how to calculate the value of the RTTR. The following table shows the location of all bits in the RTTR. All reserved bits are read as zeros and are unaffected by writes.

0h 9001 0008 RTTR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reserved Trim Delete Count Clock Divider Count

Reset 0

15..0 C15..C0 Clock divider count.

This value is the integer portion of the clock trim logic.

25..16 D9..D0 Trim delete count.

This value represents the number of 32-kHz clocks to delete when clock trimming begins.

31..26 — Reserved

9.3.5 Trim Procedure

The 1-Hz clock feeding the RTC is obtained by dividing the output of the 32.768-kHz oscillator down. Since 32768 is a power of two, a 15-bit divider will generate a 1-Hz clock (given a perfect crystal and perfect board environment). The inherent inaccuracies of crystals, aggravated by varying capacitance of the board connections, and so on, cause the timebase to be somewhat inaccurate, requiring a periodic adjustment in the 1 Hz clock period. The SA-1110, through the RTTR, allows the user to adjust or "trim" the 1 Hz timebase to an accuracy of +/- 5 seconds per month. At reset, the RTTR contains zeros that disable the trim circuitry. When the trim circuitry is disabled, the 1-Hz clock feeding the RTC is the same frequency as the output of the 32.768-kHz oscillator. The RTTR is reset to all zeros each time the nRESET signal is asserted.

9.3.5.1 Oscillator Frequency Calibration

To generate the value to be entered into the RTTR, the user must first measure the output frequency of the 32.768-kHz oscillator using an accurate timebase, such as a frequency counter. This clock is made externally visible by selecting the alternate function for GPIO 27. To gain access to the clock, this pin must be programmed as an output and then switched over to the alternate function. See the Section 9.1, “General-Purpose I/O” on page 9-73 in this chapter for details on how to gain access to the clock. The trim is accomplished by dividing the output of the oscillator by an integer value and then doing fine-grain fractional adjustment by periodically deleting clocks from the stream feeding this integer divider.

Bits Name Description

Page 94 of the Intel SA-1110 user manual — Trim Example #2 – Measured Value Has a Fractional Component
Page 94 · click to enlarge
Page 94

System Control Module

9.3.5.2 RTTR Value Calculations

After the true frequency of the oscillator is known, it must be split into integer and fractional portions. The integer portion of the value (minus one) is loaded into the C0-C15 field of the RTTR. This value is compared against a 16-bit counter clocked by the output of the 32.768-kHz oscillator. The counter resets and generates a pulse when the two values are equal. This pulse constitutes the raw 1-Hz signal.

The fractional part of the adjustment is done by periodically deleting clocks from the clock stream feeding the integer counter. The period, called the "trim interval," is hard–wired to be 210 -1 seconds (approximately 17 minutes). The number of clocks deleted, called the "trim delete value," is a 10-bit programmable counter allowing from 0 to 210 -1 32-kHz clocks to be deleted from the input clock stream once per trim interval. D0-D9 represents the number of clocks deleted per trim operation. In summary, every 210 -1 seconds, the integer counter stops clocking for a period equal to the fractional error that has accumulated. If this counter is programmed to a zero (as it is at a hard reset), then no trim operations will occur and the RTC will be clocked with the raw 32.768-kHz clock. The relationship between the nominal 1-Hz clock frequency and the nominal 32.768-kHz clock (f1 and f32K respectively) is shown in the following equation.

(2^10-1)*(C 15..0 +1) -D 9..0

(2^10-1)*(C 15..0 +1) * f32k

f1=

(C 15..0 +1)

Trim Example #1 – Measured Value Has No Fractional Component

In this example, the oscillator output is measured to be 36045.000 cycles/s (Hz). This output is exactly 3277 cycles over the nominal frequency of the crystal and has no fractional component. As such, only the integer trim function is needed and no fractional trim is required. Accordingly, the C0-C15 field of the RTTR is loaded with the binary equivalent of 36045-1, or 0x8CCC. The D0-D9 field is left at zero (power-up state) to disable fractional trimming. This trim exercise leaves an error of zero in trimming.

Trim Example #2 – Measured Value Has a Fractional Component

This example is a more common case in that the measured frequency of the oscillator has a fractional component. If the oscillator output is measured to be 32768.92 cycles/s (Hz), an integer trim is necessary so that the average number of cycles counted before generating one 1-Hz clock is 32768.92. Similar to the previous example, the integer field D0-D15 is loaded with the hexadecimal equivalent of 32768-1 or 0x7FFF.

Because the actual clock frequency is 0.92 cycles per second faster than the integer value, the 1-Hz clock generated by just the integer trimming is slightly faster than needed and must be slowed down. Accordingly, the fractional trim must be programmed to delete 0.92 cycles per second on average to bring the 1-Hz output frequency down to the proper value. Since the trimming procedure is performed only every 210-1=1023 seconds, the trim must be set to delete (.92*1023) = 941.16 clocks every 1023 seconds. The fractional component of this value cannot be trimmed out and constitutes the error in trimming, described below. The counter should be loaded with the hexadecimal equivalent of 941, or 0x3AD.

Page 95 of the Intel SA-1110 user manual — 9.4 Operating System Timer
Page 95 · click to enlarge
Page 95

System Control Module

This trim setting leaves an error of .16 cycles per 1023 seconds. The error calculation yields (in parts-per-million or ppm):

Error 0.16 cycles 1023 sec X 1 sec 32768 cycles 0.002 ppm = =

Maximum Error Calculation Versus Real-Time Clock Accuracy

As seen from trim example #2, the maximum possible error approaches 1 clock per 210-1 seconds. Calculating the ppm error for this scenario yields:

Error (maximum) 1 cycle 1023 sec X 1 sec 32768 cycles 0.03 ppm = =

To maintain an accuracy of +/- 5 seconds per month, the required accuracy is calculated to be:

Error 5 sec month X 1 month 2592000 sec 1.9 ppm = =

This calculation indicates that the accuracy of the SA-1110 trim mechanism is more than adequate to compensate for the static environmental and manufacturing variables, and still provides acceptable accuracy.

9.3.6 Real-Time Clock Register Locations

The following table describes the real-time clock registers.

0h 9001 0000 RTAR RTC alarm register

0h 9001 0004 RCNR RTC count register

0h 9001 0008 RTTR RTC timer trim register

0h 9001 0010 RTSR RTC status register

9.4 Operating System Timer

The SA-1110 contains a 32-bit operating system timer that is clocked by the 3.6864-MHz oscillator. The operating system count register (OSCR) is a free-running up-counter that is not cleared during any reset (contains unknown value after reset). The OS timer also contains four 32-bit match registers (OSMR[3:0]). Each register can be written and read by the user. When the value in the OSCR matches (is equal to) the value within any of the match registers, and the interrupt enable bit is set, the corresponding bit in the OSSR is set. These bits are also routed to the interrupt controller where they can be programmed to cause an interrupt. OSMR 3 also serves as a watchdog match register that resets the SA-1110 when the OWER:WME bit is set and a match occurs. The user must initialize all other registers and clear any set status bits before the FIQ and IRQ interrupts are enabled within the CPU.

Address Name Description

Page 96 of the Intel SA-1110 user manual — 0 WME
Page 96 · click to enlarge
Page 96

System Control Module

9.4.1 OS Timer Count Register (OSCR)

The OS timer count register is a 32-bit counter that increments on rising edges of the 3.6864-MHz clock. This counter can be read or written at any time. It is recommended that the system write-protect this register through the MMU protection mechanisms.

9.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3)

These registers are 32 bits wide and are readable and writable by the processor. They are compared against the OSCR following every rising edge of the 3.6864-MHz clock. If any of these registers match the counter at this time, then the corresponding OS timer interrupt channel is enabled via the OIER, and the corresponding status bit in the OSSR is set. The status bits are routed to the interrupt controller where they can be unmasked to cause a CPU interrupt. OSMR 3 may also serve as a watchdog timer. See the Section 9.4.6, “Watchdog Timer” on page 9-98 for operation information.

9.4.3 OS Timer Watchdog Match Enable Register (OWER)

The watchdog enable register contains a single control bit (bit 0) that enables the watchdog function. This bit is set by writing a one to it. It can only be cleared by one of the reset functions (hardware reset, software reset) and by entering sleep mode. A watchdog reset also clears the watchdog enable bit. The format of this register follows:

0h 9000 0018 OWER Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

WME

Reset 0

Watchdog match enable.

0. OS timer match register 3 matches cause an interrupt request.

0 WME

1. OS timer match register 3 matches cause a reset of the SA-1110 .

31..1 — Reserved

Reserved · Bits Name Description

Page 97 of the Intel SA-1110 user manual — 3 M3
Page 97 · click to enlarge
Page 97

System Control Module

9.4.4 OS Timer Status Register (OSSR)

This status register contains status bits indicating whether a match has occurred on any of the four match registers. These bits are set when the event occurs (following the rising edge of the 3.6864-MHz clock) and the corresponding OS timer interrupt channel is enabled via the OIER. They are cleared by writing a one to the proper bit position. Writing zeros to this register has no effect. All reserved bits read as zeros and are unaffected by writes; a question mark indicates that the value is unknown at reset.

0h 9000 0014 OSSR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

M3

M2

M1

M0

Reset 0 ?

Match status channel 0.

0 M0

0. OS timer match register 0 has not matched the OS timer counter since the last clear.
1. OS timer match register 0 has matched the OS timer counter.

Match status channel 1.

1 M1

0. OS timer match register 1 has not matched the OS timer counter since the last clear.
1. OS timer match register 1 has matched the OS timer counter.

Match status channel 2.

2 M2

0. OS timer match register 2 has not matched the OS timer counter since the last clear.
1. OS timer match register 2 has matched the OS timer counter.

Match status channel 3.

3 M3

0. OS timer match register 3 has not matched the OS timer counter since the last clear.
1. OS timer match register 3 has matched the OS timer counter.

31..4 — Reserved

Reserved · Bits Name Description

Page 98 of the Intel SA-1110 user manual — 9.4.6 Watchdog Timer
Page 98 · click to enlarge
Page 98

System Control Module

9.4.5 OS Timer Interrupt Enable Register (OIER)

This register contains four enable bits indicating whether a match between one of the match registers and the OS timer counter will set a status bit in the OSSR. Each match register has a corresponding enable bit. Clearing an enable bit does not clear the corresponding interrupt status bit if that bit is already set.

0h 9000 001C OIER Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

E3

E2

E1

E0

Reset 0

Interrupt enable channel 0.

0 E0

This bit is set by software and allows a match between match register OSMR[0] and the OS timer to assert interrupt bit M0 in the OSSR.

Interrupt enable channel 1.

1 E1

This bit is set by software and allows a match between match register OSMR[1] and the OS timer to assert interrupt bit M1 in the OSSR.

Interrupt enable channel 2.

2 E2

This bit is set by software and allows a match between match register OSMR[2] and the OS timer to assert interrupt bit M2 in the OSSR.

Interrupt enable channel 3.

3 E3

This bit is set by software and allows a match between match register OSMR[3] and the OS timer to assert interrupt bit M3 in the OSSR.

31..4 — Reserved

9.4.6 Watchdog Timer

OSMR 3 may also serve as a watchdog compare register. This function is enabled by setting bit 0 in the OWER. When a compare against this register occurs and the watchdog is enabled (OWER:WME=1 and OIER:E3=1), reset is applied to the SA-1110 and most internal states are cleared (with exceptions listed below). Internal reset is asserted for 256 processor clocks and then removed, allowing the SA-1110 to boot. Units that do not receive this internal reset are: the power manager, the refresh timer, and the PLL configuration. Watchdog reset affects the SA-1110 similar to a software reset. See the Section 9.6, “Reset Controller” on page 9-115 for details on what is affected by each kind of reset. When the SA-1110 comes out of a watchdog reset, a bit is set in the reset controller status register (RCSR) to indicate that the event happened.

The user must clear OSSR:M3 before setting up a watchdog reset. The following procedure is suggested when using OSMR 3 as a watchdog: each time the operating system services the register, the current value of the counter is read, and a number is then added to the value read, corresponding to the amount of time before the next time-out (care must be taken to account for counter wrap–around). This number is then written back to OSMR 3. The OS code must repeat this procedure periodically before each match occurs. If the match occurs, the OS timer will assert a reset.

Reserved · Bits Name Description

Page 99 of the Intel SA-1110 user manual — 9.5.2 Idle Mode
Page 99 · click to enlarge
Page 99

System Control Module

9.4.7 OS Timer Register Locations

Table 9-1 shows the registers associated with the OS timer and the physical addresses used to access them.

Table 9-1. OS Timer Register Locations

0h 9000 0000 OSMR 0 OS timer match registers [3:0]

0h 9000 0004 OSMR 1

0h 9000 0008 OSMR 2

0h 9000 000C OSMR 3

0h 9000 0010 OSCR OS timer counter register

0h 9000 0014 OSSR OS timer status register

0h 9000 0018 OWER OS timer watchdog enable register

0h 9000 001C OIER OS timer interrupt enable register

9.5 Power Manager

The SA-1110 contains power management logic that controls the transition between three different modes of operation: run, idle, and sleep. These modes are used to reduce processor power consumption at times when some functions are not needed, or when the system’s power supply is low or out of regulation. Each of the respective modes is associated with a reduced level of power consumption. Idle mode is entered via software. Sleep mode is entered either via software or by asserting one of two input pins that indicate a power supply fault. Idle mode is exited through an interrupt. Sleep mode is exited through a preprogrammed wake-up condition. Both modes may be exited in extreme cases via hardware reset. If none of the power management modes is active and the SA-1110 is out of reset, then it is said to be in run mode.

9.5.1 Run Mode

Run mode is the normal operating mode of the SA-1110: all power supplies are enabled, all clocks are running, and every on-chip resource is functional. This is the normal state of operation for the processor while it is executing code. Under usual conditions, the processor enters run mode after successful power-up and reset of the part.

9.5.2 Idle Mode

Idle mode allows a software application to stop the CPU when not in use, while continuing to monitor interrupt service requests both on or off-chip. When an interrupt occurs, the CPU is reactivated. During idle mode, the SCM, PM, and MPCM are each fully operational.

In idle mode, the CPU clock is stopped. Since the SA-1110 is static, all CPU state information is saved. This allows the part to be switched back to run mode, starting operation exactly where it left off. During idle mode, all other on-chip resources are active, including: all system unit modules (real-time clock, operating system timer, interrupt controller, general-purpose I/O, and power

Address Name Description

Page 100 of the Intel SA-1110 user manual — 9.5.2.2 Exiting Idle Mode
Page 100 · click to enlarge
Page 100

System Control Module

manager); all peripheral unit modules (DMA controller, LCD controller, serial controller 0-4); and all memory controller resources. The PLL also remains in lock so that the part can be brought out of idle mode quickly when an interrupt occurs.

9.5.2.1 Entering Idle Mode

Idle mode is entered while in run mode by executing a three instruction sequence consisting of the privileged on-chip coprocessor 15 instruction ‘disable clock switching’, a load from a noncacheable memory location (C=B=0), and the privileged on-chip coprocessor 15 instruction ‘wait for interrupt’. This sequence must reside in the first three words of an instruction cache line, which requires that the linker align the idle mode instruction sequence on an eight word boundary. Idle mode is entered by following the exact code sequence:

AREA Idle$$Code , CODE, READONLY, ALIGN=5

;Aligned to 8 word boundary ;p15 = coprocessor 15 ;r0 = register 0 (contents not used) ;c15 = test, clk, and idle cntl register ;c2 = CRm = 0b0010 mcr p15, 0, r0, c15, c2, 2 ;2 = OPC_2 = 0b010 ldr r0, [r1]; r1 points to non-cachable mem loc mcr p15, 0, r0, c15, c8, 2;c8 = CRm = 0b1000

9.5.2.2 Exiting Idle Mode

Any enabled interrupt from the system unit or peripheral unit causes a transition from idle mode back to run mode. An interrupt is masked or unmasked using the Interrupt Controller Mask Register (ICMR). The DIM (Disable Idle Mask) bit in the Interrupt Controller Control Register (ICCR) controls which enabled interrupts bring the SA-1110 out of idle mode.

  • When DIM=0, the ICMR register is ignored. Any enabled interrupt, masked or unmasked, brings the SA-1110 out of idle mode.
  • When DIM=1, the ICMR register is not ignored. Interrupts that are specifically enabled and unmasked bring the SA-1110 out of idle mode.

When an interrupt occurs, the CPU clocks are reactivated, the wait-for-interrupt instruction is completed, and run-program flow resumes.

If the interrupt bringing the SA-1110 out of idle mode is masked, program flow resumes in a linear fashion. If the interrupt bringing the SA-1110 out of idle mode is unmasked, program flow resumes as in any other interrupt service routine. You must reenable clock switching for both circumstances.

A transition from idle to run mode also occurs when asserting the nRESET pin, or by having OSMR 3 configured as a watchdog (OWER:WME=1 and OIER:E3=1) and incurring a match which causes the assertion of reset. Since the watchdog timer (when enabled) is functional during idle, you must set the watchdog match register far enough in advance to ensure that another interrupt is guaranteed to bring the SA-1110 out of idle before the watchdog reset occurs. It is recommended that either an RTC alarm or another OS timer channel be used for this purpose.

Page 101 of the Intel SA-1110 user manual — 9.5.3.3 The Sleep Shutdown Sequence
Page 101 · click to enlarge
Page 101

System Control Module

9.5.3 Sleep Mode

Sleep mode offers the greatest power savings and, consequently, the lowest level of available functionality. In the transition from run or idle to sleep mode, the SA-1110 performs an orderly shutdown of on-chip activity, applies an internal reset to the processor, and then negates the PWR_EN pin indicating to the external system that the VDDI (1.5-V supply) can be driven to zero volts. Internally, this switches off the power to the majority of the processor at this time. (The VDDX I/O voltage supply must remain powered during sleep.) Running off the 32.768-kHz crystal oscillator, the sleep state machine watches for a preprogrammed wake-up event to occur, after which it asserts PWR_EN (to reestablish the VDDI power supply), and steps through an orderly wake-up sequence. When the power supply and clocks are stable, the power manager brings the SA-1110 out of reset. Status bits in the reset controller status register (RCSR) may be read to indicate to software that the reset was due to sleep mode.

9.5.3.1 CPU Preparation for Sleep Mode

In preparation for sleep mode, software initializes the power manager GPIO sleep state register (PGSR) and the power manager wake-up enable register (PWER). Also, the GPIO falling-edge detect and GPIO rising-edge detect enable registers (GFER and GRER) should be written with the appropriate values. The OPDE bit in the power manager configuration register (PCFR) should also be programmed with the desired value.

9.5.3.2 Events Causing Entry into Sleep Mode

Sleep mode is entered in one of two ways: through software control or a power supply fault. Entry into sleep mode through software is accomplished by setting the force sleep bit in the power manager control register (PMCR). This bit is set by software and cleared by hardware during sleep. When the SA-1110 wakes up from sleep, this bit is already cleared.

Entry into sleep via a power supply fault is caused by the assertion of either the VDD_FAULT or BATT_FAULT pins. The VDD_FAULT pin should be used to indicate that the main power supply is out of regulation. The BATT_FAULT pin should be used to indicate that the battery has been removed or is low. These pins have identical operation for the purpose of entering sleep mode. They have different implications during the wake-up sequence as described in the following section.

9.5.3.3 The Sleep Shutdown Sequence

The sleep state machine begins the shutdown sequence. This sequence consists of three steps.

  • In the first step, the following actions occur:

a. Power manager switches the GPIO output pins to their sleep state. This sleep state is

programmed in advance by loading the power manager GPIO sleep state register (PGSR) into the GPIO output data register. (See the Section 9.1, “General-Purpose I/O” on page 9-73.)

b. The DRAMs are placed into self-refresh mode. The memory controller finishes whatever

memory operation might be in progress, issues a self-refresh command to SDRAM, and drives the nRAS/nSDCS[3:0] and nCAS/DQM[3:0] pins low.

Page 102 of the Intel SA-1110 user manual — 9.5.3.4 During Sleep Mode
Page 102 · click to enlarge
Page 102

System Control Module

c. If the sleep sequence was entered due to the assertion of VDD_FAULT or BATT_FAULT,

the possible wake-up sources are reset from what was programmed by software to their "fault state". The fault state is to allow a transition only on GP 0 and GP 1 to act as a wake-up event. • In the second step of sleep shutdown, the following actions occur:

a. All potential wake-up sources are cleared. This involves clearing all the GPIO edge detect

status bits and clearing the RTC alarm interrupt bit. These bits are cleared to prevent latent status bits from causing an immediate wake-up. This functionality is provided to cover the situation of entering sleep due to a power fault because the CPU does not have the ability to prepare for the entry into sleep.

b. An internal reset is applied to the SA-1110. All units are reset and the RESET_OUT pin is

asserted. • In the third step of sleep shutdown, the following actions occur:

a. The 3.686-MHz oscillator is stopped. This action is dependent on the state of the

oscillator power-down enable bit (OPDE) in the power manager configuration register (PCFR). If this bit is set, then the oscillator is stopped during sleep, resulting in greater power savings. If the bit is cleared (the power-on reset state), then the oscillator continues to run during sleep and results in a faster wake-up sequence.

b. The PWR_EN pin is negated. The external system must respond to this negation by

disabling the VDDI power supply. In contrast to the SA-110, the SA-1110 systems are not required to drive VDDI to zero volts in sleep. However, the power supply should be disabled to prevent power consumption.

Each step in the sleep shutdown sequence takes one cycle of the 32.768-kHz clock (~30 microseconds).

9.5.3.4 During Sleep Mode

During sleep mode, the SA-1110 watches for preprogrammed wake-up events. These events are either programmed by the CPU prior to setting the force sleep bit or by the power manager when a fault condition is detected.

Please note the following two BATT_FAULT scenarios and their impact on sleep wake-up.

1. a) The SA-1110 enters sleep through software control. b) BATT_FAULT is asserted. c) BATT_FAULT is deasserted.

result: The SA-1110 should continue to be asleep and the original programmed wake-up events should still be valid.

2. a) The SA-1110 enters sleep through software control. b) BATT_FAULT is asserted. c) A programmed wake-up event occurs. d) BATT_FAULT is deasserted.

result: The SA-1110 should wake-up from sleep after BATT_FAULT is deasserted due to the occurrence of the programmed wake-up event.

Page 103 of the Intel SA-1110 user manual — 9.5.3.6 Booting After Sleep Mode
Page 103 · click to enlarge
Page 103

System Control Module

9.5.3.5 The Sleep Wake-Up Sequence

When a valid wake-up event is detected and there is no BATT_FAULT, the SA-1110 begins a wake-up sequence. If BATT_FAULT is asserted, then the wake-up event is ignored. VDD_FAULT is always ignored at this time because the VDDI supply is disabled at this time. The wake-up sequence occurs in three steps.

  • In the first step of the wake-up sequence, the following actions occur:

a. The PWR_EN pin is asserted, indicating that the external supply must apply power on the

VDDI pins.

b. An internal timer begins to time the power ramp. This timer waits for approximately

10 ms.

c. The 3.686-MHz oscillator is enabled for operation if it was originally programmed to be disabled.

d. If BATT_FAULT is asserted at any time during the sleep wake-up sequence, the power

manager transitions back to sleep mode through the fault state. • In the second step of the wake-up sequence (after the power ramp timer has expired), the following actions occur:

a. A second internal timer begins to time the 3.686-MHz oscillator as it begins to ramp up to

speed. This timer waits for 150 ms. If the OPDE bit in the PCFR is zero, then the oscillator was never disabled and this timer is not used. In this case, the power manager transitions to the third step directly without waiting for the oscillator timer to complete.

b. If BATT_FAULT or VDD_FAULT is asserted at any time during the oscillator ramp, the

power manager transitions back to sleep mode through the fault state. • In the third step of the wake-up sequence (after the 3.6864-MHz oscillator is stabilized), the following actions occur:

a. The SA-1110 internal reset is negated and the CPU begins a normal boot sequence.

b. The RESET_OUT pin is negated, indicating that the SA-1110 is about to perform a fetch

from the reset vector location.

During the fault state entered through the assertion of VDD_FAULT or BATT_FAULT, the following actions occur:

  • All potential wake-up sources are cleared (all GPIO edge detects and the RTC alarm interrupt).
  • The power manager wake-up source register (PWER) is loaded with 0x0000 0003 and bits 0 and 1 of the GFER and the GRER (see the Section 9.1, “General-Purpose I/O” on page 9-73 ) are set. This limits the potential wake-up sources to a rising or falling edge on GP 0 or GP 1. This wake-up fault state is provided to prevent spurious events from causing an unwanted wake-up during a low battery or shorted power supply situation. This fault state setting of PWSR, GRER, and GFER registers is also the default state of the registers after a hardware reset.

9.5.3.6 Booting After Sleep Mode

When the SA-1110 boots after sleep mode (or at any other time), it must examine the reset controller status register (RCSR) to determine why it just booted. This register has bits to indicate sleep reset, software reset, watchdog reset, or hardware reset (assertion of nRESET). See Section 9.6, “Reset Controller” on page 9-115 for more details on reset.

Page 104 of the Intel SA-1110 user manual — 9.5.4 Notes on Power Supply Sequencing
Page 104 · click to enlarge
Page 104

System Control Module

Next, software should examine the power manager sleep status register (PSSR) to determine why it was in sleep. This register has bits to indicate whether a VDD_FAULT, BATT_FAULT, or force sleep bit has been asserted since the register was last cleared. It is possible for multiple bits to be set in this register.

Also, the SA-1110 provides the power manager scratch pad register (PSPR) for saving any general processor state during sleep. This register may be written by the processor and the contents will survive sleep mode. The bits in this register are not explicitly used by the SA-1110, but may be used by software to index into ROM space to retrieve memory controller configuration, for example.

Note: The nRESET pin must not be asserted during sleep mode if the DRAM contents are to be preserved. The assertion and subsequent negation of nRESET during sleep mode causes the SA-1110 to clear the FS bit in the force sleep register, assert PWR_EN, time the PLL lock sequence, and subsequently negate the internal reset signal. This causes the SA-1110 to perform a normal boot sequence because all information about the previous sleep state is lost.

9.5.3.7 Reviving the DRAMs from Self-Refresh Mode

Because the DRAMs are placed in self refresh prior to the sleep mode shutdown, their contents are preserved during sleep. After exiting sleep, software must reconfigure the DRAM control registers, which lost power during sleep mode, and then take the DRAMs out of self-refresh mode. Clearing the DRAM hold (DH) bit in the power management status register (PMSR) will cause the nRAS/nSDCS[3:0] and nCAS/DQM[3:0] pins to return to the negated state (high) in preparation for a DRAM access.

In addition to clearing PMSR:DH, bringing SDRAM out of self-refresh requires that the SDRAM controller be transitioned from a self-refresh and clock-stop state to an idle state. This involves successive writes to the DRAM Refresh Control Register (MDREFR) to set one or both SDRAM clock run bits (K1RUN and/or K2RUN) and to set the SDRAM clock enable bit (E1PIN). See the Chapter 10, “Memory and PC-Card Control Module” for details.

9.5.4 Notes on Power Supply Sequencing

On the SA-1110, as on the SA-110, it is important that VDDX (3.3 V nominal) power-up occur before VDDI (1.5 V nominal). One approach to ensuring this sequencing is to power the 1.5-V supply using the 3.3-V supply.

On the SA-1110, a second simple option is available. If the PWR_EN output is used to enable the 1.5-V supply, the SA-1110 will enforce the required sequencing by holding PWR_EN deasserted until the 3.3-V supply is sufficiently high.

9.5.5 Assumed Behavior of an Intel® StrongARM SA-1110 System in Sleep Mode

The assumed model of an SA-1110 system in sleep mode is one in which the system is relatively quiet. In particular, there should be no gratuitous switching on of the SA-1110 input pins. Although there will be some switching in GPIOs to bring the processor out of sleep and potentially on the VDD_FAULT and BATT_FAULT pins, the switching is a low-frequency activity and usually brings the SA-1110 out of sleep mode.

Page 105 of the Intel SA-1110 user manual — IDLE
Page 105 · click to enlarge
Page 105

System Control Module

The major concern is for power dissipation in sleep and requirements for the power supplies on the processor during sleep. The SA-1110 generates these supplies using several on-chip regulators with limited current capacity. Excessive activity on-chip pins might load these regulators beyond their capacity and result in droop of the on-chip supplies.

One example is that of a component tied to one of the GPIO pins that constantly transmits to the processor. If the system design indicated that activity from this detector should not bring the SA-1110 out of sleep, the transitions from this GPIO might result in switching in the processor that would exceed the sleep current limit.

This concern exists regardless of whether the GPIO is enabled as a wake-up source. Figure 9-3 shows the three power-related modes of the SA-1110 and the actions that cause transitions between the modes.

Table 9-2 summarizes what power and clock supplies are used by each module within the SA-1110, as well as the status of the power and clock supplies to each unit during each of the three power-related modes.

Figure 9-3. Transitions Between Modes of Operation

Power on, nRESET asserted

HARDWARE RESET

nRESET asserted nRESET asserted

RUN

Force sleep bit set, or VDD or battery fault pins asserted Wait for interrupt instruction

System or peripheral unit interrupt

GPIO or RTC alarm interrupt

IDLE

SLEEP

VDD or battery fault pins asserted

CPU clock held low; all other resources active, wait for interrupt

Wait for wake-up event

nRESET asserted · nRESET negated

Page 106 of the Intel SA-1110 user manual — 9.5.6 Pin Operation in Sleep Mode
Page 106 · click to enlarge
Page 106

System Control Module

Table 9-2. SA-1110 Power and Clock Supply Sources and States During Power-Down Modes

Supply Source Run Idle Sleep

Pwr Clk Pwr Clk Pwr Clk Pwr Clk

CPU

JTAG

VDD 3.6864 MHz

Memory and PCMCIA control

VDDX 32.768 kHz

9.5.6 Pin Operation in Sleep Mode

The SA-1110 pins are categorized by the following types based on their behavior during sleep mode:

  • Type 1 – These pins are outputs and are driven low during sleep. These pins hold their state after sleep mode is exited until the DRAM_control_hold bit in the PSSR is cleared.
  • Type 1b – These pins are outputs and are driven low during sleep. These pins are actively driven immediately after sleep mode is exited.
  • Type 2 – These pins are outputs and are normally driven to a one in sleep. To support systems that power down external devices, these pins can also be tristated in sleep through the use of the FLOAT_STATIC and FLOAT_PCMCIA bits in the PCFR. See the Section 9.5, “Power Manager” on page 9-99 .
  • Type 2b – These pins are outputs and are normally driven to a one in sleep. These pins are actively driven immediately after sleep mode is exited.
  • Type 3 – These pins are I/O pins. When programmed as outputs, they can be actively held high or low during sleep. When programmed as inputs, they are actively sampled by the SA-1110.
  • Type 4 – These pins are I/O pins but become inputs during sleep. They can be programmed to hold the pin state at a zero or can be tristated. The receivers on these pins are disabled during sleep. These pins hold their state after sleep mode is exited until the peripheral_control_hold bit in the PSSR is cleared.
  • Type 5 – These pins are outputs and are actively driven during sleep.
  • Type 6 – These pins are outputs and are tristated during sleep.
Show 19 more labels / short text on this page
Power Management Mode · Module · MMUs (I&D) · Stopped · Write buffer · Read buffer · Disabled Stopped · OS timer · LCD controller · Serial channel 0-4 · On Running On · Running · Real-time clock · Interrupt · controller · On Running · Power manager · General-purpose I/O · Pin pads
Page 107 of the Intel SA-1110 user manual — 9.5.7.1 Power Manager Control Register (PMCR)
Page 107 · click to enlarge
Page 107

System Control Module

  • Type 7 – These pins are inputs and are actively sampled during sleep.
  • Type 8 – These pins are inputs and are not observed during sleep; the receiver is disabled.
  • Type 9 – These pins are analog inputs and outputs, and are always active.

Table 9-3. Pin State During Sleep

Pin Name Type Pin Name Type Pin Name Type Pin Name Type

A[25:0] 1b nPIOR 2 UDC- — VDD_FAULT 7

D[31:0] 1b nPCE[2:1] 2 TXD_1 4 nRESET 7

nCS[5:0] 2 nIOIS16 8 RXD_1 4 nRESET_OUT 1b

RDY 8 nPWAIT 8 TXD_2 4 nTRST 8

nOE 2 PSKTSEL 1b RXD_2 4 TDI 8

nWE 2 nPREG 1b TXD_3 4 TDO 6

nRAS/nSDCS[3:0] 1 L_DD[7:0] 4 RXD_3 4 TMS 8

nCAS/DQM[3:0] 1 L_FCLK 4 GP[27:0] 3 TCK 8

nSDRAS 2b L_LCLK 4 SMROM_EN 8 TCK_BYP 7

nSDCAS 2b L_PCLK 4 ROM_SEL 8 TESTCLK 7

nSDCKE[1:0] 1b L_BIAS 4 PXTAL 9 VDD —

nSDCLK[2:0] 1b TXD_C 4 PEXTAL 9 VDDX —

RD/nWR 1b RXD_C 4 TXTAL 9 VSS —

nPOE 2 SCLK_C 4 TEXTAL 9 VSSX —

nPWE 2 SFRM_C 4 PWR_EN 5 — —

nPIOW 2 UDC+ — BATT_FAULT 7 — —

9.5.7 Power Manager Registers

The power manager is controlled through eight 32-bit registers. The power manager control register (PMCR) is used to allow software invocation of sleep mode. The sleep status register (PSSR) contains status bits that indicate why sleep mode was invoked. The power manager scratch pad register (PSPR) is a general-purpose register used to store processor data during sleep. The power manager wake-up enable register (PWER) is used to program the desired wake-up sources in the system. The power manager general configuration register (PCFR) contains bits used to control various configurable functions within the SA-1110. The power manager PLL configuration register (PPCR) allows the user to change the PLL operating frequency. The power manager GPIO sleep state register (PGSR) is used to program the value loaded onto GPIO outputs when the SA-1110 transitions into sleep mode. The power manager oscillator status register (POSR) contains a single bit that indicates whether the 32.768-kHz oscillator has stabilized after a hardware reset.

9.5.7.1 Power Manager Control Register (PMCR)

Sleep mode is invoked by setting the force bit within the power manager control register (PMCR). The force bit is automatically cleared upon exiting sleep mode or when a hardware reset occurs. Writing zero to the force bit has no effect. For reserved bits, writes are ignored and reads return zero. This register should be protected by programming MMU permissions. The following table shows the PMCR.

Page 108 of the Intel SA-1110 user manual — 2 FS
Page 108 · click to enlarge
Page 108

System Control Module

0h 9002 0000 PMCR Read/Write

Intel SA-1110 — System Control Module diagram (page 108)
Fig. 25 · System Control Module

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset 0

0. Do not force invocation of sleep mode.

9.5.7.2 Power Manager General Configuration Register (PCFR)

The PCFR contains bits used to configure various functions within the SA-1110. The OPDE bit, if set, allows the 3.6864-MHz oscillator to be disabled during sleep mode. This bit is cleared on the assertion of nRESET. The FP and FS bits control the state of the PCMCIA control pins and the static memory control pins during sleep. The following table shows the bit-field definitions for this register. The FO bit forces the SA-1110 to assume that the 32-kHz oscillator is stable instead of waiting for the requisite 2–10 seconds using an internal counter. This function is primarily useful for "warm" hardware resets where the oscillator is already stable when the processor comes out of reset.

0h 9002 0010 PCFR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

OPDE

FO

FS

FP

Reset 0

3.6864-MHz oscillator power-down enable.

0 OPDE

0. Do not stop the oscillator during sleep mode (reset condition).
1. Stop the 3.6-MHz oscillator during sleep mode.

Float PCMCIA controls during sleep mode.

This bit determines whether the PCMCIA control signals are driven to a high (negated) state during sleep or not driven (floated). A zero indicates that the pins are driven high. A one indicates that they will be floated. This bit is zero at hardware reset. The PCMCIA signals affected by this bit are: nPOE, nPWE, nPIOW, nPIOR, and nPCE[2:1]. PSKSEL and nPREG are derived from address signals and assume the state of the address bus during sleep.

1 FP

Float static chip selects during sleep mode.

This bit determines whether the static chip select control signals are driven to a high during sleep or floated. A zero indicates that the pins are driven high. A one indicates that they will be floated. The static chip select signals affected by this bit are: nCS[5:0], nOE, and nWE. This bit is zero at hardware reset.

2 FS

Reserved · Bits Name Description

Page 109 of the Intel SA-1110 user manual — 3 FO
Page 109 · click to enlarge
Page 109

System Control Module

0h 9002 0010 PCFR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

OPDE

FO

FS

FP

Reset 0

Force 32-kHz oscillator enable on.

This bit is used to allow software to force the SA-1110 to use the 32-kHz oscillator for internal clocking functions instead of waiting for it to stabilize in the normal way. This function is useful primarily to attain rapid functionality after a "warm" hardware reset when it is known that the oscillator is stable. Use of this bit is intended for test purposes and some customer use in special situations. It should be used with care, however, since setting this bit when the 32-kHz oscillator is not stable will yield unpredictable results.

3 FO

31..4 — Reserved

Reserved · Bits Name Description

Page 110 of the Intel SA-1110 user manual — 9.5.7.4 Power Manager Wake-Up Enable Register (PWER)
Page 110 · click to enlarge
Page 110

System Control Module

9.5.7.3 Power Manager PLL Configuration Register (PPCR)

The PPCR contains bits used to configure the core operating frequency generated by the PLL. The following table shows the bit-field definitions for this register. See Chapter 8, “Clocks” for the frequencies generated through settings in this register. Note that the contents of this register are preserved during sleep mode and do not need to be re-initialized after a wake-up event. The PPCR is only cleared upon the assertion of nRESET (hard reset).

0h 9002 0014 PPCR Read/Write

Intel SA-1110 — System Control Module diagram (page 110)
Fig. 26 · System Control Module

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset 0

See Chapter 8, “Clocks” for the values in this field.

9.5.7.4 Power Manager Wake-Up Enable Register (PWER)

The following table shows the location of all wake-up interrupt enable bits in the PWER. For a GPIO to serve as a wake-up source, it must be programmed as an input in the GPDR. When a fault condition is detected in the VDD_FAULT or BATT_FAULT pins, this register is set to hexadecimal 0000 0003, enabling only GP 1,0 as wake-up sources. This register is also set to this value on hard reset (nRESET asserted). For reserved bits, writes are ignored and reads return zero.

0h 9002 000C PWER Read/Write

Intel SA-1110 — 9.5.7.4 Power Manager Wake-Up Enable Register (PWER) diagram (page 110)
Fig. 27 · 9.5.7.4 Power Manager Wake-Up Enable Register (PWER)

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset 0 1 1

Sleep wake-up enable n (where n = 0 through 27).

0. Wake-up due to GPIO n edge detect disabled.
1. Wake-up due to GPIO n edge detect enabled.
Page 111 of the Intel SA-1110 user manual — 4 PH
Page 111 · click to enlarge
Page 111

System Control Module

9.5.7.5 Power Manager Sleep Status Register (PSSR)

PSSR contains five status flags. The software sleep status flag is set when sleep mode is entered as a result of the sleep force (SF) control bit being set by the CPU. The battery fault status bit is set any time the BATT_FAULT pin is asserted (even when the SA-1110 is already in sleep mode). The VDD fault status bit is set only when the assertion of the VDD_FAULT pin causes sleep mode invocation ( that is, if the force sleep bit is asserted and sleep mode is entered followed by the assertion of the VDD_FAULT pin, the VDD fault status bit is not set). Hardware (power-on) reset clears PSSR, but the sleep mode reset, software reset, and watchdog reset do not affect this register. The peripheral hold and DRAM hold bits indicate that those two interfaces retain the same value as during sleep until these bits are cleared.

The five status flags are cleared when a one is written to them. Writing zero to any status bit has no effect. Reserved bits read as zeros and are unaffected by writes. The following table shows the PSSR.

0h 9002 0004 PSSR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

VFS

BFS

SSS

PH

DH

Reset 0

Software sleep status.

0 SSS

0. Chip has not been placed in sleep mode by setting the sleep force (SF) control bit since it was last cleared by reset or by the CPU.
1. Chip was placed in sleep mode by setting the sleep force (SF) control bit.

Battery fault status.

0. BATT_FAULT pin has not been asserted since it was last cleared by a hardware reset or by the CPU.

1 BFS

1. BATT_FAULT pin has been asserted. NOTE: This bit will be set by the assertion of BATT_FAULT while the SA-1110 is in sleep

mode."

VDD fault status.

0. VDD_FAULT pin has not been asserted since it was last cleared by a hardware reset or by the CPU.

2 VFS

1. VDD_FAULT pin was asserted in run or idle mode and caused the chip to enter sleep mode. NOTE: This bit will not be set by the assertion of VDD_FAULT while the SA-1110 is in

sleep mode.

DRAM control hold.

This bit is set upon exit from sleep mode and indicates that the nRAS/nSDCS[3:0] and nCAS/DQM[3:0] continue to be held low and that the DRAMs are still in self-refresh mode. This bit should be cleared by the processor (by writing a one to it) before the DRAM interface has been configured and any DRAM access is attempted. The nRAS/nSDCS and nCAS/DQM lines are released when this bit is cleared. This bit is cleared on hardware reset.

3 DH

Peripheral control hold.

This bit is set upon exit from sleep mode and indicates that the peripheral pins are being held in their sleep state. This bit should be cleared by the processor (by writing a one to it) after the peripheral interfaces have been configured but before they are actually used by the processor.

4 PH

Reserved · Bits Name Description

Page 112 of the Intel SA-1110 user manual — VFS
Page 112 · click to enlarge
Page 112

System Control Module

0h 9002 0004 PSSR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

VFS

BFS

SSS

PH

DH

Reset 0

31..5 — Reserved.

Reserved · Bits Name Description

Page 113 of the Intel SA-1110 user manual — SS27
Page 113 · click to enlarge
Page 113

System Control Module

9.5.7.6 Power Manager Scratch Pad Register (PSPR)

The power manager also contains a 32-bit register to save processor configuration information in any format the user desires. The power manager scratch pad register (PSPR) is a holding register that is powered by the VDDx power supply pins and is never reset (only configured via writes). Any value can be written to it while in run mode. The value remains intact while in sleep mode, and can be read once sleep mode is exited. The user may use the register value to represent processor configuration prior to sleep mode invocation. (The 32 bits can represent encoded configuration information or can act as a pointer to ROM where a configuration table is kept.) The PSPR is a simple read/write register. See the Section 9.5.8, “Power Manager Register Locations” on page 9-114 for its physical address.

9.5.7.7 Power Manager GPIO Sleep State Register (PGSR)

The GPIO sleep state register (PGSR) allows the user to select the output state of each GPIO pin when the SA-1110 goes into sleep mode. When a transition to sleep is required (either through software or through the assertion of the BATT_FAULT or VDD_FAULT pins), the contents of the PGSR is loaded into the GPIO output data register. [This register is normally controlled by software through the GPSR (set) and GPCR (clear) registers]. Only pins already configured as outputs will reflect the new state; however, all 28 bits of the output register are loaded. After the SA-1110 reenters the run mode from sleep, these GPIO pins retain their programmed sleep state until changed by writing ones to the GPSR or GPCR registers; question marks indicate that the values are unknown at reset. If a pin direction is switched from an input to an output, the last contents of the register will be driven onto the pin.

0h 9002 0018 PGSR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

SS27

SS26

SS25

SS24

SS23

SS22

SS21

SS20

SS19

SS18

SS17

SS16

SS15

SS14

SS13

SS12

SS11

SS10

SS9

SS8

SS7

SS6

SS5

SS4

SS3

SS2

SS1

SS0

Reset 0 ?

Sleep state of GPIO n (where n = 0 through 27)

0. This pin is driven to a zero during the transition to sleep (if programmed as an output).
1. This pin is driven to a one during the transition to sleep (if programmed as an output).

31..28 — Reserved

Reserved · Bits Name Description · n SSn

Page 114 of the Intel SA-1110 user manual — Table 9-4. Power Manager Register Locations
Page 114 · click to enlarge
Page 114

System Control Module

9.5.7.8 Power Manager Oscillator Status Register (POSR)

The power manager oscillator status register (POSR) is a single-bit, read-only register that contains a status bit indicating whether the 32.768-kHz oscillator is up to speed after a hardware reset. This bit is set after the expiration of a timer that is clocked by a ring oscillator. This bit will be set within 2–10 seconds after the negation of nRESET.

0h 9002 001C POSR Read-Only

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

OOK

Reset 0

Oscillator OK.

0 OOK

This bit is cleared on a hardware reset and set after the 32.768-kHz oscillator has stabilized. This bit is read only.

31..1 — Reserved

9.5.8 Power Manager Register Locations

Table 9-4 shows the registers associated with the power manager and the physical addresses used to access them

Table 9-4. Power Manager Register Locations

0h 9002 0000 PMCR Power manager control register

0h 9002 0004 PSSR Power manager sleep status register

0h 9002 0008 PSPR Power manager scratch pad register

0h 9002 000C PWER Power manager wake-up enable register

0h 9002 0010 PCFR Power manager general configuration register

0h 9002 0014 PPCR Power manager PLL configuration register

0h 9002 0018 PGSR Power manager GPIO sleep state register

0h 9002 001C POSR Power manager oscillator status register

Reserved · Bits Name Description · Address Name Description

Page 115 of the Intel SA-1110 user manual — 9.6.1.1 Reset Controller Software Reset Register (RSRR)
Page 115 · click to enlarge
Page 115

System Control Module

9.6 Reset Controller

The reset controller manages the various reset sources within the SA-1110. From a programmer’s view, it is visible as two registers: one used to invoke software reset and one to read status after booting to indicate why the processor was reset.

The four types of reset in the SA-1110 include:

  • Hardware reset Hardware reset is invoked when the nRESET pin is asserted and resets all units in the SA-1110 to a known state. Hardware reset is intended to be used for power-up only. Because the memory controller receives a full reset, all DRAM contents will be lost during hardware reset. The RESET_OUT pin is asserted during hardware reset.
  • Software reset Software reset is invoked when the software reset (SWR) bit in the RSRR is set by software. Software reset applies reset to the majority of the SA-1110 as well as causing the assertion of the RESET_OUT pin. During software reset, the DRAM refresh and configuration are not cleared. This allows DRAM contents to survive a software reset. After the SWR bit is set, the SA-1110 stays reset for 256 processor clocks and then is allowed to boot again.
  • Watchdog reset Watchdog reset is invoked when the watchdog enable bit and the OS timer channel 3 enable bit are both set (OWER:WME=1 and OIER:E3=1) and the OSMR3 matches the OS timer counter. When watchdog reset is invoked, the rest of the reset sequence is identical to software reset. The watchdog enable bit cannot be cleared under program control. Only one of the four reset types can clear it.
  • Sleep reset Sleep reset is invoked automatically when the SA-1110 enters sleep mode. During sleep mode, the majority of the processor loses power and will receive reset prior to the negation of the PWR_EN pin. Sleep reset does not affect the power manager, RTC, or GPIO wake-up register. During sleep reset, although the memory controller is in reset, the nRAS/nSDCS[3:0] and nCAS/DQM[3:0] pins are held in the self-refresh state required by the DRAMs.

After booting from a reset, software can examine the reset controller reset status register (RCSR) to determine which types of reset caused the reset condition.

9.6.1 Reset Controller Registers

The reset controller contains two registers, the reset controller software reset register (RSRR) and the reset controller reset status register (RCSR).

9.6.1.1 Reset Controller Software Reset Register (RSRR)

The reset controller software reset register has a software reset bit, which when set, causes a reset of the SA-1110. The software reset bit (SWR) is located within the least significant bit of the write-only reset controller software reset register (RSRR). Writing a one to this bit causes all on-chip resources to reset but does not cause the PLL to go out of lock. The software reset bit is self-resetting. It is automatically cleared to zero several system clock cycles after a one is written to it. Writing zero to the software reset bit has no effect. Care should be taken to restrict access to this register by programming MMU permissions. For reserved bits, writes have no effect. Reading this register returns zeros.

Page 116 of the Intel SA-1110 user manual — 9.6.1.2 Reset Controller Status Register (RCSR)
Page 116 · click to enlarge
Page 116

System Control Module

The following table shows the RSRR.

0h 9003 0000 RSRR Write-Only

Intel SA-1110 — System Control Module diagram (page 116)
Fig. 28 · System Control Module

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset 0

0. Do not invoke a software reset of the chip.
1. Invoke a software reset of the chip.

9.6.1.2 Reset Controller Status Register (RCSR)

The reset controller reset status register (RCSR) is used by the CPU to determine the last cause or causes of the reset. The SA-1110 has four sources of reset:

  • Hardware reset
  • Software reset
  • Watchdog reset
  • Sleep mode reset

Each RCSR status bit is set by a different source of reset, and can be cleared by writing a one back to that bit. Note that the hardware reset state of software, watchdog, and sleep mode reset bits is zero. The table below shows the status bits within RCSR. For reserved bits, writes are ignored and reads return zero.

0h 9003 0004 RCSR Read/Write

Intel SA-1110 — 9.6.1.2 Reset Controller Status Register (RCSR) diagram (page 116)
Fig. 29 · 9.6.1.2 Reset Controller Status Register (RCSR)

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset 0 1

0. Hardware reset has not occurred since the last time the CPU cleared this bit. 1 – Hardware reset has occurred since the last time the CPU cleared this bit.
0. Software reset has not occurred since the last time the CPU cleared this bit. 1 – Software reset has occurred since the last time the CPU cleared this bit.
Page 117 of the Intel SA-1110 user manual — Table 9-5. Reset Controller Register Locations
Page 117 · click to enlarge
Page 117

System Control Module

0h 9003 0004 RCSR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

WDR

SWR

HWR

SMR

Reset 0 1

Watchdog reset.

2 WDR

0. Watchdog reset has not occurred since the last time the CPU cleared this bit. 1 – Watchdog reset has occurred since the last time the CPU cleared this bit.

Sleep mode reset.

3 SMR

0. Sleep mode reset has not occurred since the last time the CPU cleared this bit. 1 – Sleep mode reset has occurred since the last time the CPU cleared this bit.

31..4 — Reserved

9.6.2 Reset Controller Register Locations

Table 9-5 shows the registers associated with the reset controller and the physical addresses used to access them.

Table 9-5. Reset Controller Register Locations

0h 9003 0000 RSRR Reset controller software reset register

0h 9003 0004 RCSR Reset controller status register

Reserved · Bits Name Description · Address Name Description

Page 118 of the Intel SA-1110 user manual — 9.6.2 Reset Controller Register Locations
Page 118 · click to enlarge
Page 118
Page 118 of the Intel SA-1110 user manual — 9.6.2 Reset Controller Register Locations
Page 119 of the Intel SA-1110 user manual — Table 10-1. Supported Memory Types
Page 119 · click to enlarge
Page 119

Memory and PC-Card Control Module 10

The supported memory types of the external memory bus interface of the Intel® StrongARM*

SA-1110 Microprocessor are summarized in Table 10-1. Supported memory types include fast-page-mode (FPM) and extended-data-out (EDO) asynchronous DRAMs, synchronous DRAM (SDRAM), burst and nonburst ROMs, synchronous mask ROM (SMROM), burst and nonburst Flash memory, SRAM, PC-Card expansion memory, and SRAM-like variable latency I/O devices. It is programmable through the memory interface configuration registers. Figure 10-1 shows a block diagram of the maximum configuration of the memory controller.

Table 10-1. Supported Memory Types

MEMORY TYPE INTERFACE SIZE

Synchronous DRAM (SDRAM) 16 or 32 bit

Synchronous Mask ROM (SMROM) 32 bit

Asynchronous Fast Page Mode (FPM) DRAM 16 or 32 bit

Asynchronous Extended Data Out Mode (EDO) DRAM 16 or 32 bit

Burst and Nonburst Flash 16 or 32 bit

SRAM 16 or 32 bit

PC-Card 8 or 16 bit

PC-Card as Non-Standard Expansion Bus 32 bit

SRAM-like Variable Latency I/O Devices 16 or 32 bit

Page 120 of the Intel SA-1110 user manual — A9187-01
Page 120 · click to enlarge
Page 120

Memory and PC-Card Control Module

Figure 10-1. General Memory Interface Configuration

Dynamic Memory Interface Up to 4 banks of FPM, EDO, or SDRAM memory (16-bit or 32-bit wide) nRAS/nSDCS

SDCKE 1

SDCLK 1

Intel® StrongARM*

SDCLK 2

SA-1110

nCAS/DQM

D<31:0>

A<25:0>

MBREQ

MBGNT

SDCKE 0

SDCLK 0

Static Memory Interface(2) Up to 3 banks of ROM, Flash, SRAM or SMROM(1) memory (16-bit or 32-bit wide)

Static / Variable Latency I/O Bank 3

Static Memory or Variable I/O Interface Up to 3 banks of ROM, Flash, SMROM(1) or SRAM-like variable latency I/O devices (16-bit or 32-bit wide)

Static / Variable Latency I/O Bank 4

Static / Variable Latency I/O Bank 5

RDY

PCMCIA Interface Up to 2-socket support. Requires external logic to complete the interface. Refer to section 10.7.2.

1. SMROM width is required to be 32 bits and it is supported only on nCS 2. Static Bank 0 must be populated by "bootable" memory. 3. RD/nWR, nOE, nWE are not shown in this figure.

A9187-01

10.1 Overview of Operation

There is an online memory configuration tool at http://appzone.intel.com/hcd/sa1110/memory which can be used to help configure the SA-1110 for operation with the user’s choice of memory.

Show 26 more labels / short text on this page
nRAS/nSDCS<0> · DRAM Bank 0 · nRAS/nSDCS<1> · DRAM Bank 1 · nRAS/nSDCS<2> · DRAM Bank 2 · DRAM Bank 3 · All DRAM banks · nSDRAS, nSDCAS · Alternate Bus · Memory Controller Interface(3) · Master · All static banks · nCS<0> · Static Bank 0 · nCS<1> · Static Bank 1 · nCS<2> · Static Bank 2 · nCS<3> · nCS<4> · nCS<5> · PCMCIA Control · Socket 0 · Buffers and Transceivers · Socket 1
Page 121 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 121 · click to enlarge
Page 121

Memory and PC-Card Control Module

The SA-1110 external memory interface supports the following interfaces:

  • Dynamic Memory Interface

The dynamic memory interface supports four 16-bit or 32-bit wide banks of asynchronous memory (FPM or EDO) or synchronous DRAM. Each bank is allocated 128 Mbytes of the internal memory map. However, the actual size of each bank is dependent on the particular DRAM configuration used. The four banks are divided into two bank pairs: the 0/1 pair and the 2/3 pair. Both banks within a pair (for example, bank 0 and bank 1) must be identical in size and configuration, but the two pairs can be different (for example, the 0/1 pair can be 100 MHz SDRAM on a 32-bit data bus while the 2/3 pair is 60 ns EDO DRAM on a 16-bit data bus).

There are 4 bank selects, nRAS/nSDCS[3:0], 4 byte selects, nCAS/DQM[3:0], 15 bits of multiplexed row and column addresses, A[24:10], a write enable, nWE, and an output enable, nOE. When SDRAM is used, some of the signals perform different functions and are complemented by the nSDRAS, nSDCAS, SDCKE 1, and SDCLK[2:1] signals. The SA-1110 performs CAS before RAS refresh (CBR) during normal operation and supports self-refreshing DRAM during power-down sleep mode. Two SDRAM/SMROM auto-power-down mode bits (MDREFR:EAPD for clock enables, MDREFR:KAPD for clocks) can be set so that each pin (including SDCKE 1 and SDCLK[2:1]) is automatically deasserted whenever none of the corresponding banks is being accessed.

  • Static Memory Interface / Static Memory or Variable Latency I/O Interface

The static memory interface and the static memory or variable latency I/O interface have six chip selects (nCS[5:0]) and 26 bits of byte address (A[25:0]) for access of up to 64 Mbyte of memory in each of six banks. Each chip select is individually programmable for selecting one of the supported static memory types. Nonburst ROM or Flash memory are supported on each of nCS[5:0], burst ROM or Flash memory (with nonburst writes) are supported on each of nCS[5:0], SRAM is supported on each of nCS[2:0], SRAM-like variable latency I/O is supported on each of nCS[5:3], and synchronous mask ROM (SMROM) is supported on each of nCS[3:0]. The variable latency I/O interface differs from SRAM in that it allows the use of data ready input signal, RDY, to force the insertion of wait states. SMROM is supported only on 32-bit wide data busses. For all other (asynchronous) static memory types, each chip select can be individually configured to a 16-bit or 32-bit wide data bus. nOE is asserted on reads and nWE is asserted on writes. For SRAM and variable latency I/O, nCAS/DQM[3:0] are byte selects for both reads and writes.

The SA-1110 supports systems with both SRAM and DRAM (synchronous or asynchronous) by ensuring at least three CPU clock cycles of nCAS/DQM[3:0] deassertion between any permutation of SRAM (or variable latency I/O) access and DRAM activity (access, CBR, or self-refresh). However, the recovery time between SRAM accesses must be set to satisfy the minimum nCAS/DQM[3:0] deassertion time for any asynchronous DRAM present in the system.

When the SA-1110 comes out of reset, it begins fetching and executing instructions at address 0x00, which corresponds to memory selected by nCS0. This is where boot ROM is expected to be. The SMROM_EN pin determines if the boot ROM is asynchronous or synchronous.

In addition to nCS[3:0], the static memory interface for SMROM uses write enable (nWE), output enable (nOE), two of the SDRAM control signals (nSDRAS and nSDCAS), plus a clock enable (SDCKE 0) and clock (SDCLK 0). The nWE pin is asserted for SMROM only when writing its mode register. SMROM is supported only on 32-bit wide data busses. Two SDRAM/SMROM auto-power-down mode bits (MDREFR:EAPD for clock enables, MDREFR:KAPD for clocks) can be set so that each pin (including SDCKE 0 and SDCLK 0) is automatically deasserted whenever none of the corresponding banks are being accessed.

  • PC-Card Interface
Page 122 of the Intel SA-1110 user manual — 10.1.2 Reads
Page 122 · click to enlarge
Page 122

Memory and PC-Card Control Module

The PC-Card interface provides control signals to support a single PC-Card card slot with additional hooks to support two slots. It shares address and data pins with the memory devices. It uses address lines, A[25:0], and data lines, D[15:0]. nPREG is actually A 26 and selects register space (I/O or attribute) versus memory space. nPOE and nPWE are provided for memory and attribute reads and writes. nPIOR, nPIOW, and nIOIS16 input control I/O reads and writes. nPWAIT allows for extended access times. nPCE2 and nPCE1 are byte select high and low, respectively. PSKTSEL selects between two card slots.

This interface also supports 32-bit accesses that are outside the PC-Card specification. See Section 10.7 for information about restrictions for the use of this feature.

  • Alternate Memory Bus Master Mode

The SA-1110 supports an alternate master on the DRAM memory bus in which an external master is given control of the bus using a hardware handshake. This handshake is performed using the alternate GPIO functions, MBREQ and MBGNT. The alternate master initiates taking control of the memory bus by asserting MBREQ. The SA-1110 completes any pending or in-progress memory operations and any outstanding DRAM refresh cycle. The SA-1110 then deasserts SDCKE 1 and three-states all memory bus pins used with DRAM bank 0. All other memory and PCMCIA pins remain driven. The SA-1110 then responds to the external master by asserting MBGNT indicating to the alternate master that it should start driving all pins (including SDCLK 1). The SA-1110 will re-assert SDCKE 1. The alternate master must assume the responsibility for DRAM integrity while in this mode since the SA-1110 is unable to perform DRAM refresh cycles during the three-state period. When the alternate bus master is ready to release the bus, the external master deasserts MBREQ; the SA-1110 acknowledges by deasserting SDCKE 1 and MBGNT. The alternate master stops driving the DRAM pins (including SDCLK 1), and the SA-1110 resumes driving all DRAM pins (including SDCLK 1) and re-asserts SDCKE 1.

10.1.1 Types of Memory Accesses

The SA-1110 performs memory accesses for the following operations:

  • Unbuffered write
  • Level 1 translation fetch
  • Uncached read
  • Level 2 translation fetch
  • Buffered write
  • Cache line copyback
  • Linefetch
  • Read-lock-write sequence
  • Read buffer fetch
  • Internal DMA read
  • Internal DMA write

SA-1110 will only generate a subset of all possible transactions on the bus. Many of these transactions may be completed internal to the processor by accessing caches, the read buffer, on-chip registers, or the special memory space (128 Mbytes starting at physical address 0xE000 0000) that returns zeroes for flushing the cache.

If a memory access is followed by an idle period on the bus, the control signals return to their inactive state and the address and data signals remain at their previous values to avoid unnecessary bus transitions and eliminate the need for pull-up resistors.

10.1.2 Reads

Read bursts are generated by DMA requests, read buffer requests, and cache line fills. All line fills (for instruction and data caches) are eight words long. DMA and read buffer requests are one, four, or eight words long. All other reads are single (nonburst) word accesses.

Page 123 of the Intel SA-1110 user manual — 10.1.5 Read-Lock-Write
Page 123 · click to enlarge
Page 123

Memory and PC-Card Control Module

10.1.3 Writes

The write buffer and DMA requests can generate single (nonburst) accesses that each write one byte, one halfword, or one full word. They also can generate burst accesses that each write one, two, three, or four full words. Additionally, cache line castouts can cause the write buffer to generate burst accesses that each write eight full words.

For stores to DRAM or SRAM memory spaces, the nCAS[3:0] lines enable the corresponding byte of the data bus during a write transaction. Flash memory space stores must be the width of the Flash data bus, either 16 or 32 bits.

10.1.4 Transaction Summary

Table 10-2 lists all the transactions that the SA-1110 can generate. No burst will cross an aligned 32-byte boundary. Note that on a 16-bit data bus, each full word access becomes a two half-word burst, with address bit 1 always starting at 0. Each write access to Flash memory space must take place in one nonburst operation, regardless of bus size.

Table 10-2. SA-1110 Transactions On 32-Bit Data Buses

Bits[4:2]

Read single 1 Any Generated by core, DMA, or read buffer request.

Read burst 4 0

Generated by read buffer or DMA request.

Read burst 8 0 Generated by cacheline fills or read buffer request.

Write single 1 Any 1..4 bytes are written as specified by the byte mask. Generated by write buffer or DMA request.

Write burst 2 0, 1, 2

All 4 bytes of each word are written. Generated by write buffer or DMA request.

Write burst 3 0, 1

All 4 bytes of each word are written. Generated by write buffer or DMA request.

Write burst 4 0

All 4 bytes of each word are written. Generated by write buffer or DMA request.

Write burst 8 0 Cacheline copyback. All 32 bytes are written. Generated by write buffer.

10.1.5 Read-Lock-Write

The read-lock-write sequence is generated by an SWP(SWAP) instruction to a noncacheable/nonbufferable location. Locked access to memory is ensured through internal arbitration of accesses to the memory controller. On the external memory bus it appears as a single read followed by a single write.

Show 7 more labels / short text on this page
Burst · Starting Address · Description · Bus Operation · Size (Words) · 4, 5, 6 · 4, 5
Page 124 of the Intel SA-1110 user manual — 10.2 Memory Interface Reset and Initialization
Page 124 · click to enlarge
Page 124

Memory and PC-Card Control Module

10.1.6 Aborts and Nonexistent Memory

Reads from reserved address locations (as specified in the memory map) will result in a data abort exception. Writes to reserved address space will have no effect.

Reads and writes from or to nonexistent memory are not detected in hardware. In case no memory is selected on a read, the value last driven on the data bus is returned.

A single access to a disabled DRAM bank (MDCNFG:DEx=0) will cause a CBR refresh cycle to all banks. This technique is used in the hardware and sleep reset procedures (see Section 10.2.1) and the software and watchdog reset procedures (see Section 10.2.2). Zeros are returned to the register file on reads, writes are dropped. A burst read access to a disabled DRAM bank will result in a data abort exception.

10.2 Memory Interface Reset and Initialization

On hardware or sleep reset, the dynamic memory interface is disabled. The boot ROM (connected to nCS0) is configured for SMROM if SMROM_EN=1. Otherwise, boot ROM is configured for the slowest nonburst ROM/Flash. The ROM_SEL pin determines the bus size of asynchronous boot ROM (ground = 16 bit, high = 32 bit). Immediately, boot ROM is available for reading and all memory interface control registers are available for reading and writing. Table 10-6 summarizes the state of the memory pins and memory controller after a hardware reset.

Figure 10-2. Memory Pins and Memory Controller State after Hardware Reset (Sheet 1 of 2)

SIGNAL or REGISTER RESET VALUE DESCRIPTION

nRAS/nSDCS[3:0] 0xF DRAM RAS or SDRAM CS

nCAS/DQM[3:0] 0xF DRAM CAS or SDRAM DQM

nCS[5:0] 0x3F Static chip selects

nOE 1 Memory output enable

nWE 1 Memory write enable

RD/nWR 0 Read/write direction control

nPIOR 1 PCMCIA I/O read

nPIOW 1 PCMCIA I/O write

nPOE 1 PCMCIA output enable

nPWE 1 PCMCIA write enable

nSDRAS 1 SDRAM RAS

nSDCAS 1 SDRAM CAS

SDCKE 0 SMROM_EN SDRAM or SMROM clock enable

SDCKE 1 0 SDRAM or SMROM clock enable

Page 125 of the Intel SA-1110 user manual — 10.2.1 Hardware or Sleep Reset Procedures
Page 125 · click to enlarge
Page 125

Memory and PC-Card Control Module

Figure 10-2. Memory Pins and Memory Controller State after Hardware Reset (Sheet 2 of 2)

SIGNAL or REGISTER RESET VALUE DESCRIPTION

SDCLK 0 if the pin SMROM_EN=1, SDCLK 0 oscillates at 1/2 the memory clock frequency (1/4 the CPU frequency)

if the pin SMROM_EN=0, SDCLK 0 does not oscillate

SDCLK 1 and SDCLK 2 0 SDCLK 1 and SDCLK 2 disabled

Register MDCNFG:DE3-0 0 All DRAM banks disabled

set to SMROM or slowest non-burst ROM/FLASH timing. (MSC0:[15:0] field is initialized as follows: RRR=0xF, RDN=0x1F, RDF=0x1F, RBW = not ROM_SEL, RT=0)

Register MSC0:[15:0]

On sleep reset, the memory pins and controller are in the same state as after hardware reset; except that the nCAS/DQM and nRAS/nSDCS pins remain asserted (nCAS/DQM[3:0] = 0 and nRAS/nSDCS[3:0] = 0) to keep asynchronous DRAM in self-refresh until the processor can be configured. nRAS/nSDCS and nCS 0 are asserted simultaneously because that latter is needed to fetch instructions from the reset vector. If SDRAM were in self-refresh, they are kept there by having SDCKE(1) = 0.

10.2.1 Hardware or Sleep Reset Procedures

Software is responsible for controlling the following procedures when coming out of hardware or sleep reset. The procedures are slightly different for hardware reset and sleep reset.

1. On hardware reset in systems with DRAM or SDRAM, complete a power-on wait period (typically 100-200µsec). This allows the internal clocks (used to generate SDCLK) to stabilize.
2. In systems containing SMROM, write to SMCNFG to configure the CAS latencies (CL fields), row address bit counts (RA fields), and enables (SM bits). A careful software sequence, involving a subsequent write to SMCNFG, is required to change RAS latencies (RL fields): see Section 10.4.1 . While any SMROM banks are being configured, all SDRAM banks and SDRAM/SMROM auto-power-down must be disabled.
3. On sleep reset in systems containing DRAM, see Section 9.5 on how to release the nCAS/DQM and nRAS/nSDCS pins so that the DRAM will exit self-refresh.
4. In systems containing SDRAM, transition the SDRAM controller through the following state sequence: "self-refresh and clock-stop" to "self-refresh" to "power-down" to "PWRDNX" to "idle". See Figure 10-5 . The SDRAM clock run and enable bits (K1RUN, K2RUN, and E1PIN) are described in Section 10.3.2 .
5. Appropriately configure, but do not enable, each DRAM bank pair for asynchronous DRAM or SDRAM.
6. On hardware reset in systems containing DRAM or SDRAM, trigger a number (typically eight) of refresh cycles by attempting nonburst read or write accesses to any disabled DRAM bank. Each such access causes a simultaneous CBR for all four banks: each bank pair according to its DRAM or SDRAM configuration. For SDRAM, it does this by causing a pass

SDCLK 0 frequency · Static interface configuration

Page 126 of the Intel SA-1110 user manual — 10.2.2 Software or Watchdog Reset Procedures
Page 126 · click to enlarge
Page 126

Memory and PC-Card Control Module

through the "CBR" state and back to "idle". On the first pass, the "PALL" state is incurred prior to the "CBR" state. See Figure 10-5.

7. In systems containing DRAM or SDRAM, enable banks by setting MDCNFG:DE[3:0]. For each SDRAM bank pair that has one or both banks enabled, this will force a pass through the "MRS" (mode register set) state and back to "idle". The MRS commands will program SDRAM device(s) with the CAS latencies indicated by MDCNFG:TDL2x and MDCNFG:TDL0x. The burst type and length will always be programmed to sequential and one (1), respectively.
8. In systems containing SDRAM or SMROM, optionally enable auto-power-down by setting MDREFR:EAPD and MDREFR:KAPD.

10.2.2 Software or Watchdog Reset Procedures

Software is responsible for controlling the following procedures when coming out of software or watchdog reset. They must be completed prior to any SDRAM accesses or writes to MDCNFG or MDREFR, to ensure that every SDRAM row is precharged prior to receiving the next bank activate (ACT) or mode register set (MRS) command.

1. Disable all SDRAM banks by clearing MDCNFG:DE[3:0], without changing MDCNFG:DTIM2 and MDCNFG:DTIM0.
2. Trigger a precharge all (PALL) command to SDRAM by attempting a nonburst read or write access to any disabled DRAM bank.
3. Re-enable SDRAM banks by setting MDCNFG:DE[3:0].
Page 127 of the Intel SA-1110 user manual — Table 10-3. Memory Interface Control Registers
Page 127 · click to enlarge
Page 127

Memory and PC-Card Control Module

10.3 Memory Configuration Registers

The SA-1110 memory interface is programmed through a set of configuration registers that are described in the following sections. Many timing parameters are encoded as a number of memory clock cycles, where each memory clock cycle is equivalent to two CPU clock cycles.

Table 10-3 shows the registers associated with the memory interface and the physical addresses used to access them. All addressing is little endian. These registers are readable and writable only as full words. They are grouped together within one page and thus all have the same memory protections.

Table 10-3. Memory Interface Control Registers

Physical Address Symbol Register Name

0xA000 0000 MDCNFG DRAM configuration register

0xA000 0004 MDCAS00 CAS waveform rotate register 0 for DRAM bank pair 0/1

0xA000 0008 MDCAS01 CAS waveform rotate register 1 for DRAM bank pair 0/1

0xA000 000C MDCAS02 CAS waveform rotate register 2 for DRAM bank pair 0/1

0xA000 0010 MSC0 Static memory control register 0

0xA000 0014 MSC1 Static memory control register 1

0xA000 0018 MECR Expansion memory (PC-Card) bus configuration register

0xA000 001C MDREFR DRAM refresh control register

0xA000 0020 MDCAS20 CAS waveform rotate register 0 for DRAM bank pair 2/3

0xA000 0024 MDCAS21 CAS waveform rotate register 1 for DRAM bank pair 2/3

0xA000 0028 MDCAS22 CAS waveform rotate register 2 for DRAM bank pair 2/3

0xA000 002C MSC2 Static memory control register 2

0xA000 0030 SMCNFG SMROM configuration register

Page 128 of the Intel SA-1110 user manual — 7 CDB20
Page 128 · click to enlarge
Page 128

Memory and PC-Card Control Module

10.3.1 DRAM Configuration Register (MDCNFG)

MDCNFG is a read/write register and contains control bits for configuring the DRAM. Both DRAM banks within a pair (0/1 or 2/3) must be implemented with the same type of DRAM devices, but the two bank pairs may differ. Question marks indicate that the values are unknown at hardware or sleep reset.

0h A000 0000 MDCNFG Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

TWR21

TWR20

TDL21

TDL20

TRP23

TRP22

TRP21

TRP20

CDB22

DRAC22

DRAC21

DRAC20

DWID2

DTIM2

TWR01

TWR00

TDL01

TDL00

TRP03

TRP02

TRP01

TRP00

CDB20

DRAC02

DRAC01

DRAC00

DWID0

DTIM0

DE3

DE2

DE1

DE0

Reset ? 0 0 ? 0 0

(Sheet 1 of 4)

DRAM enable for bank 1 (bit 1) and bank 0 (bit 0).

For each DRAM bank, there is an enable bit. A single (nonburst) access (read or write) to a disabled DRAM bank triggers a CBR refresh cycle to all banks. When all banks are disabled, the refresh counter is disabled.

1..0 DE1..0

0. DRAM bank disabled. 1 – DRAM bank enabled.

These bits are cleared by hardware or sleep reset.

DRAM timing type for bank pair 0/1.

2 DTIM0

0. Asynchronous (FPM or EDO). 1 – Synchronous (SDRAM).

DRAM data bus width for bank pair 0/1.

3 DWID0

0. 32 bits. 1 – 16 bits.

DRAM row address bit count for bank pair 0/1. This count includes one or two bits for SDRAM bank selects. 000 – 9 row address bits. (Select this for support of 9x9 and 9x8 DRAMs.) 001 – 10 row address bits. (Select this for support of 10x10, 10x9, and 10x8 DRAMs.) 010 – 11 row address bits. (Select this for support of 11x11, 11x10, 11x9, and 11x8 DRAMs.) 011 – 12 row address bits. (Select this for support of 12x12, 12x11, 12x10, 12x9, and 12x8 DRAMs.) 100 – 13 row address bits. (Select this for support of 13x11, 13x10, 13x9, and 13x8 DRAMs.) 101 – 14 row address bits. (Select this for support of 14x10, 14x9, and 14x8 DRAMs.) 110 – 15 row address bits. (Select this for support of 15x11 (16-bit data bus only), 15x10, 15x9, and 15x8 DRAMs.) 111 – Reserved.

6..4 DRAC02..0

See Table 10-8 for more information.

Clock divide by 2 for bank pair 0/1. 0 – CAS waveform rotate register (MDCAS00, 01, 02) rotated every CPU clock. Required for SDRAM. 1 – CAS waveform rotate register rotated every memory clock. (CPU clock divided by 2.)

7 CDB20

SDRAM requires CDB20 = 0. However, the frequency of the SDRAM bank pair 0/1 clock (SDCLK 1) can be set to either the memory clock frequency (MDREFR:K1DB2 = 0) or half the memory clock frequency (MDREFR:K1DB2 = 1).

Bits Name Description

Page 129 of the Intel SA-1110 user manual — 18 DTIM2
Page 129 · click to enlarge
Page 129

Memory and PC-Card Control Module

0h A000 0000 MDCNFG Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

TWR21

TWR20

TDL21

TDL20

TRP23

TRP22

TRP21

TRP20

CDB22

DRAC22

DRAC21

DRAC20

DWID2

DTIM2

TWR01

TWR00

TDL01

TDL00

TRP03

TRP02

TRP01

TRP00

CDB20

DRAC02

DRAC01

DRAC00

DWID0

DTIM0

DE3

DE2

DE1

DE0

Reset ? 0 0 ? 0 0

(Sheet 2 of 4)

RAS precharge for bank pair 0/1. TRP is encoded with the minimum number of memory clocks (minus 1) of nRAS/nSDCS deassertion between transfers.

For SDRAM running at the full memory clock frequency, TRP determines the minimum delay (TRP+1 memory cycles) from the first memory clock rising edge following data latch for autoprecharge read command (READAP) to the memory clock edge upon which subsequent row commands (bank activate, mode register set, self-refresh, or CBR) are latched. The minimum delay from latching of READAP command to latching of subsequent row commands is TDL+TRP+2 memory cycles. The minimum delay from command and data latching for autoprecharge write (WRITEAP) to latching of subsequent row commands is TRP+TWR+1 memory cycles. TRP must be written to a value of at least 1 for SDRAM. The unit size for TRP is always the internal memory cycle, even if SDRAM is run at half the memory clock frequency (MDREFR:K1DB2 = 1). However, for SDRAM running at half frequency, the unit size for TDL is two memory cycles and TRP is effectively increased by one because setup time for commands and write data is increased by one memory cycle.

11..8 TRP03..0

Data input latch after CAS deassertion for bank 0/1. For asynchronous DRAM, TDL is encoded with he number of CPU clocks between the deassertion of nCAS/DQM and latching of read data. For SDRAM, TDL is encoded with the CAS latency (external SDCLK delay between reception of the READ command and latching of the data). The unit size for TDL is the external SDCLK cycle: when SDRAM is run at half the memory clock frequency (MDREFR:K1DB2 = 1), the delay is 2*TDL internal memory cycles. 00 – 0 clocks for asynchronous DRAM. Reserved (DO NOT USE) for SDRAM. 01 – 1 clock later 10 – 2 clocks later. 11 – 3 clocks later.

13..12 TDL01..0

For SDRAM, the MDCASxx registers provide an option to add one-half memory clock of CAS latency to TDL. See Section 10.3.3.2 for a detailed description. Chapter 13, “AC Parameters” provides frequency-dependent guidelines for using the delayed latching option.

SDRAM write recovery (write data to precharge delay) for bank pair 0/1

For SDRAM only. TWR is encoded with the number of memory clocks to be added to the minimum precharge delay that follows write transfers. The unit size for TWR is always the internal memory cycle, even if SDRAM is run at half the memory clock frequency (MDREFR:K1DB2 = 1).

15..14 TWR01..0

DRAM enables for bank 3 (bit 17) and bank 2 (bit 16) For each DRAM bank, there is an enable bit. A single (nonburst) access (read or write) to a disabled DRAM bank triggers a CBR refresh cycle to all banks. When all banks are disabled, the refresh counter is disabled. 0 – DRAM bank disabled. 1 – DRAM bank enabled.

17..16 DE3..2

These bits are cleared by hardware or sleep reset.

DRAM timing type for bank pair 2/3.

18 DTIM2

0. Asynchronous (FPM or EDO). 1 – Synchronous (SDRAM).

Bits Name Description

Page 130 of the Intel SA-1110 user manual — 27..24 TRP23..0
Page 130 · click to enlarge
Page 130

Memory and PC-Card Control Module

0h A000 0000 MDCNFG Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

TWR21

TWR20

TDL21

TDL20

TRP23

TRP22

TRP21

TRP20

CDB22

DRAC22

DRAC21

DRAC20

DWID2

DTIM2

TWR01

TWR00

TDL01

TDL00

TRP03

TRP02

TRP01

TRP00

CDB20

DRAC02

DRAC01

DRAC00

DWID0

DTIM0

DE3

DE2

DE1

DE0

Reset ? 0 0 ? 0 0

(Sheet 3 of 4)

DRAM data bus width for bank pair 2/3.

19 DWID2

0. 32 bits. 1 – 16 bits.

DRAM row address bit count for bank pair 2/3. This count includes one or two bits for SDRAM bank selects. 000 – 9 row address bits. (Select this for support of 9x9 and 9x8 DRAMs.) 001 – 10 row address bits. (Select this for support of 10x10, 10x9, and 10x8 DRAMs.) 010 – 11 row address bits. (Select this for support of 11x11, 11x10, 11x9, and 11x8 DRAMs.) 011 – 12 row address bits. (Select this for support of 12x12, 12x11, 12x10, 12x9, and 12x8 DRAMs.) 100 – 13 row address bits. (Select this for support of 13x11, 13x10, 13x9, and 13x8 DRAMs.) 101 – 14 row address bits. (Select this for support of 14x10, 14x9, and 14x8 DRAMs.) 110 – 15 row address bits. (Select this for support of 15x11 (16-bit data bus only), 15x10, 15x9, and 15x8 DRAMs.) 111 – Reserved.

22..20 DRAC22..0

See Table 10-8 for more information.

Clock divide by 2 for bank pair 2/3. 0 – CAS waveform rotate register (MDCAS20, 21, 22) rotated every CPU clock. Required for SDRAM. 1 – CAS waveform rotate register rotated every memory clock. (CPU clock divided by 2.)

23 CDB22

SDRAM requires CDB22 = 0. However, the frequency of the SDRAM bank pair 2/3 clock (SDCLK 2) can be set to either the memory clock frequency (MDREFR:K2DB2 = 0) or half the memory clock frequency (MDREFR:K2DB2 = 1).

RAS precharge for bank pair 2/3. TRP is encoded with the minimum number of memory clocks (minus 1) of nRAS/nSDCS deassertion between transfers.

For SDRAM running at the full memory clock frequency, TRP determines the minimum delay (TRP+1 memory cycles) from the first memory clock rising edge following data latch for autoprecharge read command (READAP) to the memory clock edge upon which subsequent row commands (bank activate, mode register set, self-refresh, or CBR) are latched. The minimum delay from latching of READAP command to latching of subsequent row commands is TDL+TRP+2 memory cycles. The minimum delay from command and data latching for autoprecharge write (WRITEAP) to latching of subsequent row commands is TRP+TWR+1 memory cycles. TRP must be written to a value of at least 1 for SDRAM. The unit size for TRP is always the internal memory cycle, even if SDRAM is run at half the memory clock frequency (MDREFR:K2DB2 = 1). However, for SDRAM running at half frequency, the unit size for TDL is two memory cycles and TRP is effectively increased by one (because setup time for commands and write data is increased by one memory cycle).

27..24 TRP23..0

Bits Name Description

Page 131 of the Intel SA-1110 user manual — 31..30 TWR21..0
Page 131 · click to enlarge
Page 131

Memory and PC-Card Control Module

0h A000 0000 MDCNFG Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

TWR21

TWR20

TDL21

TDL20

TRP23

TRP22

TRP21

TRP20

CDB22

DRAC22

DRAC21

DRAC20

DWID2

DTIM2

TWR01

TWR00

TDL01

TDL00

TRP03

TRP02

TRP01

TRP00

CDB20

DRAC02

DRAC01

DRAC00

DWID0

DTIM0

DE3

DE2

DE1

DE0

Reset ? 0 0 ? 0 0

(Sheet 4 of 4)

Data input latch after CAS deassertion for bank 2/3. For asynchronous DRAM, TDL is encoded with he number of CPU clocks between the deassertion of nCAS/DQM and latching of read data. For SDRAM, TDL is encoded with the CAS latency (external SDCLK delay between reception of the READ command and latching of the data). The unit size for TDL is the external SDCLK cycle: when SDRAM is run at half the memory clock frequency (MDREFR:K2DB2 = 1), the delay is 2*TDL internal memory cycles. 00 – 0 clocks for asynchronous DRAM. Reserved (DO NOT USE) for SDRAM. 01 – 1 clock later 10 – 2 clocks later. 11 – 3 clocks later.

29..28 TDL21..0

For SDRAM, the MDCASxx registers provide an option to add one-half memory clock of CAS latency to TDL. See Section 10.3.3.2 for a detailed description. Chapter 13, “AC Parameters” provides frequency-dependent guidelines for using the delayed latching option.

SDRAM write recovery (write data to precharge delay) for bank pair 2/3

For SDRAM only. TWR is encoded with the number of memory clocks to be added to the minimum precharge delay that follows write transfers. The unit size for TWR is always the internal memory cycle, even if SDRAM is run at half the memory clock frequency (MDREFR:K2DB2 = 1).

31..30 TWR21..0

Bits Name Description

Page 132 of the Intel SA-1110 user manual — 3..0 TRASR 3..0
Page 132 · click to enlarge
Page 132

Memory and PC-Card Control Module

10.3.2 DRAM Refresh Control Register (MDREFR)

MDREFR is a read/write register and contains control bits for refresh of both DRAM bank pairs. The DRAM refresh interval field applies to all types of DRAM (asynchronous and synchronous). MDREFR also contains control/status bits for SDRAM self-refresh, SDRAM/SMROM clock divisors, SDRAM/SMROM clocks running, and SDRAM/SMROM clock enable pin states. Independent control/status is provided for each of the clock pins (SDCLK[2:0]) and clock enable pins (SDCKE [1:0]). Question marks indicate that the values are unknown at hardware or sleep reset. Writes to reserved bits are ignored and reads return zeros.

The clock run bits (K0RUN, K1RUN, and K2RUN) and clock enable bits (E0PIN and E1PIN) provide ultimate software control of SDRAM and SMROM low power modes. They should be used with extreme caution; when any of these bits are cleared, the corresponding memory is inaccessible. Upon hardware or sleep reset, K0RUN and E0PIN are set to the value of the SMROM_EN pin.

Auto-power-down, enabled by the KAPD and EAPD bits, is an automatic mechanism for minimizing power consumption in the SA-1110 SDCLK pin drivers and the SDRAM/SMROM devices. EAPD and KAPD must be written to the same value. A latency penalty of one memory cycle (two CPU cycles) is incurred when re-starting SDCLK and/or SDCKE between non-consecutive SDRAM/SMROM transfers.

0h A000 001C MDREFR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

SLFRSH

TRASR3

TRASR2

TRASR1

TRASR0

KAPD

EAPD

K2DB2

K2RUN

K1DB2

K1RUN

E1PIN

K0DB2

K0RUN

E0PIN

DRI11

DRI10

DRI9

DRI8

DRI7

DRI6

DRI5

DRI4

DRI3

DRI2

DRI1

DRI0

Reset 1 ? 0 0 ? 1 0 ? ? 1 0 0 ? 1 * * ?

* Upon hardware or sleep reset, K0RUN and E0PIN are set to the value of the SMROM_EN pin.

(Sheet 1 of 4)

RAS assertion during CBR, all banks.

For asynchronous DRAM, TRASR is encoded with the number of memory clocks (minus one) that nRAS/nSDCS is asserted during CAS before RAS refresh.

3..0 TRASR 3..0

For systems with SDRAM, TRASR must be at least one (1) to cause the required one clock assertion of nRAS/nSDCS and nCAS/DQM. If a system contains no asynchronous DRAM, TRASR=1 should be used to minimize the CBR duration.

Show 6 more labels / short text on this page
Reserved · Reserved · Reserved · Reserved · Reserved · Bits Name Description
Page 133 of the Intel SA-1110 user manual — 18 K0DB2
Page 133 · click to enlarge
Page 133

Memory and PC-Card Control Module

0h A000 001C MDREFR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

SLFRSH

K2DB2

K2RUN

K1DB2

K1RUN

K0DB2

K0RUN

TRASR3

TRASR2

TRASR1

TRASR0

KAPD

EAPD

E1PIN

E0PIN

DRI11

DRI10

DRI9

DRI8

DRI7

DRI6

DRI5

DRI4

DRI3

DRI2

DRI1

DRI0

Reset 1 ? 0 0 ? 1 0 ? ? 1 0 0 ? 1 * * ?

* Upon hardware or sleep reset, K0RUN and E0PIN are set to the value of the SMROM_EN pin.

(Sheet 2 of 4)

DRAM refresh interval, all banks.

Number of memory clock cycles (divided by 32) between CAS before RAS (CBR) refresh cycles. One row is refreshed in each DRAM bank during each CBR refresh cycle. This interval is applicable to asynchronous and/or synchronous DRAM in all four banks. The value that must be loaded into this register is calculated as follows: DRI = Number of cycles /32 = ((Refresh time - longest burst access time) / rows) x Memory clock frequency /32. The longest burst access time to subtract must consider full burst accesses to DRAM and SMROM. It must also consider 32-bit word accesses (either nonburst or within a burst) to ROM, Flash, SRAM, or variable latency I/O. The longest access time for variable latency I/O includes the maximum number of wait cycles caused by deassertion of the RDY pin. Thus, indefinitely long deassertions of the RDY pin will prevent refresh and may corrupt the DRAM contents.

15..4 DRI 11..0

ROM, Flash, SRAM, or variable latency I/O transfers may be interrupted to service a DRAM refresh cycle after each 32-bit word. If there is a read on a 16-bit bus, a refresh cycle may be inserted after 2 read cycles. If there is a read to a 32-bit bus, the refresh waits one read cycle to be serviced. The DRAM interface inserts CBR refresh cycles between bursts of up to 8 words. Since the address pins are ignored by DRAM during CBR refresh cycles, PC-Card transactions may be ongoing during a refresh cycle and will not be interrupted.

SMROM clock enable pin 0 (SDCKE 0) level control/status.

Control/status bit for the SDCKE 0 pin and it is automatically cleared upon entering sleep mode. It is set upon hardware or sleep reset if static memory bank 0 (boot space) is configured for SMROM (SMROM_EN = 1); otherwise, it is cleared upon hardware or sleep reset.

16 E0PIN

E0PIN can be cleared by program to cause a power-down command (if K0RUN=1). However, this capability should be used with extreme caution because the resulting state prohibits automatic transitions for mode register set and read commands. E0PIN can be set by program to cause a power-down-exit command (if K0RUN=1). See Section 10.6.11.

SMROM clock pin 0 (SDCLK 0) run control/status.

Control/status bit for operation (run or not) of SDCLK 0 and it is automatically cleared upon entering sleep mode. It is set upon hardware or sleep reset if static memory bank 0 (boot space) is configured for SMROM (SMROM_EN = 1); otherwise, it is cleared upon hardware or sleep reset.

17 K0RUN

K0RUN can be cleared by program, but this capability should be used with extreme caution because the resulting state prohibits automatic transitions for any commands. See Section 10.6.11.

SMROM clock pin 0 (SDCLK 0) divide by 2 control/status.

18 K0DB2

Control/status bit for clock divisor of SDCLK 0. When set, SDCLK 0 runs at one-half the memory clock frequency. When clear, SDCLK 0 runs at the memory clock frequency. This bit is automatically set upon hardware or sleep reset.

19 — Reserved.

Show 6 more labels / short text on this page
Reserved · Reserved · Reserved · Reserved · Reserved · Bits Name Description
Page 134 of the Intel SA-1110 user manual — 28 EAPD
Page 134 · click to enlarge
Page 134

Memory and PC-Card Control Module

0h A000 001C MDREFR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

SLFRSH

K2DB2

K2RUN

K1DB2

K1RUN

K0DB2

K0RUN

TRASR3

TRASR2

TRASR1

TRASR0

KAPD

EAPD

E1PIN

E0PIN

DRI11

DRI10

DRI9

DRI8

DRI7

DRI6

DRI5

DRI4

DRI3

DRI2

DRI1

DRI0

Reset 1 ? 0 0 ? 1 0 ? ? 1 0 0 ? 1 * * ?

* Upon hardware or sleep reset, K0RUN and E0PIN are set to the value of the SMROM_EN pin.

(Sheet 3 of 4)

SDRAM clock enable pin 1 (SDCKE 1) level control/status.

Control/status bit for the SDCKE 1 pin and it is automatically cleared upon entering sleep mode or upon hardware or sleep reset. E1PIN can be cleared by program to cause a power-down command (if K1RUN=1 and/or K2RUN=1, and SLFRSH=0). However, this capability should be used with extreme caution because the resulting state prohibits automatic transitions for mode register set, read, write, and refresh commands. E1PIN can be set by program to cause a power-down-exit command (if K1RUN=1 and/or K2RUN=1, and SLFRSH=0). See Section 10.5.5.

20 E1PIN

Setting E1PIN is a part of the hardware or sleep reset procedure for SDRAM. See Section 10.2.1.

SDRAM clock pin 1 (SDCLK 1) run control/status.

Control/status bit for operation (run or not) of SDCLK 1 and it is automatically cleared upon entering sleep mode and upon hardware or sleep reset. K1RUN also can be cleared by program. However, this capability should be used with extreme caution because the resulting state prohibits automatic transitions for any commands. See Section 10.5.5.

21 K1RUN

Setting K1RUN and/or K2RUN is a part of the hardware and sleep reset procedure for SDRAM. See Section 10.2.1.

SDRAM clock pin 1 (SDCLK 1) divide by 2 control/status.

Control/status bit for clock divisor of SDCLK 1. When set, SDCLK 1 runs at one-half the memory clock frequency. When clear, SDCLK 1 runs at the memory clock frequency This bit is automatically set upon hardware or sleep reset.

22 K1DB2

24..23 — Reserved.

SDRAM clock pin 2 (SDCLK 2) run control/status.

Control/status bit for operation (run or not) of SDCLK 2 and it is automatically cleared upon entering sleep mode and upon hardware or sleep reset. K2RUN also can be cleared by program. However, this capability should be used with extreme caution because the resulting state prohibits automatic transitions for any commands. See Section 10.5.5.

25 K2RUN

Setting K1RUN and/or K2RUN is a part of the hardware and sleep reset procedure for SDRAM. See Section 10.2.1.

SDRAM clock pin 2 (SDCLK 2) divide by 2 control/status.

26 K2DB2

Control/status bit for clock divisor of SDCLK 2. When set, SDCLK 2 runs at one-half the memory clock frequency. When clear, SDCLK 2 runs at the memory clock frequency. This bit is automatically set upon hardware or sleep reset.

27 — Reserved.

SDRAM/SMROM clock enable pin (SDCKE [1:0]) auto-power-down enable.

If EAPD=1, each of the clock enable pins (SDCKE 0 for SMROM and SDCKE 1 for SDRAM) will automatically deassert whenever none of the corresponding banks is being accessed. EAPD and KAPD must be written to the same value. See Figure 10-5 and Figure 10-17. Auto-power-down must not be enabled until all other SDRAM/SMROM hardware or sleep reset procedures have been completed. See Section 10.2.1.

28 EAPD

Show 6 more labels / short text on this page
Reserved · Reserved · Reserved · Reserved · Reserved · Bits Name Description
Page 135 of the Intel SA-1110 user manual — 31 SLFRSH
Page 135 · click to enlarge
Page 135

Memory and PC-Card Control Module

0h A000 001C MDREFR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

SLFRSH

K2DB2

K2RUN

K1DB2

K1RUN

K0DB2

K0RUN

TRASR3

TRASR2

TRASR1

TRASR0

KAPD

EAPD

E1PIN

E0PIN

DRI11

DRI10

DRI9

DRI8

DRI7

DRI6

DRI5

DRI4

DRI3

DRI2

DRI1

DRI0

Reset 1 ? 0 0 ? 1 0 ? ? 1 0 0 ? 1 * * ?

* Upon hardware or sleep reset, K0RUN and E0PIN are set to the value of the SMROM_EN pin.

(Sheet 4 of 4)

SDRAM/SMROM clock pin (SDCLK [2:0]) auto-power-down enable.

If KAPD=1, each of the clock pins (SDCLK 0 for SMROM, SDCLK 1 for SDRAM bank pair 0/1, and SDCLK 2 for SDRAM bank pair 2/3) will automatically deassert (stop running) whenever none of the corresponding banks is being accessed. EAPD and KAPD must be written to the same value. See Figure 10-5 and Figure 10-17. Auto-power-down must not be enabled until all other SDRAM/SMROM hardware or sleep reset procedures have been completed. See Section 10.2.1.

29 KAPD

30 — Reserved.

SDRAM self-refresh control/status.

It is the control/status bit for entering and exiting SDRAM self-refresh and it is automatically set upon a hardware or sleep reset. SLFRSH can be set by program to force a self-refresh command. E1PIN does not have to be cleared. The appropriate clock run bits (K1RUN and/or K2RUN) must remain set until SDRAM has entered self-refresh and must be set prior to exiting self-refresh (clearing SLFRSH). Also, auto-power-down must be disabled (EAPD=KAPD=0) to ensure power-down-exit upon subsequent clearing of SLFRSH. This capability should be used with extreme caution because the resulting state prohibits automatic transitions for any commands.See Section 10.5.5.

31 SLFRSH

Clearing SLFRSH is a part of the hardware or sleep reset procedure for SDRAM. See Section 10.2.1.

Show 6 more labels / short text on this page
Reserved · Reserved · Reserved · Reserved · Reserved · Bits Name Description
Page 136 of the Intel SA-1110 user manual — 10.3.3.1 MDCAS Registers with Asynchronous DRAM
Page 136 · click to enlarge
Page 136

Memory and PC-Card Control Module

10.3.3 CAS Waveform Rotate Registers (MDCAS00, MDCAS01, MDCAS02, MDCAS20, MDCAS21, MDCAS22)

MDCAS00, MDCAS01, and MDCAS02 are 32-bit read/write registers that contain the nCAS waveform for a burst read or write to asynchronous DRAM within DRAM bank pair 0/1. They also control the RAS-to-CAS delay and read data latching edges for SDRAM within DRAM bank pair 0/1 and SMROM within static bank pair 0/1 (nCS 0 and nCS 1).

For asynchronous DRAM, each bit represents one CPU cycle if MDCNFG:CDB20 is "0", 2 CPU cycles (one memory clock cycle) if MDCNFG:CDB20 is "1" or MDCNFG:DWID0 is "1". DWID0 overrides CDB20 because the DRAM state machine supports 16-bit data-busses only if each half of a full-word access occurs on the memory clock’s rising edge. For SDRAM and SMROM, each bit always represents one CPU cycle. Question marks indicate that the values are unknown at hardware or sleep reset.

MDCAS20, MDCAS21, and MDCAS22 are 32-bit read/write registers that provide the same functionality for asynchronous DRAM or SDRAM within DRAM bank pair 2/3 and SMROM within static bank pair 2/3 (nCS 2 and nCS 3), as a function of MDCNFG:CDB22 and MDCNFG:DWID2.

The hardware or sleep reset value for MDCAS00 (shown below) supports SMROM single word reads at one-half the memory clock frequency (MDREFR:K0DB2=1), with a RAS-to-CAS delay of two cycles. If SMROM_EN=1, this value must be maintained to avoid a mismatch in RAS latency between the SA-1110 and boot SMROM following a subsequent hardware or sleep reset.

0h A000 0004 MDCAS00 Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

C00_31

C00_30

C00_29

C00_28

C00_27

C00_26

C00_25

C00_24

C00_23

C00_22

C00_21

C00_20

C00_19

C00_18

C00_17

C00_16

C00_15

C00_14

C00_13

C00_12

C00_11

C00_10

C00_9

C00_8

C00_7

C00_6

C00_5

C00_4

C00_3

C00_2

C00_1

C00_0

Reset ? 0 1 0 1 0 1

10.3.3.1 MDCAS Registers with Asynchronous DRAM

When asynchronous DRAM is accessed, the least significant bit of MDCAS00 goes out first and is the cycle coincident with the assertion of nRAS/nSDCS. Bit 1 is one cycle after the assertion of nRAS/nSDCS, and so forth. MDCAS01 is appended after MDCAS00 and MDCAS02 is appended after MDCAS01. A "1" in any field causes nCAS/DQM to be deasserted in that cycle and a "0" causes nCAS/DQM to be asserted in that cycle. The memory controller counts nCAS/DQM pulses and deasserts nRAS/nSDCS in the cycle following the deassertion of the final nCAS/DQM pulse of the burst. For optimum performance, all nCAS/DQM pulses should be programmed. However, if there are not enough programmed pulses to complete all of the beats in a transfer after the most significant bit of MDCAS002 is reached, the rotate registers will start over from the least significant bit of MDCAS00 and continue to rotate until the transfer is complete.

When MDCNFG:CDB20 is "0"and MDCNFG:DWID0 is "0", the MDCAS00 must contain "1"s in the lower 4 bits and each transition of nCAS/DQM must be a minimum of 2 clocks (so nCAS/DQM must be asserted for a minimum of 2 CPU clock cycles and deasserted for a minimum

Page 137 of the Intel SA-1110 user manual — EXAMPLE: RAS-to-CAS delay of 3 SDCLK cycles:
Page 137 · click to enlarge
Page 137

Memory and PC-Card Control Module

of 2 CPU clock cycles). When MDCNFG:CDB20 is "1" or MDCNFG:DWID0 is "1", the MDCAS00 must contain "1"s in the lower 2 bits and each transition of nCAS/DQM must be a minimum of 1 bit.

10.3.3.2 MDCAS Registers with SDRAM and SMROM

See Table 10-4 “Timing Interpretations of Possible SDRAM/SMROM MDCAS Settings” on page 10-139 for a description of possible MDCAS encodings for SDRAM or SMROM. nSDCAS asserts as indicated by the first "1" to "0" transition: similar to the behavior of nCAS/DQM for asynchronous DRAM. But, because the least significant bit of MDCAS goes out on nSDCAS one CPU cycle after the assertion of nRAS/nSDCS, the RAS-to-CAS delay is one CPU cycle greater than the number of leading 1's. Thus, a RAS-to-CAS delay of N memory cycles (2N CPU cycles) corresponds to 2N-1 leading 1's. When using MDREFR: KnDB2=0 (SDCLK = memory clock), the number of leading 1's must be 3, 5, 7, ... to achieve a RAS-to-CAS delay of 2, 3, 4, ... SDCLK cycles.

EXAMPLE: RAS-to-CAS delay of 2 SDCLK cycles:

When KnDB2 = 0, 1 SDCLK cycle = 1 memory clock cycle = 2 CPU clock cycles RAS-to-CAS delay of 2 SDCLK cycles = 2 memory cycles = 4 CPU cycles Number of required leading zeros = 4 - 1 (for nRAS to MDCAS delay) = 3

When using MDREFR: KnDB2=1 (SDCLK = 1/2 memory clock), the number of leading 1's must be 3, 7, 11, ... to achieve a RAS-to-CAS delay of 1, 2, 3, ... SDCLK cycles.

EXAMPLE: RAS-to-CAS delay of 3 SDCLK cycles:

When KnDB2 = 1, 1 SDCLK cycle = 2 memory clock cycles = 4 CPU cycles RAS-to-CAS delay of 3 SDCLK cycles = 6 memory cycles = 12 CPU cycles Number of required leading zeros = 12 - 1 (for nRAS to MDCAS delay) = 11

For SDRAM, nSDCAS remains asserted throughout the burst, regardless of subsequent transitions programmed into MDCAS. For SMROM, nSDCAS is asserted only through the first column address. In either case, subsequent "0" to "1" transitions must be programmed to reference the data input latch delay (MDCNFG:TDL0,2 or SMCNFG:CL0,2) for every beat of the burst. There must be either one or two "0" bits between the leading 1's for RAS-to-CAS delay and the next "1". The option of using one such "0" bit is referred to as "non-delayed read data latching" in the Table 13-3 SDRAM/SMROM timing specifications and guidelines. The option of using two such "0" bits, referred to as "delayed read data latching", provides an additional half memory cycle of read data setup time. The latter option is ignored unless MDREFR:KnDB2=0, and is useful under the following common circumstances (evaluated for specific load):

max(mem clock to SDCLK delay) + max(SDCLK to data delay) + max(data to mem clock set up) >= Tmem

max(mem clock to SDCLK delay) + max(SDCLK to data delay) + max(data to mem clock set up)

min(mem clock to SDCLK delay) + min(SDCLK to data delay) + min(data to mem clock set up) >= Tcpu

Chapter 13, “AC Parameters” provides frequency-dependent guidelines for using the delayed latching option.

Page 138 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 138 · click to enlarge
Page 138

Memory and PC-Card Control Module

Sharing MDCAS Registers

Asynchronous DRAM or SDRAM can share MDCAS registers with SMROM. Asynchronous DRAM must use CDB2n=1 and/or the CPU clock period (labeled "Tcpu" in Table 10-4) must be fairly large. SDRAM and SMROM can share MDCAS registers if they use the same RAS-to-CAS delay (the entries labeled “trcd” in Table 10-4). If both the SDRAM and SMROM use the memory clock frequency, they must also use the same clock edge for read data latching.

MDCAS registers can be shared even if the SDRAM and SMROM are running at different frequencies (For example, SMROM using SDCLK 0 with MDREFR:K0DB2=1 and SDRAM using SDCLK 1 with MDREFR:K1DB2=0). This is possible because the minimum number of clock cycles for RAS-to-CAS delay typically scales with frequency.

Reference edges for CAS latency are made insensitive to the clock divisor by ignoring odd-numbered (first, third, and so forth) "0" to "1" transitions if MDREFR:K0DB2=1 for SMROM, MDREFR:K1DB2=1 for SDRAM bank pair 0/1, or MDREFR:K2DB2=1 for SDRAM bank pair 2/3). The number of “0” to “1” transitions required to serve a burst transaction becomes twice the burst length. By repeating the pattern of “0” to “1” transitions up through the most significant bit of MDCAS, one can ensure that an internal burst length of eight will always be accommodated: even if the transaction uses a 16-bit data bus (SDRAM, but not SMROM) and the memory clock divisor.

Page 139 of the Intel SA-1110 user manual — 10.3.4 Static Memory Control Registers (MSC2 – 0)
Page 139 · click to enlarge
Page 139

Memory and PC-Card Control Module

Table 10-4 describes how DRAM and synchronous memories can share MDCAS registers. Key to Table: Tcpu – CPU clock period

trcd – RAS-to-CAS delay tccd – CAS-to-CAS delay

tac – Delay from SDCLK rising edge to read data (D) latching edge tcas – CAS low time tcp – CAS high time

Table 10-4. Timing Interpretations of Possible SDRAM/SMROM MDCAS Settings

SDRAM/SMROM Timing Interpretation SDRAM LATCHING

Possible SDRAM/SMROM Settings for:

MDCASn0[31:0] MDCASn1[31:0] MDCASn2[31:0]

KnDB2 = 0 KnDB2 = 1 delayed or non-delayed

0101 0111 0101

0101

1010 0111 1010

0101 1111 0101

0101

1010 1001 1111 1010

Not Applicable delayed read

0101 0111 1111 0101

0101

1010 0111 1111 1010

1010

10.3.4 Static Memory Control Registers (MSC2 – 0)

MSC2, MSC1, and MSC0 are read/write registers and contain control bits for configuring static memory (or variable latency I/O) that correspond to chip select pairs nCS[5:4], nCS[3:2], and nCS[1:0], respectively. Timing fields are specified as numbers of memory clock cycles. The memory clock cycle consists of two CPU cycles. Each of the three registers contains two identical CNFG fields: one for each chip select within the pair. Please note the distinct descriptions for nCS[5:3] variable latency I/O in the following MSCx register descriptions.

On hardware or sleep reset, the MSC0[15:0] field is set to 0b 1111 1111 1111 1x00 (binary) where x represents the inverse of the ROM_SEL pin. This forces nCS(0) to the slowest possible nonburst ROM timings. All other fields in MSC0, MSC1, and MSC2 are unaffected by reset. Question marks indicate that the values are unknown at hardware or sleep reset.

Show 26 more labels / short text on this page
trcd=4*Tcpu tccd=2*Tcpu · trcd=4*Tcpu tccd=4*Tcpu · non-delayed read · tac=2*Tcpu · tac=4*Tcpu · trcd=4*Tcpu tccd=2*Tcpu · trcd=4*Tcpu tccd=4*Tcpu · delayed read · tac=3*Tcpu · tac=4*Tcpu · trcd=6*Tcpu tccd=2*Tcpu · Not Applicable non-delayed · read · tac=2*Tcpu · trcd=6*Tcpu tccd=2*Tcpu · tac=3*Tcpu · trcd=8*Tcpu tccd=2*Tcpu · trcd=8*Tcpu tccd=4*Tcpu · non-delayed read · tac=2*Tcpu · tac=4*Tcpu · trcd=8*Tcpu tccd=2*Tcpu · trcd=8*Tcpu tccd=4*Tcpu · delayed read · tac=3*Tcpu · tac=4*Tcpu
Page 140 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 140 · click to enlarge
Page 140

Memory and PC-Card Control Module

0h A000 0010 MSC0 Read/Write

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 140)
Fig. 30 · Memory and PC-Card Control Module

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset ? 1 X 0 0

0h A000 0014 MSC1 Read/Write

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 140)
Fig. 31 · Memory and PC-Card Control Module

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset ?

0h A000 002C MSC2 Read/Write

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 140)
Fig. 32 · Memory and PC-Card Control Module

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset ?

Page 141 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 141 · click to enlarge
Page 141

Memory and PC-Card Control Module

ROM type timings. 00 – Nonburst ROM or Flash memory. 01 – Nonburst ROM or SRAM for nCS[2:0] variable latency I/O for nCS[5:3]. 10 – Burst-of-four ROM or Flash (with nonburst writes). 11 – Burst-of-eight ROM or Flash (with nonburst writes).

All four ROM timings support read bursts of any allowable burst length (number of burst beats). Burst-of-four and burst-of-eight timings refer to the use of read bursts where modulo four or eight addresses within a burst require the same access times as nonburst reads, but shorter access times are allowed for each non-modulo four or non-modulo eight beat within the burst. Read bursts are always address aligned to their burst length.

1..0 RTx 1..0

The data size of writes to types 00, 10, and 11 must always be less than or equal to the width of the corresponding external data bus: no larger than a single 32-bit word write to a 32-bit data bus, and no larger than a 16-bit half-word write to a 16-bit data bus. Unexpected results, including data loss or corruption, may occur if larger data size writes are attempted.

ROM bus width. 0 – 32 bits 1 – 16 bits

On hardware or sleep reset, the RBW0 field in MSC0 is loaded with the inverse of the ROM_SEL pin. It can be subsequently overwritten. RBWx bits must remain clear if the corresponding chip selects are configured for Synchronous Mask ROM (SMROM). Also, if nCS 0 is configured for SMROM by holding the SMROM_EN pin high during hardware or sleep reset, the ROM_SEL pin must be held high. See Section 10.4 for details on SMROM configuration.

ROM delay first access. Number of memory clock cycles (minus 2) from address to data valid for first read access to nonburst ROM or Flash, burst ROM or Flash, or SRAM. Also, the number of memory clock cycles (minus 1) from address to data valid for subsequent read accesses to nonburst ROM or Flash, or SRAM; and the number of memory clock cycles (minus 1) of nWE assertion for write accesses (nonburst) to burst Flash.

7..3 RDFx 4..0

For nCS[5:3] variable latency I/O, this determines the minimum number of memory clock cycles (minus 1) of nOE (nWE) assert time for each beat of burst read (write).

ROM delay next access. Number of memory clock cycles (minus 1) from address to data valid for subsequent accesses to burst ROM or Flash. Also, the number of memory clock cycles (minus 1) of nWE assertion for write accesses to nonburst Flash or SRAM.

12..8 RDNx 4..0

For nCS[5:] variable latency I/O, this determines the minimum number of memory clock cycles (minus 1) of nOE (nWE) deassert time between each beat of burst read (write).

ROM/SRAM recovery time. Number of memory clock cycles (divided by 2) from chip select deasserted after a read to next chip select (of a different memory bank) or nRAS/nSDCS asserted. For Flash, SRAM, and nCS[5:3] variable latency I/O this field will also be used after writes to hold off subsequent accesses. This field should be programmed with the maximum of Toff, write pulse high time (Flash/SRAM), and write recovery before read (Flash).

15..13 RRRx 2..0

If the system is also configured for SDRAM or SMROM using auto-power-down (see Section 10.3.2), This field must be non-zero to ensure proper auto-power-up behavior for SDRAM or SMROM accesses that follow accesses to this static memory bank. However, the recovery time between SRAM accesses must be set to satisfy the minimum nCAS/DQM[3:0] deassertion time for any asynchronous DRAM present in the system.

Bits Name Description · 2 RBWx

Page 142 of the Intel SA-1110 user manual — 15 FAST0
Page 142 · click to enlarge
Page 142

Memory and PC-Card Control Module

10.3.5 Expansion Memory (PC-Card) Configuration Register (MECR)

MECR is a read/write register that contains control bits for configuring the timing of the PC-Card interface. This register is unaffected by reset; question marks indicate that the values are unknown at hardware or sleep reset.

The programming of each of the six BS_xx fields allows the user to individually select the duration of accesses to I/O, common memory, and attribute memory for each of two PC-Card card slots. Each BS_xx field is identical and represents the number of memory clocks per tick of an internal clock, referred to as BCLK. BCLK clocks the internal PC-Card state machine. See Figure 10-22 for a description of the PC-Card timing diagram.

When an access to a PC-Card address space is detected, the appropriate BS_xx field is selected based on the memory map. Every (BS_xx + 1) memory clock cycles, a BCLK tick is generated to advance the PC-Card state machine. All signals (except nPWAIT, which is asynchronous) on the PC-Card bus are driven or sampled relative to this internal clock, although the clock itself is not externally available. Table 10-5 shows the number of processor clocks per BCLK tick for each BS_xx value. Table 10-6 shows the internal BCLK cycle times for each BS_xx setting given a processor core frequency of 160MHz (6.25-ns cycle time).

0h A000 0018 MECR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

FAST1

BSM1_4

BSM1_3

BSM1_2

BSM1_1

BSM1_0

BSA1_4

BSA1_3

BSA1_2

BSA1_1

BSA1_0

BSIO1_4

BSIO1_3

BSIO1_2

BSIO1_1

BSIO1_0

FAST0

BSM0_4

BSM0_3

BSM0_2

BSM0_1

BSM0_0

BSA0_4

BSA0_3

BSA0_2

BSA0_1

BSA0_0

BSIO0_4

BSIO0_3

BSIO0_2

BSIO0_1

BSIO0_0

Reset ?

(Sheet 1 of 2)

4..0 BSIO0 4..0 Memory clock count for accesses to PC-Card card slot 0, I/O space.

9..5 BSA0 4..0 Memory clock count for accesses to PC-Card card slot 0, attribute space.

14..10 BSM0 4..0 Memory clock count for accesses to PC-Card card slot 0, common memory space.

Fast mode bit for access to slot 0 I/O, attribute, or memory. If FAST0=1, the set-up time from address generated signals (A, nPREG, PSKTSEL and nPCE) to initial assertion of the read or write strobe (nPWE, nPIOW, nPOE, or nPIOR) is 1*(BS_xx + 1) + 1 instead of the normal 3*(BS_xx + 1) + 1. During I/O accesses, the nPCE set-up time is always reduced from these values by any A-to-nIOIS16 delay. The set-up time from address generated signals to the assertion of the read or write strobe for the second half of a 16-bit access to 8-bit I/O is 2*(BS_xx + 1) instead of 1*(BS_xx + 1).

15 FAST0

The duration of the read or write strobe remains 3*(BS_xx + 1), regardless of the value of FAST0.

20..16 BSIO1 4..0 Memory clock count for accesses to PC-Card card slot 1, I/O space.

25..21 BSA1 4..0 Memory clock count for accesses to PC-Card card slot 1, attribute space.

30..26 BSM1 4..0 Memory clock count for accesses to PC-Card card slot 1, common memory space.

Bits Name Description

Page 143 of the Intel SA-1110 user manual — Table 10-6. BCLK Speeds for 160-MHz Processor Core Frequency
Page 143 · click to enlarge
Page 143

Memory and PC-Card Control Module

0h A000 0018 MECR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

BSIO1_4

BSIO1_3

BSIO1_2

BSIO1_1

BSIO1_0

BSIO0_4

BSIO0_3

BSIO0_2

BSIO0_1

BSIO0_0

FAST1

BSM1_4

BSM1_3

BSM1_2

BSM1_1

BSM1_0

BSA1_4

BSA1_3

BSA1_2

BSA1_1

BSA1_0

FAST0

BSM0_4

BSM0_3

BSM0_2

BSM0_1

BSM0_0

BSA0_4

BSA0_3

BSA0_2

BSA0_1

BSA0_0

Reset ?

(Sheet 2 of 2)

Fast mode bit for access to slot 1 I/O, attribute, or memory.

If FAST1=1, the set-up time from address generated signals (A, nPREG, PSKTSEL and nPCE) to initial assertion of the read or write strobe (nPWE, nPIOW, nPOE, or nPIOR) is 1*(BS_xx + 1) + 1 instead of the normal 3*(BS_xx + 1) + 1.

31 FAST1

During I/O accesses, the nPCE set-up time is always reduced from these values by any A-to-nIOIS16 delay.

The set-up time from address generated signals to the assertion of the read or write strobe for the second half of a 16-bit access to 8-bit I/O is 2*(BS_xx + 1) instead of 1*(BS_xx + 1).

The duration of the read or write strobe remains 3*(BS_xx + 1), regardless of the value of FAST1.

Table 10-5. BS_xx Bit Encoding

Intel SA-1110 — Table 10-5. BS_xx Bit Encoding diagram (page 143)
Fig. 33 · Table 10-5. BS_xx Bit Encoding

4..0 BS_xx 0b00000 – BCLK= 2 processor clocks (clk/2) 0b00001 – BCLK= 4 processor clocks 0b00010 – BCLK= 6 processor clocks 0b11101 – BCLK= 60 processor clocks 0b11110 – BCLK= 62 processor clocks 0b11111 – BCLK= 64 processor clocks

Table 10-6. BCLK Speeds for 160-MHz Processor Core Frequency

Intel SA-1110 — Table 10-6. BCLK Speeds for 160-MHz Processor Core Frequency diagram (page 143)
Fig. 34 · Table 10-6. BCLK Speeds for 160-MHz Processor Core F…

0b00000 – Every 2 processor clocks (clk/2). 0b00001 – Every 4 processor clocks. 0b00010 – Every 6 processor clocks. 0b00011 – Every 8 processor clocks 0b11111 – Every 64 processor clocks.

To calculate the recommended BS_xx value for each address space (when MECR:FASTx=0): divide the command width time (the greater of twIOWR and twIORD, or the greater of twWE and twOE) by processor cycle time; divide by 2; divide again by 3 (number of BCLK’s per command assertion); round up to the next whole number; and subtract 1. For example, for a processor cycle time of 6.25 ns and an nIOWR command assertion time of 165 ns, the recommended setting for BS_IO would be:

(165 / ( 2 x 3 x 6.25 ) ) = 4.4 or 5 after rounding up, 5 - 1 = 4

Bits Name Description

Page 144 of the Intel SA-1110 user manual — 14..12 CL0 2..0
Page 144 · click to enlarge
Page 144

Memory and PC-Card Control Module

10.4 SMROM Configuration Register (SMCNFG)

SMCNFG is a read/write register and contains control bits for configuring SMROM. Both SMROM banks within a pair (nCS[1:0] or nCS[3:2]) must be implemented with the same type of device, but the two bank pairs may differ. Question marks indicate that the values are unknown at hardware or sleep reset. Writes to reserved bits are ignored and reads return zeros.

If any of the nCS[3:0]) banks is configured for synchronous mask ROM (SMROM) via SMCNFG:SM[3:0], the corresponding half-words of MSC0 and/or MSC1 are ignored.

0h A000 0030 SMCNFG Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

RA22

RA21

RA20

SM3

SM2

RA02

RA01

RA00

SM1

SM0

RL2

RL0

Reset ? 0 0 1 1 0 0 ? 1 0 0 ? ? 0 *

* Upon hardware or sleep reset, SM0 is set to the value of the SMROM_EN pin.

(Sheet 1 of 3)

SMROM enables for bank 1 (bit 1) and bank 0 (bit 0). 0 - Bank is not SMROM enabled. 1 - Bank is SMROM enabled.

1..0 SM 1..0

SM0 is set upon hardware or sleep reset if the SMROM_EN pin is held high.

3..2 — Reserved.

SMROM row address bit count for bank pair 0/1. 0xx - Reserved. 100 - 13 row address bits, supports 13x11, 13x10, 13x9, 13x8. 101 - Reserved. 11x - Reserved.

6..4 RA0 2..0

See Table 10-8 for a description of DRAM or SMROM row/column address multiplexing.

11..7 — Reserved.

CAS latency for bank pair 0/1.

It is the number of external SDCLK cycles between reception of the READ command and latching of the data. The unit size for CL0 is the external SDCLK cycle: when SMROM is run at half the memory clock frequency (MDREFR:K0DB2 = 1), the delay is 2*CL0 internal memory cycles. 000 - Reserved. 001 - 2 clocks. 010 - 3 clocks. 011 - 4 clocks. 100 - 5 clocks. 101 - 6 clocks. 110 - 7 clocks.

14..12 CL0 2..0

111. Reserved.

Hardware or sleep reset forces CL0=100. If SMROM_EN=1, CL0 must be maintained at this value to avoid a mismatch in CAS latency between the SA-1110 and boot SMROM following a subsequent hardware or sleep reset.

Show 5 more labels / short text on this page
Reserved · Reserved · Reserved · Reserved · Bits Name Description
Page 145 of the Intel SA-1110 user manual — 30..28 CL2 2..0
Page 145 · click to enlarge
Page 145

Memory and PC-Card Control Module

0h A000 0030 SMCNFG Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

RL2

RA22

RA21

RA20

SM3

SM2

RL0

RA02

RA01

RA00

SM1

SM0

Reset ? 0 0 1 1 0 0 ? 1 0 0 ? ? 0 *

* Upon hardware or sleep reset, SM0 is set to the value of the SMROM_EN pin.

(Sheet 2 of 3)

RAS latency for bank pair 0/1.

It is the RAS-to-CAS delay (number of external SDCLK cycles between ACT command and READ command). The unit size for RL0 is the external SDCLK cycle: when SMROM is run at half the memory clock frequency (MDREFR:K0DB2 = 1), the delay is 2*RL0 internal memory cycles. See Section 10.4.1 for description of the software sequence required whenever changing the RAS latency. 0 - 1 clock.

15 RL0

1. 2 clock.

Hardware or sleep reset forces RL0=1. If SMROM_EN=1, RL0 must be maintained at this value to avoid a mismatch in RAS latency between the SA-1110 and boot SMROM following a subsequent hardware or sleep reset.

SMROM enables for bank 3 (bit 17) and bank 2 (bit 16).

17..16 SM3..2

0. Bank is not SMROM enabled.
1. Bank is SMROM enabled.

19..18 — Reserved.

SMROM row address bit count for bank pair 2/3.

0xx - Reserved. 100 - 13 row address bits, supports 13x11, 13x10, 13x9, 13x8. 101 - Reserved. 11x - Reserved.

22..20 RA2 2..0

See Table 10-8 for a description of DRAM or SMROM row/column address multiplexing.

27..23 — Reserved.

CAS latency for bank pair 2/3.

It is the number of external SDCLK cycles between reception of the READ command and latching of the data. The unit size for CL2 is the external SDCLK cycle: when SMROM is run at half the memory clock frequency (MDREFR:K0DB2 = 1), the delay is 2*CL2 internal memory cycles. 000 - Reserved. 001 - 2 clocks. 010 - 3 clocks. 011 - 4 clocks. 100 - 5 clocks. 101 - 6 clocks. 110 - 7 clocks.

30..28 CL2 2..0

111. Reserved.
Show 5 more labels / short text on this page
Reserved · Reserved · Reserved · Reserved · Bits Name Description
Page 146 of the Intel SA-1110 user manual — 30..28 CL2 2..0
Page 146 · click to enlarge
Page 146

Memory and PC-Card Control Module

0h A000 0030 SMCNFG Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

RL2

RA22

RA21

RA20

SM3

SM2

RL0

RA02

RA01

RA00

SM1

SM0

Reset ? 0 0 1 1 0 0 ? 1 0 0 ? ? 0 *

* Upon hardware or sleep reset, SM0 is set to the value of the SMROM_EN pin.

(Sheet 2 of 3)

RAS latency for bank pair 0/1.

It is the RAS-to-CAS delay (number of external SDCLK cycles between ACT command and READ command). The unit size for RL0 is the external SDCLK cycle: when SMROM is run at half the memory clock frequency (MDREFR:K0DB2 = 1), the delay is 2*RL0 internal memory cycles. See Section 10.4.1 for description of the software sequence required whenever changing the RAS latency. 0 - 1 clock.

15 RL0

1. 2 clock.

Hardware or sleep reset forces RL0=1. If SMROM_EN=1, RL0 must be maintained at this value to avoid a mismatch in RAS latency between the SA-1110 and boot SMROM following a subsequent hardware or sleep reset.

SMROM enables for bank 3 (bit 17) and bank 2 (bit 16).

17..16 SM3..2

0. Bank is not SMROM enabled.
1. Bank is SMROM enabled.

19..18 — Reserved.

SMROM row address bit count for bank pair 2/3.

0xx - Reserved. 100 - 13 row address bits, supports 13x11, 13x10, 13x9, 13x8. 101 - Reserved. 11x - Reserved.

22..20 RA2 2..0

See Table 10-8 for a description of DRAM or SMROM row/column address multiplexing.

27..23 — Reserved.

CAS latency for bank pair 2/3.

It is the number of external SDCLK cycles between reception of the READ command and latching of the data. The unit size for CL2 is the external SDCLK cycle: when SMROM is run at half the memory clock frequency (MDREFR:K0DB2 = 1), the delay is 2*CL2 internal memory cycles. 000 - Reserved. 001 - 2 clocks. 010 - 3 clocks. 011 - 4 clocks. 100 - 5 clocks. 101 - 6 clocks. 110 - 7 clocks.

30..28 CL2 2..0

111. Reserved.
Show 5 more labels / short text on this page
Reserved · Reserved · Reserved · Reserved · Bits Name Description
Page 147 of the Intel SA-1110 user manual — 10.4.1 Changing SMROM RAS Latency
Page 147 · click to enlarge
Page 147

Memory and PC-Card Control Module

0h A000 0030 SMCNFG Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

RL2

RA22

RA21

RA20

SM3

SM2

RL0

RA02

RA01

RA00

SM1

SM0

Reset ? 0 0 1 1 0 0 ? 1 0 0 ? ? 0 *

* Upon hardware or sleep reset, SM0 is set to the value of the SMROM_EN pin.

(Sheet 3 of 3)

RAS latency for bank pair 2/3

It is the RAS-to-CAS delay (number of external SDCLK cycles between ACT command and READ command). The unit size for RL2 is the external SDCLK cycle: when SMROM is run at half the memory clock frequency (MDREFR:K0DB2 = 1), the delay is 2*RL2 internal memory cycles. See Section 10.4.1 for description of the software sequence required whenever changing the RAS latency. 0 - 1 clock

31 RL2

1. 2 clocks

10.4.1 Changing SMROM RAS Latency

Whenever SMROM RAS latency is changed, a careful software sequence is required to coordinate the SA-1110 with the SMROM devices. Otherwise, code fetches and/or data loads may be corrupted by discrepancies between the contents of SMCNFG, MDCAS, and mode registers inside the SMROM. The following sequence is appropriate for changing the RAS latency of bank pair 0/1 while it is serving instruction fetches (for example, during boot code following hardware or sleep reset). A similar sequence is required for changing RAS latency of either bank pair when it is not serving instruction fetches. The objective is to fetch and execute store instructions for changing SMCNFG and MDCAS without any intervening SMROM reads.

1. Without changing RAS latency, enable burst reads from SMROM.

a. Write MDCAS00, MDCAS01, and MDCAS02 with present number of leading 1’s, but

filled through the 96th bit with the 2-bit repeating pattern of "0" followed by "1" (see Section 10.3.3.2 for explanation).

b. Force a mode register set (MRS) command by writing SMCNFG with its present value.

The MRS configures the SMROMs’ internal mode registers for a burst length of eight.

2. If the instruction cache is not already enabled, enable it by setting bit 12 of the coprocessor 15 control register (see Chapter 6 and Chapter 5 ). This causes subsequent fetches to be performed as 8-word bursts.
3. Align the store instruction which alters SMCNFG:RL0 to an 8-word address boundary. Locate the store instructions that alter MDCAS00, MDCAS01, and MDCAS02 at the subsequent three addresses. Aligning the four instructions to the start of a cache line ensures that they are fetched together and executed prior to the next SMROM read. The store to SMCNFG will cause another MRS command, which configures the desired RAS and CAS latencies.
Show 5 more labels / short text on this page
Reserved · Reserved · Reserved · Reserved · Bits Name Description
Page 148 of the Intel SA-1110 user manual — N/A 16 N/A
Page 148 · click to enlarge
Page 148

Memory and PC-Card Control Module

10.5 Dynamic Interface Operation

This section describes the dynamic memory interface.

10.5.1 DRAM Overview

The dynamic memory interface supports up to four banks, organized as two bank pairs. Both banks within a pair must have the same DRAM size, configuration, timing type, and data bus width. Initialization software must set up the memory interface configuration registers with the DRAM timing type, data bus width, number of row address bits, nCAS/DQM waveforms, and timing parameters. The SA-1110 generates accesses of 1-8 words.

Table 10-7 shows some of the supported DRAM configurations.

Table 10-7. Some DRAM Memory Size Options

DRAM Configuration (Words x Bits)

Chip Size Number Chips /

Row bits x Column Bits

Memory (4 Banks, 32-bit Bus)

256 K x 16 4 Mbit 1 2 9 x 9 10 x 8 2 Mbyte

512 K x 8 4 Mbit 2 4 10 x 9 4 Mbyte

1 M x 4 4Mbit 4 8 10 x 10 8 Mbyte

1 M x 16 16 Mbit 1 2 10 x 10 12 x 8 8 Mbyte

2 M x 8 16 Mbit 2 4 11 x 10 12 x 9 16 Mbyte

4 M x 4 16 Mbit 4 8 11 x 11 12 x 10 32 Mbyte

4 M x 16 64 Mbit 1 2 11 x 11 12 x 10 13 x 9 14 x 8

8 M x 8 64 Mbit 2 4 12 x 11 13 x 10 14 x 9

16 M x 4 64 Mbit 4 8 12 x 11 13 x 11 14 x 10

16 M x 16 256 Mbit 1 2 15 x 9 128 Mbyte

32 M x 8 256 Mbit 2 4 15 x 10 256 Mbyte

N/A 64 M x 4 256 Mbit 4 N/A 15 x 11 512 Mbyte

N/A 16 N/A

Show 50 more labels / short text on this page
Maximum · Bank Size (Mbyte/Bank) · Total Number · Bank · of Chips · 16-bit Bus · 32-bit Bus · 16-bit Bus · 32-bit Bus · 16-bit Bus · 32-bit Bus · 16-bit Bus · 32-bit Bus · 512 Kbyte · 1 Mbyte · 4 Mbyte · 1 Mbyte · 2 Mbyte · 8 Mbyte · 2 Mbyte · 4 Mbyte · 16 Mbyte · 2 Mbyte · 4 Mbyte · 16 Mbyte · 4 Mbyte · 8 Mbyte · 32 Mbyte · 8 Mbyte · 16 Mbyte · 64 Mbyte · 8 Mbyte · 16 Mbyte · 32 Mbyte · 64 Mbyte · 16 Mbyte · 32 Mbyte · 64 Mbyte · 128 Mbyte · 32 Mbyte · 64 Mbyte · 128 Mbyte · 256 Mbyte · 32 Mbyte · 64 Mbyte · 256 Mbyte · 64 Mbyte · 128 Mbyte · 512 Mbyte · 128 Mbyte
Page 149 of the Intel SA-1110 user manual — IA[9:2] (IA[8:1])
Page 149 · click to enlarge
Page 149

Memory and PC-Card Control Module

Table 10-8 shows the DRAM row/column address multiplexing. For each row size, RAS time to CAS time address bit changes only occur if they are required; all other bits (including A 25 and A 9:0 bits not shown here) remain driven by the corresponding internal address bits throughout the transfer. Column address sizes of 12, 11, 10, 9, and 8 are supported if three conditions are met:

  • The row address is larger than or same size as the column address
  • The combined row and column address size does not exceed the maximum bank size that can be implemented with 4-bit DRAM chip organizations
  • The combined row and column address size does not exceed the 128-Mbyte architectural bank size. The user does not explicitly specify the column address size; connecting the address lines to the DRAM devices as shown allows proper addressing. The column address multiplexing differs for 16-bit (shown in parentheses) and 32-bit data busses.

When accessing SDRAM, only DRA[9:0] (and possibly DRA11) are used for column addressing. DRA10 is driven with "0" or "1" to help encode the READ, READAP, WRIT, and WRITEAP commands. DRA[14:12] (and possibly DRA11) maintain the upper bits of the row address, which includes the SDRAM internal bank number. During SDRAM configuration, in between any read or write accesses, all of the address pins are used to transfer the MRS command.

Table 10-8. DRAM or SMROM Row/Column Address Multiplexing

Number of Row Address Bits (including

DRAM or SMROM Address Pins at CAS Time

DRA[14:0] =

IA[24:10] DRA14 DRA13

DRA12

DRA11

DRA10

(BA0)

(BA1)

(BA)

(AP) DRA9 DRA8 DRA 7:0

15 bits IA[24:10] IA24 IA23 IA22 IA21 (IA26) IA20 IA26 (IA25)

IA25 (IA9)

IA[9:2] (IA[8:1])

14 bits IA[24:10] IA24 IA23 IA22 IA21 IA20 IA25 (IA24)

IA24 (IA9)

IA[9:2] (IA[8:1])

13 bits IA[24:10] IA24 IA23 IA22 IA21 IA25 (IA24)

IA24 (IA23)

IA23 (IA9)

IA[9:2] (IA[8:1])

12 bits IA[24:10] IA24 IA23 IA22

IA25 (IA24) IA21

IA24 (IA23)

IA23 (IA22)

IA22 (IA9)

IA[9:2] (IA[8:1])

11 bits IA[24:10] IA24 IA23 IA22 IA21 IA23 (IA22)

IA22 (IA21)

IA21 (IA9)

IA[9:2] (IA[8:1])

10 bits IA[24:10] IA24 IA23 IA22 IA21 IA20 IA21 (IA20)

IA20 (IA9)

IA[9:2] (IA[8:1])

9 bits IA[24:10] IA24 IA23 IA22 IA21 IA20 IA19 IA19 (IA9)

IA[9:2] (IA[8:1])

DRAx = SA-1110 DRAM interface address pin, A[24:10] = DRA[14:0] IAx = Internal address bit IAx = Internal address bit driven during CAS time to specify internal bank number (SDRAM only)

Note: At RAS time, all address pins, A[25:0], are driven by the same bit numbers of the internal address. Thus, for a given number of MDCNFG:DRAC0,2 programmed row address bits, higher bit numbers (A 25) can be used by connecting them to the appropriate DRAM address pins. However, this causes the corresponding internal address bits (IA25) to be used during both RAS and CAS and creates non-addressable locations in the physical memory. If these higher row address bit numbers must be used, column addresses must be limited to a maximum of 8 bits (9 if using a 16-bit data bus). In general, DRAM that utilize fewer than these 8 column address bits can be used,

Show 5 more labels / short text on this page
DRAM or · SMROM Address Pins · at RAS Time · SDRAM Bank · selects)
Page 150 of the Intel SA-1110 user manual — 10.5.2 DRAM Timing
Page 150 · click to enlarge
Page 150

Memory and PC-Card Control Module

but there will be holes in the memory map because the system ignores the still significant internal address bit IA9. When configured for a 16-bit data bus, 9 column address bits must be used to avoid memory map holes: this prohibits the use of x16 organized 16Mbit and 64Mbit SDRAM on 16-bit data busses.

10.5.2 DRAM Timing

The DRAM nCAS/DQM timing is generated using rotate registers. The rate at which these rotate registers are clocked is determined by MDCNFG:CDB20,2 and MDCNFG:DWID0,2. The time at which to sample the read data is programmable to coincide with the deassertion of nCAS/DQM or up to 3 CPU cycles later. This method provides a way to take advantage of the EDO DRAM while still supporting the FPM DRAM. A full burst nCAS/DQM waveform is specified, and the memory interface controller rotates the waveform rotate register once every CPU clock cycle (if CDB20,2=0 and DWID0,2=0) or once every 2 CPU clock cycles (if CDB20,2=1 or DWID0,2=1). The rotating continues until the number of nCAS/DQM pulses have been generated that corresponds to the actual number of data words being accessed.

Register set MDCAS00/MDCAS01/MDCAS02 or MDCAS20/MDCAS21/MDCAS22 are programmed to contain the nCAS/DQM waveform for a full burst access (8-beat for 32-bit data busses and 16-beat for 16-bit data busses). To begin an access, the row address is output on DRA[14:0], which is A[24:10]. One CPU clock later (one-half memory clock), nRAS/nSDCS is asserted and the nCAS/DQM waveform begins and is rotated with each CPU clock, if CDB20,2=0 and DWID0,2=0. A "1" in these rotate registers drives nCAS/DQM high (deasserts) at the rising edge of the CPU clock cycle, and a "0" drives nCAS/DQM low (asserts). The column address for the first beat of data will be valid 1 CPU cycle before nCAS/DQM transitions from deasserted to asserted. During reads, a rising edge is detected on the nCAS/DQM waveform and input data is latched MDCNFG:TDL0, 2 cycles after the rising edge. The rotate register continues to rotate until the number of nCAS/DQM pulses equals the burst size of the current transaction. For writes, nRAS/nSDCS will be deasserted on the next rising memory clock cycle edge after the last nCAS/DQM rising edge (either 1 or 2 CPU clock cycles). For reads, nRAS/nSDCS will be deasserted on the rising memory clock cycle edge that occurs 2 or 3 CPU clock cycles after the input data is latched. For each additional beat after the first, the column address will be updated coincident with the deassertion of nCAS/DQM, or 1 CPU cycle later. For writes, the write data outputs will follow the same timing as the column address. nWE and nOE, as appropriate, follow the same timing as nRAS/nSDCS. After nRAS/nSDCS is deasserted, the timing parameter MDCNFG:TRP0,2 is used to determine the wait before the next assertion of nRAS/nSDCS.

If CDB20,2=1 or DWID0,2=1, the nCAS/DQM waveform will be rotated every memory clock, or every 2 CPU cycles. The timing of the other signals remains the same relative to the nCAS/DQM waveform. For CDB20,2=0 and DWID0,2=0, there is a requirement that nCAS/DQM high and low times be programmed with a minimum of 2 bits and the 4 least significant bits in MDCAS00 and MDCAS20 must be "1". For CDB20,2=1 or DWID0,2=1, the high and low nCAS/DQM pulse times may be 1 bit each and the least significant 2 bits of MDCAS00 or MDCAS20 must be "1". These requirements are necessary for the internal hardware to properly generate addresses and write data and for proper address and data setup times.

Page 151 of the Intel SA-1110 user manual — Figure 10-3. DRAM Single-Beat Transactions
Page 151 · click to enlarge
Page 151

Memory and PC-Card Control Module

Figure 10-3 shows the rate of the shift registers during DRAM nCAS timing for a single-beat transaction.

Figure 10-3. DRAM Single-Beat Transactions

Intel SA-1110 — Figure 10-3. DRAM Single-Beat Transactions diagram (page 151)
Fig. 35 · Figure 10-3. DRAM Single-Beat Transactions

Contents of DRAM register fields: MDCAS01 = 11 0001 1000 1100 (binary) MDCAS00 = 0110 0011 0001 1000 1100 0110 0000 0111 (binary) MDCNFG:TRP0 = 4 MDCNFG:CDB20 = 1 TDL0 = 00

Page 152 of the Intel SA-1110 user manual — 10.5.3 SDRAM Overview
Page 152 · click to enlarge
Page 152

Memory and PC-Card Control Module

Figure 10-4 shows the rate of the shift registers during FPM or EDO DRAM nCAS timing for burst-of-eight transactions.

Figure 10-4. Dram Burst-of-Eight Transactions

Intel SA-1110 — Figure 10-4. Dram Burst-of-Eight Transactions diagram (page 152)
Fig. 36 · Figure 10-4. Dram Burst-of-Eight Transactions

Contents of DRAM register fields: MDCAS01 = 11 0001 1000 1100 (binary) MDCAS00 = 0110 0011 0001 1000 1100 0110 0000 0111 (binary) MDCNFG: TRP0 = 4 MDCNFG: CDB20 = 1 TDL0 = 00

10.5.3 SDRAM Overview

The SA-1110 supports most x4, x8, x16, and x32 SDRAM. There are fifteen multiplexed row/column address signals (DRA14-0), four command select signals (nRAS/nSDCS[3:0]), four data qualifiers for byte selection (nCAS/DQM[3:0]), thirty-two data signals (D[31:0]), a write enable signal (nWE), a row address strobe (nSDRAS), a column address strobe (nSDCAS), two memory clocks (SDCLK[2:1]), and a memory clock enable (SDCKE 1).

Whenever an SDRAM bank is enabled, a mode register set (MRS) command is sent to the SDRAM devices. MRS commands always configure SDRAM internal mode registers for sequential (or linear) burst type and a burst length of one, while the CAS latency is determined by the TDL0 or

Page 153 of the Intel SA-1110 user manual — Evaluate the expression:
Page 153 · click to enlarge
Page 153

Memory and PC-Card Control Module

TDL2 field of MDCNFG. See Table 10-7 and Table 10-8 for a review of addressing, applicable to all types of DRAM. The upper one or two bits of row address act as selects for SDRAM internal banks.

Note: IMPORTANT ISSUE WHEN USING SDRAM WITH 103MHz SDCLK

For correct operation of a 206MHz SA-1110 configured for 103MHz SDCLK operation, the choice of SDRAM should not violate the following expression:

Tac Tsdis T prop + + Tsdclk ≤

where: Tac = SDRAM access time from clk or, clk to data valid delay Tsdis = SA-1110 data input setup time to SDCLK rise Tprop = propagation delay due to board layout or trace routing Tsdclk = SA-1110 SDCLK period

Solving for T ac :

Tac Tsdclk ≤ Tsdis T prop – –

SDCLK period = 1/SDCLK frequency:

Tsdclk

103 6 ×10 cycles ( ) s ⁄ =

or

T sdclk 9.7 ns =

From Table 13-3: SDCLK = 103MHz, delayed latching.

T sdis 2.7 ns =

If any board related propagation delay is assumed to be no greater than 1 ns, then:

T prop 1 ns ≈

Evaluate the expression:

T ac 9.7 ns 2.7 ns – 1 ns – ≤

or

T ac 6 ns ≤

Therefore, your choice of SDRAM product must have a Tac value of 6ns or less to operate properly at 206 MHz and 103MHz SDCLK.

1cycle

Page 154 of the Intel SA-1110 user manual — DRA14-11,
Page 154 · click to enlarge
Page 154

Memory and PC-Card Control Module

10.5.4 SDRAM Commands

The SA-1110 accesses SDRAM by using the following subset of standard interface commands:

  • Mode Register Set (MRS)
  • Bank Activate (ACT)
  • Read (READ)
  • Read with Auto-Precharge (READAP)
  • Write (WRIT)
  • Write with Auto-Precharge (WRITEAP)
  • Precharge All Banks (PALL)
  • Auto-Refresh (CBR)
  • Power-Down (PWRDN)
  • Enter Self-Refresh (SLFRSH)
  • Exit Power-Down (PWRDNX)
  • No Operation (NOP)

Table 10-9 shows the SDRAM interface commands.

Table 10-9. SDRAM Command Encoding

SDCKE (at clock n-1)

SDCKE (at clock n)

nRAS/ nSDCS[3:0] SDRAS SDCAS nWE nCAS/ DQM[3:0]

DRA14-11,

DRA9-0 DRA10

PWRDN 1 0 1 4’b1111 x x

SLFRSH 1 0 1 4’b0000 x x

PWRDNX 0 1 4’b1111 x x

CBR 1 1 0 0 0 1 4’b0000 x x

(DRA[14:7] = 8’b0 DRA[6:4] = {1’b0, TDL}, DRA 3 = 1’b0, DRA[2:0] = 3’b000)

MRS 1 x 0 4’b1111

ACT 1 x 0 0 1 1 4’b1111 Bank, row

READ 1 x 0 1 0 1 x Bank, column 0

READAP 1 x 0 1 0 1 x Bank, column 1

WRIT 1 x 0 1 0 0 Mask Bank, column 0

WRITEAP 1 x 0 1 0 0 Mask Bank, column 1

PALL 1 x 0 0 1 0 4’b0000 x 1

NOP 1 x 1 x

NOP 1 x 0 1 1 1 x x x

SA-1110 Pins · Command · Mode

Page 155 of the Intel SA-1110 user manual — High priority - "Enter_Sleep"
Page 155 · click to enlarge
Page 155

Memory and PC-Card Control Module

10.5.5 SDRAM State Machine

Figure 10-5 shows all possible SDRAM controller states and transitions. Many of the states are named after the SDRAM commands with which they are coincident and have a fixed duration of one cycle. Transitions from the other states are determined by the overall memory controller state and a few SDRAM power-down/self-refresh status/control bits. Most of the states and transitions may involve multiple SDRAM devices and their internal banks. Only those states shown below "idle" involve a single bank within a single SDRAM row. If none of the labeled transitions have their conditions satisfied and no default transition is indicated, the current state is maintained for at least one more cycle.

A hardware or sleep reset causes the SDRAM state machine to enter the "self-refresh and clock-stop" state. Then, it is software’s responsibility to complete the appropriate reset procedure (see Section 10.2.1). The “Clear_E1PIN” and “Clear_KnRUN” transitions (indicated by dotted lines in Figure 10-5 and achieved by clearing the E1PIN, K1RUN, and/or K2RUN bits of MDREFR) are provided to allow ultimate software control of the SDRAM memory system’s low-power modes. They should be used with extreme caution because the resulting states prohibit automatic transitions for mode register set, read, write, and refresh commands. The “Auto_Power_Down” and “Auto_Power_Up” transitions (made possible by setting the EAPD and/or KAPD bits of MDREFR) provide a completely automatic alternative for minimizing power consumption in the SDRAM memory system.

The following prioritization is used for transitions out of the idle state. If enabled via the EAPD and KAPD bits, the "Auto_Power_Down" transition occurs when none of the higher priority transitions are asserted. The "Auto_Power_Up" transition occurs when "Enter_Sleep", "Refresh", "New_Enable", or "New_Access" is asserted during the "power-down" state.

High priority - "Enter_Sleep"

"Set_SLFRSH"

"Clear_E1PIN"

"Refresh"

"New_Enable"

"New_Access"

Low priority - "Auto_Power_Down"

When the internal system bus causes a new access, the state machine executes an ACT command. Then the SA-1110 executes one read or write command for each beat of a burst access. The last (or single) beat uses the autoprecharge command (READAP or WRITEAP), but all preceding beats use the nonprecharge command (READ or WRIT). Figure 10-6, Figure 10-7, and Figure 10-8 show timing diagrams of SDRAM transactions.

Page 156 of the Intel SA-1110 user manual — MRS
Page 156 · click to enlarge
Page 156

Memory and PC-Card Control Module

Figure 10-5. SDRAM State Machine

Reset (Hardware or Sleep)

SLFRSH

!Enter_Sleep && !Clear_KnRUN && Clear_SLFRSH

(Set_E1PIN || (E1PIN && (Auto_Power_Up || Enter_Sleep || Set_SLFRSH))) && !Clear_KnRUN

Set_KnRUN || (KnRUN && (Auto_Power_Up || Enter_Sleep || Set_SLFRSH))

PWRDN

!Enter_Sleep && !Set_SLFRSH &&

PALL

!Enter_Sleep && !Set_SLFRSH && (Clear_E1PIN || Auto_Power_Down)

!Enter_Sleep && !Set_SLFRSH &&

CBR

!Enter_Sleep && !Set_SLFRSH &&

!Clear_E1PIN && !Refresh &&

!Enter_Sleep && !Set_SLFRSH && !Clear_E1PIN && !Refresh && !New_Enable && New_Access

MRS

ACT

READ

READAP

Show 24 more labels / short text on this page
Enter_Sleep || Clear_KnRUN · Enter_Sleep || Set_SLFRSH · Self-refresh · and Clock-stop · Self-refresh · !Enter_Sleep && Set_KnRUN · Enter_Sleep || Set_SLFRSH · Clear_KnRUN || Auto_Power_Down · Power-down · Power-down PWRDNX · and Clock-stop · !Enter_Sleep && · !Set_SLFRSH · !Clear_E1PIN && · Refresh && First_Refresh · !Clear_E1PIN && · Refresh && !First_Refresh · Idle · New_Enable · Burst !Burst · !Last_Beat · or WRIT · or WRITEAP · Last_Beat
Page 157 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 157 · click to enlarge
Page 157

Memory and PC-Card Control Module

Figure 10-6. SDRAM 1-Beat Read/Write/Read Timing for 4 Bank x 4 M x 4 Bit Organization (64 Mbit)

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 157)
Fig. 37 · Memory and PC-Card Control Module

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

Contents of DRAM register fields: MDCNFG:DTIM0=1 MDCNFG:DWID0=0 MDCAS00=0101 0111(binary) MDCNFG:DRAC0=5 MDCNFG:CDB20=0 MDCNFG:TRP0=1 MDCNGF:TDL0=2 MDCNFG:TWR0=3

Page 158 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 158 · click to enlarge
Page 158

Memory and PC-Card Control Module

Figure 10-7. SDRAM 1-Beat Read/Write Timing for 4 Bank x 4 M x 4 Bit Organization (64 Mbit) at Half-Memory Clock Frequency (MDREFR:KnDB2=1))

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 158)
Fig. 38 · Memory and PC-Card Control Module

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

Contents of DRAM register fields: MDCNFG:DTIM0=1 MDCNFG:DWID0=0 MDCAS00=0101 0111 1111(binary) MDCNFG:DRAC0=5 MDCNFG:CDB20=0 MDCNFG:TRP0=1 MDCNGF:TDL0=2 MDCNFG:TWR0=3

Page 159 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 159 · click to enlarge
Page 159

Memory and PC-Card Control Module

Figure 10-8. SDRAM 8-Beat Read/Write Timing for 4 Bank x 4 M x 4 Bit Organization (64 Mbit)

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 159)
Fig. 39 · Memory and PC-Card Control Module

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

Row Col C Row Col

D0 D1 D2 D3 D4 D5 D6 D7 D

D0 D1 D2 D3 D4 D5 D6 D7 D0 D1

Contents of DRAM register fields: MDCNFG:DTIM0=1 MDCNFG:DWID0=0 MDCAS00=0101 1111(binary) MDCNFG:DRAC0=5 MDCNFG:CDB20=0 MDCNFG:TRP0=2 MDCNGF:TDL0=2 MDCNFG:TWR0=3

Page 160 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 160 · click to enlarge
Page 160

Memory and PC-Card Control Module

10.5.6 DRAM/SDRAM Refresh

The SA-1110 provides support for CAS before RAS (CBR) refresh. When the DRAM interface is enabled (by setting any of MDCNFG:DE[3:0] and setting MDREFR:DRI greater than zero), the refresh counter starts counting up every memory cycle (2 CPU cycles) from 0. When its value reaches the value in MDREFR:DRI times 32, the memory controller is notified that a refresh cycle is due, the counter is cleared and resumes counting. After the current transaction completes, a refresh cycle is performed. All four nCAS/DQM lines are driven low. Two memory clock cycles later (4 CPU cycles), the four nRAS/nSDCS signals driven low. After MDREFR:TRASR+1 memory clock cycles, all nRAS/nSDCS and nCAS/DQM signals driven high and MDCNFG:TRP0,2 is used to hold off subsequent DRAM accesses to allow for row precharge time. Hardware or sleep reset clears the refresh counter. Software and watchdog reset do not affect it.

SDRAM CBR is performed simultaneously (and at the same interval) with the asynchronous DRAM CBR refresh. The nSDRAS and nSDCAS signals are driven high in every cycle except the first one: in which all of the enabled nRAS/nSDCS are driven low. This is done to ensure that the SDRAM devices only receive NOP commands while nCAS/DQM and nRAS/nSDCS are being held low for asynchronous DRAM refresh. If the SA-1110 detects that this is its first refresh cycle after reset, a precharge all banks (PALL) command is executed prior to the auto-refresh (CBR) command.

A single (non-burst) read or write to any disabled DRAM bank causes one refresh cycle to all banks. Refresh cycles continue to occur while the CPU is in idle mode.

Figure 10-9 shows a timing diagram of a CBR refresh cycle.

Page 161 of the Intel SA-1110 user manual — 10.5.7 DRAM/SDRAM Self-Refresh in Sleep Mode
Page 161 · click to enlarge
Page 161

Memory and PC-Card Control Module

Figure 10-9. DRAM/SDRAM CBR Refresh Cycle

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 161)
Fig. 40 · Memory and PC-Card Control Module

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

10.5.7 DRAM/SDRAM Self-Refresh in Sleep Mode

The SA-1110 puts the DRAM into the self-refresh state prior to entering sleep mode by driving all nCAS/DQM low, then driving all nRAS/nSDCS low (just as for a normal CBR refresh cycle), and maintaining them low while core power (VDD) and clocks are turned off. The SDRAM self-refresh command (SLFRSH) differs from auto-refresh command (CBR) in that SLFRSH drives the SDCKE[1:0] signals low. They will continue to be held low throughout sleep. SDCLK[2:0] stop running throughout sleep: SDCLK[2:1] are held high; SDCLK 0 is held low if auto-power-down is enabled, or held high if auto-power-down is disabled.

See Section 9.5 for details on how to bring DRAM out of self-refresh mode. See Section 10.5.5 and section 10.2.1 on page 125 for details on how to bring SDRAM out of self-refresh mode. An access to a DRAM bank while the DRAM interface is in self-refresh mode has undefined results, but the DRAM remains in self-refresh.

Page 162 of the Intel SA-1110 user manual — RT
Page 162 · click to enlarge
Page 162

Memory and PC-Card Control Module

If any of the DRAM require a full burst (all rows) CBR upon exiting self-refresh, the programmer may use repeated single (nonburst) accesses to any disabled DRAM bank.

10.6 Static Memory Interface

The static memory interface is comprised of six chip selects, nCS[5:0]. nCS[2:0] are each configurable for nonburst ROM or Flash memory, burst ROM or Flash, or SRAM. nCS[5:3] are each configurable for nonburst ROM or Flash, burst ROM or Flash, or SRAM-like variable latency I/O devices. The variable latency I/O interface differs from SRAM in that it allows the use of data ready input signal, RDY, to force a variable number of memory cycle wait states. The data bus width for each chip select region may be programmed to be 16-bit or 32-bit. nCS[3:0] are also configurable for SMROM, but only for 32-bit data busses. nOE is asserted for all reads. nWE is asserted for Flash and SRAM writes. For SRAM and variable latency I/O implementations, nCAS/DQM[3:0] signals are used for the byte enables, where nCAS/DQM 3 corresponds to the MSB. The SA-1110 supplies 26 bits of byte address (A[25:0]) for access of up to 64 Mbytes per chip select. Address pin A 0 is not used in 16-bit wide bus systems and address pins A[1:0] are not used in 32-bit wide systems.

The RT (ROM type) fields in the MSCx registers specify the type of memory: nonburst ROM or Flash; nonburst ROM, SRAM, or variable latency I/O; burst-of-four ROM or Flash; or burst-of-eight ROM or Flash. The RBW (ROM bus width) fields specify the bus width for the memory space selected by nCS[5:0]. If a 16-bit bus width is specified, transactions take place across data pins D[15:0]. The SMROM_EN pin and/or SMCNFG register must be used to configure nCS[3:0] for SMROM.

The SA-1110’s static memory interface is intended for the interfacing of asynchronous types of memory devices (i.e. memory devices utilizing nCS[5:0] and not utilizing SDCLK[2:0]). The static memory interface does not support the interfacing of synchronous memory type devices to the SA-1110 with the exception of SMROM type devices which are static type memories with a synchronous interface; see Section 10.6.9 for details on SMROM interfacing. Table 10-10 provides a comparison of supported static memory types.

Table 10-10. Summary of Static Memory and Variable Latency I/O Capabilities

MSCx:

RT

00 Nonburst ROM or Flash

nCS[5:0] Reads, Writes Reads RDF+1 RDF+1 0 N/A RDN+1 N/A

01 Nonburst ROM or SRAM

nCS[2:0] Reads, Writes

Reads, Writes RDF+1 RDF+1 0 RDN+2 RDN+1 1

Show 23 more labels / short text on this page
Timing (Memory Clocks) · Directions Supported · Directions Supported · Device · Chip Selects · for Single · for Burst · Burst · Burst · Burst Write Address · Burst · Type · Read Address · nOE Assert · nOE · nWE Assert · nWE · Internal Transfers · Internal Transfers · De- assert · De- assert · Assert · Assert
Page 163 of the Intel SA-1110 user manual — 10.6.2 ROM Timing Diagrams and Parameters
Page 163 · click to enlarge
Page 163

Memory and PC-Card Control Module

Table 10-10. Summary of Static Memory and Variable Latency I/O Capabilities

MSCx:

RT

01 Variable Latency I/O nCS[5:3] Reads, Writes

Burst-of-4 ROM or Flash (nonburst writes)

RDF+1 [0,4] RDN+1 [1:3], [5:7]

RDF+1 [0,4] RDN+1 [1:3], [5:7]

nCS[5:0] Reads, Writes Reads

0 N/A RDF+1 N/A

Burst-of-8 ROM or Flash (nonburst writes)

RDF+1 (0) RDN+1 [1:7]

RDF+1 (0) RDN+1 [1:7]

nCS[5:0] Reads, Writes Reads

0 N/A RDF+1 N/A

10.6.1 ROM Interface Overview

The SA-1110 provides programmable timing for both burst and non-burst ROMs. The RDF field in MSCx is the latency (in memory clock cycles) for the first and all subsequent data beats from nonburst ROMs, and the first data beat from a burst ROM. RDN is the latency for the burst data beats after the first for burst ROMs. RRR delays the following access to a different memory space to allow time for the current ROM to tristate the data bus. This parameter should be programmed with the maximum tOFF value, as specified by the ROM manufacturer. One memory clock cycle is always added to RDF and RDN. One memory clock cycle is added to RRR if it was set to zero, otherwise RRR is doubled. Upon hardware or sleep reset, MSC0[15:0] is initialized such that the RDF, RDN and RRR fields are set to their maximum values to accommodate the slowest nonburst ROMs at initial boot, RT is set to be nonburst ROM, and RBW0 is loaded with the value of the inverse of the ROM_SEL pin. The remaining fields in MSC0, MSC1, and MSC2 are not initialized on hardware or sleep reset. MSC0[15:0] is selected when the address space corresponding to nCS0 is accessed.

The SA-1110 supports a ROM burst size of 1, 4 or 8. A single CBR refresh cycle, for asynchronous DRAM and/or SDRAM, may be inserted between word accesses within a burst transaction. nCS and nOE are deasserted during the refresh cycle.

10.6.2 ROM Timing Diagrams and Parameters

Figure 10-10, Figure 10-11, and Figure 10-12 show the timing for burst and nonburst ROMS.

Show 27 more labels / short text on this page
Timing (Memory Clocks) · Directions Supported · Directions Supported · Device · Chip Selects · Burst Read Address · Burst · Burst Write Address · Burst · Type · for Single · for Burst · Internal Transfers · Internal Transfers · nOE Assert · nOE · nWE Assert · nWE · De- assert · De- assert · Assert · Assert · RDF+ RDN+2+ waits · RDF+ RDN+2+ waits · Reads, Writes · RDF+1+ waits RDN+1 · RDF+1+ waits RDN+1
Page 164 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 164 · click to enlarge
Page 164

Memory and PC-Card Control Module

Figure 10-10. Burst-of-Eight ROM or Flash Read Timing Diagram

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 164)
Fig. 41 · Memory and PC-Card Control Module
Page 165 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 165 · click to enlarge
Page 165

Memory and PC-Card Control Module

Figure 10-11. Eight-Beat Burst Read from Burst-of-Four ROM or Flash

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 165)
Fig. 42 · Memory and PC-Card Control Module

Contents of static memory register fields: MSC0:RDF0=8 MSC0:RDN0=4 MSC0:RRR0=2

Page 166 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 166 · click to enlarge
Page 166

Memory and PC-Card Control Module

Figure 10-12. Nonburst ROM, SRAM, or Flash Read Timing Diagram – Four Data Beats)

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 166)
Fig. 43 · Memory and PC-Card Control Module
Page 167 of the Intel SA-1110 user manual — 10.6.4 SRAM Timing Diagrams and Parameters
Page 167 · click to enlarge
Page 167

Memory and PC-Card Control Module

10.6.3 SRAM Interface Overview

The SA-1110 provides a 16-bit or 32-bit asynchronous SRAM interface that uses the nCAS/DQM pins for byte selects on both reads and writes. nCS[2:0] select the SRAM bank, nOE is asserted on reads and nWE is asserted on writes. Address bits A[25:2] provide addressability of up to 64Mbytes of SRAM per bank.

The SA-1110 supports systems with both SRAM and DRAM (synchronous or asynchronous) by ensuring at least one-and-a-half memory clocks of nCAS/DQM[3:0] deassertion between any permutation of SRAM (or variable latency I/O) access and DRAM activity (access, CBR, or self-refresh). However, the recovery time between SRAM accesses (RRR[2:0]) must be set to satisfy the minimum nCAS/DQM[3:0] deassertion time for any asynchronous DRAM present in the system.

The timing for a read access is identical to that for a nonburst ROM (see Section 10.6.2). The RDF fields in the MSCx registers are the latency for a read access. The MSCx:RDN field controls the nWE low time during a write cycle. MSCx:RRR is either the time from nCS deassertion after a read to the start of an access from a different memory bank, or the time from nCS deassertion after a write to the start of any other memory access (read or write, same or different bank). The MSCx:RRR delay is not applied between subsequent reads from the same bank. MSCx:RT must select SRAM.

A single CBR refresh cycle, for asynchronous DRAM and/or SDRAM, may be inserted between word accesses within a burst transaction. nCS, nOE, and nWE are deasserted during the refresh cycle.

10.6.4 SRAM Timing Diagrams and Parameters

As shown in Figure 10-11, SRAM reads have the same timing as nonburst ROMs, except nCAS/DQM[3:0] are used as byte selects and are asserted with the same timing as nCS. When nCAS/DQM0 is low (asserted), D[7:0] will be used to transfer data. When nCAS/DQM1 is low, D[15:8] is used, and so forth. During writes, all 32 data pins are actively driven by the SA-1110 (that is, they are not tristated) regardless of the state of the individual nCAS/DQM pins.

Figure 10-13 shows the timing for SRAM writes.

Page 168 of the Intel SA-1110 user manual — In Figure 10-13 some of the parameters are defined as follows:
Page 168 · click to enlarge
Page 168

Memory and PC-Card Control Module

Figure 10-13. SRAM Write Timing Diagram (4–Beat Burst)

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 168)
Fig. 44 · Memory and PC-Card Control Module

Contents of static memory register fields: MSC0: RDN0=2 MSC0:RRR0=2

In Figure 10-13 some of the parameters are defined as follows:

tAS = Address setup to nCS = 1 CPU cycle tCES = nCS, nCAS/DQM setup to nWE = 2 memory clock cycles (4 CPU cycles) tASW = Address setup to nWE low (asserted) = 1/2 memory cycle (1 CPU cycle)

[For A[25:5], tASW=5 CPU cycles. For A[4:2], tASW=1 CPU cycle for subsequent beats in a burst]

tDSWH = Write data setup to nWE high (deasserted) = 1/2 memory cycle + (RDN+1) memory cycles tDH = Data hold after nWE high (deasserted) = 1/2 memory cycle (1 CPU cycle) tCEH = nCS, nCAS/DQM held asserted after nWE deasserted = 1 memory clock cycle (2 CPU cycles) tAH = Address hold after nWE deasserted = 1/2 memory cycle (1 CPU cycle) nWE high time between burst beats = 1 memory cycle (2 CPU cycles)

Page 169 of the Intel SA-1110 user manual — 10.6.6 Variable Latency I/O Timing Diagrams and Parameters
Page 169 · click to enlarge
Page 169

Memory and PC-Card Control Module

10.6.5 Variable Latency I/O Interface Overview

Variable latency I/O read accesses differ from SRAM read accesses in that nOE toggles for each beat of a burst. The first nOE assertion occurs two memory cycles after the assertion of chip select nCS 3, nCS 4, or nCS 5.

Both reads and writes differ from SRAM in that the SA-1110 starts sampling the data ready input (RDY) at RDF-1 memory cycles after assertion of nOE or nWE: two (2) memory cycles prior to end of minimum nOE or nWE assertion. Samples are taken every half memory cycle until three consecutive samples (at rising, falling, and rising edges of the memory clock) indicate that the I/O device is ready for data transfer. RDY can be tied high to cause a zero-wait-state I/O access. Read data is latched one-half memory cycle after the third successful sample (on falling edge). nOE or nWE is deasserted on the next rising edge and the address may change on the subsequent falling edge. Prior to a subsequent data beat, nOE or nWE will remain deasserted for RDN+1 memory cycles. The chip select and byte selects, nCAS/DQM[3:0], will remain asserted for one memory cycle after the burst’s final nOE or nWE deassertion.

A single CBR refresh cycle, for asynchronous DRAM and/or SDRAM, may be inserted between word accesses within a burst transaction. nCS, nOE, and nWE are deasserted during the refresh cycle. The DRAM refresh interval must be adjusted to account for the longest variable latency I/O access time (see Section 10.3.2). Because the longest access time includes the maximum number of wait cycles caused by deassertion of the RDY pin, indefinitely long deassertions will prevent refresh and may corrupt the DRAM contents.

10.6.6 Variable Latency I/O Timing Diagrams and Parameters

Figure 10-14 shows the timing for variable latency I/O reads and Figure 10-15 shows the timing for variable latency I/O writes.

Page 170 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 170 · click to enlarge
Page 170

Memory and PC-Card Control Module

Figure 10-14. Variable Latency I/O Read Timing (Burst-of-Four)

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 170)
Fig. 45 · Memory and PC-Card Control Module
Page 171 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 171 · click to enlarge
Page 171

Memory and PC-Card Control Module

Figure 10-15. Variable Latency I/O Write Timing (Burst-of-Four)

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 171)
Fig. 46 · Memory and PC-Card Control Module

In Figure 10-14 and Figure 10-15, some of the parameters are defined as follows:

tAS = Address setup to nCS = 1 CPU cycle tCES = nCS, nCAS/DQM setup to nOE or nWE = 2 memory clock cycles (4 CPU cycles) tASRW0 = Address setup to nOE or nWE low (asserted) = 2.5 memory cycles on first beat tASRWN = Address setup to nOE or nWE low (asserted) = (RDN+0.5) memory cycles on subsequent beats tDSWH,min = Minimum Write data setup to nWE high (deasserted) = (RDF+1.5) memory cycles tDH = Data hold after nWE high (deasserted) = 1/2 memory cycle (1 CPU cycle). Note: After a write transaction, the last data remains driven on the D[31:0] pins until the next bus transaction. If the next bus transaction is a read operation, the D[31:0] pins are released to a high impedance state when the nOE signal asserts. tCEH = nCS, nCAS/DQM held asserted after nOE or nWE deasserted = 1 memory clock cycle tAH = Address hold after nOE or nWE deasserted = 1/2 memory cycle (1 CPU cycle). Note: If there are no subsequent memory bus transactions after the access (read or write), the current address remains driven on the address pins A[25:0]. nOE or nWE high time between burst beats = (RDN+1) memory cycle. tSS = CPU starts sampling RDY signal (RDF - 1) memory cycles after nOE or nWE asserts.

Page 172 of the Intel SA-1110 user manual — 10.6.8 FLASH Memory Timing Diagrams and Parameters
Page 172 · click to enlarge
Page 172

Memory and PC-Card Control Module

10.6.7 FLASH Memory Interface Overview

The SA-1110 provides an SRAM-like interface for access of Flash memory. The RDF fields in the MSCx registers are the latency for each read access to nonburst Flash or the first read access to burst Flash; it also controls the nWE assertion time during a write cycle (nonburst) to burst Flash. The RDN field controls subsequent read access times to burst Flash and the nWE low time during a write cycle to nonburst Flash. RRR is the time from nCS deassertion after a read to the start of a read from a different memory or after a write to another memory access. A single DRAM CBR refresh cycle may be inserted between words of a burst read from Flash memory. During the refresh cycle, nCS and nOE are deasserted.

There are some requirements for writes to Flash memory:

  • Flash memory write space must be uncacheable and unbuffered.
  • Writes to Flash memory must be exactly the width of the populated Flash devices on the data bus (for examples, byte writes to a 32-bit bus or word writes to a 16-bit bus are not permitted).
  • Software is responsible for partitioning commands and data, and writing these to Flash memory in the appropriate sequence

A single CBR refresh cycle, for asynchronous DRAM and/or SDRAM, may be inserted between word accesses within a burst read. nCS and nOE are deasserted during the refresh cycle.

10.6.8 FLASH Memory Timing Diagrams and Parameters

Nonburst Flash reads have the same timing as nonburst ROMs as shown in the preceding figures. Figure 10-16 shows the timing for writes to nonburst Flash. Writes to burst Flash use nonburst accesses and equivalent timings, except the nWE assertion time and data setup use RDF+1 instead of RDN+1.

Page 173 of the Intel SA-1110 user manual — 10.6.10 SMROM Commands
Page 173 · click to enlarge
Page 173

Memory and PC-Card Control Module

Figure 10-16. Flash Write Timing Diagram (2 Writes)

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 173)
Fig. 47 · Memory and PC-Card Control Module

Note: If RT=00 then RDN+1. If RT=1x, then RDF+1

In Figure 10-16 some of the parameters are defined as follows:

tAS = Address setup to nCS = 1 CPU cycle tCES = nCS setup to nWE = 2 memory clock cycles (4 CPU cycles) tASW = Address setup to nWE low (asserted) = 2-1/2 memory cycles (5 CPU cycles) tDSWH = If RT=00, then: Write data setup to nWE high (deasserted) = 1/2 memory cycle + (RDN+1) memory cycles. If RT=1x, then: Write data setup to nWE high (deasserted) = 1/2 memory cycle + (RDF+1) memory cycles. tDH = Data hold after nWE high = 1+1/2 memory cycle tCEH = nCS held asserted after nWE deasserted = 1 memory clock cycle (2 CPU cycles) tAH = Address hold after nWE deasserted = 1+1/2 memory cycle (3 CPU cycles)

10.6.9 SMROM Overview

The SMROM interface uses thirteen of the DRAM interface’s fifteen multiplexed row/column address signals (DRA12-0), four static memory chip select signals (nCS[3:0]), thirty-two data signals (D[31:0]), a write enable signal (nWE) which should be connected to the SMROM’s MR input, an output enable signal (nOE), a row address strobe (nSDRAS), a column address strobe (nSDCAS), a memory clock (SDCLK 0), and a memory clock enable (SDCKE 0).

10.6.10 SMROM Commands

The SA-1110 accesses SMROM by using the following subset of standard interface commands:

Page 174 of the Intel SA-1110 user manual — 10.6.11 SMROM State Machine
Page 174 · click to enlarge
Page 174

Memory and PC-Card Control Module

  • Power-Down (PWRDN)
  • Exit Power-Down (PWRDNX)
  • Mode Register Set (MRS)
  • Row Activate (ACT)
  • Read (READ)
  • Burst Stop (STOP)
  • No Operation (NOP)

Table 10-11 shows the SMROM interface commands.

Table 10-11. SMROM Command Encoding

SDCKE

SDCKE

ncs[3:0] nSDRAS nSDCAS nWE nOE DRA12-0

PWRDN 1 0 1 4’b1111 x

PWRDNX 0 1 4’b1111 x

(DRA[12:7] = 6’b0 DRA 6 = {RL}, DRA[5:3] = {CL} DRA[2:0] = 3’b010)

MRS 1 x 0 1

ACT 1 x 0 0 1 1 1 Row

READ 1 x 0 1 0 1 0 Column

STOP 1 x 0 0 1 0 1 x

NOP 1 x 1 x

NOP 1 x 0 1 x

10.6.11 SMROM State Machine

Figure 10-17 illustrates all possible SMROM controller states and transitions. Many of the states are named after the SMROM commands with which they are coincident: they have a fixed duration of one SMROM (SDCLK 0) cycle. Transitions from the other states are determined by the overall memory controller state and a few SMROM/SDRAM power-down/self-refresh status/control bits. Most of the states and transitions may involve multiple SMROM devices. Only those states shown below the "Idle" state involve a single SMROM row. If none of the labeled transitions have their conditions satisfied and no default transition is indicated, the current state is maintained for at least one more SMROM cycle.

Hardware or sleep reset causes the SMROM state machine to enter the "Idle" state. Upon hardware or sleep reset, the SA-1110 is compatible with the following SMROM default mode registers settings: RAS latency of 2 external SDCLK 0 cycles, CAS latency of 5 external SDCLK 0 cycles, burst length of 4, and sequential burst addressing. However, the mode registers must be written prior to attempting bursts (caches or read buffer enabled). Writes to the SMCNFG register instigate one or two MRS commands (to one or two bank pairs of SMROM). These MRS commands always change the burst length to 8; RAS latency and CAS latency may change according to SMCNFG bits. As required to ensure high impedance on SMROM data outputs, the SA-1110 holds nWE, SDCKE 0 (for SMROM_EN = 1), and nOE high during power-up.

Show 7 more labels / short text on this page
SA-1110 Pins · Command · (at clock · (at clock · n-1) · n) · Mode
Page 175 of the Intel SA-1110 user manual — High priority - "Enter_Sleep"
Page 175 · click to enlarge
Page 175

Memory and PC-Card Control Module

If the SMROM_EN pin is held high, MDCAS00, SMCNFG:CL0, and SMCNFG:RL0 must maintain their hardware or sleep reset values to avoid mismatches in RAS latency between the SA-1110 and boot SMROM following a subsequent hardware or sleep reset.

The following prioritization is used for transitions from the "Idle" state. Some of these variables merely stall the SMROM state machine while performing DRAM/SDRAM tasks. If enabled via the MDREFR:EAPD and MDREFR:KAPD bits, the "Auto_Power_Down" transition occurs when none of the higher priority transitions are asserted. The "Auto_Power_Up" transition occurs when "New_Enable" or "New_Access" is asserted during the "Power-down" state.

High priority - "Enter_Sleep"

"New_Enable"

"New_Access"

Low priority - "Auto_Power_Down"

When the internal system bus causes a new access, the state machine will execute an ACT command. Then the SA-1110 executes one READ command for each single or burst access. For burst-of-N transfers, (N-1) NOP commands follow the READ. Finally, a STOP command terminates all transfers smaller than burst-of-eight. Figure 10-18 shows a timing diagram of an SMROM transaction.

Page 176 of the Intel SA-1110 user manual — MRS
Page 176 · click to enlarge
Page 176

Memory and PC-Card Control Module

Figure 10-17. SMROM State Machine

PWRDN

Reset (Hardware or Sleep)

!Enter_Sleep && !New_Enable && New_Access

MRS

ACT

NOP

A6642-01

Show 14 more labels / short text on this page
Enter_Sleep || Auto_Power_Down · Auto_Power_Up · Power-down · Power-down PWRDNX · and Clock-stop · Auto_Power_Up · Enter_Sleep || Auto_Power_Down · Idle · !Enter_Sleep && New_Enable · !Burst READ STOP · Burst · Burst_Done && !Burst_of_8 · Burst_Done && Burst_of_8 · !Burst_Done
Page 177 of the Intel SA-1110 user manual — 10.7 PC-Card Overview
Page 177 · click to enlarge
Page 177

Memory and PC-Card Control Module

Figure 10-18. SMROM Eight-Beat and Two-Beat Timing for 2 M x 16 Bit Organization

(32 Mbit) at Half-Memory Clock Frequency (MDREFR:K0DB2=1)

Intel SA-1110 — (32 Mbit) at Half-Memory Clock Frequency (MDREFR:K0DB2=1) diagram (page 177)
Fig. 48 · (32 Mbit) at Half-Memory Clock Frequency (MDREFR:K0D…

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Contents of SMROM/DRAM register fields: RL=2 cycle SMCNFG:CLO=4 (CL=5 cycle) MDCAS00=0101 0111 1111(binary) SMCNFG:RA0=4 MDCAS01=0101(binary)

10.7 PC-Card Overview

The SA-1110 PC-Card interface provides controls for one PC-Card card slot with a PSKTSEL pin for support of a second slot. This 16-bit host interface supports 8- and 16-bit peripherals and handles common memory, I/O, and attribute memory accesses. The interface does not support the PC-Card DMA protocol. The duration of each access is based on an internally generated clock that is programmed per address space by fields within the MECR register. Figure 10-19 shows the memory map for the PC-Card space.

Page 178 of the Intel SA-1110 user manual — A6645-01
Page 178 · click to enlarge
Page 178

Memory and PC-Card Control Module

Figure 10-19. PC-Card Memory Map

Socket 1 Memory Space

Socket 1 Attribute Space

Socket 1 I/O Space

Socket 0 Memory Space

Socket 0 Attribute Space

Socket 0 I/O Space

A6645-01

The PC-Card memory space is divided into eight partitions, four for each card slot. The four partitions for each card slot are common memory, I/O, attribute memory, and a reserved space. Each partition starts on a 64 Mbyte boundary. Pins A[25:0], nPREG, and PSKTSEL are driven at the same time. nPCE1 and nPCE2 are driven at address time for memory and attribute accesses. For I/O accesses, the value of nPCE1 and nPCE2 depends on the value of nIOIS16 and thus will be valid a finite time after nIOIS16 is valid.

Common memory and attribute accesses assert the nPOE or nPWE control signals. Memory and attribute space is 16 bits wide by definition.

I/O accesses assert the nIOR or nIOW control signals and use the nIOIS16 input signal to deter- mine the bus width of the transfer (8 or 16 bits). Transfers always start assuming a 16-bit bus. After the address has been placed on the bus, an I/O device may respond by asserting nIOIS16 to indicate that it can perform the transfer in a single 16-bit transfer. If nIOIS16 is not asserted within the proper timeframe, the address is assumed to be to two 8-bit registers and the transfer is completed as two consecutive 8-bit transfers on the low byte lane, D[7:0], with:

1. nPCE2 deasserted, 2) nPCE1 asserted, 3) A0 = 0 for the first 8-bit transfer, and 4) A0 = 1 for the second 8-bit transfer.
Show 10 more labels / short text on this page
0h3C00 0000 · 0h3800 0000 · Reserved · 0h3400 0000 · 0h3000 0000 · 0h2C00 0000 · 0h2800 0000 · Reserved · 0h2400 0000 · 0h2000 0000
Page 179 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 179 · click to enlarge
Page 179

Memory and PC-Card Control Module

10.7.1 8-, 16-, and 32-Bit Data Bus Operation

The SA-1110 PC-Card interface supports only the 8- and 16-bit data bus operation outlined in the PC-Card specification; the 32-bit operation supported by the SA-1110 is outside the scope of the 32-bit operation described in the PC-Card specification. The SA-1110 PC-Card interface’s 32-bit operating mode is intended for use as a nonstandard expansion bus for communication with customer-designed logic. The operation is fairly simple; if a word read or write is performed to PC-Card memory space, then the entire 32-bit bus is read or written.

Normal PC-Card operations should be performed using byte or half-word accesses only. 32-bit accesses should be word aligned and only to "16-bit" space, as opposed to 8-bit space. Memory and attribute space is 16 bits by definition. However, I/O space may be 8- or 16-bit depending upon the state of the nIOIS16 input pin. 32-bit accesses to I/O space require the target to assert nIOIS16.

For 32-bit accesses, the only size information present on the bus is the assertion of the nPCE1 and nPCE2 pins. This is the same information that is present during half-word accesses. As such, there is no way to determine by monitoring the SA-1110 pins whether the access is a half-word or word. This information can be derived only though a user-defined address decode external to the SA-1110. The following table shows the operation of the PC-Card interface and its relation to data width.

Width 1 = 16 Bit 0 = 8 Bit

Address [1:0] Resulting Operation

Word 1 00 Word read or write, nPCE1 and nPCE2 asserted (low). nIOIS16 must be asserted for I/O space.

1x Undefined operation.

x1 Undefined operation.

0 xx Undefined operation.

Half-word 1 x0 (even) Single half-word access, nPCE1 and nPCE2 asserted (low). nIOIS16 must be asserted for I/O space.

x1 (odd) Undefined operation.

0 x0 (even) Two-byte accesses, both on the lower byte lane. Even access first (nPCE1 asserted and nPCE2 deasserted for both).

x1 (odd) Undefined operation.

Byte 1 x0 (even) Load or store byte on the lower byte lane (nPCE1 asserted, nPCE2 deasserted).

x1 (odd) Load or store byte on the upper byte lane (nPCE1 deasserted, nPCE2 asserted).

0 xx (even or odd) Load or store byte on the low byte lane (nPCE2 deasserted and nPCE1 asserted).

Data Bus · Access Type

Page 180 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 180 · click to enlarge
Page 180

Memory and PC-Card Control Module

10.7.2 External Logic for PC-Card Implementation

The SA-1110 requires external logic to complete the PC-Card socket interface. Figure 10-20 and Figure 10-21 show general solutions for a two– and one–socket configuration. GPIO or memory-mapped external registers are used to control the PC-Card interface’s reset, power selection (VCC and VPP), and driver enable lines. For dual–voltage support, level shifting buffers are required for all SA-1110 input signals. Each figure shows the logical connections necessary to support hot insertion capability. Hot insertion capability requires the sockets to be electrically isolated from each other and from the remainder of the memory system.

The pull-ups shown are included for compliance with PC Card Standard - Volume 2 - Electrical Specification. For low-power systems, it is recommended to remove power from these pull-ups during sleep to avoid unnecessary power consumption. The CD1# and CD2# signals have been “OR’ed” before being provided to the SA-1110. This signal is then routed into a GPIO pin for interrupt capability. Similarly, RDY/BSY# is routed to a GPIO pin. The INPACK# signal is not used. In the data bus transceiver control logic, it is recommended that nPCE1 control the enable for the low byte lane and nPCE2 control the enable for the high byte lane.

Page 181 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 181 · click to enlarge
Page 181

Memory and PC-Card Control Module

Figure 10-20. PC-Card External Logic for a Two-Socket Configuration

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 181)
Fig. 49 · Memory and PC-Card Control Module
Page 182 of the Intel SA-1110 user manual — A6660-01
Page 182 · click to enlarge
Page 182

Memory and PC-Card Control Module

Figure 10-21. PC-Card External Logic for a One-Socket Configuration

Intel ® StrongARM ®*

SA-1110

Socket 0

D(15:0)

D(15:0)

DIR OE#

CD1# CD2#

RDY/BSY#

PSKTSEL

NC

A(25:0) nPREG

A(25:0) REG#

nPCE(1:2)

CE(1:2)# OE# WE# IOR# IOW#

WAIT#

IOIS16#

A6660-01

Show 10 more labels / short text on this page
nPOE · nPIOR · nPCEx · GPIO(y) · GPIO(z) · nPOE, · nPWE nPIOW, · nPIOR · nPWAIT · nPIOIS16
Page 183 of the Intel SA-1110 user manual — Figure 10-22. PC-Card Memory or I/O 16-Bit Access
Page 183 · click to enlarge
Page 183

Memory and PC-Card Control Module

10.7.3 PC-Card Interface Timing Diagrams and Parameters

Figure 10-22 shows a 16-bit access to a 16-bit memory or I/O device. The parameter, BS, is programmed in the MECR register. When common memory is accessed, the MECR:BSM0 or MECR:BSM1 field is used, depending on whether card socket 0 or 1 is addressed. MECR:BSIO0,1 is used for I/O accesses and MECR:BSA0,1 is used for access to attribute memory. Figure 10-23 and Figure 10-24 show the appropriate setting of BS_xx = 0b00001.

Figure 10-22. PC-Card Memory or I/O 16-Bit Access

Intel SA-1110 — Figure 10-22. PC-Card Memory or I/O 16-Bit Access diagram (page 183)
Fig. 50 · Figure 10-22. PC-Card Memory or I/O 16-Bit Access
Page 184 of the Intel SA-1110 user manual — 3*(BS_xx+1) + 1 half-word or first byte FAST=0
Page 184 · click to enlarge
Page 184

Memory and PC-Card Control Module

Figure 10-23. PC-Card I/O 16-Bit Access to 8-Bit Device

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 184)
Fig. 51 · Memory and PC-Card Control Module

* Contents of PC Card register fields: MECR:BS_xxn=1 MECR:FASTn=0

Timing parameters are in memory clock cycle units. All are minimums except as noted:

Address access time:

6*(BS_xx+1) + 1 half-word or first byte FAST=0 5*(BS_xx+1) second byte FAST=0 4*(BS_xx+1) + 1 half-word or first byte FAST=1 4*(BS_xx+1) second byte FAST=1 Command (nPOE, nPWE, nPIOR, nPIOW) assertion time: 3*(BS_xx+1) Address setup to command assert:

3*(BS_xx+1) + 1 half-word or first byte FAST=0

Page 185 of the Intel SA-1110 user manual — — SA-1110 asserts SDCKE 1 at time (t + 4*Tmem)
Page 185 · click to enlarge
Page 185

Memory and PC-Card Control Module

2*(BS_xx+1) second byte FAST=0 1*(BS_xx+1) + 1 half-word or first byte FAST=1 1*(BS_xx+1) second byte FAST=1 Address hold after command deassertion: BS_xx+1 nPWAIT valid after command assertion (max): 2*(BS_xx+1) - 2 Chip enable (nPCE1,2) setup to nPOE, nPWE assert:

3*(BS_xx+1) + 1 FAST=0 1*(BS_xx+1) + 1 FAST=1 Chip enable (nPCE1,2) setup to nPIOR, nPIOW assert:

3*(BS_xx+1) + 1 - (nIOIS16 delay from address) half-word or first byte FAST=0 2*(BS_xx+1) - (nIOIS16 delay from address) second byte FAST=0 1*(BS_xx+1) + 1 - (nIOIS16 delay from address) half-word or first byte FAST=1 1*(BS_xx+1) - (nIOIS16 delay from address) second byte FAST=1 Chip enabled hold from command deassert: BS_xx+1

See Chapter 13, “AC Parameters” for actual AC timing.

10.8 Alternate Memory Bus Master Mode

The SA-1110 supports the existence of an alternate master on the DRAM memory bus. The alternate master is given control of the bus using a hardware handshake. This handshake is performed through MBREQ and MBGNT, which are invoked through the alternate functions on GPIO 22 and GPIO 21, respectively. When the alternate master wants to take control of the memory bus, it asserts MBREQ (GPIO 22). The SA-1110 will complete any pending or in-progress memory operation and any outstanding DRAM refresh cycle. It then deasserts SDCKE 1 and tristates all memory bus pins used with DRAM bank 0 (nRAS/nSDCS 0, A[25:0], nOE, nWE, nSDRAS, nSDCAS, SDCLK 1, D[31:0], nCAS/DQM[3:0]). All other memory and PC-Card pins remain driven, including SDCLK 2 is driven to 0, SDCLK 0 is driven to 0, and SDCKE 0 is driven to 1. The RD/nWR pin will remain low. Then the SA-1110 will assert MBGNT (GPIO 21), the alternate master should start driving all pins (including SDCLK 1), and the SA-1110 will re-assert SDCKE 1. The grant sequence and timing are as follows; the Tmem unit of time is the memory clock period (twice the CPU clock period):

— Alternate master asserts MBREQ

— SA-1110 deasserts SDCKE 1 at time (t)

— SA-1110 begins to tristate DRAM outputs at time (t + 1*Tmem)

— SA-1110 asserts MBGNT at time (t + 2*Tmem)

— Alternate master begins to drive DRAM outputs prior to time (t + 3*Tmem)

— SA-1110 asserts SDCKE 1 at time (t + 4*Tmem)

During the tristate period, both MBREQ and MBGNT remain high and an external device may take control of the tristated pins. The external device should drive all the tristated pins even if some are not actually used. Otherwise, floating inputs may cause excessive crossover current and/or erroneous SDRAM commands. Note that during the tristate period, the SA-1110 is unable to perform DRAM refresh cycles. The alternate master must assume the responsibility for DRAM integrity during this period. It is recommended that the system be designed such that the period of alternate mastership is limited to much less than the refresh period, or that the alternate master implement a refresh counter making it capable of performing refresh at the proper intervals.

Page 186 of the Intel SA-1110 user manual — 10.9 Memory System Examples
Page 186 · click to enlarge
Page 186

Memory and PC-Card Control Module

To relinquish the bus, the alternate master deasserts MBREQ. The SA-1110 deasserts SDCKE 1 and deasserts MBGNT, the alternate master stops driving all the DRAM pins (including SDCLK 1), the SA-1110 resumes driving all DRAM pins (including SDCLK 1), and the SA-1110 re-asserts SDCKE 1. The release sequence and timing are as follows:

— Alternate master deasserts MBREQ

— SA-1110 deasserts SDCKE 1 at time (t)

— SA-1110 deasserts MBGNT at time (t + 1*Tmem)

— Alternate master tristates DRAM outputs prior to time (t + 2*Tmem)

— SA-1110 begins to drive DRAM outputs at time (t + 3*Tmem)

— SA-1110 asserts SDCKE 1 at time (t + 4*Tmem)

If the refresh counter inside the SA-1110 requested a refresh cycle during the alternate master tenure, then that refresh cycle is run first, followed by any other bus transactions that stalled during that period.

This mode is set up by writing registers as follows:

  • Write the GPIO pin direction register (GPDR) at physical address 0x9004 0004 to set bit 21 (make GPIO 21 an output) and clear bit 22 (make GPIO 22 an input).
  • Write the GPIO alternate function register (GAFR) at physical address 0x9004 001C to set bits 21 (enable the MBGNT alternate output function) and 22 (enable the MBREQ alternate input function).
  • Write the test unit control register (TUCR) at physical address 0x9003 0008 to set bit 10 (enable the memory request mode).

10.9 Memory System Examples

This section gives examples of memory systems that are possible with the SA-1110. Figure 10-24 shows a system using 1M x 16 DRAMs for a total of 16 Mbytes of DRAM. Two banks of ROM and two banks of Flash memory are shown. Each on a 32-bit wide data bus. The PC-Card interface is not shown.

Page 187 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 187 · click to enlarge
Page 187

Memory and PC-Card Control Module

Figure 10-24. DRAM System Example

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 187)
Fig. 52 · Memory and PC-Card Control Module

DRAM Bank 0 DRAM Bank 1 DRAM Bank 3 DRAM Bank 2

ROM Bank 0 ROM Bank 1 Flash Bank 1 Flash Bank 0

Page 188 of the Intel SA-1110 user manual — Figure 10-25. SDRAM System Example
Page 188 · click to enlarge
Page 188

Memory and PC-Card Control Module

Figure 10-25 shows a system using 4M x 16-bit SDRAM devices for a total of 48 Mbytes. See Section 10.3.1 and Table 10-8 for descriptions of SDRAM address pin connections.

Figure 10-25. SDRAM System Example

A23/DRA13-A10/DRA0

CS#

CS#

CS#

RAS#

RAS#

RAS#

CAS#

CAS#

CAS#

CLK

CLK

CLK

CKE

CKE

CKE

WE#

WE#

WE#

A13-0

A13-0

A13-0

DQMH

DQMH

DQMH

DQML

DQML

DQML

DQ15-0

DQ15-0

DQ15-0

D31-0 D31-16

CS#

CS#

CS#

RAS#

RAS#

RAS#

CAS#

CAS#

CAS#

CLK

CLK

CLK

CKE

CKE

CKE

WE#

WE#

WE#

A13-0

A13-0

A13-0

DQMH

DQMH

DQMH

DQML

DQML

DQML

DQ15-0

DQ15-0

DQ15-0

D15-0

A6631-01

Show 9 more labels / short text on this page
nSDRAS,nSDCAS,SDCLK2-1,SDCKE1,nWE · nRAS/nSDCS2-0 · 4Mx16 SDRAM · 4Mx16 SDRAM · 4Mx16 SDRAM · nCAS/DQM3-0 · 4Mx16 SDRAM · 4Mx16 SDRAM · 4Mx16 SDRAM
Page 189 of the Intel SA-1110 user manual — Figure 10-26. SMROM System Example
Page 189 · click to enlarge
Page 189

Memory and PC-Card Control Module

Figure 10-26 shows a system using 2M x 16 SMROM devices. See Section 10.4 and Table 10-8 for descriptions of SMROM address pin connections.

Figure 10-26. SMROM System Example

A22/DRA12-A10/DRA0

CS#

CS#

CS#

RAS#

RAS#

RAS#

CAS#

CAS#

CAS#

CLK

CLK

CLK

CKE

CKE

CKE

MR#

MR#

MR#

A12-0

A12-0

A12-0

DQM

DQM

DQM

DQ15-0

DQ15-0

DQ15-0

D31-0 D31-16

CS#

CS#

CS#

RAS#

RAS#

RAS#

CAS#

CAS#

CAS#

CLK

CLK

CLK

CKE

CKE

CKE

MR#

MR#

MR#

A12-0

A12-0

A12-0

DQM

DQM

DQM

DQ15-0

DQ15-0

DQ15-0

D15-0

A6632-01

Show 9 more labels / short text on this page
nSDRAS,nSDCAS,SDCLK0,SDCKE0,nWE · nCS2-0 · 2Mx16 SMROM · 2Mx16 SMROM · 2Mx16 SMROM · nOE · 2Mx16 SMROM · 2Mx16 SMROM · 2Mx16 SMROM
Page 190 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 190 · click to enlarge
Page 190

Memory and PC-Card Control Module

10.10 SA1110 Memory Configuration Tool

The screen shots on the following pages show the online memory configuration tool. The tool can be used to help the user configure the SA-1110 with their choice of memory. The tool is located at: http://appzone.intel.com/hcd/sa1110/memory

Page 191 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 191 · click to enlarge
Page 191

Memory and PC-Card Control Module

Figure 10-27. Memory Configuration Tool - page 1

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 191)
Fig. 53 · Memory and PC-Card Control Module
Page 192 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 192 · click to enlarge
Page 192

Memory and PC-Card Control Module

Figure 10-28. Memory Configuration Tool - page 1, continued

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 192)
Fig. 54 · Memory and PC-Card Control Module
Page 193 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 193 · click to enlarge
Page 193

Memory and PC-Card Control Module

Figure 10-29. Memory Configuration Tool - page 2

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 193)
Fig. 55 · Memory and PC-Card Control Module
Page 194 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 194 · click to enlarge
Page 194

Memory and PC-Card Control Module

Figure 10-30. Memory Configuration Tool - page 3

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 194)
Fig. 56 · Memory and PC-Card Control Module
Page 195 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 195 · click to enlarge
Page 195

Memory and PC-Card Control Module

Figure 10-31. Memory Configuration Tool - page 4

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 195)
Fig. 57 · Memory and PC-Card Control Module
Page 196 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 196 · click to enlarge
Page 196

Memory and PC-Card Control Module

Figure 10-32. Memory Configuration Tool - page 5

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 196)
Fig. 58 · Memory and PC-Card Control Module
Page 197 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 197 · click to enlarge
Page 197

Memory and PC-Card Control Module

Figure 10-33. Memory Configuration Tool - page 5, continued

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 197)
Fig. 59 · Memory and PC-Card Control Module
Page 198 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 198 · click to enlarge
Page 198

Memory and PC-Card Control Module

Figure 10-34. Memory Configuration Tool - page 6

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 198)
Fig. 60 · Memory and PC-Card Control Module
Page 199 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 199 · click to enlarge
Page 199

Memory and PC-Card Control Module

Figure 10-35. Memory Configuration Tool - page 6, continued

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 199)
Fig. 61 · Memory and PC-Card Control Module
Page 200 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 200 · click to enlarge
Page 200

Memory and PC-Card Control Module

Figure 10-36. Memory Configuration Tool - page 7

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 200)
Fig. 62 · Memory and PC-Card Control Module
Page 201 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 201 · click to enlarge
Page 201

Memory and PC-Card Control Module

Figure 10-37. Memory Configuration Tool - page 8

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 201)
Fig. 63 · Memory and PC-Card Control Module
Page 202 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 202 · click to enlarge
Page 202

Memory and PC-Card Control Module

Figure 10-38. Memory Configuration Tool - page 8, continued

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 202)
Fig. 64 · Memory and PC-Card Control Module
Page 203 of the Intel SA-1110 user manual — Memory and PC-Card Control Module
Page 203 · click to enlarge
Page 203

Memory and PC-Card Control Module

Figure 10-39. Memory Configuration Tool - page 8, continued

Intel SA-1110 — Memory and PC-Card Control Module diagram (page 203)
Fig. 65 · Memory and PC-Card Control Module
Page 204 of the Intel SA-1110 user manual — 10.10 SA1110 Memory Configuration Tool
Page 204 · click to enlarge
Page 204
Page 204 of the Intel SA-1110 user manual — 10.10 SA1110 Memory Configuration Tool
Page 205 of the Intel SA-1110 user manual — 11.1 Read/Write Interface
Page 205 · click to enlarge
Page 205

This chapter describes the peripheral control units that are integrated within the Intel®

StrongARM* SA-1110 Microprocessor (SA-1110) and the DMA controller that services them. The peripheral units include one parallel data port to drive an LCD display, one synchronous serial port, and four asynchronous serial ports that implement different serial protocol standards. Each section includes a description of the unit’s operation and the control, data, and status registers used to configure the unit. The DMA controller acts as the gateway to the peripheral units. It provides DMA access to these units and control and address decode for programmed I/O accesses between the processor and registers inside the units. Note that the LCD controller contains its own high bandwidth DMA controller that is connected to the ARM*system bus and is used to read pixel and palette information from the off-chip frame buffer.

11.1 Read/Write Interface

The ARM system bus, shown in Figure 11-1, is a high-performance synchronous bus that connects the peripheral control module to the SA-1110 CPU and to the external memory controller. The DMA connects the ARM system bus to the ARM peripheral bus. The ARM peripheral bus implements a standard asynchronous protocol that is used by all peripherals designed for ARM chips. This standard allows a single library of peripherals to be developed for the entire ARM family of CPUs, providing a means to quickly spin off new chip implementations that contain different peripheral mixes for target applications. Note that the LCD controller interfaces to the ARM system bus because its throughput requirement is much higher than that of any other serial peripheral. Placing the LCD on the ARM system bus allows faster synchronous transfers to be made between the external frame buffer and the LCD controller. Additionally, the LCD controller contains its own dual-channel DMA controller to supply frame buffer data to the unit.

Although the ARM peripheral bus supports 32 bits of data, the register size (width) implemented for each peripheral is equal to the maximum data size that must be coherently read or written by the CPU and DMA. This minimizes the size of the peripheral while providing the necessary memory throughput for the unit. Although the peripherals’ register sizes vary, the ARM peripheral bus does not support byte or half-word accesses. Only word accesses are allowed. Table 11-1 shows the register width, DMA port size, and DMA burst size of each of the six peripherals (and the PPC) implemented on the SA-1110.

Page 206 of the Intel SA-1110 user manual — 11.2 Memory Organization
Page 206 · click to enlarge
Page 206

Figure 11-1. Peripheral Control Module Block Diagram

Intel SA-1110 — Figure 11-1. Peripheral Control Module Block Diagram diagram (page 206)
Fig. 66 · Figure 11-1. Peripheral Control Module Block Diagram

Table 11-1. Peripheral Control Modules’ Register Width and DMA Port Size

Intel SA-1110 — Table 11-1. Peripheral Control Modules’ Register Width and DMA Port Size diagram (page 206)
Fig. 67 · Table 11-1. Peripheral Control Modules’ Register Wid…

11.2 Memory Organization

Several of the serial ports contain more than one serial engine. Each individual engine is self-contained (no shared logic or registers) and implements a separate serial protocol. Serial ports 1, 2, and 4 each contain two separate serial engines, totalling eight separate serial engines within all five serial ports. Each of the eight serial engines, including the peripheral pin controller (PPC), has been allocated a separate 64 Kbyte block on-chip memory space in which its registers reside. Although the register width of individual units varies, each register is right justified on word boundaries. All register accesses via the CPU must be performed using word reads and writes. This chapter includes a summary of individual peripheral registers. See Appendix A, “Register Summary,” for a complete summary of all on-chip registers.

Page 207 of the Intel SA-1110 user manual — SSP 19
Page 207 · click to enlarge
Page 207

Table 11-2 shows the base address for each of the peripheral control units.

Table 11-2. Peripheral Unit Base Addresses

Peripheral Serial Protocol Base Address

LCD Controller 0h B010 0000

Serial Port 0 USB 0h 8000 0000

UART 0h 8001 0000

GPCLK 0h 8002 0000

UART 0h 8003 0000

(ICP)

HSSP 0h 8004 0000

Serial Port 3 UART 0h 8005 0000

MPC 0h 8006 0000

SSP 0h 8007 0000

Peripheral Pin Controller (PPC)1 0h 9006 0000

1 The PPC does not support DMA requests.

11.3 Interrupts

Each peripheral unit interfaces to the interrupt controller within the system control module. The interrupt controller contains a 32-bit interrupt pending register, which when read, informs the user of all the units on the SA-1110 that are currently generating an unmasked interrupt. Once the user determines which unit is causing the interrupt, the unit’s status registers can be read to determine the exact cause of the interrupt. This mechanism provides a two-level approach to identify the source of any interrupt from the hundreds of possible interrupt sources that exist on the SA-1110.

Each of the peripheral units generate either one or two interrupts that correspond to specific interrupt pending bits within the interrupt controller. Serial port 1 contains one serial engine and one logic engine. Serial port 4 contains two independent serial engines. Although each peripheral uses only one set of pins for serial communication, the user may choose to use both logic blocks within serial ports 1 and 4 by assigning one of the two protocols to communicate off-chip by taking control of GPIO pins. Because the two logic blocks within serial ports 1 and 4 can operate at the same time, these two units are assigned two separate interrupt request numbers within the interrupt controller's pending register, except for serial port 1's GPCLK unit which does not generate an interrupt request. units.Table 11-3 shows the interrupt level for each of the peripheral control units.

Table 11-3. Peripheral Unit Interrupt Numbers

Serial port 0USB 13
Serial port 1UART 15
Serial port 2ICP 16
Serial port 3UART 17

MCP 18

Serial port 4:

SSP 19

Show 7 more labels / short text on this page
Serial Port 1 · Serial Port 2 · Serial Port 4 · Interrupt · Peripheral · Number · LCD controller 12
Page 208 of the Intel SA-1110 user manual — Table 11-4. Dedicated Peripheral Pins
Page 208 · click to enlarge
Page 208

11.4 Peripheral Pins

Each peripheral has a number of dedicated pins with which to communicate to off-chip devices. The six peripherals of the SA-1110 use a total of 24 pins: the LCD uses twelve pins; serial port 4 four pins; and serial port 0 through 3 each use two pins. Many applications may not require the use of all six of the SA-1110’s peripherals. To provide maximum flexibility, the pins associated with any unused peripheral (except serial port 0) can be used as general-purpose digital input/output pins that are noninterruptible. When a peripheral is disabled, the peripheral pin controller (PPC) automatically takes control of the peripheral’s pin direction and pin state. A user can sample input pin state by reading the PPC pin state register (PPSR) and control the state of an output pin by writing to it. Pin direction is established by configuring the PPC pin direction register (PPDR). Table 11-4 shows a list of the pins associated with the peripheral units.

Table 11-4. Dedicated Peripheral Pins

Peripheral GPIO Pin Function

L_LCLK Line clock/horizontal sync pulse

L_FCLK Frame clock/vertical sync pulse

L_BIAS A/C bias signal

LDD[7:0] Pixel data

UDC+ Positive differential receiver

Serial port 0USB

TXD_1 Serial transmit data

Serial port 1UART

RXD_1 Serial receive data

TXD_2 Serial transmit data

Serial port 2ICP

RXD_2 Serial receive data

TXD_3 Serial transmit data

Serial port 3UART

RXD_3 Serial receive data

TXD_C Serial transmit data

RXD_C Serial receive data

Serial port 4MPC/SSP

SFRM_C Serial frame clock

Show 4 more labels / short text on this page
L_PCLK Pixel clock · LCD Controller · UDC- Negative differential receiver · SCLK_C Serial clock
Page 209 of the Intel SA-1110 user manual — MPC/SSP
Page 209 · click to enlarge
Page 209

11.5 Use of the GPIO Pins for Alternate Functions

Each of the SA-1110’s six peripheral units has a number of dedicated pins that can be used to drive an LCD display, communicate serially with off-chip devices, or be used as general-purpose digital input/output pins. Each of the peripherals, except serial port 0 and 2, also has programming options that allow the unit to take over control of one or more GPIO pins from the system control module to be used for various special functions. Several control bits must be programmed to enable GPIO use by peripheral units. First, the user must enable the special function either within the peripheral unit or within the peripheral pin controller (PPC). Second, the user must enable the GPIO pin to communicate to the peripheral and select the pin’s direction by programming the GPIO alternate function register (GAFR) and GPIO pin direction register (GPDR), respectively. See Section 9.1, “General-Purpose I/O” on page 9-73 for a description of these GPIO registers. Table 11-5 shows the GPIO pins that can be used for alternate peripheral pin functions.

Table 11-5. Peripheral Unit GPIO Pin Assignment

Peripheral GPIO Pin Function

GPIO 2 LDD 8 pin for dual-panel color mode.

GPIO 3 LDD 9 pin for dual-panel color mode.

GPIO 4 LDD 10 pin for dual-panel color mode.

GPIO 5 LDD 11 pin for dual-panel color mode.

GPIO 6 LDD 12 pin for dual-panel color mode.

GPIO 7 LDD 13 pin for dual-panel color mode.

GPIO 8 LDD 14 pin for dual-panel color mode.

GPIO 9 LDD 15 pin for dual-panel color mode.

Serial port 0: USB N/A None.

GPIO 14 Transmit pin for UART when GPCLK and UART are both needed.

GPIO 15 Receive pin for UART when GPCLK and UART are both needed.

Serial port 1UART

GPIO 16 Clock output for GPCLK.

GPIO 18 Sample clock input to UART.

Serial port 2: ICP N/A None.

Serial port 3: UART GPIO 20 Sample clock input to UART.

GPIO 10 Transmit pin for SSP when MCP and SSP both needed.

GPIO 11 Receive pin for SSP when MCP and SSP both needed.

GPIO 12 Serial clock pin for SSP when MCP and SSP both needed.

Serial port 4:

GPIO 13 Serial frame clock pin for SSP when MCP and SSP both needed.

MPC/SSP

GPIO 19 Clock input pin for SSP to drive the frame and sample rates when other than nonmultiple of 3.6864 MHz needed.

GPIO 21 Clock input pin for MCP to drive the frame and sample rates when other than 12 Mbps needed.

LCD Controller · GPIO 17 Reserved

Page 210 of the Intel SA-1110 user manual — 11.6 DMA Controller
Page 210 · click to enlarge
Page 210

11.6 DMA Controller

The DMA controller consists of six independent DMA channels. Each channel can be configured to service any of the serial controllers. Two channels are required to service a full-duplex serial controller. The DMA controller is intended to relieve the processor of the interrupt overhead in servicing these ports with programmed I/O. If desired, any or all peripherals may be serviced with programmed I/O instead of DMA. Each peripheral is capable of requesting processor service through its own interrupt lines or through a DMA request.

The DMA controller consists of a set of configuration and control registers for each channel and a common data transfer engine which services the active channel. Channels are serviced in a fixed priority sequence if the DMA receives multiple requests. Each channel is serviced in increments of that device’s burst size and delivered in the granularity of that device’s port width (byte or half-word). The burst size and port width for each device is programmed in the channel registers and is based on the device’s FIFO depth and bandwidth needs. When multiple channels are actively executing, each channel is serviced with a burst of data after which the DMA controller may perform a context switch to another active channel. The DMA controller performs context switches based on whether a channel is active, whether its target device is currently requesting service (the FIFO is half-empty), and where that channel lies in the priority scheme. Channels are serviced in a fixed priority with channel 0 being the highest and channel 5 being the lowest. A context switch may occur when a channel completes a command or when a particular burst (portion of a transfer) has been completed. For example, if the FIFO in a particular transmit serial controller is full and cannot accept more data, that channel may be switched out of the active context in favor of another channel which is requesting service. An active channel may actually go idle many times as the device is serviced.

Data transfers are performed between a device (one of the serial controllers) and memory (ROM, RAM, Flash, SRAM, or DRAM). DMA transfers to and from PCMCIA space are not permitted. DMA write transfer attempts to ROM and Flash memory are not prevented by the DMA controller but will not complete successfully due to the read-only characteristics of ROM and the DMA controller not supporting specific write control sequences required by Flash memory technologies, respectively. During a peripheral write, a burst of data is read from memory as words into a transfer buffer inside the DMA controller. The data from the transfer buffer is then written to the device according to the device’s port width and the state of the endian bit (E) in the DMA device address register (DDARn). During a peripheral read, data is read from the device according to the device’s port width, the data is accumulated in a transfer buffer inside the DMA controller, and then the transfer buffer’s contents are sent to memory as words. The order of the bytes inside that word is determined again by the endian bit (E).

The control registers for each channel include two starting address registers and two transfer count registers. These registers must be programmed by the system at the start of the transfer. The registers control two rotating buffers for use during a transfer; these buffers, designated buffer A and buffer B, are actually user defined independent regions of memory which contain the source data to be written to a device for a DMA write transfer or these two buffers are the target region of memory where data read from a device are stored from a DMA read transfer operation. Buffer A and buffer B can be chained together so that when a transfer to (or from) one buffer completes, the transfer to (or from) the other begins immediately. By interrogating the status information in the channel control/status register, the user can safely update the address pointer and transfer count of the inactive buffer.

Page 211 of the Intel SA-1110 user manual — 3 DW
Page 211 · click to enlarge
Page 211

11.6.1 DMA Register Definitions

Each DMA channel is supported by six 32-bit registers as part of the DMA controller hardware. These registers are the DMA device address register (DDARn), DMA control/status register (DCSRn), DMA buffer A start address (DBSAn), DMA buffer B start address (DBSBn), DMA buffer A transfer count (DBTAn), and DMA buffer B transfer count (DBTBn). (The n is a value from 0 to 5 and is the channel number.) A register summary including physical addresses is provided in Section 11.6.2.

11.6.1.1 DMA Device Address Register (DDARn)

The DDARn is a 32-bit read/write register containing channel information regarding the target device. Writes to this register are blocked if the RUN bit in the DCSRn is one. The following figure shows the format for this register. Question marks indicate the values are unknown at reset. Valid values for DDARn are shown in Table 11-6.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

DA 31

DA 30

DA 29

DA 28

DA 27

DA 26

DA 25

DA 24

DA 23

DA 22

DA 21

DA 20

DA 19

DA 18

DA 17

DA 16

DA 15

DA 14

DA 13

DA 12

DA 11

DA 10

DA 9

DA 8

DS 3

DS 2

DS 1

DS 0

DW

BS

E

RW

Reset ?

Device data transfer direction (read/write).

0 RW

0 = Transfer is a write (memory to device).

1 = Transfer is a read (device to memory).

Device endianess.

1 E

0 = Byte ordering is little endian.

1 = Byte ordering is big endian.

Device burst size.

2 BS

0 = Four datums per burst.

1 = Eight datums per burst.

Device datum width.

3 DW

0 = Datum size is one byte.

1 = Datum size is one half-word.

7..4 DS 3..0 Device select.

This field is programmed to point to the desired device.

31..8 DA 31..8 Device address field.

This field is a partial address of the data port of the device currently being serviced. 1

1 “Partial” means certain bits in the address are assumed to be zero. The DA [31:8] field is constructed as follows:

DA[31:28] = Device port address [31:28].

Device port address 27:22 is assumed to be zero.

DA[27:8] = Device port address [21:2].

Device port address 1:0 is assumed to be zero.

DDARn Read/Write · Bits Name Description

Page 212 of the Intel SA-1110 user manual — A6893-01
Page 212 · click to enlarge
Page 212

The value written to the device select (DS[3:0]) field specifies which serial controller device is serviced by the DMA channel.

The device datum width (DW) field value is fixed for each device type and indicates whether the device’s data port is one or two bytes wide. If the datum width is programmed incorrectly for a particular device select, then the results are unpredictable.

The device burst size (BS) field value is fixed for each device type. It indicates how many (four or eight) beats of the datum width are transferred each time the device requests service. This value is chosen based on the FIFO size of the particular device. If the burst size is programmed incorrectly for a particular device select, then the results are unpredictable.

The device endianess (E) field value indicates the byte ordering within a word when data is read from or written to memory. If the E bit is zero, then memory is assumed to be little endian. If the bit is one, then memory is assumed to be big endian. Figure 11-2 shows big and little endian DMA transfers.

Figure 11-2. Big and Little Endian DMA Transfers

Big Endian DMA Transfers

Little Endian DMA Transfers

D<31>

D<0>

D<31>

D<0>

3 2 1 0

3 2 1 0

To From From To

To From From To

A6893-01

The device data transfer direction (RW) field indicates the direction of the transfer. A zero indicates the transfer is a write (with respect to the device) and the flow of data will be from memory to the device. If the RW field is programmed to a one, then the transfer is a read and the flow of data will

Show 12 more labels / short text on this page
from memory · from memory · DMA Controller · DMA Controller · Half-word wide · Byte-wide · Half-word wide · Byte-wide · Device · Device · Device · Device
Page 213 of the Intel SA-1110 user manual — 11.6.1.2 DMA Control/Status Register (DCSRn)
Page 213 · click to enlarge
Page 213

be from the device to memory. The transfer direction is fixed for each device type. If the device data transfer direction is programmed incorrectly for a particular device select, then the results are unpredictable.

Table 11-6. Valid Settings for the DDARn Register

Unit Name Function Device Address

DA[31:8] DS[3:0] DW BS E RW

UDC transmit 0x 8000 0028 0x80000A 0000 0 1 0/1 0

UDC receive 0x 8000 0028 0x80000A 0001 0 1 0/1 1

Serial port 1 UART transmit 0x 8001 0014 0x804005 0100/1 0

UART receive 0x 8001 0014 0x804005 0101 0 0 0/1 1

Serial port 2 HSSP transmit 0x 8004 006C 0x81001B 0110 0 1 0/1 0

HSSP receive 0x 8004 006C 0x81001B 0111 0 1 0/1 1

UART transmit 0x 8003 0014 0x80C005 0110/1 0

UART receive 0x 8003 0014 0x80C005 0111 0 0 0/1 1

Serial port 3 UART transmit 0x 8005 0014 0x814005 1000/1 0

UART receive 0x 8005 0014 0x814005 1001 0 0 0/1 1

Serial port 4 MCP transmit (audio)

0x 8006 0008 0x818002 1010 1 0 0/1 0

0x 8006 0008 0x818002 1011 1 0 0/1 1

0x 8006 000C 0x818003 1100 1 0 0/1 0

0x 8006 000C 0x818003 1101 1 0 0/1 1

SSP transmit 0x 8007 006C 0x81C01B 1110 1 0 0/1 0

SSP receive 0x 8007 006C 0x81C01B 1111 1 0 0/1 1

11.6.1.2 DMA Control/Status Register (DCSRn)

DCSR1 - DCSR5 are each a group of three 32-bit read/write registers which contain control and status bits for the channel (refer to Section 11.6.2, “DMA Register List” on page 11-217 for physical addresses and functions of each group). The following figure shows the format for this register; question marks indicate the values are unknown at reset.

Show 5 more labels / short text on this page
DDAR Fields · Serial port 0 · MCP receive (audio) · MCP transmit (telecom) · MCP receive (telecom)
Page 214 of the Intel SA-1110 user manual — 7 BIU
Page 214 · click to enlarge
Page 214

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

STRTB

DONEB

STRTA

DONEA

ERROR

BIU

RUN

IE

Reset 0 ?

Run bit.

This is a control bit and is set by the user to indicate the device address register has been loaded. No transfer will occur on this channel unless this bit is set. Clearing the RUN bit on an active channel acts as a pause to that channel. Operation can then be resumed by again setting the RUN bit.

0 RUN

Interrupt enable.

1 IE

This is a control bit and is set by the user to enable interrupts to be passed onto the interrupt controller. An interrupt is the “OR” of the DONEA, DONEB, and ERROR bits.

Transfer error bit.

This is a status bit and is set by the DMA controller to indicate a memory error has occurred. ERROR can generate an interrupt when set if the IE bit is set. ERROR is cleared by software setting the RUN bit.

2 ERROR

Buffer A done.

This is a status bit and is set by the DMA controller to indicate the transfer into or out of buffer A has completed. DONEA is cleared by writing a 1 to it or by setting the STRTA bit. DONEA can generate an interrupt when set if IE is set.

3 DONEA

Buffer A transfer start.

4 STRTA

This is a control bit and is written by the user. Setting STRTA causes the buffer A transfer to begin. This bit is functional only if the RUN bit is set.

Buffer B done.

This is a status bit and is set by the DMA controller to indicate the transfer into or out of buffer B has completed. DONEB is cleared by writing a 1 to it or by setting the STRTB bit. DONEB can generate an interrupt when set if IE is set.

5 DONEB

Buffer B transfer start.

6 STRTB

This is a control bit and is written by the user. Setting STRTB causes the buffer B transfer to begin. This bit is functional only if the RUN bit is set.

Buffer in use.

This is a status bit and may be read to indicate which buffer (A or B) is active or which buffer is to be utilized next. This bit is toggled by the DMA controller when DONEA or DONEB are set. This bit is cleared by all reset sources (hardware, sleep, watchdog, and software).

7 BIU

0 = Buffer A in use.

1 = Buffer B in use.

31..8 — Reserved.

These bits are reserved and read as zeros. Writes to this field have no effect.

The RUN bit is the channel enable. The RUN bit is written to a 1 by the user when the channel is ready for a transfer. The RUN bit can also be used to pause the channel in the middle of a transfer by clearing it; when the RUN bit is set to a 1 again, the channel will resume from the current pointer value using the current active buffer. If the RUN bit is cleared in the middle of a burst, the burst will complete before the channel is paused. The DDAR may be written only when RUN is zero.

DCSRn Read/Write · Reserved · Bits Name Description

Page 215 of the Intel SA-1110 user manual — 11.6.1.3 DMA Buffer A Start Address Register (DBSAn)
Page 215 · click to enlarge
Page 215

The IE bit is the interrupt enable for the channel and is written by the user. An interrupt is generated if the DONEA, DONEB, or ERROR bits are set, and the IE bit is set. The interrupt is negated when all of these status bits are cleared.

The ERROR bit is set if the DMA controller is incorrectly programmed to point to reserved memory space. No error is generated for references to nonexistent external memory. If interrupts are enabled and the ERROR bit is set by the DMA controller, a channel interrupt will be generated.

The DONEA bit is a status bit set by the DMA controller to indicate the transfer to or from buffer A has completed. If interrupts are enabled, DONEA being set results in a channel interrupt at the end of the transfer.

The STRTA bit is set by the user to start the channel transfer to or from buffer A. When DONEA is set, STRTA is cleared. The immediate action resulting from setting STRTA is dependent on the state of the BIU bit.

The DONEB bit is a status bit set by the DMA controller to indicate the transfer to or from buffer B has completed. If interrupts are enabled, DONEB being set results in a channel interrupt at the end of the transfer.

The STRTB bit is set by the user to start the channel transfer to or from buffer B. When DONEB is set, STRTB is cleared. The immediate action resulting from setting STRTB is dependent on the state of the BIU bit.

The BIU status bit indicates the current buffer-in-use (A or B) if a DMA transfer is in process on the channel. If BIU is a zero, buffer A is in use. If BIU is a one, buffer B is in use. When no DMA transfers are in process on the channel, the BIU bit indicates the buffer to be used for the next DMA transfer initiated on the channel. If BIU is a zero, buffer A is utilized next; if BIU is a one, buffer B is used next. The setting of DONEA or DONEB by the DMA controller toggles the BIU bit. For example, if a DMA transfer utilizing buffer A is in process, the DONEA bit would be a zero and the BIU bit would also be zero. After the transfer completed, the DONEA bit would be a one indicating the buffer A activity was complete, and the BIU bit would toggle to a one indicating buffer B is the next buffer to be utilized. Note that it is not sufficient for system software to only interrogate the BIU bit to determine if a DMA transfer is in process on a channel. The STARTn, DONEn, and BIU bits must be examined to determine if a DMA transfer is in process on the channel. The BIU bit must not be cleared by system software (see note below) and is only cleared by the DMA controller at reset (either hardware, software, watchdog, or sleep). For this reason, the processor must interrogate the BIU bit before programming the channel for a new transfer to determine which buffer (A or B) to use. If both STRTA and STRTB are set at the same time, the first buffer serviced depends on the state of BIU. Buffer A will be serviced first if BIU is a zero; otherwise, buffer B will be serviced first if BIU is a one.

11.6.1.3 DMA Buffer A Start Address Register (DBSAn)

The DBSAn is a 32-bit read/write register which contains the starting physical memory address for buffer A memory region. For DMA write transfers to a serial controller device utilizing buffer A, this is the starting physical memory address of the outbound data to be written to the device. For DMA read transfers from a serial controller device utilizing buffer A, this is the starting physical memory address of where the inbound data from the device being read are stored. This register may be written only while the STRTA bit in the DCSRn is zero.

Page 216 of the Intel SA-1110 user manual — 11.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)
Page 216 · click to enlarge
Page 216

11.6.1.4 DMA Buffer A Transfer Count Register (DBTAn)

The DBTAn is a 32-bit read/write register which contains the current transfer count in bytes for buffer A; this register is programmed by the user to indicate the total number of bytes to be written from buffer A for a DMA write transfer or the total number of bytes to be stored into buffer A for a DMA read transfer. This register may be written only while the STRTA bit in the DCSRn is zero. The following figure shows the format of this register; question marks indicate the values are unknown at reset.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

TCA 12

TCA 11

TCA 10

TCA 9

TCA 8

TCA 7

TCA 6

TCA 5

TCA 4

TCA 3

TCA 2

TCA 1

TCA 0

Reset 0 ?0 0 ?

Transfer count (buffer A).

12..0 TCA 12..0

This field is a 13-bit value and contains the current transfer count (in bytes) for the transfer to or from buffer A. The maximum value programmed via this transfer count is 8191 bytes.

31..13 — Reserved. These bits are reserved and read as zeros. Writes to this field have no effect.

11.6.1.5 DMA Buffer B Start Address Register (DBSBn)

The DBSBn is a 32-bit read/write register which contains the starting physical memory address for buffer B. For DMA write transfers to a serial controller device utilizing buffer B, this is the starting physical memory address of the outbound data to be written to the device. For DMA read transfers from a serial controller device utilizing buffer B, this is the starting physical memory address of where the inbound data from the device being read are stored. This register may be written only while the STRTB bit in the DCSRn is zero.

11.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)

The DBTBn is a 32-bit read/write register which contains the current transfer count in bytes for buffer B; this register is programmed by the user to indicate the total number of bytes to be written from buffer B for a DMA write transfer or the total number of bytes to be stored into buffer B for a DMA read transfer. This register may be written only while the STRTB bit in the DCSRn is zero. The following figure shows the format of this register; question marks indicate the values are unknown at reset.

DBTAn Read/Write · Reserved · Bits Name Description

Page 217 of the Intel SA-1110 user manual — The following table lists the registers contained within the DMA controller:
Page 217 · click to enlarge
Page 217
Intel SA-1110 — 11.6.2 DMA Register List diagram (page 217)
Fig. 68 · 11.6.2 DMA Register List

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset 0 ?

This field is a 13-bit value and contains the current transfer count (in bytes) for the transfer to or from buffer B. The maximum value programmed via this transfer count is 8191 bytes.

These bits are reserved and read as zeros. Writes to this field have no effect.

11.6.2 DMA Register List

The following table lists the registers contained within the DMA controller:

Intel SA-1110 — The following table lists the registers contained within the DMA controller: diagram (page 217)
Fig. 69 · The following table lists the registers contained wi…

0h B000 0010 DMA buffer A start address 0. DBSA0

0h B000 0014 DMA buffer A transfer count 0. DBTA0

0h B000 0018 DMA buffer B start address 0. DBSB0

0h B000 001C DMA buffer B transfer count 0. DBTB0

0h B000 0020 DMA device address register 1. DDAR1

0h B000 0030 DMA buffer A start address 1. DBSA1

0h B000 0034 DMA buffer A transfer count 1. DBTA1

0h B000 0038 DMA buffer B start address 1. DBSB1

0h B000 003C DMA buffer B transfer count 1. DBTB1

0h B000 0040 DMA device address register 2 DDAR2

DBTBn Read/Write

Page 218 of the Intel SA-1110 user manual — 11.6.2 DMA Register List
Page 218 · click to enlarge
Page 218

Physical Address Register Name Symbol

0h B000 0044 DMA control/status register 2.

Write 0x7F to set.

DCSR2 0h B000 0048 Write 0x7F to clear.

0h B000 004C Read only.

0h B000 0050 DMA buffer A start address 2. DBSA2

0h B000 0054 DMA buffer A transfer count 2. DBTA2

0h B000 0058 DMA buffer B start address 2. DBSB2

0h B000 005C DMA buffer B transfer count 2. DBTB2

0h B000 0060 DMA device address register 3. DDAR3

0h B000 0064 DMA control/status register 3.

Write 0x7F to set.

DCSR3 0h B000 0068 Write 0x7F to clear.

0h B000 006C Read only.

0h B000 0070 DMA buffer A start address 3. DBSA3

0h B000 0074 DMA buffer A transfer count 3. DBTA3

0h B000 0078 DMA buffer B start address 3. DBSB3

0h B000 007C DMA buffer B transfer count 3. DBTB3

0h B000 0080 DMA device address register 4. DDAR4

0h B000 0084 DMA control/status register 4.

Write 0x7F to set.

DCSR4 0h B000 0088 Write 0x7F to clear.

0h B000 008C Read only.

0h B000 0090 DMA buffer A start address 4. DBSA4

0h B000 0094 DMA buffer A transfer count 4. DBTA4

0h B000 0098 DMA buffer B start address 4. DBSB4

0h B000 009C DMA buffer B transfer count 4. DBTB4

0h B000 00A0 DMA device address register 5. DDAR5

0h B000 00A4 DMA control/status register 5.

Write 0x7F to set.

DCSR5 0h B000 00A8 Write 0x7F to clear.

0h B000 00AC Read only.

0h B000 00B0 DMA buffer A start address 5. DBSA5

0h B000 00B4 DMA buffer A transfer count 5. DBTA5

0h B000 00B8 DMA buffer B start address 5. DBSB5

0h B000 00BC DMA buffer B transfer count 5. DBTB5

Channel 3 Registers · Channel 4 Registers · Channel 5 Registers

Page 219 of the Intel SA-1110 user manual — The SA-1110’s LCD controller has three types of displays:
Page 219 · click to enlarge
Page 219

11.7 LCD Controller

The SA-1110’s LCD controller has three types of displays:

Passive Color Mode Supports a total of 3375 possible colors, displaying any of 256 colors for each

frame.

Active Color Mode Supports up to 65536 colors (16-bit).

Passive Monochrome ModeSupports 15 gray-scale levels.

Display sizes up to 1024 x 1024 pixels are supported. However, the size of encoded pixel data within the frame buffer limits the maximum size screen the LCD can drive due to memory bus bandwidth. The LCD controller also supports single- or dual-panel displays. Encoded pixel data is stored in external memory in a frame buffer in 4-, 8-, 12-, or 16-bit increments and is loaded into a 5-entry FIFO (32 bits per entry) on a demand basis using the LCD’s own dedicated dual-channel DMA controller. One channel is used for single-panel displays and two are used for dual-panel displays.

Frame buffer data contains encoded pixel values that are used by the LCD controller as pointers to index into a 256-entry x 12-bit wide palette. Monochrome palette entries are 4 bits wide; color palette entries are 12 bits wide. Encoded pixel data from the frame buffer, which is 4 bits wide, addresses the top 16 locations of the palette; 8-bit pixel data accesses any of the 256 entries within the palette. When passive color 12-bit pixel mode is enabled, the color pixel values bypass the palette and are fed directly to the LCD’s dither logic. When active color 16-bit pixel mode is enabled, the pixel value not only bypasses the palette, but also bypasses the dither logic and is sent directly to the LCD’s data pins.

Once the 4- or 8-bit encoded pixel value is used to select a palette entry, the value programmed within the entry is transferred to the dither logic, which uses a patented space- and time-based dithering algorithm to produce the pixel data that is output to the screen. Dithering causes individual pixels to be turned off on each frame at varying rates to produce the 15 levels of gray for monochrome screens and 15 levels each for the red, green, and blue pixel components for color screens, providing a total of 3375 colors (256 colors are available on each frame). The data output from the dither logic is placed in a 19-entry pin data FIFO before it is placed out on the LCD’s pins and driven to the display using pixel clock.

Depending on the type of panel used, the LCD controller is programmed to use either 4-, 8-, or 16-pixel data output pins. Single-panel monochrome displays use either four or eight data pins to output 4 or 8 pixels for each pixel clock; single-panel color displays use eight pins to output 2-2/3 pixels each pixel clock (8 pins / 3 colors/pixel = 2-2/3 pixels per clock). The LCD controller also supports dual-panel mode, which causes the LCD controller’s data lines to be split into two groups, one to drive the top half and one to drive the bottom half of the screen. For dual-panel displays, the number of pixel data output pins is doubled, allowing twice as many pixels to be output each pixel clock to the two halves of the screen.

In active color display mode, the LCD controller can drive TFT displays. The LCD’s line clock pin functions as a horizontal sync (HSYNC) signal, the frame clock pin functions as a vertical sync (VSYNC) signal, and the ac bias pin functions as an output enable (OE) signal. In TFT mode, the LCD’s dither logic is bypassed, sending selected palette entries (12 bits each) directly to the LCD’s data output pins. Additionally, 16-bit pixels can be used that bypass both the palette and the dither logic.

The LCD controller can be configured in active color display mode and used with an external DAC (and optionally an external palette) to drive a video monitor. Note that only monitors that implement the RGB data format can be used; the LCD controller does not support the NTSC standard.

Page 220 of the Intel SA-1110 user manual — 11.7.1 LCD Controller Operation
Page 220 · click to enlarge
Page 220

When the LCD controller is disabled, control of its pins is given to the peripheral pin controller (PPC) to be used as general-purpose digital input/output pins that are noninterruptible. The LCD controller’s pins include:

  • LDD[7:0] Data lines used to transmit either four or eight data values at a time to the LCD display. For monochrome displays, each pin value represents a pixel; for passive color, groupings of three pin values represent one pixel (red, green, and blue data values). In single-panel monochrome mode, LDD[3:0] pins are used. For double-pixel data, single-panel monochrome, dual-panel monochrome, single-panel color, and active color modes LDD[7:0] are used.
  • GPIO[9:2] When dual-panel color or 16-bit TFT operation is programmed, GPIO pins are used as the additional, required LCD data lines to output pixel data to the screen.
  • L_PCLK Pixel clock used by the LCD display to clock the pixel data into the line shift register. In passive mode, pixel clock transitions only when valid data is available on the data pins. In active mode, pixel clock transitions continuously and the ac bias pin is used as an output to signal when data is available on the LCD’s data pins.
  • L_LCLK Line clock used by the LCD display to signal the end of a line of pixels that transfers the line data from the shift register to the screen and increment the line pointers. Also, it is used by TFT displays as the horizontal synchronization signal.
  • L_FCLK Frame clock used by the LCD displays to signal the start of a new frame of pixels that resets the line pointers to the top of the screen. Also, it is used by TFT displays as the vertical synchronization signal.
  • L_BIAS AC bias used to signal the LCD display to switch the polarity of the power supplies to the row and column axis of the screen to counteract DC offset. In TFT mode, it is used as the output enable to signal when data should be latched from the data pins using the pixel clock.

The pixel clock frequency is derived from the output of the on-chip PLL that is used to clock the CPU (CCLK) and is programmable from CCLK/6 to CCLK/514. Each time new data is supplied to the LCD data pins, the pixel clock is toggled to latch the data into the LCD display’s serial shifter. The line clock toggles after all pixels in a line have been transmitted to the LCD driver and a programmable number of pixel clock wait states have elapsed both at the beginning and end of each line. In passive mode, the frame clock is asserted during the first line of the screen. In active mode, the frame clock is asserted at the beginning of each frame after a programmable number of line clock wait states occur. In passive display mode, the pixel clock does not transition when the line clock is asserted. However, in active display mode, the pixel clock transitions continuously and the ac bias bin is used as an output enable to signal when valid pixels are present on the LCD’s data lines. In passive mode, the ac bias pin can be configured to transition each time a programmable number of line clocks have elapsed to signal the display to reverse the polarity of its voltage to counteract DC offset in the screen.

11.7.1 LCD Controller Operation

The LCD controller supports a variety of user-programmable options including display type and size, frame buffer, encoded pixel size, and output data width. Although all programmable combinations are possible, the selection of displays available within the market dictate which combinations of these programmable options are practical. The type of external memory system implemented by the user

Page 221 of the Intel SA-1110 user manual — 11.7.1.2 Frame Buffer
Page 221 · click to enlarge
Page 221

limits the bandwidth of the LCD’s DMA controller, which, in turn, limits the size and type of screen that can be controlled. The user must also determine the maximum bandwidth of the SA-1110’s external bus that the LCD is allowed to use without negatively affecting all other functions that the SA-1110 must perform. Note that the LCD’s DMA engine has the highest priority on the SA-1110’s internal data bus structure (ARM system bus) and can “starve” other masters on the bus, including the CPU.

The following sections describe individual functional blocks within the LCD controller, frame buffer and palette memory organization, and the LCD’s DMA controller. The sections are arranged in order of data flow, starting with the off-chip frame buffer and ending with the pins that interface to the LCD display.

11.7.1.1 DMA to Memory Interface

Palette RAM and encoded pixel data are stored in off-chip memory (usually DRAM) in the frame buffer and are transferred to the LCD controller’s 5-entry x 32-bit wide input FIFO, on a demand basis, using the LCD controller’s dedicated DMA controller. The LCD controller is on the ARM system bus (ASB) rather than the ARM peripheral bus (APB), where all other peripherals are located, because it is a higher speed synchronous bus that is able to maintain the data rate required for demanding displays, such as dual-panel color. The LCD’s DMA contains two channels that transfer data from external memory to the input FIFO. One channel is used for single-panel displays and two are used for dual-panel displays.

The LCD controller issues a service request to the DMA after it has been initialized and enabled. The DMA automatically performs four word transfers, filling all but one entry of the FIFO. Values are fetched from the bottom of the FIFO, one entry at a time, and each 32-bit value is unpacked into individual pixel encodings, of 4, 8, 12, or 16 bits each. After the value is removed from the bottom of the FIFO, the entry is invalidated and all data in the FIFO is transferred down one entry. When four of the five entries are empty, a service request is issued to the DMA. If the DMA is not able to keep the FIFO filled with enough pixel data due to insufficient external memory access speed and the FIFO is emptied, the FIFO underrun status bit is set and an interrupt request is made.

11.7.1.2 Frame Buffer

The frame buffer is in an off-chip memory area used to supply enough encoded pixel values to fill the entire screen one or more times. At the start or lowest order address of the LCD controller’s frame buffer is either a 32- or 512-byte buffer used to store the lookup palette data for each frame. A 32-byte buffer is used to load the top 16 entries of the palette for 4-, 12-, or 16-bit pixel encodings, and a 512-byte buffer is used to load the entire 256-entry palette for 8-bit pixel encodings. Note that the LCD’s on-chip palette is not used for 12- and 16-bit pixel encodings; the PBS field must be programmed to select 12- and 16-bit pixel mode and the remainder of the 32 bytes at the top of the frame buffer must be zero-filled even though the data is not used.

Each time a new frame is fetched from the frame buffer, the LCD controller’s palette is first loaded with the data contained within the palette buffer. Each of the 16 or 256 palette entries is stored in adjacent half-words. Figure 11-3 shows the palette-entry organization for little and big endian memory organization. The user can select how the LCD views the ordering of frame buffer palette/pixel entries by programming the big/little endian select (BLE) bit in LCD control register 0. In little endian mode, palette entries are ordered starting with the least significant half-word, followed by the most significant. In big endian mode, palette entries are ordered starting with the most significant half-word, followed by the least significant. Note that the ordering of the 4-bit R, G, B, and monochrome pixel data (and the PBS field) does not change between big and little endian modes; only the relative positioning of the individual 16-bit palette entries changes.

Page 222 of the Intel SA-1110 user manual — Figure 11-3. Palette Buffer Format
Page 222 · click to enlarge
Page 222

Figure 11-3. Palette Buffer Format

Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Color Unused PBS* Red (R) Green (G) Blue (B)

Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Mono Unused PBS* Unused Monochrome (M)

*Note: Pixel bit size (PBS) is contained only within the first palette entry (palette entry 0).

16- or 256-Entry Palette Buffer

Bit 31 16 15 0

Base + 0x0 Palette entry 1 Palette entry 0

Base + 0x4 Palette entry 3 Palette entry 2

Base + 0x1C Palette entry 15 Palette entry 14

Base + 0x20 Palette entry 17 Palette entry 16

exist for 4-, 12- and 16-bit/pixel modes.

Base + 0x1FC Palette entry 255 Palette entry 254

Base + 0x200 Start of Encoded Pixel Data

Little Endian Palette Entry Ordering

Bit 31 16 15 0

Base + 0x0 Palette Entry 0 Palette Entry 1

Base + 0x4 Palette Entry 2 Palette Entry 3

Big Endian Palette Entry Ordering

Individual Palette Entry

Page 223 of the Intel SA-1110 user manual — Figure 11-4. 4 Bits Per Pixel Data Memory Organization (Little Endian)
Page 223 · click to enlarge
Page 223

The first palette entry (palette entry 0) also contains an extra field that is used to synchronously configure the LCD controller at the beginning of each frame. Bits 12 and 13 of the first palette entry contain a field that is used to select the number of bits per pixel that is to be used in the next frame (see Figure 11-3). The pixel bit size (PBS) bit-field is decoded by the LCD to correctly unpack pixel data into nibbles, bytes, 12-bit values, or half-words, and by the palette to tell it how many address bits are contained in the pixel data it is supplied, configuring the palette size to 16 or 256 entries. Note that 12/16-bit pixel mode bypasses the LCD palette and supplies 12-bit values directly to the dither logic when passive mode is enabled, or 16-bit values directly to the output FIFOs when active mode is enabled. The following table shows the encoding of the PBS bit field.

13..12 PBS Pixel bit size. 00 – 4 bits per pixel, 16-entry palette, 32 bytes of palette buffer transferred each frame to palette. 01 – 8 bits per pixel, 256-entry palette, 512 bytes of palette buffer transferred each frame to palette. 10 – 12 bits per pixel in passive mode (PAS=0), 16 bits per pixel in active mode (PAS=1). Palette unused, however, 32 bytes of “dummy” palette data is transferred each frame to palette. Palette data must be zero-filled. 11 – Reserved.

Following the palette buffer is the pixel data buffer that contains one encoded pixel value for each of the pixels present on the display. The number of pixel data values depends on the size of the screen (1024 x 768 = 786,432 encoded pixel values). Figure 11-4 through Figure 11-6 show the memory organization within the frame buffer for each size pixel encoding. Note that for 4-bit encodings, 2 pixels are placed into each byte, and for 12-bit encodings the value is right- justified within a half-word. These figures show the encoded pixel organization for little endian memory organization. The user can select how the LCD views the ordering of frame buffer pixel entries by programming the big/little endian select (BLE) bit in LCD control register 0. In big endian mode, pixel entries are ordered starting with the most significant nibble, byte, or half-word and ending with the least significant.

Figure 11-4. 4 Bits Per Pixel Data Memory Organization (Little Endian)

Bit 3 2 1 0

4 bits/pixel Encoded Pixel Data [3:0]

Bit 31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0

0x20 Pixel 7 Pixel 6 Pixel 5 Pixel 4 Pixel 3 Pixel 2 Pixel 1 Pixel 0

0x24 Pixel 15 Pixel 14 Pixel 13 Pixel 12 Pixel 11 Pixel 10 Pixel 9 Pixel 8

Bit Name Description · Base + · Base +

Page 225 of the Intel SA-1110 user manual — FrameBufferSize 32 16 Lines X Columns
Page 225 · click to enlarge
Page 225

In dual-panel mode, pixels are presented to two halves of the screen at the same time (upper and lower). A second DMA channel and input FIFO exist to support dual-panel operation. The DMA channels alternate service requests when filling the two input FIFOs. The palette buffer is implemented in DMA channel 1, but not channel 2; the base address points to the top of the encoded pixel values for channel 2. The DMA controller contains a base and current address pointer register. The end address is calculated automatically by the LCD using the display information such as pixels per line, lines per frame, single- or dual-panel mode, color or monochrome mode, and bits per pixel, which are programmed by the user.

The base address of both DMA channels must be configured such that the least significant four address bits are all zero (for example, address bits 3 through 0 must be zero). This requirement limits the base address of the frame buffer to start at even 4-word (or 16-byte) intervals.

The frame buffer must contain an even multiple of 16 pixels for every line and must be aligned on a quadword boundary. Many LCD displays are a multiple of 16 pixels wide; however, most passive LCD displays are not and will ignore extra pixels at the end of each line. Thus for these types of displays that do not use an even multiple of 16 encoded pixel values, the user must adjust the start address for each line by adding between 1 and 15 “dummy” pixel values to the end of the previous line. For example, if the screen that is being driven is 107 pixels wide, and 4-bits/pixel mode is used, each line is 107 pixels or nibbles in length (53.5 bytes). The next nearest 16-pixel boundary occurs at 112 pixels or nibbles (56 bytes). Thus, the user must start each new line in the frame buffer at multiples of 56 bytes by adding an extra 5 “dummy” pixels per line (2.5 bytes). The user must ensure that the panel being controlled does indeed ignore extra pixel clocks at the end of each line when a panel with line widths that are non-multiple of 16 pixels are used.

The user must add extra space at the end of the frame buffer. The LCD’s DMA may overshoot the end of the frame buffer by one burst cycle (4-word read). The LCD’s DMA reads these extra values, but they are flushed from the input FIFO each time the frame clock is pulsed. The user must ensure that the four words immediately following the end of the frame buffer reside in legal memory space (do not cause a bus error if read). Since the LCD does not alter this memory (only reads are performed), these locations can be used for data storage unrelated to the LCD.

The following equations are used to calculate the total frame buffer size in bytes that is accessed by the DMA based on varying pixel size encodings and screen sizes. The first term in the equations represents the size of the palette buffer, the second term is the add-on for the DMA overshoot at the end of the frame buffer, and the third term is the size required for the encoded pixel values. Note that for dual-panel mode, the frame buffer size is equally distributed between the two DMA channels and that DMA channel 2’s buffer is either 32 or 512 bytes smaller (no palette buffer; that is, the first term in the equations is deleted).

FrameBufferSize 32 16 Lines X Columns

2 2 nXLines ( ) ( ) + + + = 4 bits/pixel:

FrameBufferSize 512 16 LinesXColumns ( ) nXLines ( ) + + + = 8 bits/pixel:

FrameBufferSize 32 16 2 LinesXColumns ( ) + + = 12 or 16 bits/pixel:

Where n = 0 to 15 and is the number of extra “dummy” pixels required per line to make pixels/line an even multiple of sixteen.

Page 226 of the Intel SA-1110 user manual — 11.7.1.5 Color/Gray-Scale Dithering
Page 226 · click to enlarge
Page 226

11.7.1.3 Input FIFO

Data from the LCD’s DMA is directed either to the palette or the input FIFO. The direction of data flow is switched whenever the LCD controller is first enabled and by each frame pulse. After the LCD controller is configured and enabled, the first 32 (4-, 12-, and 16-bits/pixel) or 512 (8-bit/pixel) bytes supplied by the DMA are sent to the palette. All subsequent encoded pixel data is sent to the FIFO. After an entire frame of pixels has been processed, the frame clock pin is pulsed to denote the start of the next frame. This signal is also used to change the direction of DMA input data from the FIFO back to the palette. A modulus of 8 (4-, 12-, and 16-bits/pixel) or 128 (8-bits/pixel) is used to count when loading the palette RAM, depending on the pixel bit size shown above. A 7-bit counter is loaded each time a frame clock pulse occurs or the LCD is enabled, and is decremented each time a word is stored to the palette (two palette entries). When the counter wraps around to zero, the data input from the DMA is switched back to the FIFO.

The LCD controller contains a 5-entry x 32-bit wide input FIFO that is used to store encoded pixels fetched from the frame buffer. The FIFO signals a service request to the DMA whenever four entries of the FIFO are empty. In turn, the DMA automatically fills the FIFO with a 4-word burst.

Pixel data from the frame buffer remains packed within individual 32-bit words when it is loaded into the FIFO. The LCD controller’s port size is 32 bits wide to accommodate the heavy data flow from the frame buffer. Depending on the number of bits per pixel, as words are taken from the bottom of the FIFO, they are unpacked and supplied to the lookup palette in nibbles (4 bits/pixel) or bytes (8 bits/pixel) to the dither logic (12 bits/pixel), or directly to the pins in half-word increments (16 bits/pixel).

Each time a word is taken from the bottom of the FIFO, the entry is invalidated and all data in the FIFO moves down one position. When four entries are empty, a service request is issued to the DMA.

11.7.1.4 Lookup Palette

The encoded pixel data taken from the bottom entry of the input FIFO is used as an address to index and select individual palette locations. Four-bit pixel encodings address 16 locations and 8-bit pixel encodings select any of the 256 palette entries. Note that the user may program 1, 2, and 3 bits/pixel as well by zeroing out the upper 3, 2 or 1 bits of each encoded pixel value in the frame buffer, respectively. However, for 1, 2, and 3 bits/pixel, the encoded pixel size remains at 4 bits within the frame buffer and within the LCD controller’s input FIFO.

Once a palette entry is selected by the encoded pixel value, the contents of the entry is sent to the color/gray-scale space/time base dither circuit. In color mode, the value within the palette is made up of three 4-bit fields, one for each color component – red, green, and blue. In monochrome mode, only one 4-bit value is present (see Figure 11-3). For both modes, the 4-bit values represent one of 15 intensity levels. For color operation, an individual frame is limited to a selection of 256 colors (the number of palette entries). However, the LCD controller is capable of generating a total of 3375 colors (15 levels per color ^ 3 colors = 3375). When 12 or 16 bits per pixel mode is enabled, the palette is bypassed. For passive displays, 12-bit pixels are sent directly to the dither logic; for active displays, 16-bit pixels are sent to the output FIFO to be driven directly to the LCD’s data pins.

11.7.1.5 Color/Gray-Scale Dithering

For passive displays, entries selected from the lookup palette are sent to the color/gray-scale space/time base dither generator. Each 4-bit value is used to select one of 15 intensity levels. Note that two of the 16 dither values are identical (always high). The color/gray intensity is controlled by turning individual pixels on and off at varying periodic rates. For some screens, more intense colors/grays are produced by making the average time the pixel is high longer than the average

Page 227 of the Intel SA-1110 user manual — 11.7.1.7 LCD Controller Pins
Page 227 · click to enlarge
Page 227

time it is low, while other screens produce more intense colors/grays when the average time the pixel is low is longer. The user should program the palette appropriately depending on whether a one on the pixel line turns the pixel on or off. The dither generator also uses the intensity of adjacent pixels in its calculations to give the screen image a smooth appearance. The proprietary dither algorithm is optimized to provide a range of intensity values that match the eye’s visual perception of color/gray gradations. In color mode, three separate dither blocks are used to process the three color components: red, green, and blue. Table 11-8 summarizes the duty cycle and resultant intensity level for all 15 color/gray-scale levels.

Table 11-8. Color/Gray-Scale Intensities and Modulation Rates

Dither Value (4-Bit Value from Palette)

Intensity (0% Is Black)

Modulation Rate (Ratio of ON to ON+OFF Pixels)

0000 0.0% 0

0001 11.1% 1/9

0010 20.0% 1/5

0011 26.7% 4/15

0100 33.3% 3/9

0101 40.0% 2/5

0110 44.4% 4/9

0111 50.0% 1/2

1000 55.6% 5/9

1001 60.0% 3/5

1010 66.6% 6/9

1011 73.3% 11/15

1100 80.0% 4/5

1101 88.9% 8/9

1110 100.0% 1

1111 100.0% 1

11.7.1.6 Output FIFO

The LCD controller contains a 19-entry x 16-bit wide output FIFO that is used to store pixel pin data before it is driven out to the pins. Each time a modulated pixel value is output from the dither generator, it is placed into a serial shifter. The size of the shifter is controlled by programming the color/monochrome select and single- and dual-panel, double pixel data, and passive/active select bits in the LCD’s control registers and the pixel bit size within palette entry 0 in the frame buffer. The shifter can be configured to be 4, 8, or 16 bits wide. Four pins are used for single-panel monochrome screens; 8 pins are used for single- and dual-panel monochrome screens as well as single-panel color displays; 12 pins are used for active displays; and 16 pins are used for dual-panel color and active displays. Once the correct number of pixels have been placed within the shifter (4-, 8-, or 16-pixel values), the value is transferred to the top of the output FIFO. The value is then transferred down until it reaches the last empty location within the FIFO. Each time a value is taken from the bottom of the FIFO, the entry is invalidated and all data in the FIFO moves down one position.

11.7.1.7 LCD Controller Pins

Pixel data is removed from the bottom of the output FIFO and is driven in parallel onto the LCD’s data lines on the edge selected by the pixel clock polarity (PCP) bit. For a 4-bit wide bus, data is driven onto the LCD data lines LDD [3:0] starting with the most significant bit. For an 8-bit wide bus, data is driven onto LDD[7:0]; for a 12-bit bus GPIO[5:2] and LDD[7:0]; and for a 16-bit bus

Page 228 of the Intel SA-1110 user manual — 11.7.2 LCD Controller Register Definitions
Page 228 · click to enlarge
Page 228

GPIO[9:2] and LDD[7:0]. In monochrome dual-panel mode, the pixels for the upper half of the screen are driven onto LDD[3:0] and the lower half to LDD[7:4]. In color dual-panel mode, the upper panel pixels are driven onto LDD[7:0] and the lower panel pixels to GPIO[9:2]. Note that for a 4-bit wide bus, data is output via the LDD[3:0] pins and the LCD[7:4] pins are held low by the LCD controller. The user cannot use this pins as GPIOs in this mode. However, for a 12-bit wide bus, the user is free to use GPIO[9:6] as general- purpose I/O signals.

When an entire line of pixels has been output to the LCD controller screen, the line clock pin (L_LCLK) is toggled. Likewise, when an entire frame of pixels has been output to the LCD controller screen, the frame clock pin (L_FCLK) is toggled. To prevent a DC charge from building within a passive display, its power and ground supplies must be switched periodically. The LCD controller signals the display to switch the polarity by toggling the ac bias pin (L_BIAS). The user can control the frequency of the bias pin by programming the number of line clock transitions between each toggle.

When active display mode is enabled, the timing of the pixel, line, and frame clocks and the ac bias pin changes. The pixel clock transitions continuously in this mode as long as the LCD is enabled. The ac bias pin functions as an output enable. When it is asserted, the display latches data from the LCD’s pins using the pixel clock. The line clock pin is used as the horizontal synchronization signal (HSYNC) and the frame clock as the vertical synchronization signal (VSYNC). The timing of the line and frame clock pins is programmable to support both passive and active mode. Programming options include: wait state insertion both at the beginning and end of each line and frame; pixel clock; line clock; frame clock; output enable signal polarity; and frame clock pulse width.

When the LCD controller is disabled, control of all 12 of its pins is relinquished to the peripheral pin controller (PPC) unit to be used as general-purpose digital I/O pins that are noninterruptible. See the section 11.13 on page 382 for a description of the programming and operation of the PPC unit.

11.7.2 LCD Controller Register Definitions

The LCD controller contains four control registers, four DMA address registers, and one status register. The control registers contain bit fields to enable and disable the LCD controller; to define the height and width of the screen being controlled; and to indicate single- versus dual-panel display mode, color versus monochrome mode, passive versus active display, polarity of the control pins, pulse width of the line and frame clocks, pixel clock and ac bias pin frequency. AC bias pin toggles per interrupt the number of waitstates to insert before and after each line, after each frame, and various interrupt masks. An additional control field exists to tune the DMA’s performance based on the type of memory system in which the SA-1110 is used. This field controls the placement of a minimum delay between each LCD DMA request to ensure enough bus bandwidth is given to other ARM system bus masters for accesses.

The DMA address registers are used to define the base physical addresses of the off-chip frame buffers and to which physical address the DMA is currently pointing. Both of these registers exist for DMA channels 1 and 2.

The status registers contain bits that signal input and output FIFO overrun and underrun errors, DMA bus errors, when the DMA base address can be reprogrammed, when the last active frame has completed after the LCD is disabled, and each time the ac bias pin has toggled a programmed number of times. Each of these hardware-detected events signals an interrupt request to the interrupt controller.

Page 229 of the Intel SA-1110 user manual — 11.7.3.3 Single-/Dual-Panel Select (SDS)
Page 229 · click to enlarge
Page 229

11.7.3 LCD Controller Control Register 0

LCD controller control register 0 (LCCR0) contains 10 bit fields that are used to control various functions within the LCD controller.

11.7.3.1 LCD Enable (LEN)

The LCD enable (LEN) bit is used to enable and disable all LCD controller operation. When LEN=0, the LCD controller is disabled and control of all 12 of its pins is given to the peripheral pin controller (PPC) unit to be used as general-purpose I/O (noninterruptible). When LEN=1, the LCD controller is enabled. Note that all other control registers should be initialized before setting LEN. The user can program LCCR0 last, and configure all 10 bit fields at the same time via a word write to the register. If the user clears LEN while the LCD controller is enabled, it will complete transmission of the current frame before being disabled. Completion of the current frame is signalled by the LCD when it sets the LCD disable done (LDD) status within the LCD status register that generates an interrupt request. The user should use a read-modify-write procedure to clear LEN because the other bit-fields within LCCR0 continue to be used by the LCD controller after LEN is cleared until the frame that is currently in progress completes. When the LCD controller is disabled, control of all 12 of its pins is given to the peripheral pin controller (PPC) so that they may be used for general-purpose input and output (noninterruptible). See the Section 11.13, “Peripheral Pin Controller (PPC)” on page 11-382 for a description of the PPC.

11.7.3.2 Color/Monochrome Select (CMS)

The color/monochrome select (CMS) bit selects whether the LCD controller operates in color or monochrome mode. When CMS=0, color mode is selected, palette entries are 12 bits wide (4 bits per color), 8 data pins are enabled for single-panel mode, 16 data pins are enabled for dual-panel mode (GPIO pins 2..9 are used as the extra 8 data output pins), and all three dither blocks are used, one each for the red, green, and blue pixel components. When CMS=1, monochrome mode is selected, palette entries are 4 bits wide (15 levels of gray-scale), 4 or 8 data pins are enabled for single-panel mode, and 8 data pins are enabled for dual-panel mode.

11.7.3.3 Single-/Dual-Panel Select (SDS)

In passive mode (PAS=0), the single-/dual-panel select (SDS) bit is used to select the type of display control that is implemented by the LCD screen. When SDS=0, single-panel operation is selected (pixels presented to screen a line at a time), and when SDS=1, dual-panel operation is selected (pixels presented to screen two lines at a time). Single-panel LCD drivers have one line/row shifter and driver for pixels, and one line pointer; dual-panel LCD controller drivers have two line/row shifters (one for the top half of the screen, one for the bottom), and two line pointers (one for the top half of the screen, one for the bottom). When dual-panel mode is programmed, both of the LCD controller’s DMA channels are used. DMA channel 1 is used to load the palette RAM from the frame buffer and to drive the upper half of the display, and DMA channel 2 drives the lower half. The two channels alternate when fetching data for both halves of the screen, placing encoded pixel values within the two separate input FIFOs. When programming dual-panel operation, the user must perform the following sequence in order: disable the LCD (LEN=0), program dual-panel mode (SDS=0->1), write the upper panel DMA base address, write the lower panel DMA base address, and enable the LCD (LEN=0->1). When dual-panel operation is enabled, the LCD controller doubles its pin uses; thus, for monochrome screens 8 pins are used, and for color screens, 16 pins are used.

Page 230 of the Intel SA-1110 user manual — Table 11-9. LCD Controller Data Pin Utilization
Page 230 · click to enlarge
Page 230

Table 11-9 shows the LCD data pins and GPIO pins used for each mode of operation and the ordering of pixels delivered to a screen for each mode of operation. Figure 11-7 shows the LCD data pin pixel ordering. Note that when dual-panel color operation is enabled, the user must configure GPIO pins 2 through 9 as outputs by setting bits 2..9 within the GPIO pin direction register (GPDR) and GPIO alternate function register (GAFR). See the Chapter 9, “System Control Module” for configuration information. Also note that SDS is ignored in active mode (PAS=1).

Table 11-9. LCD Controller Data Pin Utilization

Passive/ Active Panel Screen Portion Pins

Monochrome Single Passive Whole LDD[3:0]

Monochrome Single Passive Whole LDD[7:0]1

Monochrome Dual Passive Top LDD[3:0]

Bottom LDD[7:4]

Color Single Passive Whole LDD[7:0]

Color Dual Passive Top LDD[7:0]

Bottom GPIO[9:2]

Color Single Active Whole GPIO[9:2], LDD[7:0]

1 Double-pixel data mode (DPD) = 1.

Color/ Monochrome · Single/ Dual Panel · Panel

Page 231 of the Intel SA-1110 user manual — Table of contents
Page 231 · click to enlarge
Page 231

Table of contents

Intel® StrongARM* SA-1110 Microprocessorp.1Contentsp.3Introduction 1p.211.1 Intel® StrongARM* SA-1110 Microprocessorp.211.2 Overviewp.241.3 Example Systemp.251.4 ARM Architecturep.261.4.1 26-Bit Modep.261.4.2 Coprocessorsp.261.4.3 Memory Managementp.261.4.4 Instruction Cachep.261.4.5 Data Cachep.261.4.6 Write Bufferp.271.4.7 Read Bufferp.27Functional Description 2p.292.1 Block Diagramp.292.2 Inputs/Outputsp.312.3 Signal Descriptionp.322.4 Memory Mapp.36ARM Implementation Options 3p.393.1 Big and Little Endianp.393.2 Exceptionsp.393.2.1 Power-Up Resetp.403.2.2 ROM Size Selectp.403.2.3 Abortp.413.2.4 Vector Summaryp.423.2.5 Exception Prioritiesp.423.2.6 Interrupt Latencies and Enable Timingp.433.3 Coprocessorsp.43Instruction Set 4p.454.1 Instruction Setp.454.2 Instruction Timingp.45Caches, Write Buffer, and Read Buffer 5p.475.1 Instruction Cache (Icache)p.475.1.1 Icache Operationp.475.1.2 Icache Validityp.475.1.2.1 Software Icache Flushp.475.1.3 Icache Enable/Disable and Resetp.485.1.3.1 Enabling the Icachep.485.1.3.2 Disabling the Icachep.485.2 Data Caches (Dcaches)p.485.2.1 Cacheable Bit – Cp.495.2.1.1 Cacheable Reads – C = 1p.495.2.1.2 Noncacheable Reads – C = 0p.495.2.2 Bufferable Bit – Bp.495.2.3 Software Dcache Flushp.505.2.3.1 Doubly Mapped Spacep.505.2.4 Dcaches Enable/Disable and Resetp.505.2.4.1 Enabling the Dcachesp.515.2.4.2 Disabling the Dcachesp.515.3 Write Buffer (WB)p.515.3.1 Bufferable Bitp.515.3.2 Write Buffer Operationp.515.3.2.1 Writes to a Bufferable and Cacheable Location (B=1,C=1)p.515.3.2.2 Writes to a Bufferable and Noncacheable Location (B=1,C=0)p.525.3.2.3 Unbufferable and Noncacheable Writes (B=0, C=0)p.525.3.2.4 Writes to a Non-Bufferable and Cacheable Location (B=0, C=1)p.525.3.3 Enabling the Write Bufferp.525.3.3.1 Disabling the Write Bufferp.525.4 Read Buffer (RB)p.52Coprocessors 6p.556.1 Internal Coprocessor Instructionsp.556.2 Coprocessor 15 Definitionp.566.2.1 Register 0 – IDp.566.2.2 Register 1 – Controlp.576.2.3 Register 2 – Translation Table Basep.586.2.4 Register 3 – Domain Access Controlp.586.2.5 Register 4 – RESERVEDp.596.2.6 Register 5 – Fault Statusp.596.2.7 Register 6 – Fault Addressp.596.2.8 Register 7 – Cache Control Operationsp.596.2.9 Register 8 – TLB Operationsp.606.2.10 Register 9 – Read-Buffer Operationsp.606.2.11 Registers 10 – 12 RESERVEDp.616.2.12 Register 13 – Process ID Virtual Address Mappingp.616.2.13 Register 14 – Debug Support (Breakpoints)p.626.2.14 Register 15 – Test, Clock, and Idle Controlp.63Memory Management Unit (MMU) 7p.657.1 Overviewp.657.1.1 MMU Registersp.657.2 MMU Faults and CPU Abortsp.657.3 Data Abortsp.657.3.1 Cacheable Reads (Linefetches)p.667.3.2 Buffered Writesp.667.4 Interaction of the MMU, Icache, Dcache, and Write Bufferp.667.5 Mini Data Cachep.67Clocks 8p.698.1 Intel® StrongARM SA-1110 Crystal Oscillatorsp.698.2 Core Clock Configuration Registerp.708.2.1 Restrictions on Changing the Core Clock Configurationp.718.3 Driving Intel® StrongARM SA-1110 Crystal Pins from an External Sourcep.718.4 Clocking During Testp.72System Control Module 9p.739.1 General-Purpose I/Op.739.1.1 GPIO Register Definitionsp.749.1.1.1 GPIO Pin-Level Register (GPLR)p.759.1.1.2 GPIO Pin Direction Register (GPDR)p.769.1.1.3 GPIO Pin Output Set Register (GPSR) and Pin Output Clear Register (GPCR)p.779.1.1.4 GPIO Rising-Edge Detect Register (GRER) and Falling-Edge Detect Register (GFER)p.789.1.1.5 GPIO Edge Detect Status Register (GEDR)p.799.1.1.6 GPIO Alternate Function Register (GAFR)p.809.1.2 GPIO Alternate Functionsp.819.1.2.1 3.6864 MHz Option for GP 27 Alternate Output Functionp.829.1.3 GPIO Register Locationsp.829.2 Interrupt Controllerp.839.2.1 Interrupt Controller Register Definitionsp.849.2.1.1 Interrupt Controller Pending Register (ICPR)p.849.2.1.2 Interrupt Controller IRQ Pending Register (ICIP) and FIQ Pending Register (ICFP)p.869.2.1.3 Interrupt Controller Mask Register (ICMR)p.879.2.1.4 Interrupt Controller Level Register (ICLR)p.889.2.1.5 Interrupt Controller Control Register (ICCR)p.899.2.2 Interrupt Controller Register Locationsp.909.3 Real-Time Clockp.909.3.1 RTC Counter Register (RCNR)p.909.3.2 RTC Alarm Register (RTAR)p.919.3.3 RTC Status Register (RTSR)p.919.3.4 RTC Trim Register (RTTR)p.939.3.5 Trim Procedurep.939.3.5.1 Oscillator Frequency Calibrationp.939.3.5.2 RTTR Value Calculationsp.949.3.6 Real-Time Clock Register Locationsp.959.4 Operating System Timerp.959.4.1 OS Timer Count Register (OSCR)p.969.4.2 OS Timer Match Registers 0–3 (OSMR 0, OSMR 1, OSMR 2, OSMR 3)p.969.4.3 OS Timer Watchdog Match Enable Register (OWER)p.969.4.4 OS Timer Status Register (OSSR)p.979.4.5 OS Timer Interrupt Enable Register (OIER)p.989.4.6 Watchdog Timerp.989.4.7 OS Timer Register Locationsp.999.5 Power Managerp.999.5.1 Run Modep.999.5.2 Idle Modep.999.5.2.1 Entering Idle Modep.1009.5.2.2 Exiting Idle Modep.1009.5.3 Sleep Modep.1019.5.3.1 CPU Preparation for Sleep Modep.1019.5.3.2 Events Causing Entry into Sleep Modep.1019.5.3.3 The Sleep Shutdown Sequencep.1019.5.3.4 During Sleep Modep.1029.5.3.5 The Sleep Wake-Up Sequencep.1039.5.3.6 Booting After Sleep Modep.1039.5.3.7 Reviving the DRAMs from Self-Refresh Modep.1049.5.4 Notes on Power Supply Sequencingp.1049.5.5 Assumed Behavior of an Intel® StrongARM SA-1110 System in Sleep Modep.1049.5.6 Pin Operation in Sleep Modep.1069.5.7 Power Manager Registersp.1079.5.7.1 Power Manager Control Register (PMCR)p.1079.5.7.2 Power Manager General Configuration Register (PCFR)p.1089.5.7.3 Power Manager PLL Configuration Register (PPCR)p.1109.5.7.4 Power Manager Wake-Up Enable Register (PWER)p.1109.5.7.5 Power Manager Sleep Status Register (PSSR)p.1119.5.7.6 Power Manager Scratch Pad Register (PSPR)p.1139.5.7.7 Power Manager GPIO Sleep State Register (PGSR)p.1139.5.7.8 Power Manager Oscillator Status Register (POSR)p.1149.5.8 Power Manager Register Locationsp.1149.6 Reset Controllerp.1159.6.1 Reset Controller Registersp.1159.6.1.1 Reset Controller Software Reset Register (RSRR)p.1159.6.1.2 Reset Controller Status Register (RCSR)p.1169.6.2 Reset Controller Register Locationsp.117Memory and PC-Card Control Module 10p.11910.1 Overview of Operationp.12010.1.1 Types of Memory Accessesp.12210.1.2 Readsp.12210.1.3 Writesp.12310.1.4 Transaction Summaryp.12310.1.5 Read-Lock-Writep.12310.1.6 Aborts and Nonexistent Memoryp.12410.2 Memory Interface Reset and Initializationp.12410.2.1 Hardware or Sleep Reset Proceduresp.12510.2.2 Software or Watchdog Reset Proceduresp.12610.3 Memory Configuration Registersp.12710.3.1 DRAM Configuration Register (MDCNFG)p.12810.3.2 DRAM Refresh Control Register (MDREFR)p.13210.3.3 CAS Waveform Rotate Registers (MDCAS00, MDCAS01, MDCAS02, MDCAS20, MDCAS21, MDCAS22)p.13610.3.3.1 MDCAS Registers with Asynchronous DRAMp.13610.3.3.2 MDCAS Registers with SDRAM and SMROMp.13710.3.4 Static Memory Control Registers (MSC2 – 0)p.13910.3.5 Expansion Memory (PC-Card) Configuration Register (MECR)p.14210.4 SMROM Configuration Register (SMCNFG)p.14410.4.1 Changing SMROM RAS Latencyp.14710.5 Dynamic Interface Operationp.14810.5.1 DRAM Overviewp.14810.5.2 DRAM Timingp.15010.5.3 SDRAM Overviewp.15210.5.4 SDRAM Commandsp.15410.5.5 SDRAM State Machinep.15510.5.6 DRAM/SDRAM Refreshp.16010.5.7 DRAM/SDRAM Self-Refresh in Sleep Modep.16110.6 Static Memory Interfacep.16210.6.1 ROM Interface Overviewp.16310.6.2 ROM Timing Diagrams and Parametersp.16310.6.3 SRAM Interface Overviewp.16710.6.4 SRAM Timing Diagrams and Parametersp.16710.6.5 Variable Latency I/O Interface Overviewp.16910.6.6 Variable Latency I/O Timing Diagrams and Parametersp.16910.6.7 FLASH Memory Interface Overviewp.17210.6.8 FLASH Memory Timing Diagrams and Parametersp.17210.6.9 SMROM Overviewp.17310.6.10 SMROM Commandsp.17310.6.11 SMROM State Machinep.17410.7 PC-Card Overviewp.17710.7.1 8-, 16-, and 32-Bit Data Bus Operationp.17910.7.2 External Logic for PC-Card Implementationp.18010.7.3 PC-Card Interface Timing Diagrams and Parametersp.18310.8 Alternate Memory Bus Master Modep.18510.9 Memory System Examplesp.18610.10 SA1110 Memory Configuration Toolp.190Peripheral Control Module 11p.20511.1 Read/Write Interfacep.20511.2 Memory Organizationp.20611.3 Interruptsp.20711.4 Peripheral Pinsp.20811.5 Use of the GPIO Pins for Alternate Functionsp.20911.6 DMA Controllerp.21011.6.1 DMA Register Definitionsp.21111.6.1.1 DMA Device Address Register (DDARn)p.21111.6.1.2 DMA Control/Status Register (DCSRn)p.21311.6.1.3 DMA Buffer A Start Address Register (DBSAn)p.21511.6.1.4 DMA Buffer A Transfer Count Register (DBTAn)p.21611.6.1.5 DMA Buffer B Start Address Register (DBSBn)p.21611.6.1.6 DMA Buffer B Transfer Count Register (DBTBn)p.21611.6.2 DMA Register Listp.21711.7 LCD Controllerp.21911.7.1 LCD Controller Operationp.22011.7.1.1 DMA to Memory Interfacep.22111.7.1.2 Frame Bufferp.22111.7.1.3 Input FIFOp.22611.7.1.4 Lookup Palettep.22611.7.1.5 Color/Gray-Scale Ditheringp.22611.7.1.6 Output FIFOp.22711.7.1.7 LCD Controller Pinsp.22711.7.2 LCD Controller Register Definitionsp.22811.7.3 LCD Controller Control Register 0p.22911.7.3.1 LCD Enable (LEN)p.22911.7.3.2 Color/Monochrome Select (CMS)p.22911.7.3.3 Single-/Dual-Panel Select (SDS)p.22911.7.3.4 LCD Disable Done Interrupt Mask (LDM)p.23111.7.3.5 Base Address Update Interrupt Mask (BAM)p.23211.7.3.6 Error Interrupt Mask (ERM)p.23211.7.3.7 Passive/Active Display Select (PAS)p.23211.7.3.8 Big/Little Endian Select (BLE)p.23311.7.3.9 Double-Pixel Data (DPD) Pin Modep.23411.7.3.10 Vertical Slant Line Correction (VSC)p.23411.7.3.11 Palette DMA Request Delay (PDD)p.23411.7.4 LCD Controller Control Register 1p.23611.7.4.1 Pixels Per Line (PPL)p.23711.7.4.2 Horizontal Sync Pulse Width (HSW)p.23711.7.4.3 End-of-Line Pixel Clock Wait Count (ELW)p.23711.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)p.23711.7.5 LCD Controller Control Register 2p.23811.7.5.1 Lines Per Panel (LPP)p.23811.7.5.2 Vertical Sync Pulse Width (VSW)p.23911.7.5.3 End-of-Frame Line Clock Wait Count (EFW)p.23911.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)p.24011.7.6 LCD Controller Control Register 3p.24111.7.6.1 Pixel Clock Divider (PCD)p.24211.7.6.2 AC Bias Pin Frequency (ACB)p.24211.7.6.3 AC Bias Pin Transitions Per Interrupt (API)p.24211.7.6.4 Vertical Sync Polarity (VSP)p.24311.7.6.5 Horizontal Sync Polarity (HSP)p.24311.7.6.6 Pixel Clock Polarity (PCP)p.24311.7.6.7 Output Enable Polarity (OEP)p.24311.7.7 LCD Controller DMA Registersp.24511.7.8 DMA Channel 1 Base Address Registerp.24511.7.9 DMA Channel 1 Current Address Registerp.24611.7.10 DMA Channel 2 Base and Current Address Registersp.24711.7.11 LCD Controller Status Registerp.24811.7.11.1 LCD Disable Done Flag (LDD) (read/write, maskable interrupt)p.24911.7.11.2 Base Address Update Flag (BAU) (read-only, maskable interrupt)p.24911.7.11.3 Bus Error Status (BER) (read/write, maskable interrupt)p.24911.7.11.4 AC Bias Count Status (ABC) (read/write, nonmaskable interrupt)p.24911.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)p.24911.7.11.6 Input FIFO Underrun Lower Panel Status (IUL) (read/write, maskable interrupt)p.25011.7.11.7 Input FIFO Overrun Upper Panel Status (IOU) (read/write, maskable interrupt)p.25011.7.11.8 Input FIFO Underrun Upper Panel Status (IUU) (read/write, maskable interrupt)p.25011.7.11.9 Output FIFO Overrun Lower Panel Status (OOL) (read/write, maskable interrupt)p.25011.7.11.10 Output FIFO Underrun Lower Panel Status (OUL) (read only, maskable interrupt)p.25011.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)p.25011.7.11.12 Output FIFO Underrun Upper Panel Status (OUU) (read/write, maskable interrupt)p.25111.7.12 LCD Controller Register Locationsp.25211.7.13 LCD Controller Pin Timing Diagramsp.25411.8 Serial Port 0 – USB Device Controller (UDC)p.25911.8.1 USB Operationp.26111.8.1.1 Signalling Levelsp.26111.8.1.2 Connecting the USB to the SA-1110p.26211.8.1.3 Bit Encodingp.26311.8.1.4 Field Formatsp.26411.8.1.5 Packet Typesp.26511.8.1.6 Transaction Formatsp.26711.8.1.7 SA-1110 UDC Device-Request Commandsp.26911.8.1.8 Using DMAp.27111.8.1.9 Software Control of the SA-1110 UDCp.27111.8.1.10 SA-1110 USB Example Codep.27811.8.2 SA-1110 UDC Register Definitionsp.27811.8.3 UDC Control Register (UDCCR)p.27911.8.3.1 UDC Disable (UDD)p.28011.8.3.2 UDC Active (UDA)p.28011.8.3.3 Resume Interrupt Mask (RESIM)p.28011.8.3.4 Endpoint 0 Interrupt Mask (EIM)p.28111.8.3.5 Receive Interrupt Mask (RIM)p.28111.8.3.6 Transmit Interrupt Mask (TIM)p.28111.8.3.7 Suspend Interrupt Mask (SUSIM)p.28211.8.3.8 Reserved/B5p.28211.8.4 UDC Address Register (UDCAR)p.28211.8.5 UDC OUT Maximum Packet Register (UDCOMP)p.28311.8.6 UDC IN Maximum Packet Register (UDCIMP)p.28411.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)p.28411.8.7.1 OUT Packet Ready (OPR)p.28511.8.7.2 IN Packet Ready (IPR)p.28511.8.7.3 Sent Stall (SST)p.28611.8.7.4 Force Stall (FST)p.28611.8.7.5 Data End (DE)p.28611.8.7.6 Setup End (SE)p.28611.8.7.7 Serviced OPR (SO)p.28611.8.7.8 Serviced Setup End (SSE)p.28611.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)p.28611.8.8.1 Receive FIFO Service (RFS)p.28711.8.8.2 Receive Packet Complete (RPC)p.28711.8.8.3 Receive Packet Error (RPE)p.28811.8.8.4 Sent Stall (SST)p.28811.8.8.5 Force Stall (FST)p.28811.8.8.6 Receive FIFO Not Empty (RNE)p.28811.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)p.28811.8.9.1 Transmit FIFO Service (TFS)p.28911.8.9.2 Transmit Packet Complete (TPC)p.28911.8.9.3 Transmit Packet Error (TPE)p.28911.8.9.4 Transmit Underrun (TUR)p.29011.8.9.5 Sent STALL (SST)p.29011.8.9.6 Force STALL (FST)p.29011.8.10 UDC Endpoint 0 Data Register (UDCD0)p.29011.8.11 UDC Endpoint 0 Write Count Register (UDCWC)p.29111.8.12 UDC Data Register (UDCDR)p.29211.8.13 UDC Status/Interrupt Register (UDCSR)p.29211.8.13.1 Endpoint 0 Interrupt Request (EIR)p.29311.8.13.2 Receive Interrupt Request (RIR)p.29411.8.13.3 Transmit Interrupt Request (TIR)p.29411.8.13.4 Suspend Interrupt Request (SUSIR)p.29411.8.13.5 Resume Interrupt Request (RESIR)p.29411.8.13.6 Reset Interrupt Request (RSTIR)p.29411.8.14 SA-1110 UDC Register Locationsp.29411.9 Serial Port 1 – GPCLK/UARTp.29511.9.1 GPCLK Operationp.29511.9.1.1 Simultaneous Use of the UART and GPCLKp.29611.9.2 GPCLK Control Register 0p.29611.9.2.1 GPCLK/UART Select (SUS)p.29611.9.2.2 Sample Clock Enable (SCE)p.29611.9.2.3 Sample Clock Direction (SCD)p.29611.9.3 GPCLK Control Register 1p.29711.9.3.1 Transmit Enable (TXE)p.29711.9.4 GPCLK Control Registers 2 and 3p.29811.9.4.1 Baud Rate Divisor (BRD)p.29811.9.5 UART Register Locationsp.29911.9.6 GPCLK Register Locationsp.30011.10 Serial Port 2 – Infrared Communications Port (ICP)p.30011.10.1 Low-Speed ICP Operationp.30111.10.1.1 HP-SIR Modulationp.30111.10.1.2 UART Frame Formatp.30211.10.2 High-Speed ICP Operationp.30211.10.2.1 4PPM Modulationp.30211.10.2.2 HSSP Frame Formatp.30311.10.2.3 Address Fieldp.30411.10.2.4 Control Fieldp.30411.10.2.5 Data Fieldp.30411.10.2.6 CRC Fieldp.30411.10.2.7 Baud Rate Generationp.30511.10.2.8 Receive Operationp.30511.10.2.9 Transmit Operationp.30611.10.2.10 Transmit and Receive FIFOsp.30711.10.2.11 CPU and DMA Register Access Sizesp.30811.10.3 UART Register Definitionp.30811.10.4 UART Control Register 4p.30811.10.4.1 HP-SIR Enable (HSE)p.30811.10.4.2 Low-Power Mode (LPM)p.30811.10.5 HSSP Register Definitionsp.30911.10.6 HSSP Control Register 0p.30911.10.6.1 IrDA Transmission Rate (ITR)p.30911.10.6.2 Loopback Mode (LBM)p.31011.10.6.3 Transmit FIFO Underrun Select (TUS)p.31011.10.6.4 Transmit Enable (TXE)p.31111.10.6.5 Receive Enable (RXE)p.31111.10.6.6 Receive FIFO Interrupt Enable (RIE)p.31111.10.6.7 Transmit FIFO Interrupt Enable (TIE)p.31211.10.6.8 Address Match Enable (AME)p.31211.10.7 HSSP Control Register 1p.31311.10.7.1 Address Match Value (AMV)p.31311.10.8 HSSP Control Register 2p.31411.10.8.1 Transmit Pin Polarity Select (TXP)p.31411.10.8.2 Receive Pin Polarity Select (RXP)p.31511.10.9 HSSP Data Registerp.31611.10.10 HSSP Status Register 0p.31711.10.10.1 End/Error in FIFO Status (EIF) (read-only, nonmaskable interrupt)p.31811.10.10.2 Transmit Underrun Status (TUR) (read/write, maskable interrupt)p.31811.10.10.3 Receiver Abort Status (RAB) (read/write, nonmaskable interrupt)p.31811.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.31811.10.10.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.31911.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)p.31911.10.11 HSSP Status Register 1p.32011.10.11.1 Receiver Synchronized Flag (RSY) (read-only, noninterruptible)p.32111.10.11.2 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.32111.10.11.3 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.32111.10.11.4 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.32111.10.11.5 End-of-Frame Flag (EOF) (read-only, noninterruptible)p.32111.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)p.32111.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)p.32211.10.12 UART Register Locationsp.32311.10.13 HSSP Register Locationsp.32411.11 Serial Port 3 – UARTp.32511.11.1 UART Operationp.32511.11.1.1 Frame Formatp.32611.11.1.2 Baud Rate Generationp.32611.11.1.3 Receive Operationp.32611.11.1.4 Transmit Operationp.32711.11.1.5 Transmit and Receive FIFOsp.32711.11.1.6 CPU and DMA Register Access Sizesp.32711.11.2 UART Register Definitionsp.32711.11.3 UART Control Register 0p.32811.11.3.1 Parity Enable (PE)p.32811.11.3.2 Odd/Even Parity Select (OES)p.32811.11.3.3 Stop Bit Select (SBS)p.32811.11.3.4 Data Size Select (DSS)p.32911.11.3.5 Sample Clock Enable (SCE)p.32911.11.3.6 Receive Clock Edge Select (RCE)p.32911.11.3.7 Transmit Clock Edge Select (TCE)p.32911.11.4 UART Control Registers 1 and 2p.33011.11.4.1 Baud Rate Divisor (BRD)p.33011.11.5 UART Control Register 3p.33111.11.5.1 Receiver Enable (RXE)p.33211.11.5.2 Transmitter Enable (TXE)p.33211.11.5.3 Break (BRK)p.33211.11.5.4 Receive FIFO Interrupt Enable (RIE)p.33211.11.5.5 Transmit FIFO Interrupt Enable (TIE)p.33311.11.5.6 Loopback Mode (LBM)p.33311.11.6 UART Data Registerp.33411.11.7 UART Status Register 0p.33511.11.7.1 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.33611.11.7.2 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.33611.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)p.33611.11.7.4 Receiver Begin of Break Status (RBB) (read/write, nonmaskable interrupt)p.33711.11.7.5 Receiver End of Break Status (REB) (read/write, nonmaskable interrupt)p.33711.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)p.33711.11.8 UART Status Register 1p.33911.11.8.1 Transmitter Busy Flag (TBY) (read-only, noninterruptible)p.33911.11.8.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.33911.11.8.3 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.33911.11.8.4 Parity Error Flag (PRE) (read-only, noninterruptible)p.33911.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)p.33911.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)p.34011.11.9 UART Register Locationsp.34111.12 Serial Port 4 – MCP / SSPp.34211.12.1 MCP Operationp.34311.12.1.1 Frame Formatp.34311.12.1.2 Audio and Telecom Sample Rates and Data Transferp.34511.12.1.3 MCP Transmit and Receive FIFO Operationp.34611.12.1.4 Codec Control Register Data Transferp.34711.12.1.5 External Clock Operationp.34811.12.1.6 Alternate SSP Pin Assignmentp.34811.12.1.7 CPU and DMA Register Access Sizesp.34811.12.2 MCP Register Definitionsp.34911.12.3 MCP Control Register 0p.34911.12.3.1 Audio Sample Rate Divisor (ASD)p.34911.12.3.2 Telecom Sample Rate Divisor (TSD)p.35011.12.3.3 Multimedia Communications Port Enable (MCE)p.35111.12.3.4 External Clock Select (ECS)p.35111.12.3.5 A/D Sampling Mode (ADM)p.35211.12.3.6 Telecom Transmit FIFO Interrupt Enable (TTE)p.35211.12.3.7 Telecom Receive FIFO Interrupt Enable (TRE)p.35211.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)p.35211.12.3.9 Audio Receive FIFO Interrupt Enable (ARE)p.35311.12.3.10 Loopback Mode (LBM)p.35311.12.3.11 External Clock Prescaler (ECP)p.35311.12.4 MCP Control Register 1p.35511.12.4.1 Clock Frequency Select (CFS)p.35511.12.5 MCP Data Registersp.35611.12.5.1 MCP Data Register 0p.35611.12.5.2 MCP Data Register 1p.35711.12.5.3 MCP Data Register 2p.35811.12.6 MCP Status Registerp.36011.12.6.1 Audio Transmit FIFO Service Request Flag (ATS) (read-only, maskable interrupt)p.36011.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)p.36011.12.6.3 Telecom Transmit FIFO Service Request Flag (TTS) (read-only, maskable interrupt)p.36111.12.6.4 Telecom Receive FIFO Service Request Flag (TRS) (read-only, maskable interrupt)p.36111.12.6.5 Audio Transmit FIFO Underrun Status (ATU) (read/write, nonmaskable interrupt)p.36111.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)p.36111.12.6.7 Telecom Transmit FIFO Underrun Status (TTU) (read/write, nonmaskable interrupt)p.36211.12.6.8 Telecom Receive FIFO Overrun Status (TRO) (read/write, nonmaskable interrupt)p.36211.12.6.9 Audio Transmit FIFO Not Full Flag (ANF) (read-only, noninterruptible)p.36211.12.6.10 Audio Receive FIFO Not Empty Flag (ANE) (read-only, noninterruptible)p.36211.12.6.11 Telecom Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.36211.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)p.36211.12.6.13 Codec Write Completed Flag (CWC) (read-only, noninterruptible)p.36311.12.6.14 Codec Read Completed Flag (CRC) (read-only, noninterruptible)p.36311.12.6.15 Audio Codec Enabled Flag (ACE) (read-only, noninterruptible)p.36311.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)p.36311.12.7 SSP Operationp.36511.12.7.1 Frame Formatp.36611.12.7.2 Baud Rate Generationp.37011.12.7.3 SSP Transmit and Receive FIFOsp.37011.12.7.4 CPU and DMA Register Access Sizesp.37111.12.7.5 Alternate SSP Pin Assignmentp.37111.12.8 SSP Register Definitionsp.37111.12.9 SSP Control Register 0p.37211.12.9.1 Data Size Select (DSS)p.37211.12.9.2 Frame Format (FRF)p.37211.12.9.3 Synchronous Serial Port Enable (SSE)p.37211.12.9.4 Serial Clock Rate (SCR)p.37311.12.10 SSP Control Register 1p.37411.12.10.1 Receive FIFO Interrupt Enable (RIE)p.37411.12.10.2 Transmit FIFO Interrupt Enable (TIE)p.37411.12.10.3 Loopback Mode (LBM)p.37511.12.10.4 Serial Clock Polarity (SPO)p.37511.12.10.5 Serial Clock Phase (SPH)p.37511.12.10.6 External Clock Select (ECS)p.37611.12.11 SSP Data Registerp.37711.12.12 SSP Status Registerp.37911.12.12.1 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)p.37911.12.12.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)p.37911.12.12.3 SSP Busy Flag (BSY) (read-only, noninterruptible)p.37911.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)p.37911.12.12.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)p.38011.12.12.6 Receiver Overrun Status (ROR) (read/write, nonmaskable interrupt)p.38011.12.13 MCP Register Locationsp.38111.12.14 SSP Register Locationsp.38211.13 Peripheral Pin Controller (PPC)p.38211.13.1 PPC Operationp.38211.13.2 PPC Register Definitionsp.38311.13.3 PPC Pin Direction Registerp.38311.13.4 PPC Pin State Registerp.38511.13.5 PPC Pin Assignment Registerp.38711.13.5.1 UART Pin Reassignment (UPR)p.38711.13.5.2 SSP Pin Reassignment (SPR)p.38711.13.6 PPC Sleep Mode Pin Direction Registerp.38811.13.7 PPC Pin Flag Registerp.39011.13.8 PPC Register Locationsp.392DC Parameters 12p.39312.1 Absolute Maximum Ratingsp.39312.2 DC Operating Conditionsp.39412.3 Power Supply Voltages and Currentsp.395AC Parameters 13p.39713.1 Test Conditionsp.39713.2 Model Considerationsp.39813.3 Memory Bus and PCMCIA Signal Timingsp.39813.4 LCD Controller Signalsp.39913.5 MCP Signalsp.39913.6 Timing Parametersp.40113.6.1 Asynchronous Signal Timing Descriptionsp.403Package and Pinout 14p.405Debug Support 15p.41115.1 Instruction Breakpointp.41115.2 Data Breakpointp.411Boundary-Scan Test Interface 16p.41316.1 Overviewp.41316.2 Resetp.41416.3 Pull-Up Resistorsp.41416.4 Instruction Registerp.41416.5 Public Instructionsp.41416.5.1 EXTEST (00000)p.41516.5.2 SAMPLE/PRELOAD (00001)p.41516.5.3 CLAMP (00100)p.41516.5.4 HIGHZ (00101)p.41616.5.5 IDCODE (00110)p.41616.5.6 BYPASS (11111)p.41616.6 Test Data Registersp.41716.6.1 Bypass Registerp.41716.6.2 Intel® StrongARM SA-1110 Device Identification (ID) Code Registerp.41816.6.3 Intel® StrongARM SA-1110 Boundary-Scan (BS) Registerp.41816.7 Boundary-Scan Interface Signalsp.419Register Summary Ap.4273.6864–MHz Oscillator Specifications Bp.433B.1 Specificationsp.433B.1.1 System Specificationsp.433B.1.1.1. Parasitic Capacitance Off-chip Between PXTAL and PEXTALp.434B.1.1.2. Parasitic Capacitance Off-chip Between PXTAL or PEXTAL and VSSp.434B.1.1.3. Parasitic Resistance Between PXTAL and PEXTALp.434B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSSp.434B.1.2 Quartz Crystal Specificationp.43532.768–KHz Oscillator Specifications Cp.437C.1 Specificationsp.437C.1.1 System Specificationsp.437C.1.1.1. Temperature Rangep.437C.1.1.2. Current Consumptionp.437C.1.1.3. Startup Timep.437C.1.1.4. Frequency Shift Due to Temperature Effect on the Circuitp.438C.1.1.5. Parasitic Capacitance Off-chip Between TXTAL and TEXTALp.438C.1.1.6. Parasitic Capacitance Off-chip Between TXTAL or TEXTAL and VSSp.438C.1.1.7. Parasitic Resistance Between TXTAL and TEXTALp.438C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSSp.438C.1.2 Quartz Crystal Specificationp.439Internal Test Dp.441D.1 Test Unit Control Register (TUCR)p.441
Page 232 of the Intel SA-1110 user manual — 11.7.3.7 Passive/Active Display Select (PAS)
Page 232 · click to enlarge
Page 232

of LDD or the LCD controller’s ability to set and clear LDD; it only blocks the generation of the interrupt request. This interrupt is particularly useful when the user needs to ensure the LCD has been disabled and the current frame that is being output to the pins has completed, before entering sleep mode. If the user disables the LCD, but does not need to enter sleep mode, this interrupt can be masked using LDM.

11.7.3.5 Base Address Update Interrupt Mask (BAM)

The base address update interrupt mask (BAM) bit is used to mask or enable interrupt requests that are asserted at the beginning of each frame when the LCD’s base address pointer is transferred to the current address pointer within the LCD’s DMA. When BAM=0, the interrupt is enabled, and whenever the base address update (BAU) status bit within the LCD status register (LCSR) is set (one) an interrupt request is made to the interrupt controller. When BAM=1, the interrupt is masked and the state of the BAU status bit is ignored by the interrupt controller. Note that programming BAM=1 does not affect the current state of BAU or the LCD controller’s ability to set and clear BAU; it only blocks the generation of the interrupt request. Note that this interrupt mask is particularly useful when the user wishes to enter idle mode to turn off the CPU and to display the same image (the off-chip frame buffer data does not change). By masking the BAU interrupt, the SA-1110 is not forced out of idle mode at the end of each frame.

11.7.3.6 Error Interrupt Mask (ERM)

The error interrupt mask (ERM) bit is used to mask or enable interrupt requests that are asserted whenever a bus error or input/output FIFO over/underrun error occurs. When ERM=0, all error interrupts are enabled, and whenever the bus error (BER) status bit or any of the input/output FIFO over/underrun (IOL, IUL, IOU, IUU, OOL, OUL, OOU, OUU) status bits within the LCD status register (LCSR) are set (one), an interrupt request is made to the interrupt controller. When ERM=1, error interrupts are masked; the state of all of the error status bits (BER, IOL, IUL, IOU, IUU, OOL, OUL, OOU, OUU) are ignored by the interrupt controller. Note that programming ERM=1 does not affect the current state of these status bits or the LCD controller’s ability to set and clear them; it only blocks the generation of the interrupt requests.

11.7.3.7 Passive/Active Display Select (PAS)

The passive/active display select (PAS) bit selects whether the LCD controller operates in passive (STN) or active (TFT) display control mode. When PAS=0, passive or STN mode is selected, all LCD data flow operates normally (including the use of the LCD’s dither logic), and all LCD controller pin timing operates as described in the preceding sections.

When PAS=1, active or TFT mode is selected. For 4- and 8-bit per pixel modes, pixel data is transferred via the DMA from off-chip memory to the input FIFO, is unpacked and used to select an entry from the palette, just like passive mode. However, the value read from the palette bypasses the LCD’s dither logic, and is sent directly to the output FIFO to be output on the LCD’s data pins. This 12-bit value output to the pins represents 4 bits of red, 4 bits of green, and 4 bits of blue data. For 12- and 16-bit pixel encoding mode, the pixel size within the frame buffer is increased to 16 bits. Thus two 16-bit values are packed into each word in the frame buffer. Each 16-bit value is transferred via the DMA from off-chip memory to the input FIFO. Unlike 4- and 8-bit per pixel modes, the 16-bit value bypasses both the palette and the dither logic, and is placed directly in the output FIFO to be output on the LCD’s data pins. Increasing the size of the pixel representation allows a total of 64K colors to be generated. This 16-bit value output to the pins can be organized into one of three RGB color formats: 6 bits of red, 5 bits of green, and 5 bits of blue data; 5 bits of red, 6 bits of green, and 5 bits of blue data; 5 bits of red, 5 bits of green, and 6 bits of blue data, as specified by the user. Note that the pin timing of the LCD changes when active mode is selected. Timing of each pin is described

Page 233 of the Intel SA-1110 user manual — 11.7.3.8 Big/Little Endian Select (BLE)
Page 233 · click to enlarge
Page 233

in subsequent bit-field sections for both passive and active mode. Additionally, the LCD controller can be configured in active color display mode and used with an external DAC and optionally an external palette to drive a video monitor. Note that only monitors that implement the RGB data format can be used; the LCD controller does not support the NTSC standard.

Figure 11-8 shows which bits within each frame buffer entry (for 16-bit/pixel mode) and which bits within a selected palette entry (for 4- and 8-bit/pixel mode) are sent to the individual LCD data pins. In active mode, GPIO pins 2..9 are also used. Note that the user must configure GPIO pins 2..5 as outputs (for 4- and 8-bit/pixel mode), and GPIO pins 2..9 as outputs (for 16-bit/pixel mode) by setting the appropriate bits within the GPIO pin direction register (GPDR) and GPIO alternate function register (GAFR). See the General-Purpose I/O section for configuration information. When in 4- or 8-bits/pixel mode, the user should clear GAFR[6:9] to disable the LCD alternate function and, thereby, prevent unpredictable data from being driven onto GPIO[6:9]. In general, the user may clear any number of GAFR bits 2..9, to allow the GPIO unit to assume control of unused GPIO pins for normal digital I/O depending on the required number of data pins.

If the panel that is being controlled contains more data pin inputs than 16, the user may still use the SA-1110’s LCD controller, but the panel will be limited to a total of 64 K colors. If the user wishes to maintain the panel’s full range of colors and increase the granularity of the spectrum, the LCD’s 16 data pins should be interfaced to the panel’s most significant R, G, and B pixel data input pins and the least significant R, G, and B data pins should be tied either high or low. If instead, the user wishes to maintain the granularity of the spectrum and limit the overall range of colors possible, the LCD’s 16 data pins should be interfaced to the panel’s least significant R, G, and B pixel data input pins and the most significant data pins should again be tied either high or low.

Figure 11-8. Frame Buffer/Palette Bits Output to LCD Data Pins in Active Mode

R 5 R 4 R R 2 R R G4 G 3 G 2 G1 G 0 B 4 B 3 B 2 B 1 B 0

R 4 R 3 R R 1 R 0 G 5 G4 G 3 G 2 G1 G 0 B 4 B 3 B 2 B 1 B 0

R 4 R 3 R 2 R 1 R 0 G 4 G3 G 2 G 1 G 0 B 5 B 4 B 3 B 2 B 1 B 0

Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GPIO

GPIO

GPIO

GPIO

GPIO

GPIO

GPIO

GPIO

LDD

LDD

LDD

LDD

LDD

LDD

LDD

LDD

R 3 R 2 R 1 R 0 G 3 G 2 G 1 G 0 B 3 B B B 0

Bit 11 10 9 8 7 6 5 4 3 2 1 0

GPIO

GPIO

GPIO

GPIO

GPIO

GPIO

GPIO

GPIO

LDD

LDD

LDD

LDD

LDD

LDD

LDD

LDD

1However, if GAFR bit 6..9 are cleared within the system control module, these pins can be used as normal GPIO pins.

11.7.3.8 Big/Little Endian Select (BLE)

The big/little endian select (BLE) bit selects whether the LCD controller views external memory organization of the frame buffer as big or little endian. When BLE=0, little endian mode is selected and pixel data is organized within the off-chip frame buffer as shown in Figure 11-4 through Figure 11-6. Pixels are packed into words starting with the least-significant nibble, byte, or half-word. When BLE=1, big endian mode is selected and pixel data is organized in memory starting with the most significant nibble, byte, or half-word. When BLE=1, palette entries are

Show 8 more labels / short text on this page
16-Bit/Pixel Mode · Frame Buffer Entry · Data · Pin · 4- or 8-Bit/Pixel Mode · Selected Palette Entry · Data · Pin
Page 234 of the Intel SA-1110 user manual — 11.7.3.11 Palette DMA Request Delay (PDD)
Page 234 · click to enlarge
Page 234

packed into half-words starting with the most significant half-word. Note that BLE does not affect the ordering of the 4-bit red/green/blue bit fields, the 4-bit monochrome field within each 16-bit palette entry, or the 2-bit pixel bit size (PBS) field contained with palette entry 0.

11.7.3.9 Double-Pixel Data (DPD) Pin Mode

The double-pixel data (DPD) pin mode bit selects whether four or eight data pins are used to output pixel data to the LCD screen in single-panel monochrome mode. When DPD=0, LDD[3:0] pins are used to output 4-pixel values each pixel clock transition; when DPD=1, LDD[7:0] pins are used to output 8-pixel values each pixel clock. See Table 11-8 “Color/Gray-Scale Intensities and Modulation Rates” on page 11-227 and Figure 11-8 “Frame Buffer/Palette Bits Output to LCD Data Pins in Active Mode” on page 11-233 for a comparison of how the LCD’s data pins are used in each of its display modes. Note that DPD does not affect dual-panel monochrome mode nor any of the color modes.

11.7.3.10 Vertical Slant Line Correction (VSC)

See description of bits 11 and 10 in the table, “LCCR0: LCD Control Register 0”. Values other than reset are not typically required. However, values other than reset can provide subjective improvement in certain cases where a user experiences “vertical slant line flickering/ghosting”. Values other than reset (patterns 1-3) have to be determined by a users experimentation with a particular design. No guidance for experimentation will be provided here.

11.7.3.11 Palette DMA Request Delay (PDD)

The 8-bit palette DMA request delay (PDD) field is used to select the minimum number of memory controller clock cycles (half the frequency of the CPU clock) to wait between the servicing of each DMA request issued while the on-chip palette is loaded. When the palette is loaded at the beginning of every frame, either 32 or 512 bytes of data must be accessed by the LCD’s DMA. Since the LCD’s DMA is the highest priority master on the ARM system bus, other masters (such as the CPU) will be denied access to the bus and may be starved. Using PDD allows other masters to gain access of the bus in between palette DMA loads, so that they are not locked from accessing the bus for an unacceptable period of time. Note that PDD does not apply to normal input FIFO DMA requests for frame buffer information since these DMA requests do not occur back-to-back. The input FIFO DMA request rate is a function of the rate at which pixels are displayed on the screen.

After a palette DMA burst cycle has completed, the value contained within PDD is loaded to a down counter that disables the palette from issuing another DMA request until the counter decrements to zero. This counter ensures that the LCD’s DMA does not fully consume the bandwidth of the SA-1110’s system bus. Once the counter reaches zero, any pending or future DMA requests by the palette cause the DMA to arbitrate for the ARM system bus (ASB). Once the DMA burst cycle has completed, the process starts over and the value in PDD is loaded to the counter to create another wait state period, which disables the palette from issuing a DMA request. PDD can be programmed with a value that causes the FIFO to wait between 0 to 255 memory clock cycles after the completion of one DMA request to the start of the next request. When PDD=8’h00, the FIFO DMA request delay function is disabled. Note that waitstates are not inserted between DMA burst cycles that are used to fill the input FIFO with pixel data.

Page 235 of the Intel SA-1110 user manual — 7 PAS
Page 235 · click to enlarge
Page 235

The following table shows the location of all 10 bit-fields located in LCD control register 0 (LCCR0). The user must program the control bits within all other control registers before setting LEN=1 (a word write can be used to configure LCCR0 while setting LEN after all other control registers have been programmed), and also must disable the LCD controller when changing the state of any control bit within the LCD controller.

0h B010 0000 LCCR0LCD Control Register 0 Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

VSC

DPD

BLE

PAS

ERM

BAM

LDM

SDS

CMS

LEN

Reset 0

(Sheet 1 of 2)

LCD controller enable.

0 LEN

0. LCD controller disabled. Control of L_PCLK, L_LCLK, L_FCLK, L_BIAS, and the LDD[7:0] pins is given to the PPC unit to be used as general-purpose I/O pins. 1 – LCD controller enabled.

Color/monochrome select.

1 CMS

0. Color operation enabled. 1 – Monochrome operation enabled.

Single-/dual-panel display select.

0. Single-panel display enabled. LDD[3:0] used for monochrome, LDD[7:0] used for color. 1 – Dual-panel display enabled. LDD[7:0] used for monochrome, LDD[7:0] and GPIO[9:2] used for color (user must also program GPDR and GAFR registers within the GPIO unit).

2 SDS

LCD disable done mask.

3 LDM

0. LCD disable done condition generates an interrupt (state of LDD status sent to the interrupt controller). 1 – LCD disable done condition does not generate an interrupt (LDD status bit ignored).

Base address update mask.

4 BAM

0. Base address update condition generates an interrupt (state of BAU status sent to the interrupt controller). 1 – Base address update condition does not generate an interrupt (BAU status bit ignored).

Error mask.

0. Bus error and FIFO over/underrun errors generate an interrupt (state of BER, IOL, IUL, IOU, IUU, OOL, OUL, OUU status sent to the interrupt controller). 1 – Bus error and FIFO over/underrun errors do not generate an interrupt (BER, IOL, IUL, IOU, IUU, OOL, OUL, OOU, OUU status bits ignored).

5 ERM

6 — Reserved.

Passive/active display select.

7 PAS

0. Passive or STN display operation enabled. Dither logic is enabled. 1 – Active or TFT display operation enable. Dither logic bypassed, pin timing changes to support continuous pixel clock, output enable, VSYNC, HSYNC signals.

Reserved · Reserved PDD · Bits Name Description

Page 236 of the Intel SA-1110 user manual — 11.7.4 LCD Controller Control Register 1
Page 236 · click to enlarge
Page 236
0h B010 0000 LCCR0LCD Control Register 0 Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

VSC

DPD

BLE

PAS

ERM

BAM

LDM

SDS

CMS

LEN

Reset 0

(Sheet 2 of 2)

Big/little endian select.

0 – Little endian operation is selected, half-word palette buffer data is packed into individual words of memory starting with the least significant half-word, and frame buffer pixel data is packed into individual words of memory starting with the least significant nibble, byte, or half-word. 1 – Big endian operation is selected, half-word palette buffer data is packed into individual words of memory starting with the most significant half-word, and frame buffer pixel data is packed into individual words of memory starting with the most significant nibble, byte, or half-word.

8 BLE

Double-pixel data pin mode.

0. In single-panel monochrome operation, four pixels are presented to LDD[3:0] each pixel clock. 1 – In single-panel monochrome operation, eight pixels are presented to LDD[7:0] each pixel clock.

9 DPD

Vertical slant line correction.

Bits:11 10 0 0 – Values after reset Vertical slant correction pattern 0, modulation rate is 4/15 for intensity value 3 and 11/15 for intensity value 11 0 1 – Vertical slant correction pattern 1, modulation rate is 4/15 for intensity value 3 and 11/15 for intensity value 11 1 0 – Vertical slant correction pattern 2, modulation rate is 4/15 for intensity value 3 and 11/15 for intensity value 11 1 1 – Vertical slant correction pattern 3, modulation rate is 6/15 for intensity value 3 and 9/15 for intensity value 11

11..10 VSC

Palette DMA request delay.

Value (from 0 to 255) used to specify the number of memory controller clocks (half the speed of the CPU clock). The on-chip palette DMA request should be disabled after each DMA transfer to the palette. The clock count starts after the last write of each burst cycle. While the counter is decrementing, all DMA requests from the palette are masked. When the counter reaches zero, any pending or subsequent DMA requests are allowed to generate a 4-word burst. Programming PDD=8h’00 disables this function.

19..12 PDD

31..20 — Reserved.

11.7.4 LCD Controller Control Register 1

LCD controller control register 1 (LCCR1) contains four bit fields that are used as modulus values for a collection of down counters, each of which performs a different function to control the timing of several of the LCD’s pins.

Reserved · Reserved PDD · Bits Name Description

Page 237 of the Intel SA-1110 user manual — 11.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)
Page 237 · click to enlarge
Page 237

11.7.4.1 Pixels Per Line (PPL)

The pixels per line (PPL) bit-field is used to specify the number of pixels in each line or row on the screen. PPL is a 10-bit value that represents between 16 and 1024 pixels per line. PPL is used to count the correct number of pixel clocks that must occur before the line clock can be asserted. The user should program PPL with the desired number of pixels per line minus 16. Note that the bottom four bits of PPL are not implemented and therefore are not writable. Reads of these bits return zeros because the LCD controller only supports displays that are a multiple of 16 pixels wide.

Many displays exist that are not a multiple of 16, but are able to ignore added pixels at the end of each line. For example, if the display being controlled is 250 pixels wide, the nearest greater multiple of 16 is 256. The user should program PPL to 256-16 = 240 (10’h0F0). In this case, the user must also add the appropriate number of “dummy” pixel values (between 1 and 15) to the frame buffer. Again, for a 250 pixel wide display, and if 4-bit/pixel mode is used, each line is 250 nibbles or 125 bytes in length. The next nearest pixel boundary occurs at 256 pixels or nibbles (128 bytes). Thus the user must start each new line in the frame buffer at multiples of 128 bytes by adding an extra 6 “dummy” pixels per line (3 bytes). Note that the user must also ensure that the display that is being controlled will ignore any additional pixel clocks at the end of each line because these “dummy” pixel values will be output to the display and the pixel clock will continue to transition until the PPL+16 value is reached.

11.7.4.2 Horizontal Sync Pulse Width (HSW)

The 6-bit horizontal sync pulse width (HSW) field is used to specify the pulse width of the line clock in passive mode or horizontal synchronization pulse in active mode. L_LCLK is asserted each time a line or row of pixels is output to the display and a programmable number of pixel clock waitstates have elapsed. When line clock is asserted, the value in HSW is transferred to a 6-bit down counter, which uses the programmed pixel clock frequency to decrement. When the counter reaches zero, the line clock is negated. HSW can be programmed to generate a line clock pulse width ranging from 2 to 65 pixel clock periods. The user should program HSW with the desired number of pixel clocks minus two. Note that the pixel clock does not transition during the line clock pulse in passive display mode, but does transition in active display mode. Also note that the polarity (active and inactive state) of the line clock pin is programmed using the horizontal sync polarity (HSP) bit in LCCR3.

11.7.4.3 End-of-Line Pixel Clock Wait Count (ELW)

The 8-bit end-of-line pixel clock wait count (ELW) field is used to specify the number of “dummy” pixel clocks to insert at the end of each line or row of pixels before pulsing the line clock pin. Once a complete line of pixels is transmitted to the LCD driver, the value in ELW is used to count the number of pixel clocks to wait before pulsing the line clock. ELW generates a wait period ranging from 2 to 256 pixel clock cycles. The user should program ELW with the desired number of pixel clocks minus one. Note that the pixel clock pin, L_PCLK, does not transition during the these “dummy” pixel clock cycles in passive display mode (pixel clock transitions continuously in active display mode).

11.7.4.4 Beginning-of-Line Pixel Clock Wait Count (BLW)

The 8-bit beginning-of-line pixel clock wait count (BLW) field is used to specify the number of “dummy” pixel clocks to insert at the beginning of each line or row of pixels. After the line clock for the previous line has been negated, the value in BLW is used to count the number of pixel clocks to wait before starting to output the first set of pixels in the next line. BLW generates a wait period ranging from 2 to 256 pixel clock cycles. The user should program BLW with the desired

Page 238 of the Intel SA-1110 user manual — 11.7.5.1 Lines Per Panel (LPP)
Page 238 · click to enlarge
Page 238

number of pixel clocks minus one. Note that the pixel clock pin, L_PCLK, does not transition during these “dummy” pixel clock cycles in passive display mode (pixel clock transitions continuously in active display mode).

The following table shows the location of the four bit fields located in LCD control register 1 (LCCR1). The LCD controller must be disabled (LEN=0) when changing the state of any field within this register.

0h B010 0020 LCCR1LCD Control Register 1 Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

BLW ELW HSW PPL

Reset 0

Pixels per line.

Value (from 1 to 1024). Used to specify number of pixels contained within each line on the LCD display. Pixels/line = (PPL+16).

9..0 PPL

Horizontal sync pulse width.

Value (from 0 to 63). Used to specify number of pixel clock periods to pulse the line clock at the end of each line. HSYNC pulse width = (HSW+2).

15..10 HSW

End-of-line pixel clock wait count.

Value (from 1 to 255). Used to specify number of pixel clock periods to add to the end of a line transmission before line clock is asserted. EOL = (ELW+1).

23..16 ELW

Beginning-of-line pixel clock wait count.

Value (from 1 to 255). Used to specify number of pixel clock periods to add to the beginning of a line transmission before the first set of pixels is output to the display. BOL wait = (BLW+1).

31..24 BLW

11.7.5 LCD Controller Control Register 2

LCD controller control register 2 (LCCR2) contains four bit fields that are used as modulus values for a collection of down counters, each of which performs a different function to control the timing of several of the LCD’s pins.

11.7.5.1 Lines Per Panel (LPP)

The lines per panel (LPP) bit field is used to specify the number of lines or rows present on the LCD panel being controlled. In single-panel mode, it represents the total number of lines for the entire LCD display. In dual-panel mode, it represents half the number of lines of the entire LCD display because

Bits Name Description

Page 239 of the Intel SA-1110 user manual — 11.7.5.3 End-of-Frame Line Clock Wait Count (EFW)
Page 239 · click to enlarge
Page 239

it is split into two panels. LPP is a 10-bit value that represents between 1 and 1024 lines per screen. The user should program LPP with the desired height of the display minus one. LPP is used to count the correct number of line clocks that must occur before the frame clock can be pulsed.

The LCD’s DMA may overshoot the end of frame buffer by one burst cycle (4-word read). The LCD’s DMA reads these extra values but they are flushed from the input FIFO each time the frame clock is pulsed. The user must ensure that the four words immediately following the end of the frame buffer reside in legal memory space (do not cause a bus error if read). Because the LCD does not alter this memory (only reads are performed), these locations can be used for data storage unrelated to the LCD.

11.7.5.2 Vertical Sync Pulse Width (VSW)

The 6-bit vertical sync pulse width (VSW) field is used to specify the pulse width of the vertical synchronization pulse in active mode, or is used to add extra “dummy” line clock waitstates between the end and beginning of frame in passive mode.

In active mode (PAS=1), L_FCLK is used to generate the vertical sync signal and is asserted each time the last line or row of pixels for a frame is output to the display and a programmable number of line clock waitstates have elapsed as specified by ELW. When L_FCLK is asserted, the value in VSW is transferred to a 6-bit down counter, which uses the line clock frequency to decrement. When the counter reaches zero, L_FCLK is negated. VSW can be programmed to generate a vertical sync pulse width ranging from 1 to 64 line clock periods. The user should program VSW with the desired number of line clocks minus one. Note that the line clock does not transition during generation of the vertical sync pulse. Also note that the polarity (active and inactive state) of the L_FCLK pin is programmed using the frame clock polarity (FCP) bit in LCCR3.

In passive mode (PAS=0), VSW does not affect the timing of the L_FCLK pin, but rather can be used to add extra line clock waitstates between the end of each frame and the beginning of the next frame. When the last line clock of a frame is negated, the value in VSW is transferred to a 6-bit down counter that uses the line clock frequency to decrement. When the counter reaches zero, the next frame is permitted to begin. VSW can be programmed to generate from 1 to 64 dummy line clock periods between each frame in passive mode. The user should program VSW properly to ensure that enough waitstates occur between frames such that the LCD’s DMA is able to fully load the on-chip palette, as well as allowing a sufficient number of encoded pixel values to be input from the frame buffer, to be processed by the dither logic, and placed in the output FIFO, ready to be output to the LCD’s data pins. The number of waitstates required is system dependent. The factors that determine the number of waitstates include: palette buffer size (32 or 512 bytes), memory system speed (number of waitstates, burst speed, number of beats), and what value is programmed in the palette DMA request delay (PDD) bit-field in LCCR0. Note that the line clock pin does transition during the insertion of the line clock waitstate periods.

VSW does not affect generation of the frame clock signal in passive mode. Passive LCD displays require that the frame clock is active on the rising edge of the first line clock pulse of each frame, with adequate setup and hold time. To meet this requirement, the LCD controller’s frame clock pin is asserted on the rising edge of the first pixel clock for each frame. The frame clock remains asserted for the remainder of the first line as pixels are output to the display and it is then negated on the rising edge of the first pixel clock of the second line of each frame.

11.7.5.3 End-of-Frame Line Clock Wait Count (EFW)

The 8-bit end-of-frame line clock wait count (EFW) field is used in active mode (PAS=1) to specify the number of line clocks to insert at the end of each frame. Once a complete frame of pixels is transmitted to the LCD display, the value in EFW is used to count the number of line clock periods to wait. After the count has elapsed, the VSYNC (L_FCLK) signal is pulsed. EFW

Page 240 of the Intel SA-1110 user manual — 11.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)
Page 240 · click to enlarge
Page 240

generates a wait period ranging from 0 to 255 line clock cycles (setting EFW=8’h00 disables the EOF wait count). Note that the line clock pin, L_LCLK, does not transition during the generation of the EFW line clock periods.

In passive mode, EFW should be set to zero such that no end-of-frame waitstates are generated. VSW should be used exclusively in passive mode to insert line clock waitstates to allow the LCD’s DMA to fill the palette and process a number of pixels before the start of the next frame.

11.7.5.4 Beginning-of-Frame Line Clock Wait Count (BFW)

The 8-bit beginning-of-frame line clock wait count (BFW) field is used in active mode (PAS=1) to specify the number of line clocks to insert at the beginning of each frame. The BFW count starts just after the VSYNC signal for the previous frame has been negated. After this has occurred, the value in BFW is used to count the number of line clock periods to insert before starting to output pixels in the next frame. BFW generates a wait period of 0, or a range from 2 to 256 extra line clock cycles (BFW=8’h00 disables the BOF wait count). Note that the line clock pin, L_LCLK, does transition during the generation of the BFW line clock wait periods.

In passive mode, BFW should be set to zero such that no beginning-of-frame waitstates are generated. VSW should be used exclusively in passive mode to insert line clock waitstates to allow the LCD’s DMA to fill the palette and process a number of pixels before the start of the next frame.

Page 241 of the Intel SA-1110 user manual — 11.7.6 LCD Controller Control Register 3
Page 241 · click to enlarge
Page 241

The following table shows the location of the four bit fields located in LCD control register 2 (LCCR2). The LCD controller must be disabled (LEN=0) when changing the state of any field within this register.

0h B010 0024 LCCR2LCD Control Register 2 Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

BFW EFW VSW LPP

Reset 0

Lines per panel.

Value (from 1 to 1024). Used to specify number of lines per panel. For single-panel mode, this represents the total number of lines on the LCD display; for dual-panel mode, this represents half the number of lines on the whole LCD display.

9..0 LPP

Lines/panel = (LPP+1).

Vertical sync pulse width.

In active mode (PAS=1), value (from 0 to 63). Used to specify number of line clock periods to pulse the L_FCLK pin at the end of each frame after the end-of-frame wait (EFW) period elapses. Frame clock used as VSYNC signal in active mode.

In passive mode (PAS=0), value (from 0 to 63). Used to specify number of extra line clock periods to insert after the end-of-frame. Note that the width of L_FCLK is not affected by VSW in passive mode and that line clock does transition during the insertion of the extra line clock waitstate periods. Also note that both EFW and BFW should be set to zero in passive mode.

15..10 VSW

VSYNC width = (VSW+1).

End-of-frame line clock wait count.

In active mode (PAS=1), value (from 0 to 255). Used to specify number of line clock periods to add to the end of each frame. Note that line clock does transition during the insertion of the extra line clock periods. EFW should be cleared to zero (disabled) in passive mode.

23..16 EFW

Beginning-of-frame line clock wait count.

In active mode (PAS=1), value (from 0 to 255). Used to specify number of line clock periods to add to the beginning of a frame before the first set of pixels is output to the display. Note that line clock does transition during the insertion of the extra line clock periods. BFW should be cleared to zero (disabled) in passive mode.

31..24 BFW

Beginning-of-frame wait=0 when BFW=0

Beginning-of-frame wait=(BFW +1) when BFW is non-zero

11.7.6 LCD Controller Control Register 3

LCD controller control register 3 (LCCR3) contains seven different bit fields that are used to control various functions within the LCD controller.

Bits Name Description

Page 242 of the Intel SA-1110 user manual — 11.7.6.3 AC Bias Pin Transitions Per Interrupt (API)
Page 242 · click to enlarge
Page 242

11.7.6.1 Pixel Clock Divider (PCD)

The 8-bit pixel clock divider (PCD) field is used to select the frequency of the pixel clock. PCD can be any value from 1 to 255 (0 is illegal) and is used to generate a range of pixel clock frequencies from CCLK/6 to CCLK/514 (where CCLK is the programmed frequency of the CPU clock). The pixel clock frequency should be adjusted to meet the required screen refresh rate. The refresh rate depends on: the number of pixels for the target display; whether single- or dual-panel mode is selected; whether monochrome or color mode is selected; the number of pixel clock waitstates programmed at the beginning and end of each line; the number of line clocks inserted at the beginning and end of each frame; the width of the VSYNC signal in active mode or VSW line clocks inserted in passive mode; and the width of the frame clock or HSYNC signal. All of these factors alter the time duration from one frame transmission to the next. Different display manufacturers require different frame refresh rates depending on the physical characteristics of the display. PCD is used to alter the pixel clock frequency to meet these requirements. The frequency of the pixel clock for a set PCD value or the required PCD value to yield a target pixel clock frequency can be calculated using the two following equations. Note that programming PCD = 8’h00 is illegal.:

PixelClock CCLK 2 PCD 2 + ( ) =

PCD CCLK 2 PixelClock ( ) 2 – =

11.7.6.2 AC Bias Pin Frequency (ACB)

The 8-bit ac bias frequency (ACB) field is used to specify the number of line clock periods to count between each toggle of the ac bias pin (L_BIAS). In passive mode, after the LCD controller is enabled, the value in ACB is loaded to an 8-bit down counter and the counter begins to decrement using the line clock. When the counter reaches zero, it stops, the state of L_BIAS is reversed, and the whole procedure starts again. The number of line clocks between each ac bias pin transition ranges from 1 to 256. The user should program ACB with the desired number of line clocks minus one.

This pin is used by the LCD display to periodically reverse the polarity of the power supplied to the screen to eliminate DC offset. If the LCD display being controlled has its own internal means of switching its power supply, ACB should be set to its maximum value to reduce power consumption (8’hFF). Note that the ACB bit field has no effect on L_BIAS in active mode. Because the pixel clock transitions continuously in active mode, the ac bias pin is used as an output enable signal. It is asserted automatically by the LCD controller in active mode whenever pixel data is driven out to the data pins to signal the display when it may latch pixels using the pixel clock.

11.7.6.3 AC Bias Pin Transitions Per Interrupt (API)

The 4-bit ac bias pin transitions per interrupt (API) field is used to specify the number of L_BIAS pin transitions to count before setting the ac bias count status (ACS) bit in the LCD controller status register that signals an interrupt request. After the LCD controller is enabled, the value in API is loaded to a 4-bit down counter and the counter decrements each time the ac bias pin is inverted. When the counter reaches zero, it stops and the ac bias count (ABC) bit is set in the status register. Once ABC is set, the 4-bit down counter is reloaded with the value in API, and is disabled until ABC is cleared. When ABC is cleared by the CPU, the down counter is enabled and again

Page 243 of the Intel SA-1110 user manual — 11.7.6.7 Output Enable Polarity (OEP)
Page 243 · click to enlarge
Page 243

decrements each time the ac bias pin is inverted. The number of ac bias pin transitions between each interrupt request ranges from 0 to 15. Note that programming API=4’h0 disables the ac bias pin transitions per interrupt function.

In active mode, L_BIAS is used as an output enable signal. However, signalling of the API interrupt may still occur. The ACB bit field can be used to count line clock pulses in active mode. When the programmed number of line clock pulses occurs, an internal signal is transitioned that is used to decrement the 4-bit counter used by the API interrupt logic. Once this internal signal transitions the programmed number of times, as specified by API, an interrupt is generated. The user should program API to zero if the API interrupt function is not required in active mode (PAS = 1).

11.7.6.4 Vertical Sync Polarity (VSP)

The vertical sync polarity (VSP) bit is used to select the active and inactive states of the vertical sync signal in active display mode (PAS = 1), and the frame clock signal in passive display mode. When VSP=0, the L_FCLK pin is active high and inactive low. When VSP=1, the L_FCLK pin is active low and inactive high. In active display mode, the L_FCLK pin is forced to its inactive state while pixels are transmitted during the frame. After the end of the frame and a programmable number of line clocks periods occur (controlled by EFW), the L_FCLK pin is forced to its active state for a programmable number of line clocks (controlled by VSW), and is then again forced to its inactive state. In passive display mode, the L_FCLK pin is forced to its inactive state during the transmission of the second line of each frame through to the end of the frame. Frame clock is then forced to its active state on the rising edge of the first pixel clock of each frame. Frame clock remains active during the transmission of the entire first line of pixels in the frame and is then forced back to its inactive state on the rising edge of the first pixel clock of the second line of the frame.

11.7.6.5 Horizontal Sync Polarity (HSP)

The horizontal sync polarity (HSP) bit is used to select the active and inactive states of the horizontal sync signal in active display mode, and the line clock signal in passive display mode. When HSP=0, the L_LCLK pin is active high and inactive low. When HSP=1, the L_LCLK pin is active low and inactive high. Both in active and passive display modes, the L_FCLK pin is forced to its inactive state whenever pixels are transmitted After the end of each line and a programmable number of pixel clock periods occur (controlled by ELW), the L_FCLK pin is forced to its active state for a programmable number of line clocks (controlled by HSW), and is then again forced to its inactive state.

11.7.6.6 Pixel Clock Polarity (PCP)

The pixel clock polarity (PCP) bit is used to select which edge of the pixel clock data is driven out onto the LCD’s data pins. When PCP=0, data is driven onto the LCD’s data pins on the rising edge of the L_PCLK pin. When PCP=1, data is driven onto the LCD’s data pins on the falling edge of the L_PCLK pin.

11.7.6.7 Output Enable Polarity (OEP)

The output enable polarity (OEP) bit is used to select the active and inactive states of the output enable signal in active display mode. In this mode, the ac bias pin is used as an enable that signals the off-chip device when data is actively being driven out using the pixel clock. The pixel clock continuously toggles during operation of active mode (PAS=1). When OEP=0, the L_BIAS pin is active high and inactive low. When OEP=1, the L_BIAS pin is active low and inactive high. In active display mode, data is driven onto the LCD’s data pins on the programmed edge of the L_PCLK pin when L_BIAS is in its active state. Note that OEP does not affect L_BIAS in passive display mode.

Page 244 of the Intel SA-1110 user manual — 23 OEP
Page 244 · click to enlarge
Page 244

The following table shows the location of the seven different bit fields located in LCD controller control register 3 (LCCR3). The LCD controller must be disabled (LEN=0) when changing the state of any field within this register. Note that writes to reserved bits are ignored and reads return zeros.

0h B010 0028 LCCR3LCD Control Register 3 Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

OEP

PCP

HSP

VSP

API ACB PCD

Reset 0

Pixel clock divisor.

Value (from 1 to 255). Used to specify the frequency of the pixel clock based on the CPU clock (CCLK) frequency. Pixel clock frequency can range from CCLK/6 to CCLK/514.

7..0 PCD

Pixel Clock Frequency = CCLK/2(PCD+2).

AC bias pin frequency.

Value (from 1 to 256). Used to specify the number of line clocks to count before transitioning the ac bias pin in passive mode (PAS=0). This pin is used to periodically invert the polarity of the power supply to prevent DC charge buildup within the display. If the passive display that is being controlled does not need to use L_BIAS, the user should program ACB to its maximum value (8’hFF) to conserve power. Note that ACB is ignored in active mode (PAS = 1).

15..8 ACB

Number of line clocks/toggle of the L_BIAS pin = (ACB+1).

AC bias pin transitions per interrupt.

Value (from 0 to 15). Used to specify the number of ac bias pin transitions to count before setting the line count status (ABC) bit, signalling an interrupt request. Counter frozen when ABC is set and is restarted when ABC is cleared by software. This function is disabled when API=4’h0.

19..16 API

Vertical sync polarity.

0. L_FCLK pin is active high and inactive low. 1 – L_FCLK pin is active low and inactive high.

20 VSP

Active mode: Vertical sync pulse active between frames, after end-of-frame wait period.

Passive mode: Frame clock active during first line of each frame.

Horizontal sync polarity.

0. L_LCLK pin is active high and inactive low. 1 – L_LCLK pin is active low and inactive high.

21 HSP

Active and passive mode: horizontal sync pulse/line clock active between lines, after end-of-line wait period.

Pixel clock polarity.

22 PCP

0. Data is driven on the LCD’s data pins on the rising edge of L_PCLK. 1 – Data is driven on the LCD’s data pins on the falling edge of L_PCLK.

Output enable polarity.

0. L_BIAS pin is active high and inactive low in active display mode and parallel data input mode. 1 – L_BIAS pin is active low and inactive high in active display mode and parallel data input mode.

23 OEP

In active display mode, data is driven out to the LCD’s data pins on programmed pixel clock edge when ac bias pin is active. Note that OEP is ignored in passive display mode.

31..24 — Reserved.

Reserved · Bits Name Description

Page 245 of the Intel SA-1110 user manual — 11.7.8 DMA Channel 1 Base Address Register
Page 245 · click to enlarge
Page 245

11.7.7 LCD Controller DMA Registers

The LCD controller has two fully independent DMA channels used to transfer frame buffer data for each frame displayed from off-chip memory to the LCD’s palette RAM and the input FIFO. DMA channel 1 is used for single-panel display mode and the upper screen in dual-panel mode. DMA channel 2 is used exclusively for the lower screen in dual-panel mode. Both DMA channels contain a base address pointer and current address pointer register. The LCD’s DMA engine has the highest priority to gain mastership of the SA-1110’s internal ARM system bus. The LCD is given highest priority to prevent other masters from starving the LCD screen (including the CPU).

The two DMA channels use a separate set of base address and current address pointers. The user must initialize the base address pointer registers before enabling the LCD. Once enabled, the base address is transferred to the current address pointer.

After the LCD is enabled, the input FIFO requests a DMA transfer and the DMA makes a 4-word burst access from off-chip memory using the address contained within the current address pointer. The pointer is incremented by 4 (bytes) each time a word is read from memory (bit 2 of the pointer is incremented). Each of the 4 words from the burst is loaded into the top of the input FIFO. The LCD then takes one value at a time from the bottom of the FIFO, unpacks it into individual encoded pixel values, and uses the values to index into the palette. Each time the input FIFO contains four empty entries, another DMA request is made and another 4-word burst is performed. To calculate the frame buffer end address, the DMA controller uses the values programmed in the pixels per line (PPL), lines per panel (LPP), single/dual screen select (SDS), color/monochrome select (CMS) bit fields, and double pixel data (DPD) bit fields within the control registers as well as the pixel bit size (PBS) field contained within the first entry of the palette buffer from the off-chip frame buffer. When the current address pointer reaches the calculated end of buffer address, the value in the base address pointer is again transferred to the current address pointer.

11.7.8 DMA Channel 1 Base Address Register

DMA channel 1 base address register (DBAR1) is a 32-bit register that is used to specify the base address of the off-chip frame buffer for DMA channel 1. The base address pointer register can be both read and written. Addresses programmed in the base address register must be aligned on quadword boundaries; the least significant four bits (DBAR1[3:0]) must always be written with zeros. The user must initialize the base address register before enabling the LCD, and can also write a new value to it while the LCD is enabled to allow a new frame buffer to be used for the next frame. The user can change the state of DBAR1 while the LCD controller is active just after the base address update (BAU) status bit is set with the LCD’s status register, which generates an interrupt request. This status bit indicates that the value in the base address pointer has transferred to the current address pointer register and that it is safe to write a new base address value. DMA channel 1 is used to transfer frame buffer data from off-chip memory to the LCD’s input FIFO and the palette RAM for single-panel mode, and for the top half of the screen in dual-panel mode. For dual-panel operation, the user must perform the following sequence in order: disable the LCD (LEN=0), program dual panel mode (SDS= 0 →1), write the upper panel DMA base address, write the lower panel DMA base address, enable the LCD (LEN= 0 →1). Note that DBAR1 is not reset and must be initialized before enabling the LCD; question marks indicate that the values are unknown at reset.

Page 246 of the Intel SA-1110 user manual — 31..0 DBAR1
Page 246 · click to enlarge
Page 246
0h B010 0010 DBAR1DMA Channel 1 Base

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

DMA Channel 1 Base Address Pointer

Reset ?

DMA channel 1 base address pointer.

Used to specify the base physical address of the frame buffer within off-chip memory. Value in DBAR1 is transferred to current address pointer register 1 when LCD is first enabled (LEN= 0 →1) and when the current address pointer value equals the end-of-frame buffer. DBAR1 should be written only when the LCD is disabled or immediately after an interrupt is generated by the setting of the base address update (BAU) status bit. The base address must be on a quadword boundary; the user must always write bits 0 through 3 to zero.

31..0 DBAR1

11.7.9 DMA Channel 1 Current Address Register

DMA channel 1 current address register (DCAR1) is a 32-bit read-only register that is used by DMA channel 1 to keep track of the address of the DMA transfer currently in progress or the address of the next DMA transfer. Any time the LCD is first enabled (LEN= 0 →1) or the value in the current address pointer register equals the calculated end address value, the contents of the base address pointer register is transferred to the current address pointer. This register can be read to determine the approximate line that the LCD controller is currently processing and driving out to the display. It is also useful to read this register just before writing the DMA’s base address pointer to ensure that the end of frame is not about to occur, which means that the base address pointer is about to be transferred to the current address pointer. Note that DCAR1 is a read-only register that is not reset and is not initialized until the LCD is first enabled, causing the contents of the base address register to be transferred to it; question marks indicate that the values are unknown at reset.

Address Register Read/Write · Bits Name Description

Page 247 of the Intel SA-1110 user manual — 31..0 DCAR1
Page 247 · click to enlarge
Page 247
0h B010 0014 DCAR1DMA Channel 1 Current

Address Register Read Only

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

DMA Channel 1 Current Address Pointer

Reset ?

DMA channel 1 current address pointer.

Read-only register. Continuously reflects the current physical address that DMA channel 1 is transferring from or will use in the next transfer. Base address register is transferred to this register whenever the LCD is enabled (LEN= 0 →1) and when the current address is equal to the calculated end address of the buffer.

31..0 DCAR1

11.7.10 DMA Channel 2 Base and Current Address Registers

DMA channel 2’s base and current address registers (DBAR2 and DCAR2) function exactly like DMA channel 1’s except that they are used exclusively for dual-panel operation. (See the preceding sections.) When SDS=1, DMA channel 2 is used to supply frame buffer data to the lower half of the display. Note that the palette buffer, which resides within the first 16 or 256 entries of the frame buffer, is utilized only by DMA channel 1. The user should not place palette entries into the frame buffer for DMA channel 2. The base address for channel 2 points to the first encoded pixel values for the lower half of the display. For dual-panel operation, the user must perform the following sequence in order: disable the LCD (LEN=0), program dual-panel mode (SDS= 0 →1), write the upper panel DMA base address, write the lower DMA base address and enable the LCD (LEN= 0 →1). The following figures show the format of these registers; question marks indicate that the values are unknown at reset.

Bits Name Description

Page 248 of the Intel SA-1110 user manual — 11.7.11 LCD Controller Status Register
Page 248 · click to enlarge
Page 248
0h B010 0018 DBAR2DMA Channel 2 Base

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

DMA Channel 2 Base Address Pointer

Reset ?

DMA channel 2 base address pointer.

Used to specify the base physical address of the frame buffer within off-chip memory for the lower half of the display in dual-panel operation. Value in DBAR2 is transferred to current address pointer register 2 when LCD is first enabled (LEN= 0 →1) and when the current address pointer value reaches the end-of-frame buffer. DBAR2 should be written only when the LCD is disabled or immediately after an interrupt is generated by setting the base address update status (BAU) bit. The base address must be on a quadword boundary. The user must always write bits 0 through 3 to zero.

31..0 DBAR2

0h B010 001C DCAR2DMA Channel 2 Current
Intel SA-1110 — 31..0 DBAR2 diagram (page 248)
Fig. 70

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset ?

Read-only register. Continuously reflects the current physical address that DMA channel 2 is transferring from or will use in the next transfer. Base address register is transferred to this register whenever the LCD is first enabled and when the current address is equal to the calculated end address of the buffer.

11.7.11 LCD Controller Status Register

The LCD controller status register (LCSR) contains bits that signal overrun and underrun errors for both the input and output FIFOs, ac bias pin transition count, LCD disabled, DMA base update ready, and DMA transfer bus error conditions. Each of these hardware-detected events signal an interrupt request to the interrupt controller.

Each of the LCD’s status bits signal an interrupt request as long as the bit is set. Once the bit is cleared, the interrupt is cleared. Read/write bits are called status bits (read-only bits are called flags). Status bits are referred to as “sticky” (once set by hardware, they must be cleared by software). Writing a 1 to a sticky status bit clears it; writing a zero has no effect. Read-only flags are set and cleared by hardware; writes have no effect. The user has the ability to mask all LCD interrupts by clearing bit 12 within the interrupt controller mask register (ICMR). See the Section 9.2, “Interrupt Controller” on page 9-83.

Address Register Read/Write · Bits Name Description · Address Register Read/Write

Page 249 of the Intel SA-1110 user manual — 11.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)
Page 249 · click to enlarge
Page 249

11.7.11.1 LCD Disable Done Flag (LDD) (read/write, maskable interrupt)

The LCD disable done (LDD) status is set after the LCD has been disabled and the frame that is active finishes being output to the LCD’s data pins. When the LCD is disabled by clearing the LCD enable bit (LEN= 0 →1) in LCCR0, the LCD allows the current frame to complete before it is disabled. After the last set of pixels is clocked out onto the LCD’s data pins by the pixel clock, the LCD is disabled, LDD is set, and an interrupt request is made to the interrupt controller if it is unmasked (LDM=0). This interrupt is useful to allow an orderly shutdown of the LCD controller before the user places the SA-1110 into sleep mode.

11.7.11.2 Base Address Update Flag (BAU) (read-only, maskable interrupt)

The base address update status (BAU) is a read/write status bit that is set after the contents of the DMA base address register 1 are transferred to the DMA current Address register 1 and is cleared when it is written to a 1. The value in the base address register is transferred to the current address register when the LCD is first enabled by writing a 1 to LEN (LEN= 0 →1) and when the current address pointer equals the end address value calculated by the LCD controller. When BAU is set, an interrupt request is made to the interrupt controller if it is unmasked (BAM = 0). This interrupt allows the user to program the DMA with a new base address value to alternate between two or more frame buffer locations. When dual-panel mode is enabled (SDS=1), both DMA channels are enabled, and BAU is set only after both channels' base address registers are transferred to their corresponding current address registers (1 and 2).

11.7.11.3 Bus Error Status (BER) (read/write, maskable interrupt)

The bus error status (BER) bit is set when a DMA transfer causes a bus error to occur on the ARM system bus. A bus error is signalled when the DMA controller attempts to access a reserved or nonexistent memory space. When this occurs, the SA-1110’s memory controller returns zeros for the read. It asserts the bus error signal to the LCD’s DMA, which in turn, causes the BER bit to be set and an interrupt request is made to the interrupt controller if it is unmasked (ERM = 0). The DMA is not disabled as a result of the bus error and operation continues as normal. If a DMA access causes a bus error, zeros are returned by the memory controller, which causes a palette entry to be filled with zeros (highest intensity color or black), or if pixel data is being DMAed, the LCD accesses the first location of the palette RAM one or more times.

11.7.11.4 AC Bias Count Status (ABC) (read/write, nonmaskable interrupt)

The ac bias count status (ABC) bit it set each time the ac bias pin (L_BIAS) transitions a particular number of times as specified by the ac bias pin transitions per interrupt (API) field in LCCR3. If API is programmed with a nonzero value, a counter is loaded with the value in API and is decremented each time the L_BIAS pin reverses state. When the counter reaches zero, the ABC bit is set, which signals an interrupt request to the interrupt controller. The counter reloads using the value in API, but does not start to decrement again until ABC is cleared by the user.

11.7.11.5 Input FIFO Overrun Lower Panel Status (IOL) (read/write, maskable interrupt)

The input FIFO overrun lower panel status (IOL) bit is set when the LCD’s DMA channel 2 attempts to place data into the lower panel’s input FIFO after it has been completely filled. It is cleared by writing a 1 to the bit. This bit is used only in dual-panel mode (SDS=1). When this bit is set, an interrupt request is made to the interrupt controller if it is unmasked (ERM=0).

Page 250 of the Intel SA-1110 user manual — 11.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)
Page 250 · click to enlarge
Page 250

11.7.11.6 Input FIFO Underrun Lower Panel Status (IUL) (read/write, maskable interrupt)

The input FIFO underrun lower panel status (IUL) bit is set when the lower panel’s input FIFO is completely empty and the LCD’s pixel unpacking logic attempts to fetch data from the FIFO. It is cleared by writing a 1 to the bit. This bit is used only in dual-panel mode (SDS=1). When this bit is set, an interrupt request is made to the interrupt controller if it is unmasked (ERM=0).

11.7.11.7 Input FIFO Overrun Upper Panel Status (IOU) (read/write, maskable interrupt)

The input FIFO overrun upper panel status (IOU) bit is set when the LCD’s DMA channel 1 attempts to place data into the upper panel’s input FIFO after it has been completely filled. It is cleared by writing a 1 to the bit. This bit is used in single-panel mode (SDS=0) and dual-panel mode (SDS=1). When this bit is set, an interrupt request is made to the interrupt controller if it is unmasked (ERM=0).

11.7.11.8 Input FIFO Underrun Upper Panel Status (IUU) (read/write, maskable interrupt)

The input FIFO underrun upper panel status (IUU) bit is set when the upper panel’s input FIFO is completely empty and the LCD’s pixel unpacking logic attempts to fetch data from the FIFO. It is cleared by writing a 1 to the bit. This bit is used in single-panel mode (SDS=0) and dual-panel mode (SDS=1). When this bit is set, an interrupt request is made to the interrupt controller if it is unmasked (ERM=0).

11.7.11.9 Output FIFO Overrun Lower Panel Status (OOL) (read/write, maskable interrupt)

The output FIFO overrun lower panel status (OOL) bit is set when the LCD’s dither logic attempts to place data into the lower panel’s output FIFO after it has been completely filled. It is cleared by writing a 1 to the bit. This bit is used only in dual-panel mode (SDS=1). When this bit is set, an interrupt request is made to the interrupt controller if it is unmasked (ERM = 0).

11.7.11.10 Output FIFO Underrun Lower Panel Status (OUL) (read only, maskable interrupt)

The output FIFO underrun lower panel status (OUL) bit is set when the lower panel’s output FIFO is completely empty and the LCD’s data pin driver logic attempts to fetch data from the FIFO. It is cleared by writing a 1 to the bit. This bit is used only in dual-panel mode (SDS=1). When this bit is set, an interrupt request is made to the interrupt controller if it is unmasked (ERM=0).

11.7.11.11 Output FIFO Overrun Upper Panel Status (OOU) (read/write, maskable interrupt)

The output FIFO overrun upper panel status (OOU) bit is set when the LCD’s dither logic attempts to place data into the upper panel’s output FIFO after it has been completely filled. It is cleared by writing a 1 to the bit. This bit is used in single-panel mode (SDS=0) and dual-panel mode (SDS=1). When this bit is set, an interrupt request is made to the interrupt controller if it is unmasked (ERM=0).

Page 251 of the Intel SA-1110 user manual — 5 IUL
Page 251 · click to enlarge
Page 251

11.7.11.12 Output FIFO Underrun Upper Panel Status (OUU) (read/write, maskable interrupt)

The output FIFO underrun upper panel status (OUU) bit is set when the upper panel’s output FIFO is completely empty and the LCD’s data pin driver logic attempts to fetch data from the FIFO. It is cleared by writing a 1 to the bit. This bit is used in single-panel mode (SDS=0) and dual-panel mode (SDS=1). When this bit is set, an interrupt request is made to the interrupt controller if it is unmasked (ERM=0).

The following table shows the location of the status and flag bits in LCSR. For reserved bits, writes are ignored and reads return zero. Set status bits should be cleared by software before enabling both the LCD controller and interrupt controller.

0h B010 0004 LCSRLCD Status Register Read/Write and Read-Only

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

OUU

OOU

OUL

OOL

IUU

IOU

IUL

IOL

ABC

BER

BAU

LDD

Reset 0

(Sheet 1 of 2)

LCD disable done status.

0 LDD

0. LCD has not been disabled and the last active frame completed. 1 – LCD has been disabled and the last active frame has just completed.

Base address update flag (read-only).

0. Base address has been written and has not yet been transferred to the current address register. 1 – Base address has been transferred to the current address register, triggered either by enabling the LCD or when the current address pointer equals the end address value calculated by the LCD.

1 BAU

Bus error status.

2 BER

0. DMA has not attempted an access to reserved/nonexistent memory space. 1 – DMA has attempted an access to a reserved/nonexistent location in external memory. The errant DMA read returns zeros.

AC bias count status.

0. AC bias transition counter has not decremented to zero, or API is programmed to all zeros. 1 – AC bias transition counter has decremented to zero, indicating that the L_BIAS pin has transitioned the number of times specified by the API control bit field. Counter is reloaded with the value in API but is disabled until the user clears ABC.

3 ABC

Input FIFO overrun lower panel status.

0. Input FIFO for the lower panel display has not overrun. 1 – DMA attempted to place data into the input FIFO for the lower panel after it has been filled.

4 IOL

Input FIFO underrun lower panel status.

0. Input FIFO for the lower panel display has not underrun. 1 – DMA not supplying data to input FIFO for the lower panel at a sufficient rate. FIFO has completely emptied; pixel unpacking logic has attempted to take added data from the FIFO.

5 IUL

Reserved · Bits Name Description

Page 252 of the Intel SA-1110 user manual — Table 11-10. LCD Controller Control, DMA, and Status Register Locations
Page 252 · click to enlarge
Page 252
0h B010 0004 LCSRLCD Status Register Read/Write and Read-Only

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

OOU

OUU

OUL

OOL

IUU

IOU

IUL

IOL

ABC

BER

BAU

LDD

Reset 0

(Sheet 2 of 2)

Input FIFO overrun upper panel status.

0. Input FIFO for the upper or whole panel display has not overrun. 1 - DMA attempted to place data into the input FIFO for the upper or whole panel after it has been filled.

6 IOU

Input FIFO underrun upper panel status.

0. Input FIFO for the upper or whole panel display has not underrun. 1 – DMA not supplying data to input FIFO for the upper or whole panel at a sufficient rate. FIFO has completely emptied; pixel unpacking logic has attempted to take added data from the FIFO.

7 IUU

Output FIFO overrun lower panel status.

0. Output FIFO for the lower panel display has not overrun. 1 – Dither logic attempted to place data into the output FIFO for the lower panel after it had been filled.

8 OOL

Output FIFO underrun lower panel status.

0. Output FIFO for the lower panel display has not underrun. 1 – LCD dither logic not supplying data to output FIFO for the lower panel at a sufficient rate. FIFO has completely emptied and data pin driver logic has attempted to take added data from the FIFO.

9 OUL

Output FIFO overrun upper panel status.

0. Output FIFO for the upper or whole panel display has not overrun. 1 – Dither logic attempted to place data into the output FIFO for the upper or whole panel after it had been filled.

10 OOU

Output FIFO underrun upper panel status.

0. Output FIFO for the upper or whole panel display has not underrun. 1 – LCD dither logic not supplying data to output FIFO for the upper or whole panel at a sufficient rate. FIFO has completely emptied and data pin driver logic has attempted to take added data from the FIFO.

11 OUU

31..12 — Reserved.

11.7.12 LCD Controller Register Locations

Table 11-10 shows the registers associated with the LCD controller and the physical addresses used to access them.

Figures 11-9 to Figure 11-13 describe the LCD controller timing parameters.

Table 11-10. LCD Controller Control, DMA, and Status Register Locations

0hB010 0000 LCCR0 LCD controller control register 0

0hB010 0004 LCSR LCD controller status register 1

0hB010 0008 – 0h B010 000C — Reserved

Reserved · Bits Name Description · Address Name Description

Page 253 of the Intel SA-1110 user manual — Table 11-10. LCD Controller Control, DMA, and Status Register Locations
Page 253 · click to enlarge
Page 253

Table 11-10. LCD Controller Control, DMA, and Status Register Locations

0hB010 0010 DBAR1 DMA channel 1 base address register

0hB010 0014 DCAR1 DMA channel 1 current address register

0hB010 0018 DBAR2 DMA channel 2 base address register

0hB010 001C DCAR2 DMA channel 2 current address register

0hB010 0020 LCCR1 LCD controller control register 1

0hB010 0024 LCCR2 LCD controller control register 2

0hB010 0028 LCCR3 LCD controller control register 3

0hB010 002C – 0hB010 FFFF — Reserved

Page 254 of the Intel SA-1110 user manual — A4790-01
Page 254 · click to enlarge
Page 254

11.7.13 LCD Controller Pin Timing Diagrams

Figure 11-9. Passive Mode Beginning-of-Frame Timing

VSP = 0

L_FCLK

LEN set to 1

HSP = 0

L_LCLK

L_PCLK

VSW = 1

ELW = 2 HSW = 6 BLW = 2

LDD[x:0]

Line 0 Data Line 1 Data Line 2 Data

PPL = 16

LEN - LCD enable: 0 - LCD is disabled. 1 - LCD is enabled. VSP - Vertical sync polarity: 0 - Frame clock is active high, inactive low. 1 - Frame clock is active low, inactive high. VSW - Vertical Sync Pulse Width: 1 to 64 horizontal sync clock periods to assert the vertical sync signal (hsync transitions). HSP - Horizontal sync polarity: 0 - Line clock is active high, inactive low. 1 - Line clock is active low, inactive high. ELW - End-of-line pixel clock wait count: 1 to 256 "dummy" pixel clock periods to wait after last pixel in line before asserting line clock (pixel clock does not transition). BLW - Beginning-of-line pixel clock wait count: 1 to 256 "dummy" pixel clock periods to wait after line clock negated before asserting pixel clocks (pixel clock does not transition). HSW - Horizontal sync pulse width: 1 to 64 "dummy" pixel clock periods to assert the line clock (pixel clock does not transition). PPL - Pixels per line: 16 to 1024 pixels per line on the screen (must be programmed on 16 pixel multiples). Frame clock asserted on first pixel clock of each frame, and is negated one "dummy" pixel clock period before the first pixel clock of the 2nd line.

A4790-01

Page 255 of the Intel SA-1110 user manual — A4791-01
Page 255 · click to enlarge
Page 255

Figure 11-10. Passive Mode End-of-Frame Timing

L_FCLK

L_LCLK

L_PCLK

VSW = 2 BLW = 1 ELW = 1

LDD[x:0]

Line 479 Data Line 0 Data

LPP = 480

BLW - Beginning-of-line pixel clock wait count: 1 to 256 "dummy" pixel clock periods to wait after line clock is negated before asserting pixel clocks (pixel clock does not transition). VSW - Vertical sync pulse width: In passive mode, 1 to 64 line clock periods to wait between the end of one frame and the beginning of the next frame (line clock transitions). ELW - End-of-line pixel clock wait count: 1 to 256 "dummy" pixel clock periods to wait after last pixel in line before asserting line clock (pixel clock does not transition). LPP - Lines per panel: 1 to 1024 lines per panel.

A4791-01

Page 256 of the Intel SA-1110 user manual — A8100-01
Page 256 · click to enlarge
Page 256

Figure 11-11. Passive Mode Pixel Clock and Data Pin Timing

L_FCLK

L_LCLK

PCP = 1

L_PCLK

Data Pins Change Data Pins Sampled

LDD[3:0]*

Pixels 0 through 3

Pixels 4 through 7 Pixels 8 through 11 Pixels 12 through 15

*DPD = 0

PCP - Pixel clock polarity: 0 - Pixels driven from data pins on rising edge of pixel clock. 1 - Pixels driven from data pins on falling edge of pixel clock.

DPD - Dual pixel data mode: 0 - 4 data pins are used in single-panel monochrome mode. 1 - 8 data pins are used in single-panel monochrome mode.

A8100-01

by the Display

Page 257 of the Intel SA-1110 user manual — A9002-01
Page 257 · click to enlarge
Page 257

Figure 11-12. Active Mode Timing

LEN set to 1

L_FCLK (VSYNC)

VSP = 0

VSW = 0

L_LCLK (HSYNC)

HSP = 0

BFW = 1

L_BIAS

OEP = 0

(OE)

*L_PCLK

*NOTEL_PCLK is not to scale here, please see detail below

LDD[7:0], GPIO[9:2]

Line 1 Data Line 0 Data

PPL = 16

TIMING DETAIL FOR THE BEGINNING AND END OF A LINE

L_FCLK (VSYNC)

HSYNC PULSE WIDTH = HSW + 2 = 3 + 2 = 5

L_LCLK (HSYNC)

HSW = 3

L_BIAS

(OE)

End of line wait = ELW + 1 = 1 + 1 = 2

Beginning of line wait = BLW + 1 = 1 + 1 = 2 ELW = 1 BLW = 1

L_PCLK

PCP = 0

pixels/line = PPL + 16 = 16 + 16 = 32

LDD[7:0], GPIO[9:2]

last pixel of the line (using PPL = 16)

pix 6 pix 25

pix 0 pix 2

LEN - LCD enable: 0 - LCD is disabled. 1 - LCD is enabled. VSP - Vertical sync polarity: 0 - Vertical sync clock is active high, inactive low. 1 - Vertical sync clock is active low, inactive high. VSW - Vertical sync width: 1 to 64 horizontal sync clock periods to assert the vertical sync signal (hsync transitions). HSW - Horizontal sync pulse width: 2 to 65 pixel clock periods to assert the line clock (pixel clock transitions). HSP - Horizontal sync polarity: 0 - Horizontal sync clock is active high, inactive low. 1 - Horizontal sync clock is active low, inactive high. BFW - Beginning-of-frame horizontal sync clock wait count: 0 or 2 to 256 horizontal sync clock periods to wait at the beginning of each frame (hsync transitions). BLW - Beginning-of-line pixel clock wait count: 2 to 256 pixel clock periods to wait after line clock negated before asserting pixel clocks (pixel clock transitions). ELW - End-of-line pixel clock wait count: 2 to 256 pixel clock periods to wait after last pixel in line before asserting line clock (pixel clock transitions). PPL - Pixels per line: 16 to 1024 pixels per line on screen.

A9002-01

Show 12 more labels / short text on this page
data driven here · data sampled here · pix 26 · pix 28 · pix 30 · pix 1 · pix 3 · pix 5 · pix 27 · pix 29 · pix 31 · pix 4
Page 258 of the Intel SA-1110 user manual — A9003-01
Page 258 · click to enlarge
Page 258

Figure 11-13. Active Mode Pixel Clock and Data Pin Timing

L_FCLK (VSYNC)

L_BIAS

(OE)

L_LCLK (HSYNC)

L_PCLK

(PCP = 0)

L_PCLK

(PCP = 1)

Data Pins Sampled by the Display

LDD[7:0], GPIO[9:2]

Pixel 0 Pixel 2 Pixel 3 Pixel 1

A9003-01

Data Pins Change

Page 259 of the Intel SA-1110 user manual — 11.8 Serial Port 0 – USB Device Controller (UDC)
Page 259 · click to enlarge
Page 259

11.8 Serial Port 0 – USB Device Controller (UDC)

This section describes the implementation-specific options of the USB protocol for a device controller as it applies to the SA-1110’s USB Device Controller (UDC). It is assumed that the user has a working knowledge of the USB standard. The SA-1110 UDC is “mostly” USB 1.1 compliant and supports all standard device requests issued by the Host. For programmer convenience, summaries of SA-1110 UDC operation are provided as well as quick reference tables. However, the user should refer to the Universal Serial Bus Specification, Revision 1.11 for a full description of the USB protocol and its operation.

  • “Isochronous” transaction format (not required for USB compliance)
  • "Special" packet type
  • “Frame Number” field
  • Zero-length “Data” packet for Bulk IN transfer
  • "Disconnect" signaling (can be handled with GPIOs)
  • Powering by the USB cable alone
  • Speeds slower than 12-MHz

The SA-1110 UDC supports three endpoints, and it operates only in High Speed mode at half-duplex with a baud rate of 12 Mbps (slave only - not a Host or hub controller).

Serial information transmitted by the SA-1110 UDC contains layers of communication protocols, the most basic of which are fields. SA-1110 UDC fields include:

  • Sync
  • Packet Identifier
  • Address
  • Endpoint
  • Frame Number
  • Data
  • Cyclical Redundancy Check (CRC)

Fields are used to produce packets. Depending on the function of a packet, a different combination and number of fields are used. Packet types include:

  • Token
  • Start Of Frame
  • Data
  • Handshake
1. Access the most recent revision of the Universal Serial Bus Specification via the World Wide Web at: http://www.usb.org/developers/docs.html
Page 260 of the Intel SA-1110 user manual — 11.8 Serial Port 0 – USB Device Controller (UDC)
Page 260 · click to enlarge
Page 260

Packets are assembled into groups to produce frames. Frames (or transactions) fall into four groups:

  • Bulk
  • Control
  • Interrupt (not supported by SA-1110 UDC)
  • Isochronous (not supported by SA-1110 UDC)

Endpoint 0, by default, is used only to communicate “Control” frames to configure the SA-1110 UDC after it is reset or physically connected to an active USB Host or hub. Endpoint 0’s responsi- bilities include:

  • Connection
  • Address Assignment
  • Endpoint Configuration
  • Bus Enumeration
  • Disconnect

Endpoint 1 is used for “Bulk OUT” Data frames, i.e., SA-1110 UDC receives data from the Host; Endpoint 2 is used for “Bulk IN” Data frames, i.e., SA-1110 UDC transmits data to the Host.

The SA-1110 UDC uses two separate FIFOs to buffer “Bulk OUT” Data frames received by Endpoint 1 from the Host and buffer “Bulk IN” Data frames transmitted from Endpoint 2 to the Host. The Receive Data FIFO is 20-entry x 8-bit and the Transmit Data FIFO is 16-entry x 8-bit. Both FIFOs can be filled or emptied either by the DMA or the CPU, with service requests being signalled when either FIFO is half-full or empty. Interrupts are signalled when the Receive Data FIFO experiences an overrun and/or when the Transmit Data FIFO experiences an underrun.

A single Control FIFO is used to buffer Control frames either received by Endpoint 0 from the Host or transmitted from Endpoint 0 to the Host. The Control FIFO is 8-entry x 8-bit. The Control FIFO can be read or written only by the CPU (not DMA).

UDC+ and UDC- are external SA-1110 UDC pins that are to be connected to the UDC+ and UDC- wires in the USB cable. The USB protocol uses differential signalling between these pins to provide half-duplex data transmission. A 1.5-Kohm pull-up resistor as shown in Figure 11-14 is required to be connected to the USB cable’s D+ wire to pull the UDC+ pin high when it is not driven. This signifies that the SA-1110 UDC is a 12-Mbps device, and it specifies the correct polarity for data transmission. Differential signalling between UDC+ and UDC- allows multiple states to be transmitted on the USB bus. These states are combined to transmit data as well as encode various bus conditions. The Bus conditions include:

  • Idle
  • Resume
  • Start Of Packet
  • End Of Packet
  • Disconnect
  • Connect
  • Reset
Page 261 of the Intel SA-1110 user manual — Table 11-11. USB Bus States
Page 261 · click to enlarge
Page 261

11.8.1 USB Operation

Following either a reset of the SA-1110 or whenever a USB cable is connected to the SA-1110 UDC, the SA-1110 UDC automatically configures all of its Endpoints and forces itself to use the USB default address of zero. The Host then assigns a unique address to the SA-1110 UDC. At this point, the SA-1110 UDC is under the Host’s control, i.e., the SA-1110 UDC responds to commands (control transactions) that are transmitted by the Host to the SA-1110 UDC’s Endpoint 0. The Host transmits “Bulk OUT” Data Frames to the SA-1110 UDC’s Endpoint 1; the Host receives “Bulk IN” Data Frames from the SA-1110 UDC’s Endpoint 2.

Note: The SA-1110 UDC cannot be powered by the USB cable alone. According to Section 7.2.3 of the USB Specification, Version 1.11, a USB client device (SA-1110 UDC) is required to consume less than 500 uA after receiving a Suspend signal from the Host. The SA-1110 UDC cannot limit its current consumption to 500 uA unless the SA-1110 enters sleep mode. However, when the SA-1110 enters sleep mode, all of its SA-1110 UDC registers are reset and the SA-1110 UDC will no longer respond to the Host–assigned address.

Note: The SA-1110 UDC must only describe one device configuration to the Host during the GET_DESCRIPTOR phase of the Host’s interrogation of the SA-1110 UDC. If multiple device configurations were to be described to the Host and if the Host then signals a switch to a different device configuration, the SA-1110 UDC would be required to flush any data that is in the TX FIFO. In order for the SA-1110 UDC to flush the TX FIFO, the SA-1110 UDC must first be disabled. Consequently, when the SA-1110 UDC is re-enabled, all of its registers will be reset and the SA-1110 UDC will no longer respond to the Host–assigned address.

11.8.1.1 Signalling Levels

USB uses differential signalling to encode data and to communicate various bus conditions. The USB Specification refers to the J and K data states to differentiate between high- and low-speed transmission. Because the SA-1110 UDC supports only 12-Mbps High Speed mode transmission, references are made only to actual data states 0 and 1.

With differential signaling, four distinct states are represented by decoding the polarity of the UDC+ and UDC- pins. Two of the four states are used to represent data. A “one” is represented when UDC+ is high and UDC- is low; a “zero” is represented when UDC+ is low and UDC- is high. The remaining two of the four states along with voltage and/or timing permutations of the four encodings are decoded to provide five additional states. So, seven states are provided for the USB bus as shown in Table 11-11.

Table 11-11. USB Bus States

Bus State UDC+/UDC- Pin Levels

Idle UDC+ high, UDC- low (same as a 1).

Resume UDC+ low, UDC- high (same as a 0).

Start of Packet Transition from idle to resume.

End of Packet UDC+ AND UDC- low for 2-bit times followed by an idle for 1-bit time.

1. Access the most recent revision of the Universal Serial Bus Specification via the World Wide Web at: http://www.usb.org/developers/docs.html
Page 262 of the Intel SA-1110 user manual — 11.8.1.2 Connecting the USB to the SA-1110
Page 262 · click to enlarge
Page 262

Table 11-11. USB Bus States

Bus State UDC+/UDC- Pin Levels

Disconnect UDC+ AND UDC- below single-ended low threshold (0.8 volts) for more than 2.5 µs.

(Disconnect is the static bus condition that results when no device is plugged into a hub or Host port.) Note: Disconnect is not sensed by the SA-1110 UDC; rather, GPIOn in Figure 11-14 is used to indicate disconnection of the USB cable.

Connect UDC+ OR UDC- high for more than 2.5 µs.

Reset UDC+ AND UDC- low for more than 2.5 µs. (Reset is driven by the Host and sensed by the SA-1110 UDC.)

Hosts and hubs have pull-down resistors on both the D+ and D- lines. When a device is not attached to the cable, the pull-down resistors cause D+ and D- to be pulled down below the single-ended low threshold (0.8 volts) of the Host or hub. This creates a state called single-ended zero (SE0). A Disconnect is detected by the Host when a SE0 persists for more than 2.5 µs (30-bit times). When the SA-1110 UDC is connected to the USB cable, the pull-up resistor on the UDC+ pin causes D+ to be pulled above the single-ended high threshold level. After 2.5 µs elapses, the Host detects a connect.

At this point, the bus is in the Idle state because UDC+ is high and UDC- is low. A Start Of Packet is signaled by transitioning the bus from the Idle to the Resume state (a 1 to 0 transition). The beginning of each USB packet begins with a Sync field, which starts with the 1-to-0 transition (see the Section 11.8.1.1, “Signalling Levels” on page 11-261). After the packet data has been transferred, an End Of Packet is signaled by pulling both UDC+ and UDC- low for 2-bit times, followed by an Idle for 1-bit time. If the Idle persists for more than 3 milliseconds, the SA-1110 UDC enters Suspend mode and it is placed in low-power mode. The SA-1110 UDC can be awakened from Suspend mode by the Host switching the bus to the Resume state via normal bus activity, or by signaling a Reset. Under normal operating conditions, the Host periodically signals a Start of Frame (SOF) to the SA-1110 UDC to ensure that the SA-1110 UDC does not enter the Suspend mode.

11.8.1.2 Connecting the USB to the SA-1110

Figure 11-14 shows how the USB should be connected to the SA-1110.

Page 263 of the Intel SA-1110 user manual — 1.5K
Page 263 · click to enlarge
Page 263

Figure 11-14. Connecting the USB to the SA-1110 UDC

Intel® StrongARM* SA-1110 Processor Universal Serial

Bus

USB 5V

5V to 3.3V

1.5K

UDC+

UDC+

UDC–

UDC–

USB GND

470K

470K

A8036-01

11.8.1.3 Bit Encoding

USB uses Nonreturn–To–Zero Inverted (NRZI) encoding of data bits with the bit clocks, i.e., data bits and the bit clock are encoded together within the same signal. A “zero” is represented by a transition, and a “one” is represented by no transition. Each time a “zero” occurs, the receiver logic synchronizes its baud clock to the incoming data. To ensure that the receiver is periodically synchronized, any time six consecutive “ones” are detected, a “zero” is automatically inserted by the transmitter. This procedure is known as “bit stuffing”. So, “bit stuffing” forces a transition on the incoming data stream at least once every seven bit-times to guarantee locking of the receiver’s baud clock. The receiver logic automatically detects “stuffed” bits and removes them. “Bit stuffing” is enabled for an entire packet beginning when Start Of Packet is detected and ending when End Of Packet is detected, i.e., “bit stuffing” is enabled from the start of the Sync field all the way through the end of the CRC field). Figure 11-15 shows the NRZI encoding of the data byte 0b1101 0010.

GPIOn

Page 264 of the Intel SA-1110 user manual — Address field:
Page 264 · click to enlarge
Page 264

Figure 11-15. NRZI Bit Encoding Example

1 1 0 1 0 0 1 0

A4795-01

11.8.1.4 Field Formats

Individual bits are assembled into groups called fields. Fields are used to construct packets, and packets are used to construct frames or transactions. The seven USB field types include in this order:

  • Sync
  • Packet Identifier
  • Address
  • Endpoint
  • Frame Number
  • Data
  • CRC

Sync Field:

A Sync is preceded by the Idle State on the USB bus and is always the first field of any packet. The first bit of a Sync signals the Start-Of-Packet (SOP) to the SA-1110 UDC or Host. A Sync field is 8-bits wide and consists of seven leading zeros followed by a one (0x80).

Packet Identifier field:

The Packet Identifier (PID) is 1-byte wide and always follows the Sync field. The first four bits contain an encoded value that represents packet type (e.g., Token, Data, Handshake, Special), packet format, and type of error detection. The last four bits contain a check field that ensures the PID is transmitted without errors. The check field is generated by performing a ones complement of the PID. The SA-1110 UDC automatically XORs the PID and check field, and than takes the appropriate action (as prescribed by the USB standard) if the result does not contain all ones, indicating an error has occurred in transmission.

Address field:

The Address field contains seven bits and permits 128 unique devices to be placed on the USB. After the SA-1110 is reset, or a reset is signalled via the USB bus, the SA-1110 UDC (and all of the other 127 possible devices) is assigned the default address of zero. The Host is then responsible for assigning unique addresses for each device on the bus. This is performed in the enumeration

Bit Value · Digital Data · NRZI Data

Page 265 of the Intel SA-1110 user manual — USB supports four packet types:
Page 265 · click to enlarge
Page 265

process, one device at a time. Once the Host assigns the SA-1110 UDC an address, the SA-1110 UDC responds only to transactions that are addressed to it. The Address field is transmitted in every packet and it follows the PID field.

Endpoint field:

When the SA-1110 UDC detects that a packet is addressed to it, the endpoint field is used to determine which of the SA-1110 UDC’s three endpoints are being addressed. The endpoint field is 4 bits. However, only the encodings for endpoints 0 through 2 are allowed. The endpoint field follows the address field. Table 11-12 shows the valid values for the endpoint field.

Table 11-12. Endpoint Field Addressing

Endpoint Field Value SA-1110 UDC Endpoint Selected

Frame Number field:

The Frame Number field is 11-bits wide. It is incremented by the Host each time a frame is transmitted. When it reaches its maximum value of 2047 (0x7FF), it rolls over. It is transmitted in the Start-Of Frame (SOF) packet, which is output by the Host in 1-millisecond intervals. The Frame Number field is used only by device controllers to control isochronous transfers. Isochronous transfers are not implemented by the SA-1110 UDC, so the Frame Number field has no affect on SA-1110 UDC.

Data field:

Data fields are used to transmit bulk data between the Host and the SA-1110 UDC. A Data field is made up of 1 to 256 bytes, where each byte is transmitted LSB first.

CRC field:

The Cyclic-Redundancy-Check (CRC) field is used to detect errors introduced during transmission of Token and Data packets, and it is applied to all the fields in the packet except the PID field, i.e., the PID contains its own 4-bit ones complement check field for error detection. Token packets use a 5-bit CRC (x5+x2+1) and Data packets use a 16-bit CRC (x16+x15+x2+1). For both, the CRC checker is reset to all ones at the start of each packet.

11.8.1.5 Packet Types

USB supports four packet types:

  • Token
  • Data
  • Handshake
Show 6 more labels / short text on this page
0000 Endpoint 0 · 0001 Endpoint 1 · 0010 Endpoint 2 · 0011 Invalid · 01xx Invalid · 1xxx Invalid
Page 266 of the Intel SA-1110 user manual — Figure 11-18. Data Packet Format
Page 266 · click to enlarge
Page 266
  • Special (not supported by the SA1110 UDC)

Token Packet:

A Setup Token Packet consists of Sync, PID, Address, Endpoint, and CRC5 fields, as shown in Figure 11-16. A Token Packet is placed at the beginning of a frame to identify OUT, IN, SOF, and SETUP transactions. OUT and IN transactions are used to transfer data, the SOF transaction is used to time isochronous transactions (not supported by the SA-1110 UDC), and the SETUP transaction is used to control transfers for the configuration of Endpoints.

For OUT and SETUP transactions, the Address and Endpoint fields are used to select which SA-1110 UDC Endpoint is to receive the data. For an IN transaction, the Address and Endpoint fields are used to select which endpoint is to transmit data.

Figure 11-16. Setup Token Packet Format

8 bits 8 bits 7 bits 4 bits 5 bits

Sync PID Address Endpoint CRC5

Start–Of–Frame (SOF) is a special type of Token Packet that is issued by the Host once every 1-millisecond to time isochronous transactions (not supported by the SA-1110 UDC). The SOF Token Packet consists of a Sync, PID, Frame Number (which is incremented after each frame is transmitted), and CRC5 field, as shown in Figure 11-17.

Figure 11-17. SOF Token Packet Format

8 bits 8 bits 11 bits 5 bits

Sync PID Frame Number CRC5

Data packet:

A Data Packet consists of Sync, PID, Data (1 to 256 bytes), and CRC16 fields, as shown in the Figure 11-18.

Data Packets follow Token Packets, and are used to transmit data between the Host and SA-1110 UDC. Two types of Data Packets (as specified by the PID) are:

  • DATA0
  • DATA1

DATA0 and DATA1 provide a mechanism to guarantee data sequence synchronization between the transmitter and receiver across multiple transactions, i.e., the transmitter and receiver communicate and agree which Data Packet type (DATA0 or DATA1) is to transmit first. For each subsequent packet transmitted, the Data Packet type is toggled DATA0, DATA1, DATA0, and so on.

Figure 11-18. Data Packet Format

8 bits 8 bits 0–256 bytes 16 bits

Sync PID Data CRC16

Page 267 of the Intel SA-1110 user manual — Bulk Transactions:
Page 267 · click to enlarge
Page 267

Handshake Packet:

Handshake Packets consist of only Sync and PID fields, as shown in Figure 11-19. Handshake Packets do not contain a CRC field because the PID contains its own 4-bit check field. Handshake Packets are used to report data transaction status, e.g., flow control, stall conditions, whether or not data was successfully received. Only transactions that support flow control can return handshakes.

The three types of Handshake Packets are:

  • ACK
  • NAK
  • STALL

ACK indicates that a Data Packet was received without errors, i.e., without bit-stuffing, CRC, or PID check errors. NAK indicates that the SA-1110 UDC was unable to accept data from the Host or that the SA-1110 UDC had no data to transmit to the Host. NAK is also used by Endpoint 1 to indicate that no interrupts are pending. STALL indicates that the SA-1110 UDC is unable to transmit or receive data, and that the SA-1110 UDC requires intervention by the Host to clear the stall condition. The receiving unit signals bit-stuffing, CRC, and/or PID errors by omitting a Handshake Packet.

Figure 11-19. Handshake Packet Format

8 bits 8 bits

Special Packet (not supported by the SA1110 UDC):

A Special Packet consists of a Host-issued preamble that enables bus traffic to low-speed Clients. The single type of Special Packet is PRE.

11.8.1.6 Transaction Formats

Packets are assembled into groups to form transactions. The four different Transaction formats used in the USB protocol are:

  • Bulk
  • Control
  • Interrupt
  • Isochronous (not supported by the SA-1110 UDC)

Bulk Transactions:

Both Endpoint 1 and Endpoint 2 use Bulk transactions. Bulk transactions guarantee error-free transmission of data between the Host and SA-1110 UDC by using packet error detection and retry. The three Packet Types used to construct Bulk transactions are: Token, Data, and Handshake. The eight possible types of Bulk transactions, based on data direction, error types, and stall conditions, are shown in Figure 11-20 (where packets sent by the SA-1110 UDC to the Host are highlighted in boldface type).

Sync PID

Page 268 of the Intel SA-1110 user manual — Control Transactions:
Page 268 · click to enlarge
Page 268

Figure 11-20. Bulk Transaction Formats

Action Token Packet Data Packet Handshake Packet

Host successfully received data from SA-1110 UDC IN DATA0/DATA1 ACK

SA-1110 UDC temporarily unable to transmit data IN None NAK

SA-1110 UDC Endpoint needs Host intervention IN None STALL

Host detected PID, CRC, or bit stuff error IN DATA0/DATA1 None

SA-1110 UDC successfully received data from Host OUT DATA0/DATA1 ACK

SA-1110 UDC temporarily unable to receive data OUT DATA0/DATA1 NAK

SA-1110 UDC Endpoint needs Host intervention OUT DATA0/DATA1 STALL

SA-1110 UDC detected PID, CRC, or bit stuff error OUT DATA0/DATA1 None

Packets from SA-1110 UDC to Host are boldface

Control Transactions:

Control transactions are used by the Host to configure endpoints and query their status. Endpoint 0, by default, is a Control endpoint that receives only Control transactions from the Host. The three Packet Types used to construct Control transactions are:

  • Token
  • Data
  • Handshake

Figure 11-21 shows the four possible types of Control transactions (where packets sent by the SA-1110 UDC to the Host are highlighted in boldface type). Control transactions begin with a Token (Setup) packet, followed by an optional Data packet, and end with a Handshake packet. Control transactions, by default, use DATA0 Data Packet transfers.

Page 269 of the Intel SA-1110 user manual — 11.8.1.7 SA-1110 UDC Device-Request Commands
Page 269 · click to enlarge
Page 269

Figure 11-21. Control Transaction Formats

Action Token Packet Data Packet Handshake Packet

SA-1110 UDC successfully received control from Host SETUP DATA0 ACK

SA-1110 UDC temporarily unable to receive data SETUP DATA0 NAK

SA-1110 UDC endpoint needs Host intervention SETUP DATA0 STALL

SA-1110 UDC detected PID, CRC, or bit stuff error SETUP DATA0 None

Packets from SA-1110 UDC to Host are boldface

A “transfer” is composed of transactions. A Control “transfer” is composed of a Control transaction followed by Bulk transactions. To assemble a Control “transfer”, the Host first sends a “control-read” or “control-write” Control transaction to the SA-1110 UDC’s Endpoint 0. The Host then receives (if control-read was sent) or transmits (if control-write was sent) one or more Bulk transactions.

The SETUP Token Packet is the first stage of the Control transaction. The SA-1110 UDC must respond with an ACK Handshake Packet or, if the SA-1110 UDC detected an error, no Handshake Packet. The Control transaction, by default, uses a DATA0 Data Packet. Each subsequent Bulk transaction toggles between using DATA1 and DATA0 Data Packets. A “control-write” Control transaction to the SA-1110 UDC’s Endpoint 0 is followed by OUT Bulk transactions; a “control-read” Control transaction to Endpoint 0 is followed by IN Bulk transactions. The SA-1110 UDC supports zero-length DATA1 and DATA0 Data packets.

The last Bulk transaction of a Control “transfer” serves as a Handshake Packet. It always uses a DATA1 Data Packet even if the previous Bulk transaction used a DATA1 Data Packet. The direction of this last Bulk transaction is reversed from that of the immediately previous Bulk transaction, e.g., a Control “transfer” that begins with a “control-read” Control transaction ends with an OUT Bulk transaction, a Control “transfer” that begins with a “control-write” Control transaction ends with an IN Bulk transaction.

Interrupt Transactions:

The SA-1110 UDC responds to a Host-generated Interrupt transaction in the same manner that it responds to a Bulk transaction.

11.8.1.7 SA-1110 UDC Device-Request Commands

The SA-1110 UDC’s control, status, and data registers are used only to control and monitor the transmit and receive FIFOs for Endpoint 1 and Endpoint 2. All other SA-1110 UDC configuration and status reporting is controlled by the Host via the USB bus, where the Host sends

Page 270 of the Intel SA-1110 user manual — Table 11-13. Host Device-Request Command Summary
Page 270 · click to enlarge
Page 270

Device-Request Commands in the form of Control transactions to Endpoint 0. Table 11-13 shows a summary of all Device-Request Commands. Users should refer to the Universal Serial Bus Specification Revision 1.1 for a full description of Host Device-Request Commands.

Each SETUP Control transaction to Endpoint 0 starts with a SETUP Token Packet which is followed by an 8-byte DATA0 Data Packet. The SETUP Control transaction ends with a Handshake Packet. The 8-byte DATA0 Data Packet specifies:

  • Data transfer direction: Host to device, device to Host
  • Data transfer type: standard, class, vendor
  • Data recipient: device, interface, endpoint, other
  • Number of bytes to transfer
  • Index or offset
  • Value: used to pass a variable-sized data parameter
  • Device-Request Command

Table 11-13. Host Device-Request Command Summary

SET_FEATURE Used to enable a specific feature such as device remote wake-up and endpoint stalls.

CLEAR_FEATURE Used to clear or disable a specific feature.

SET_CONFIGURATION Configures the UDC for operation. Used following a reset of the SA-1110 or after a reset has been signalled via the USB bus.

GET_CONFIGURATION Returns the current SA-1110 UDC configuration to the Host.

SET_DESCRIPTOR Used to set existing descriptors or add new descriptors. Existing descriptors include: device, configuration, string, interface, and endpoint.

GET_DESCRIPTOR Returns the specified descriptor if it exists.

SET_INTERFACE Used to select an alternate setting for the SA-1110 UDC’s interface.

GET_INTERFACE Returns the selected alternate setting for the specified interface.

GET_STATUS Returns the SA-1110 UDC’s status including: remote wake-up, self-powered, data direction, endpoint number, and stall status.

SET_ADDRESS Sets the SA-1110 UDC’s 7-bit address value for all future device accesses.

SYNCH_FRAME Used to set and then report an endpoint’s synchronization frame.

The SA-1110 UDC can decode and handle some Device-Request Commands with SA-1110 CPU intervention. However, all Device-Request Commands are passed from the SA-1110 UDC FIFO by software to memory so that the SA-1110 UDC Driver software (via SA-1110 CPU execution) can examine them and, if needed, take action.

In response to the GET_DESCRIPTOR command, the SA-1110 UDC Driver Software sends back a description of the SA-1110 UDC configuration. The SA-1110 UDC can physically support more data channel bandwidth than the USB specification allows. When the device responds to the Host, it must specify a legal USB configuration. The user device determines which endpoints to report to the Host. If an endpoint is not reported, it is not used. The direction of the endpoints are fixed.

Device-Request · Commands Name

Page 271 of the Intel SA-1110 user manual — 3. Suspend Interrupt:
Page 271 · click to enlarge
Page 271

After the Host completes a SET_CONFIGURATION or SET_INTERFACE command, SA-1110 software must decode the command to empty the OUT Endpoint FIFO and allow SA-1110 software to set up the proper power/peripheral configurations.

11.8.1.8 Using DMA

A different DMA transfer must be specified for each USB packet, e.g., do not program a 8K DMA transfer to try to move 128 64-byte USB packets. Also, the USB interrupt must be kept active to cause a reload of the DMA channel after EACH and EVERY packet is sent or received.

Errors in DMA-based USB transfers can be system dependent. For packet sizes greater than 12-bytes, best results are obtained by specifying modulo-4 packet sizes, e.g., 16-bytes, 64-bytes, 256-bytes. Also, best results are obtained by using an SA1110Bx at 192 MHz or 206 MHz.

11.8.1.9 Software Control of the SA-1110 UDC

11.8.1.9.1 Overview

When an interrupt occurs and the Interrupt Service Routine (ISR) is entered, read the Interrupt Controller Registers ICPR and ICIP or ICFP to determine which interrupts occurred. If bit 13 of these registers is set to 1, indicating a SA-1110 UDC service request, read the UDC Status/Interrupt Register (UDCSR) to determine which SA-1110 UDC interrupt caused the request. Based on which interrupt caused the request, do the following:

1. Wake-up or GPIOn Interrupt:

a. After wake-up or a GPIOn interrupt, software should read the GPIOn pin.

b. If GPIOn = 0, then the USB cable is not connected and wake-up was due to some other

occurrence.

c. If GPIOn = 1, then the USB cable is connected. Initialize the SA-1110 UDC and clear the

SUSIM bit (bit 6) of UDCCR.

2. Reset Interrupt:

a. Software should write a 1 to the RSTIR bit of the UDCSR to clear the reset interrupt.

b. If GPIOn = 0, the USB cable has been disconnected, and the SA-1110 can be put into

sleep mode.

c. If GPIOn = 1, then software should attempt to write a 0 to the SUSIM bit (bit 6) of

UDCCR to unmask the suspend interrupt.

1. If software is able to clear the SUSIM bit, the interrupt was due to reset being negated. Software should then be able to initialize any required variables and registers.
2. If software is unable to clear the SUSIM bit, the interrupt was due to USB Reset being asserted by the Host. Return to main.

3. Suspend Interrupt:

a. Software should be able to write a 1 to the SUSIM bit (bit 6) of UDCCR to mask any

further suspend interrupts.

b. Software should be able to write a 1 to the SUSIR bit (bit 3) of UDCSR to clear the

suspend interrupt.

Page 272 of the Intel SA-1110 user manual — Case 1: EP0 Control Read (e.g. Get Descriptor)
Page 272 · click to enlarge
Page 272

4. Resume Interrupt:

a. Software should be able to write a 1, then a 0, to the RESIM bit (bit 2) of UDCCR to clear

the internal suspend state machine.

b. Software may also write a 0 to the SUSIM bit (bit 6) of the UDCCR to unmask the

suspend interrupt.

c. Software should be able to write a 1 to the RESIR bit (bit 4) of the UDCSR to clear the

resume interrupt.

5. Endpoint 0 Interrupt:

a. Get the command packet from the FIFO.

b. Parse the command.

c. Setup the endpoint to respond to the command.

6. Endpoint 1 Interrupt:

a. Check that a complete packet is received.

b. Check for any errors.

c. Empty the remaining bytes out of the FIFO.

d. Setup the endpoint to get ready for a new packet of data.

7. Endpoint 2 Interrupt:

a. Check that a complete packet was transmitted.

b. Check for any errors.

c. Setup the endpoint to transmit a new packet of data.

11.8.1.9.2 Endpoint Operation

When a USB interrupt is received, software is vectored to its USB ISR. Software first clears the appropriate interrupt register USIR0 bit. It then vectors to its appropriate endpoint process routine. Initially only EP0 interrupt is enabled on power-up or after reset. The other interrupts are enabled as required by the SET CONFIG command.

As stated in Section 11.8.2 it is necessary to verify the effects of any writes to registers before continuing, e.g., loop on every write until the write takes place.

Case 1: EP0 Control Read (e.g. Get Descriptor)

1. At the beginning of the program, software initializes the internal state machine to WAIT_FOR_SETUP.
2. Host sends a SETUP command.
3. SA-1110 UDC generates an EP0 Interrupt.
4. The software then determines the UDCCS0-OPR bit is set - 0000 0001b.
5. This indicates that a new OUT packet is in the EP0 Buffer identifying a SETUP transaction. To help track this, software uses its state machine, which is currently WAIT_FOR_SETUP. This is to ensure fast software waits until all 8 bytes of the setup are in the FIFO before reading the data.
6. Software reads into a local buffer an amount of data from the UDCD0 Data Register FIFO as specified by UDCWC-WC bits. To read the data: a) read the UDCWC-WC bits, b) read UDCCD0, c) re-read the UDCWC-WC bits, and d) keep reading UDCCD0 followed by the
Page 273 of the Intel SA-1110 user manual — Case 2: EP0 Control Read with a Premature Status Stage
Page 273 · click to enlarge
Page 273

UDCWC-WC bits until the UDCWC-WC bits decrement. Software keeps reading the UDCWC register until the UDCWC-WC bits indicate a count of 8 bytes.

7. After parsing the data, software sees this is a Control Read command, at which point software starts loading the UDCD0 Data Register FIFO with the first packet of data and sets the internal state machine to DATA_STAGE_XMIT. If the command is asking for more data than is available, only the available data is queued for sending.
8. Software then clears the UDCCS0-OPR bit by writing a 1 to the UDCCS0-SO bit and sets the UDCCS0-IPR bit, telling the SA-1110 UDC to transmit the data on the next IN. After the bit is set, the UDCCS0 should be 0000 0010b. If there is no more data to send, then software also sets the UDCCS0-DE bit by writing a 1 to it. The UDCCS0 register at this time should be 0001 0010b.
9. Return from interrupt.
10. The Host then issues an IN packet, which the SA-1110 UDC will send back to the Host. After the Host ACKs the SA-1110 UDC, the SA-1110 UDC will clear the UDCCS0-IPR bit and generate an interrupt.
11. Upon entering the ISR, software will have to examine its internal state machine and see it is in the state DATA_STAGE_XMIT and needs to transmit more data.
12. The software loads the next 8 bytes of data into the UDCD0 Data Register. Software keeps reading the UDCWC register until the UDCWC-WC bits indicate the desired bytes have been written into the data FIFO. The UDCCS0-IPR bit is set and software returns from the interrupt. The internal state machine is left alone.
13. After the bit is set, the UDCCS0 should be 0000 0010b.
14. Return from interrupt.
15. Go back to step 11 until all of the data is transmitted or the last packet is a short packet.
16. When there no more data left to be transmitted or a short packet, software also sets the UDCCS0-DE bit by writing a 1 to it. The UDCCS0 register at this time should be 0001 0010b.
17. Software sets the state machine to WAIT_FOR_STATUS.
18. Return from interrupt.
19. When the Host executes the STATUS stage (Zero Length OUT), the SA-1110 UDC sets the UDDCS0-OPR bit causing an interrupt.
20. Upon entering the ISR, software sees the UDCCS0 register is 0000 0001b, then examines its internal state machine which is WAIT_FOR_STATUS. When it sees the UDCCS0 has the OPR bit set, it knows the STATUS stage was sent and will clear the OPR bit and must transfer its internal state machine back to WAIT_FOR_SETUP.

Case 2: EP0 Control Read with a Premature Status Stage

This happens during every enumeration cycle when the Host does a premature Get Device Descriptor command.

1. At the beginning of the program, software initializes the internal state machine to WAIT_FOR_SETUP.
2. Host sends a SETUP command.
3. SA-1110 UDC generates an EP0 Interrupt.
4. The software then determines the UDCCS0-OPR bit is set - 0000 0001b.
Page 274 of the Intel SA-1110 user manual — 11.8.1.8 Using DMA
Page 274 · click to enlarge
Page 274
5. This indicates that a new OUT packet is in the EP0 Buffer identifying a SETUP transaction. To help track this, software uses its state machine, which is currently WAIT_FOR_SETUP.
6. Software reads into a local buffer an amount of data from the UDCD0 Data Register FIFO as specified by UDCWC-WC bits. To read the data: a) read the UDCWC-WC bits, b) read UDCCD0, c) re-read the UDCWC-WC bits, and d) keep reading UDCCD0 followed by the UDCWC-WC bits until the UDCWC-WC bits decrement.
7. After parsing the data, software recognizes this is a Control Read command, at which point software starts loading the UDCD0 Data Register FIFO with the first packet of data and sets the internal state machine to EP0_DATA_STAGE_XMIT.
8. Software then clears the UDCCS0-OPR bit by writing a 1 to the UDCCS0-SO bit and sets the UDCCS0-IPR bit, telling the SA-1110 UDC to transmit the data on the next IN. (The SA-1110 UDC should have been NAKing all requests on this EP until the UDCCS0-IPR bit was set.) An Open Host Controller Interface (OHCI) system will be sending repeated requests.
9. After the bit is set, the UDCCS0 should be 0000 0010b.
10. Return from interrupt.
11. The Host then issues an IN packet, which the SA-1110 UDC will send back to the Host. After the Host ACKs the SA-1110 UDC, the SA-1110 UDC will clear the UDDCS0-IPR bit and generate an interrupt.
12. Upon entering the ISR, software will examine its internal state machine and see that it is in the state DATA_STAGE_XMIT and needs to transmit more data. The software loads the next 8 bytes of data into the UDCD0 Data Register, sets the UDCCS0-IPR bit, and returns from interrupt. The internal state machine is left alone.
13. After the bit is set, the UDCCS0 should be 0000 0010b.
14. Return from interrupt.
15. Go back to step 11 until all of the data is transmitted or the last packet is a short packet.
16. Sometime during this sequence, instead of the Host sending an IN packet to get more data, the Host sends a premature OUT STATUS stage telling the device it wants no more data.
17. This will cause an interrupt.
18. When this happens, the UDCCS0-OPR and UDCCS0-SE bits - 0010 0001b get set indicating a premature STATUS occurred.
19. In the ISR, the software will see that its machine state is DATA_STAGE_XMIT. It must interpret this as a premature STATUS stage. The software should then clear the UDCCS0-SE bit by writing a 1 to the UDCCS0-SSE bit, and clear the UDCCS0-OPR bit and sets the UDCCS0-DE bit by simultaneous writing to the UDCCS0-SO and UDCCS0-DE bits. The UDCCS0 should be 0001 0000b.
20. Software changes its internal state to WAIT_FOR_SETUP. The software will clean up any local data buffers.
Page 275 of the Intel SA-1110 user manual — Case 3: EP0 Control Write (e.g. Set Descriptor)
Page 275 · click to enlarge
Page 275

Case 3: EP0 Control Write (e.g. Set Descriptor)

1. At the beginning of the program, software initializes the internal state machine to WAIT_FOR_SETUP.
2. Host sends a SETUP command.
3. SA-1110 UDC generates an EP0 Interrupt.
4. The software then determines the UDCCS0-OPR is set - 0000 0001b.
5. This indicates that a new OUT packet is in the EP0 Buffer identifying a SETUP transaction. To help track this, software uses its state machine, which is currently WAIT_FOR_SETUP.
6. Software reads into a local buffer an amount of data from the UDCD0 Data Register FIFO as specified by UDCWC-WC bits. To read the data: a) read the UDCWC-WC bits, b) read UDCCD0, c) re-read the UDCWC-WC bits, and d) keep reading UDCCD0 followed by the UDCWC-WC bits until the UDCWC-WC bits decrement. Software keeps reading the UDCWC register until the UDCWC-WC bits indicate a count of 8 bytes.
7. When parsing the data in the buffer, software recognizes this is a Control Write command like Set Descriptor and sets the internal state machine to DATA_STAGE_RCV. The software clears the UDCCS0-OPR bit by writing a 1 to the UDCCS0-SO bit. The UDCCS0 register should now be 0000 0000b.
8. To allow for a premature status stage, software loads a zero length packet into the transmit FIFO by setting the IPR bit.
9. Return from interrupt.
10. The Host then issues an OUT packet, and the SA-1110 UDC issues an EP0 interrupt.
11. Upon entering the ISR, software sees the UDCCS0-OPR bit set - 0000 0001b. Software will have to examine its internal state machine and see that it is in the state DATA_STAGE_RCV and needs to receive more data.
12. Software reads the amount of data from the UDCD0 register determined by the UDCWC-WC bits into a local buffer and clears the UDCCS0-OPR bit. The UDCCS0 register should now be 0000 0000b. Software continually monitors the UDCWC-WC for every byte read making sure that the byte was transferred before reading the next byte.
13. Return from interrupt.
14. Go back to step 10 until all of the data is received.
15. When the last packet is received from the Host, the software then parses the command data and performs the required setup, e.g. setting descriptor data. The software tracks how many bytes were received by comparing it to the wLength field of the original SETUP packet.
16. The software then simultaneously clears the UDCCS0-OPR and sets the UDCCS0-DE bits. The UDCCS0 register should now be 0001 0000b. The software sets its state machine to WAIT_FOR_STATUS.
17. Return from interrupt.
18. When the Host executes the STATUS stage (OUT Packet), the SA-1110 UDC clears the UDCSS0-DE bit and issues an EP0 interrupt.
19. Upon entering the ISR, the software then examines its internal state machine which is WAIT_FOR_STATUS. When it sees the UDCCS0-SE bit is set, software clears the bit by writing to the UDCCS0-SSE bit and sets its internal state machine back to WAIT_FOR_SETUP.
Page 276 of the Intel SA-1110 user manual — Case 4: EP0 Control Write with a Premature Status Stage
Page 276 · click to enlarge
Page 276

Case 4: EP0 Control Write with a Premature Status Stage

1. At the beginning of the program, software initializes the internal state machine to WAIT_FOR_SETUP.
2. Host sends a SETUP command.
3. SA-1110 UDC generates an EP0 Interrupt.
4. The software then determines the UDCCS0-OPR bit is set - 0000 0001b.
5. This indicates that a new OUT packet is in the EP0 Buffer identifying a SETUP transaction. To help track this, software uses its state machine, which is currently WAIT_FOR_SETUP.
6. Software reads into a local buffer an amount of data from the UDCD0 Data Register FIFO as specified by UDCWC-WC bits. To read the data: a) read the UDCWC-WC bits, b) read UDCCD0, c) re-read the UDCWC-WC bits, and d) keep reading UDCCD0 followed by the UDCWC-WC bits until the UDCWC-WC bits decrement.
7. When parsing the data in the buffer, software may see this is a Control Write command e.g. Set Descriptor and sets the internal state machine to DATA_STAGE_RCV. The software clears the UDCCS0-OPR bit by writing a 1 to the UDCCS0-SO bit, the UDCCS0 register should now be 0000 0000b.
8. Also, to allow a premature status stage, software must load a zero length packet into the transmit FIFO by setting the IPR bit.
9. Return from interrupt.
10. The Host then issues an OUT packet, and the SA-1110 UDC issues an EP0 interrupt.
11. Upon entering the ISR, software sees the UDCCS0-OPR bit set - 0000 0001b, software will have to examine its internal state machine and see that it is in the state DATA_STAGE_RCV and needs to receive more data.
12. Software reads the amount of data from the UDCD0 data register determined by the UDCWC-WC bits into a write command buffer and clears the UDDCCS0-OPR bit, the UDCCS0 register should now be 0000 0000b.
13. Return from interrupt.
14. Go back to step 10 until all of the data is received.
15. Sometime during this sequence, instead of the Host sending an OUT packet to send more data, the Host sends a premature IN STATUS stage telling the device it wants to send no more data.
16. Since we had loaded a zero length packet in step 8 , the IN will result in the SA-1110 UDC sending a zero length data packet back to the Host.
17. This will cause an interrupt.
18. When this happens, the UDCCS0-OPR and UDCCS0-SE bits - 0010 0001b get set indicating a premature STATUS occurred.
19. In the ISR, the software will see that its machine state is DATA_STAGE_RCV. It must interpret this as a premature STATUS stage. The software should then clear the UDCCS0-OPR and the UDCCS0-SE bits by writing a 1 to the UDCCS0-SO and UDCCS0-SSE bits, and change its internal state to WAIT_FOR_SETUP. The software will clean up any local buffer pointers.
Page 277 of the Intel SA-1110 user manual — Case 6: EP1 Data Receive (Bulk-OUT)
Page 277 · click to enlarge
Page 277

Case 5: EP0 No Data Command

1. At the beginning of the program, software initializes the internal state machine to WAIT_FOR_SETUP.
2. Host sends a SETUP command.
3. SA-1110 UDC generates an EP0 Interrupt.
4. The software then determines the UDCCS0-OPR is set - 0000 0001b.
5. This indicates that a new OUT packet is in the EP0 Buffer identifying a SETUP transaction. To help track this, software uses its state machine which is currently WAIT_FOR_SETUP.
6. Software reads into a local buffer an amount of data from the UDCD0 Data Register FIFO as specified by UDCWC-WC bits. To read the data: a) read the UDCWC-WC bits, b) read UDCCD0, c) re-read the UDCWC-WC bits, and d) keep reading UDCCD0 followed by the UDCWC-WC bits until the UDCWC-WC bits decrement.
7. When parsing the data which is now in the buffer, software may see that this is a no-data type of command. Software will execute the command and sets its internal state machine to WAIT_FOR_STATUS. The software clears the UDCCS0-OPR bit and sets the UDCCS0-DE bit by simultaneously writing to the UDCCS0-SO and UDCCS0-DE bits. The UDCCS0 register should now be 0001 0000b.
8. Return from interrupt.
9. When the Host executes the STATUS stage, the SA-1110 UDC clears the UDDCS0-IPR bit causing an interrupt.
10. Upon entering the ISR routine, software sees that the UDCCS0 register is 0000 0000b, then examines its internal state machine which is WAIT_FOR_STATUS. When it sees the UDCCS0 is all zeros, it knows the STATUS stage was sent, and it must transfer its internal state machine back to WAIT_FOR_SETUP.

Case 6: EP1 Data Receive (Bulk-OUT)

1. At this point in the program, software has received a SETUP VENDOR command setting up an EP1-BULK-OUT transaction. Software has configured the DMA engine and enabled the EP1 interrupt to feed the DMA engine to handle the data.
2. During the SETUP VENDOR command, software sets up the DMA engine. Software determines the amount of data to be transferred and if the amount is less than the maximum packet value indicated in the UDCIMP register, software reprograms the UDCIMP register with the byte amount to be transferred (bytes –1). For the DMA engine channel used, software determines the current active data buffer and provides the DMA the current data buffer pointer.
3. The Host sends a BULK-OUT.
4. The SA-1110 UDC reads the data into the UDCDR FIFO and generates an EP1 interrupt.
5. The software checks to see that the UDCCS1-RPC bit is set to 1 to insure validity of the other register bits.
6. The software data buffer index is incremented by the amount of bytes transferred. This is obtained from the receive DMA channel.
7. If the UDCCS1-RPE bit is a 0 indicating no errors, the UDCCS1-RNE bit is checked to see if it is set to 1, indicating that there is remaining data in the FIFO which software needs to retrieve. It then moves any remaining data from the FIFO into the data buffer.
8. The DMA engine is restarted, i.e. repeat step 2 , and the UDCCS1-RPC bit is cleared.
Page 278 of the Intel SA-1110 user manual — Example code can be found at http://developer.intel.com/design/strong/swsup/
Page 278 · click to enlarge
Page 278
9. Return from interrupt.
10. Repeat step 3 until all of the data has been read from the Host.

Case 7: EP2 Data Transmit (Bulk-IN)

1. At this point in the program, software, has received a SETUP VENDOR command setting up an EP2-BULK-IN transaction. Software has configured the DMA engine and enabled the EP2 interrupt to feed the DMA engine to handle the data.

2. During the SETUP VENDOR command, software sets up the DMA to write data from memory to the UDCDR FIFO. Software determines the amount of data to be transferred and if it is less than the maximum packet value indicated in the UDCIMP register it reprograms the UDCIMP register with the byte amount to be transferred (bytes –1). For the DMA engine channel used, software determines the current active buffer and provides the DMA the current data buffer pointer. It then increments its data buffer index accordingly.

3. The Host sends a BULK-IN request.
4. The SA-1110 UDC sends a PACKET back to the Host and generates an EP2 interrupt.
5. The software checks the UDCCS2-TPC and UDCCS2-TFS bits are set to 1 to ensure validity of the other register bits and the Transmit FIFO needs service, i.e. it has 8 bytes or less in it.
6. The Transmit DMA channel is paused.
7. If the UDCCS2-TUR and UDCCS2-TPE bits are set, software decrements its data pointer to resend the data.
8. The DMA engine is restarted, i.e. repeat step 2 , software clears the UDCCS2-TPC bit.
9. Return from interrupt.
10. Repeat step 3 until all the bulk data has been sent to the Host.

11.8.1.10 SA-1110 USB Example Code

Example code can be found at http://developer.intel.com/design/strong/swsup/

11.8.2 SA-1110 UDC Register Definitions

All configuration, request/service, and status reporting is controlled by the Host and is communicated to the SA-1110 UDC via the USB bus. Several registers are available to the programmer to facilitate responding to and controlling the SA-1110 UDC via software. The SA-1110 UDC Control Register (UDCCR) is used to enable the SA-1110 UDC and to mask the various interrupt sources that exist within the SA-1110 UDC. The UDC Status/Interrupt Register (UDCSR) is used to indicate the state of the various interrupt sources.

Software parses the SET_ADDRESS command received by the SA-1110 UDC from the Host to extract the address that the Host has assigned to the SA-1110 UDC. Software then writes the address to the UDC Address Register (UDCAR), but the address does not enter the UDCAR until after software completes an acknowledgement handshake back to the Host.

The UDC OUT Maximum Packet Register (UDCOMP) is used to specify the maximum packet size of Endpoint 1 (Bulk OUT); the UDC IN Maximum Packet Register (UDCIMP) is used to specify the maximum packet size of Endpoint 2 (Bulk IN).

Page 279 of the Intel SA-1110 user manual — 1 UDA
Page 279 · click to enlarge
Page 279

A Control/Status Register is provided for each endpoint: UDC Endpoint 0 Control/Status Register (UDCCS0), UDC Endpoint 1 Control/Status Register (UDCCS1), and UDC Endpoint 2 Control/Status Register (UDCCS2).

Control Endpoint 0 uses the UDC Endpoint 0 Data Register (UDCD0) to access the 8-entry x 8-byte Control FIFO. When UDCD0 is read, control data received by Endpoint 0 from the Host exits from the bottom of the Control FIFO; when UDCD0 is written, data that is to be transmitted from Endpoint 0 to the Host enters the top of the Control FIFO. The UDC Endpoint 0 Write Count Register (UDCWC) can be used to determine the number of bytes that need to be read from UDCD0.

Both Endpoint 1 (Bulk OUT) and Endpoint 2 (Bulk IN) share the UDC Data Register (UDCDR) to access either the 20-entry x 8-byte Receive Data FIFO (Endpoint 1) or the 16-entry x 8-byte Transmit Data FIFO (Endpoint 2). When the UDCDR is read, data received by Endpoint 1 from the Host exits from the bottom of the Receive Data FIFO; when the UDCDR is written, data that is to be transmitted from Endpoint 2 to the Host enters the top of the Transmit Data FIFO.

11.8.3 UDC Control Register (UDCCR)

UDCCR contains eight bits: one bit enables/disables the SA-1110 UDC, one bit shows active/inactive status, and five bits mask the Transmit Data FIFO and Receive Data FIFO service requests, and one bit is relevant only to the B5 version of the SA-1110. When writing to the UDCCR, reserved bit-7 should be written as 0.

Note: Due to the internal synchronization required by the SA-1110 UDC’s configuration registers, it is possible for the CPU to write to the SA-1110 UDC registers and FIFOs too fast. So, a single write to the SA-1110 UDC must be completed before another write may take place. To ensure that a single write is completed, it is necessary to observe the effect of the write before another write may take place. This can be accomplished by writing to a SA-1110 UDC register and then reading back the same register two times. The second read-back should produce correct data.

0h 8000 0000 UDCCR Read/Write and Read-Only

7 6 5 4 3 2 1 0

5 SUSIM TIM RIM EIM RESIM UDA UDD

Reset 0 1 0 1

UDD disable.

0 UDD

0. UDD enabled (UDC+ and UDCused for USB serial transmission/reception). 1 – UDD disabled (SA-1110 UDC is reset).

SA-1110 UDC active (read-only).

1 UDA

0. SA-1110 UDC currently inactive. 1 – SA-1110 UDC currently active.

Reserved/B · Bits Name Description

Page 280 of the Intel SA-1110 user manual — 11.8.3.3 Resume Interrupt Mask (RESIM)
Page 280 · click to enlarge
Page 280

0h 8000 0000 UDCCR Read/Write and Read-Only

7 6 5 4 3 2 1 0

5 SUSIM TIM RIM EIM RESIM UDA UDD

Reset 0 1 0 1

Resume interrupt mask.

2 RESIM

0. Resume interrupt enabled.. 1 – Resume interrupt disabled.

Endpoint 0 interrupt mask.

3 EIM

0. Endpoint 0 interrupt enabled. 1 – Endpoint 0 interrupt disabled.

Receive interrupt mask.

4 RIM

0. Receive interrupt enabled. 1 – Receive interrupt disabled.

Transmit interrupt mask.

5 TIM

0. Transmit interrupt enabled. 1 – Transmit interrupt disabled.

Suspend interrupt mask.

6 SUSIM

0. Suspend interrupt enabled. 1 – Suspend interrupt disabled.

7 Reserved/B5 Reserved in A0, B0, B1, B2, and B4 versions of the SA-1110. For the B5 version of the

SA-1110, setting this bit to 1 activates the internal fix for Errata 29.

11.8.3.1 UDC Disable (UDD)

The UDD bit is used to enable or disable the SA-1110 UDC. When the CPU writes a 0 to the UDD bit, the SA-1110 UDC is enabled for serial transmission or reception; when the CPU writes a 1 to the UDD bit, the SA-1110 UDC is disabled and the UDC+ and UDC- pins are tristated.

Writing a 1 to the UDD bit causes the entire SA-1110 UDC to be reset. If the SA-1110 UDC is actively transmitting or receiving data when a 1 is written to the UDD bit, the SA-1110 UDC stops immediately, bits remaining in the transmit or receive serial shifter are reset, and all entries within the Transmit Data FIFO and Receive Data FIFO are reset.

An SA-1110 reset causes the UDD bit to be automatically set to 1, disabling the SA-1110 UDC. This gives control of the SA-1110 UDC’s pins to the PPC unit, which configures pins as inputs.

11.8.3.2 UDC Active (UDA)

The read-only UDA bit can be read to determine if the SA-1110 UDC is currently active. Reading a 1 indicates the SA-1110 UDC is currently involved in a transaction.

11.8.3.3 Resume Interrupt Mask (RESIM)

The RESIM bit masks or enables the resume interrupt request.

Reserved/B · Bits Name Description

Page 281 of the Intel SA-1110 user manual — 11.8.3.6 Transmit Interrupt Mask (TIM)
Page 281 · click to enlarge
Page 281
  • When the RESIM bit is written to 1, the resume interrupt is masked and the RESIR bit in the UDC Status/Interrupt Register cannot be set.
  • When the RESIM bit is written to 0, the resume interrupt is enabled. Whenever a resume condition occurs, the RESIR bit in the UDC Status/Interrupt Register is automatically set to 1.

A resume condition occurs after a suspend condition has occurred. A write of a 1 followed by a write of a 0 to the RESIM bit resets the internal suspend state machine so future resume conditions are recognized.

11.8.3.4 Endpoint 0 Interrupt Mask (EIM)

The EIM bit is used to mask or enable the Endpoint 0 interrupt.

  • When the EIM bit is written to 1, the Endpoint 0 interrupt is masked and the EIR bit in the UDC Status/Interrupt Register cannot be set.
  • When EIM is written to 0, the Endpoint 0 interrupt is enabled. Whenever an interruptible condition occurs in the receiver of Endpoint 0, the EIR bit in the UDC Status/Interrupt Register is automatically set to 1.

11.8.3.5 Receive Interrupt Mask (RIM)

The RIM bit is used to mask or enable the Endpoint 1 receive interrupt.

  • When the RIM bit is written to 1, the receive interrupt is masked and the RIR bit in the UDC Status/Interrupt Register cannot be set.
  • When the RIM bit is written to 0, the receive interrupt is enabled. Whenever an interruptible condition occurs in the receiver of Endpoint 1, the RIR bit in the UDC Status/Interrupt Register is automatically set to 1.

The RIM bit must be initialized before enabling the SA-1110 UDC.

11.8.3.6 Transmit Interrupt Mask (TIM)

The TIM bit is used to mask or enable the Endpoint 2 transmit interrupt.

  • When the TIM bit is written to 1, the transmit interrupt is masked and the TIR bit in the UDC Status/Interrupt Register cannot be set.
  • When the TIM bit is written to 0, the transmit interrupt is enabled. Whenever an interruptible condition occurs in the transmitter of Endpoint 2, the TIR bit is automatically set to 1.
Page 282 of the Intel SA-1110 user manual — 11.8.4 UDC Address Register (UDCAR)
Page 282 · click to enlarge
Page 282

The TIM bit must be initialized before enabling the SA-1110 UDC.

11.8.3.7 Suspend Interrupt Mask (SUSIM)

The SUSIM bit masks or enables the suspend interrupt.

  • When the SUSIM bit is written to 1, the suspend interrupt is masked and the SUSIR bit in the UDC Status/Interrupt Register is not allowed to be set.
  • When the SUSIM bit is written to 0, the suspend interrupt is enabled. Whenever a suspend condition occurs, the SUSIR bit in the UDC Status/Interrupt Register is automatically set to 1.

11.8.3.8 Reserved/B5

The Reserved/B5 bit is “reserved” in A0, B0, B1, B2, and B4 steppings of the SA-1110 and must be cleared to zero.

For the B5 stepping of the SA-1110 :

  • The Reserved/B5 bit must be set to 1 (by writing a 1 to it) to activate the internal fix for Errata 29.
  • The SA-1110 UDC must first be connected to a USB Host before the Reserved/B5 bit can be set to 1. The Reserved/B5 bit must be set to 1 each time that the USD is connected or re-connected to a USB Host.

11.8.4 UDC Address Register (UDCAR)

UDCAR contains seven bits that hold the UDC’s address. After a reset of the SA-1110 UDC, the address value is zero. Software parses the SET_ADDRESS command received by the SA-1110 UDC from the Host to extract the address that the Host has assigned to the SA-1110 UDC. Software then writes the address to the UDCAR, but the address does not enter the UDCAR until after USB interface software completes an Acknowledgement Handshake back to the Host.

Page 283 of the Intel SA-1110 user manual — 11.8.5 UDC OUT Maximum Packet Register (UDCOMP)
Page 283 · click to enlarge
Page 283

0h 8000 0004 UDCAR Read/Write

7 6 5 4 3 2 1 0

Reserved 7-bit Function Address

Reset 0

6..0 Address Function address field

7-bit function address. Reset to zero.

7 — Reserved.

Always read zero.

11.8.5 UDC OUT Maximum Packet Register (UDCOMP)

UDCOMP holds the value of the “maximum packet size minus one” that the SA-1110 UDC will accept from the Host (Bulk OUT). “Maximum packet size minus one” is used to accommodate a maximum Data Packet of 256 bytes, without needing a maximum packet size field of more than 8-bits. To allow the SA-1110 UDC to accept a 256-byte (or less) Data Packet from the Host, a value of 0xff (255) should be written to UDCOMP. After reset of the SA-1110 UDC, UDCOMP contains 0x08, allowing the SA-1110 UDC to accept a 9-byte (or less) Data Packet from the Host. The SA-1110 UDC will not accept a 0-byte Data Packet into Endpoint 1.

Note: Due to the internal synchronization required by the SA-1110 UDC configuration registers, it is possible for the CPU to write to the SA-1110 UDC registers and FIFOs too fast. So, a single write to the SA-1110 UDC must be completed before another write may take place. To ensure that a single write is completed, it is necessary to observe the effect of the write before another write may take place. This can be accomplished by writing to a SA-1110 UDC register and then reading back the same register two times. The second read-back should produce correct data.

0h 8000 0008 UDCOMP Read/Write

7 6 5 4 3 2 1 0

Maximum Packet Size - 1

Reset 0 1 0 0 0

7..0 OUT MaxP OUT maximum packet size.

8-bit field containing the value of the maximum packet size minus one.

Bits Name Description · Bits Name Description

Page 284 of the Intel SA-1110 user manual — 11.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)
Page 284 · click to enlarge
Page 284

11.8.6 UDC IN Maximum Packet Register (UDCIMP)

UDCIMP holds the value of the “maximum packet size minus one” that the SA-1110 UDC will transmit to the HOST (Bulk IN). “Maximum packet size minus one” is used to accommodate a maximum Data Packet size of 256 bytes, without needing a maximum packet size field of more than 8-bits. To allow the SA-1110 UDC to provide a 256-byte (or less) Data Packet to the HOST, a value of 0xff (255) should be written to UDCIMP. After reset of the SA-1110 UDC, UDCIMP contains 0x08, allowing the SA-1110 UDC to transmit a 9-byte (or less) Data Packet to the Host. The SA-1110 UDC will not transmit a 0-byte Data Packet from Endpoint 2.

Note: A bulk transfer typically consists of some number of full-size 64-byte packets and is terminated by a packet less than the full size. However, if the amount of data transferred is an exact multiple of 64-bytes, then a terminating packet of 0-bytes of data (plus header and checksum) is needed. The SA-1110 UDC does not allow a 0-byte packet to be transmitted, so the device driver is forced to substitute a 1-byte packet and the Host receives more data than it expects. Protocol support is needed so that the appropriate Host-side device driver can allow buffer space for the extra byte, detect when it gets sent, and discard it. Consequently, certain standard USB class protocols cannot be implemented using the SA-1110 UDC; therefore, custom Host-side device drivers will generally have to be provided, rather than re-using existing ones that implement the standard protocol.

Note: Due to the internal synchronization required by the SA-1110 UDC configuration registers, it is possible for the CPU to write to the SA-1110 UDC registers and FIFOs too fast. So, a single write to the SA-1110 UDC must be completed before another write may take place. To ensure that a single write is completed, it is necessary to observe the effect of the write before another write may take place. This can be accomplished by writing to a SA-1110 UDC register and then reading back the same register two times. The second read-back should produce correct data.

0h 8000 000C UDCIMP Read/Write

7 6 5 4 3 2 1 0

Maximum Packet Size - 1

Reset 0 1 0 0 0

7..0 IN MaxP IN Maximum packet size.

8-bit field containing the value of the number of bytes to transmit minus one.

11.8.7 UDC Endpoint 0 Control/Status Register (UDCCS0)

UDCCS0 contains 8 bits that are used to operate Endpoint 0.

Note: Due to the internal synchronization required by the SA-1110 UDC configuration registers, it is possible for the CPU to write to the SA-1110 UDC registers and FIFOs too fast. So, a single write to the SA-1110 UDC must be completed before another write may take place. To ensure that a single write is completed, it is necessary to observe the effect of the write before another write may

Bits Name Description

Page 285 of the Intel SA-1110 user manual — 11.8.7.2 IN Packet Ready (IPR)
Page 285 · click to enlarge
Page 285

take place. This can be accomplished by writing to a SA-1110 UDC register and then reading back the same register two times. The second read-back should produce correct data.

0h 8000 0010 UDCCS0 Read/Write

7 6 5 4 3 2 1 0

SSE SO SE DE FST SST IPR OPR

Reset 0

0 OPR OUT packet ready (read-only).

1. OUT packet ready.

1 IPR IN packet ready (read/write 1 to set).

1. IN packet ready.

2 SST Sent stall (read/write 1 to clear).

1. SA-1110 UDC sent stall handshake.

3 FST Force stall (read/write 1 to set).

1. Force stall handshake.

4 DE Data end (read/write 1 to set).

1. The last byte of the data phase has been written.

5 SE Setup end (read-only).

1. Control transfer ended before DE bit was set.

6 SO Serviced OPR (write-only).

1. Clear OPR, bit 0.

7 SSE Serviced setup end (write-only).

1. Clear SE, bit 5.

11.8.7.1 OUT Packet Ready (OPR)

The OPR bit is automatically set to 1 when a valid Token Packet is received from the Host into Endpoint 0. When the OPR bit is set, the EIR bit in the UDC Status/Interrupt Register will be automatically set to 1 if Endpoint 0 interrupts are enabled. The OPR bit is cleared to 0 by the CPU writing a 1 to the SO bit of UDCCS0. The SA-1110 UDC is not allowed to enter the Data Packet phase of a Control transaction until the OPR bit is cleared. If there is no Data Packet phase, then the CPU should write a 1 to the DE bit of UDCCS0 (to set it) at the same time it clears the OPR bit.

11.8.7.2 IN Packet Ready (IPR)

After the CPU writes a DATA0 Data Packet to the Control FIFO for transmission to the Host, the CPU writes a 1 to the IPR bit to set it. The SA-1110 UDC will automatically clear the IPR bit to 0 when the DATA0 Data Packet has been successfully transmitted to the Host. When the IPR bit is cleared, the EIR bit in the UDC Status/Interrupt Register will be automatically set to 1 if Endpoint 0 interrupts are enabled.

Bits Name Description

Page 286 of the Intel SA-1110 user manual — 11.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)
Page 286 · click to enlarge
Page 286

11.8.7.3 Sent Stall (SST)

When, due to a protocol violation, the SA-1110 UDC aborts the current Control transfer by issuing a STALL Handshake Packet, the SST bit is automatically set to 1 after the Stall response is sent on the USB bus. When the SST bit is set, the EIR bit in the UDC Status/Interrupt Register will be automatically set to 1 if Endpoint 0 interrupts are enabled. The CPU can clear the SST bit by writing a 1 to it.

11.8.7.4 Force Stall (FST)

The FST bit is automatically set to 1 when the SA-1110 UDC needs Host intervention. After the FST bit is set, the SA-1110 UDC issues a STALL Handshake Packet to the Host. This STALL Handshake Packet is issued for the current SETUP Control transfer only; the FST bit is then automatically cleared to 0 (after Stall is sent on the USB bus) so that Endpoint 0 does not remain in the stalled condition.

11.8.7.5 Data End (DE)

The DE bit is automatically set to 1 after the SA-1110 UDC writes the last Data Packet for the current descriptor. The DE bit needs to be set to 1 by the CPU when the last bytes of the packet do not fill the 8 byte FIFO, for example, the last 2 bytes of an 18 byte packet. In this case, software needs to set DE and clear OPR by writing a 0x50 to the UDCCS0 register. Once the current SETUP Control transfer has ended, the DE bit is automatically cleared to 0. When the DE bit is cleared, the EIR bit in the UDC Status/Interrupt Register will be automatically set to 1 if Endpoint 0 interrupts are enabled. If there is no data phase, the CPU should write a 1 to the EIR bit at the same time that it clears the OPR bit.

11.8.7.6 Setup End (SE)

The SE bit is automatically set to 1 when a Control transfer ends before the DE bit is set. When the SE bit is set, the EIR bit in the UDC Status/Interrupt Register will be automatically set to 1 if Endpoint 0 interrupts are enabled. The SE bit is cleared by the CPU writing a 1 to the SSE bit. When the CPU detects that both the SE bit and OPR bit are set, the CPU should first clear the SE bit by writing a 1 to the SSE bit, then unload the new Setup Packet.

11.8.7.7 Serviced OPR (SO)

Writing a 1 to the SO bit will clear the OPR bit to 0.

11.8.7.8 Serviced Setup End (SSE)

Writing a 1 to the SSE bit will clear the SE bit to 0.

11.8.8 UDC Endpoint 1 Control/Status Register (UDCCS1)

UDCCS1 contains six bits that are used to operate Endpoint 1 (OUT endpoint).

Page 287 of the Intel SA-1110 user manual — 11.8.8.2 Receive Packet Complete (RPC)
Page 287 · click to enlarge
Page 287

Note: Due to the internal synchronization required by the SA-1110 UDC configuration registers, it is possible for the CPU to write to the SA-1110 UDC registers and FIFOs too fast. So, a single write to the SA-1110 UDC must be completed before another write may take place. To ensure that a single write is completed, it is necessary to observe the effect of the write before another write may take place. This can be accomplished by writing to a SA-1110 UDC register and then reading back the same register two times. The second read-back should produce correct data.

0h 8000 0014 UDCCS1 Read/Write

7 6 5 4 3 2 1 0

Reserved RNE FST SST RPE RPC RFS

Reset 0

Receive FIFO service (read-only).

0 RFS

0. Receive FIFO has less than 12 bytes.
1. Receive FIFO has 12 bytes or more.

Receive packet complete (read/write 1 to clear).

1 RPC

0. Error/status bits invalid.
1. Receive packet has been received and error/status bits are valid.

Receive packet error (read-only).

2 RPE

0. Receive packet has no errors.
1. Receive packet has errors; valid only when RPC is set.

3 SST Sent stall (read/write 1 to clear).

1. STALL handshake was sent; valid only when RPC is set.

4 FST Force stall (read/write).

1. Issue STALL handshakes to OUT tokens.

Receive FIFO not empty (read-only).

5 RNE

0. Receive FIFO empty.
1. Receive FIFO not empty.

7..6 — Reserved.

Always reads zero.

11.8.8.1 Receive FIFO Service (RFS)

The RFS bit will be automatically set to 1 if the Receive Data FIFO contains 12 or more bytes (out of 20). Because the FIFO is asynchronous, the exact threshold cannot be determined, but it is guaranteed to be in this range. RFS = 1 is used to request DMA service for the FIFO.

11.8.8.2 Receive Packet Complete (RPC)

The RPC bit is automatically set to 1 after an OUT Packet has been received. When the RPC bit is set, the RIR bit in the UDC Status/Interrupt Register will be automatically set to 1 if receive interrupts are enabled. The RPC bit can be used to validate the other status/error bits in UDCCS1. The RPC bit is cleared to 0 by the CPU writing a 1 to it. While the RPC bit is set, the SA-1110 UDC will issue NAK Handshakes to all OUT Tokens.

Bits Name Description

Page 288 of the Intel SA-1110 user manual — 11.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)
Page 288 · click to enlarge
Page 288

11.8.8.3 Receive Packet Error (RPE)

The RPE bit is automatically set to 1 after the detection of either a CRC, bit stuffing, DATA toggle mismatch, or FIFO overrun error. The RPE bit is only valid if the RPC bit is set to 1. The RPE bit is cleared by the CPU writing a 1 to the RPC bit.

11.8.8.4 Sent Stall (SST)

The SST bit is automatically set to 1 when the SA-1110 UDC issues a STALL Handshake (due to a protocol violation where the Host sends more data than the maximum packet size) to abort the current transfer. The SST bit is cleared by the CPU writing a 1 to it.

11.8.8.5 Force Stall (FST)

The FST bit can be set to 1 by the SA-1110 UDC to force STALL Handshakes to be issued to all OUT Tokens. STALL Handshakes will continue to be sent to the Host until the CPU clears the FST bit by writing a 0 to it. The SST bit will be automatically set to 1 when the STALL state is actually entered (this may be delayed if the SA-1110 UDC is active when the FST bit is set). The STALL state will not be exited until both the FST and SST bits are cleared by the CPU writing a 1 to each of them.

When the Host sends a command, such as ClearFeature(HALT), the SA-1110 UDC is required to reinitialize its internal data toggle flag back to DATA0. To reinitialize this flag, the CPU must:

1. Set the FST bit by writing a 1 to it and read it back to ensure it is set.
2. Clear the FST bit by writing a 0 to it and read it back to ensure it is cleared.
3. Clear the SST bit by writing a 1 to it and read it back to ensure it is cleared.

11.8.8.6 Receive FIFO Not Empty (RNE)

The RNE bit indicates that there is unread data in the Receive Data FIFO. The RNE bit must be polled when the RPC bit is set to determine if there is any data in the Receive Data FIFO that DMA did not remove. To ensure that lingering data will not be lost, the Receive Data FIFO must continue to be read until the RNE bit is automatically cleared to 0.

11.8.9 UDC Endpoint 2 Control/Status Register (UDCCS2)

UDCCS2 contains 6 bits that are used to operate Endpoint 2 (IN Endpoint).

Note: Due to the internal synchronization required by the SA-1110 UDC configuration registers, it is possible for the CPU to write to the SA-1110 UDC registers and FIFOs too fast. So, a single write to the SA-1110 UDC must be completed before another write may take place. To ensure that a single write is completed, it is necessary to observe the effect of the write before another write may take place. This can be accomplished by writing to a SA-1110 UDC register and then reading back the same register two times. The second read-back should produce correct data.

Page 289 of the Intel SA-1110 user manual — 11.8.9.3 Transmit Packet Error (TPE)
Page 289 · click to enlarge
Page 289

0h 8000 0018 UDCCS2 Read/Write

7 6 5 4 3 2 1 0

Reserved FST SST TUR TPE TPC TFS

Reset 0 ?

Transmit FIFO service (read-only).

0 TFS

0. Transmit FIFO has more than 8 bytes.
1. Transmit FIFO has 8 bytes or less.

Transmit packet complete (read/write 1 to clear).

1 TPC

0. Error/status bits invalid.
1. Transmit packet has been sent and error/status bits are valid.

Transmit packet error (read-only).

2 TPE

0. Transmit packet was received with no errors.
1. Transmit packet has errors and the Host did not issue ACK. Valid only when RPC is set.

3 TUR Transmit FIFO underrun.

1. Transmit FIFO experienced an underrun. Valid only when TPC is set.

4 SST Sent STALL (read/write 1 to clear).

1. STALL handshake was sent. Valid only when TPC is set.

5 FST Force STALL (read/write).

1. Issue STALL handshakes to IN tokens.

7..6 — Reserved.

Always read zero.

11.8.9.1 Transmit FIFO Service (TFS)

The TFS bit will be automatically set to 1 if there are 8 or less bytes remaining in the Transmit Data FIFO. TFS = 1 is used to request DMA service to fill the FIFO.

11.8.9.2 Transmit Packet Complete (TPC)

The TPC bit will be automatically set to 1 when the SA-1110 UDC has sent an entire packet to the Host. When the TPC bit is set, the TIR bit in the UDC Status/Interrupt Register will be automatically set to 1 if transmit interrupts are enabled. The TPC bit can be used to validate the other status/error bits in UDCCS2. The TPC bit is cleared to 0 by the CPU writing a 1 to it. While the TPC bit is set, the SA-1110 UDC will issue NAK Handshakes to all IN Tokens.

11.8.9.3 Transmit Packet Error (TPE)

The TPE bit is automatically set to 1 to indicate that the Host did not issue an ACK Handshake to the current packet. The TPE bit is valid only when the TPC bit is set. The TPE bit is automatically cleared to 0 when the TPC bit is cleared.

Bits Name Description

Page 290 of the Intel SA-1110 user manual — 11.8.10 UDC Endpoint 0 Data Register (UDCD0)
Page 290 · click to enlarge
Page 290

11.8.9.4 Transmit Underrun (TUR)

The TUR bit is automatically set to 1 if the Transmit Data FIFO underruns. The TUR bit is valid only when the TPC bit is set. When the FIFO underruns, the packet is shortened and the CRC is corrupted, ensuring the Host discards the packet. The TUR bit is automatically cleared to 0 when the TPC bit is cleared.

11.8.9.5 Sent STALL (SST)

The SST bit indicates a STALL Handshake was issued to the Host. The SST bit is cleared to 0 by the CPU writing a 1 to it. When the SST bit is cleared, the Transmit Data FIFO is flushed.

11.8.9.6 Force STALL (FST)

The CPU can set the FST bit by writing a 1 to it to force the SA-1110 UDC to issue STALL Handshakes to all IN Tokens. STALL Handshakes will continue to be sent by the SA-1110 UDC until the CPU clears the FST bit to 0 by writing a 1 to it. The SST bit will be automatically set to 1 when the STALL state is actually entered (this may be delayed if the SA-1110 UDC is active when the FST bit is set). The STALL state will not be exited until both the FST bit and the SST bit are cleared to 0.

When the Host sends a command, such as ClearFeature(HALT), the SA-1110 UDC is required to reinitialize its internal data toggle flag back to DATA0. To reinitialize this flag, the CPU must:

1. Set the FST bit to 1 by writing a 1 to it and read it back to ensure it is set.
2. Clear the FST bit by writing a 0 to it and read it back to ensure it is cleared.
3. Clear the SST bit by writing a 1 to it and read it back to ensure it is cleared.

11.8.10 UDC Endpoint 0 Data Register (UDCD0)

UDCD0 is actually an 8-bit x 8-entry bidirectional FIFO. When the Host transmits data to Endpoint 0, the CPU reads UDCD0 to access the data.

When the SA-1110 UDC is sending data to the Host, the CPU writes the data to be sent into the UDCD0. Although the same Control FIFO can be read and written by the CPU during various points in a control sequence, the CPU may not read from and write to the Control FIFO at the same time. The direction that the Control FIFO is flowing is controlled by the SA-1110 UDC.

Normally, the SA-1110 UDC will be in an idle state, waiting for the Host to send commands. When this happens, the SA-1110 UDC fills the Control FIFO with the command from the Host and the CPU reads the command from the Control FIFO once it has arrived. The SA-1110 UDC will do a partial decode of the command to determine if the CPU is going to be filling the Control FIFO with data to send to the Host. If so, the direction is turned around to accept data from the CPU and have the SA-1110 UDC transmit the data. If the command is such that no data will be required from the SA-1110 UDC, then turn-around will not take place.

The only time the CPU may write to the Endpoint 0 Control FIFO is when a valid command from the Host has been received, and that command requires transmission of a response, e.g., a GET_DESCRIPTOR command.

Page 291 of the Intel SA-1110 user manual — 11.8.11 UDC Endpoint 0 Write Count Register (UDCWC)
Page 291 · click to enlarge
Page 291

0h 8000 001C UDCD0 Read/Write

7 6 5 4 3 2 1 0

Bottom of Endpoint 0 FIFO

Reset ?

7 6 5 4 3 2 1 0

Top of Endpoint 0 FIFO

Reset?

Top/bottom of Endpoint 0 FIFO data.

7..0 DATA

Read – Bottom of Endpoint 0 FIFO data.

Write – Top of Endpoint 0 FIFO data.

11.8.11 UDC Endpoint 0 Write Count Register (UDCWC)

UDCWC has a 4-bit “Write Count” field that can be read when a packet has been received from the Host by Endpoint 0. UDCWC can be used to determine how many bytes to read out of UDCD0. When data is present in the Control FIFO, UDCWC should read between 1 and 8.

0h 8000 0020 UDCWC Read-Only

7 6 5 4 3 2 1 0

Reset 0

3..0 WC Endpoint 0 write count (read-only).

4-bit field representing the number of bytes in the Endpoint 0 FIFO.

7..4 — Reserved.

Always reads zero.

Show 5 more labels / short text on this page
Read Access · Write Access · Bits Name Description · Reserved Write Count · Bits Name Description
Page 292 of the Intel SA-1110 user manual — 11.8.13 UDC Status/Interrupt Register (UDCSR)
Page 292 · click to enlarge
Page 292

11.8.12 UDC Data Register (UDCDR)

UDCDR is an 8–bit register corresponding to both the top and bottom entries of the Transmit FIFO and Receive FIFOs, respectively. The SA-1110 UDC’s receive logic places data into the top of the Receive FIFO. The data is transferred down the FIFO to the lowest location that is empty. When UDCDR is read, the bottom entry of the Receive FIFO is accessed. After the read, the bottom FIFO entry is invalidated and all FIFO data automatically transfers down one byte location.

When UDCDR is written, the topmost entry of the Transmit FIFO is accessed. After a write, the data is automatically transferred down the Transmit FIFO to the lowest available location. The SA-1110 UDC’s transmit logic:

  • acquires 8-bit data values from the bottom of the Transmit FIFO, one byte at a time
  • places the data into a serial shifter
  • transmits the data to the Host via the SA-1110 UDC pins

Each time a data value is taken from the bottom of the Transmit FIFO, the location is invalidated and all remaining data in the Transmit FIFO is automatically transferred down one location.

The following table shows the location of the top and bottom of the Transmit and Receive FIFOs in UDCDR. Both the Transmit FIFO and Receive FIFO are cleared when the SA-1110 is reset or when the UDD bit in UDCCR is written to one. After either of these actions take place, and before the SA-1110 UDC is enabled, the Transmit FIFO must be “primed” by writing up to sixteen 8-bit values to UDCDR.

0h 8000 0028 UDCDR Read/Write

7 6 5 4 3 2 1 0

Bottom of Receive FIFO

Reset ?

7 6 5 4 3 2 1 0

Top of Transmit FIFO

Reset?

Top/bottom of transmit/receive FIFO data.

7..0 DATA

Read – Bottom of receive FIFO data. Write – Top of transmit FIFO data.

11.8.13 UDC Status/Interrupt Register (UDCSR)

UDCSR contains six bits that are used to generate the SA-1110 UDC’s interrupt request. Each bit in UDCSR is logically ORed together to produce one interrupt request. When the Interrupt Service Routine (ISR) for the SA-1110 UDC is executed, it must read UDCSR to determine which interrupt request occurred.

Read Access · Write Access · Bits Name Description

Page 293 of the Intel SA-1110 user manual — 11.8.13.1 Endpoint 0 Interrupt Request (EIR)
Page 293 · click to enlarge
Page 293

Each bit in UDCSR is controlled by a mask bit in UDCCR. These mask bits, when set, will prevent corresponding status bits (interrupt requests) in UDCSR from being set. If the mask bit in UDCCR for a corresponding status bit in UDCSR is cleared and a corresponding interruptible condition occurs, the corresponding status bit in UDCSR will be set. To clear status bits in UDCSR, the CPU must write ones to the corresponding status bits. The SA-1110 UDC’s logically ORed interrupt request will be active as long as the value of UDCSR is non-zero.

Note: Due to the internal synchronization required by the SA-1110 UDC configuration registers, it is possible for the CPU to write to the SA-1110 UDC registers and FIFOs too fast. So, a single write to the SA-1110 UDC must be completed before another write may take place. To ensure that a single write is completed, it is necessary to observe the effect of the write before another write may take place. This can be accomplished by writing to a SA-1110 UDC register and then reading back the same register two times. The second read-back should produce correct data.

0h 8000 0030 UDCSR Read/Write (Clear)

7 6 5 4 3 2 1 0

Reserved RSTIR RESIR SUSIR TIR RIR EIR

Reset 0

0 EIR Endpoint 0 interrupt request (read/write clear).

1. Endpoint 0 needs service.

1 RIR Receive interrupt request (read/write clear).

1. Receive Endpoint (1) needs service.

2 TIR Transmit interrupt request (read/write clear).

1. Transmit Endpoint (2) needs service.

3 SUSIR Suspend interrupt request (read/write clear). SUSIR is cleared by writing a 1 to it.

1. SA-1110 UDC received suspend signalling from the Host.

4 RESIR Resume interrupt request (read/write clear).

1. SA-1110 UDC received resume signalling from the Host.

5 RSTIR Reset interrupt request (read/write clear).

1. SA-1110 UDC was reset by the Host.

7..6 — Reserved.

Always reads zero.

11.8.13.1 Endpoint 0 Interrupt Request (EIR)

The EIR bit is cleared to 0 by the CPU writing a 1 to it. The EIR bit gets automatically set to 1 if the EIM bit in UDCCR is cleared to 0, and if either of the following conditions occur in UDCCS0:

  • the OPR bit is set to 1
  • the IPR bit is cleared to 0
  • the DE bit is cleared to 0
  • the SE bit is set to 1

Bits Name Description

Page 294 of the Intel SA-1110 user manual — Table 11-14. SA-1110 UDC Control, Data, and Status Register Locations
Page 294 · click to enlarge
Page 294
  • the FST bit is set to 1

11.8.13.2 Receive Interrupt Request (RIR)

The RIR bit gets automatically set to 1 if the RIM bit in UDCCR is cleared to 0 and the RPC bit in UDCCS1 is set to 1. The RIR bit is cleared to 0 by the CPU writing a 1 to it.

11.8.13.3 Transmit Interrupt Request (TIR)

The TIR bit gets automatically set to 1 if the TIM bit in UDCCR is cleared to 0 and the TPC bit in the UDCCS2 is set to 1. The TIR bit is cleared to 0 by the CPU writing a 1 to it.

11.8.13.4 Suspend Interrupt Request (SUSIR)

The SUSIR bit is automatically set to 1 if the SUSIM bit in UDCCR is cleared to 0 and the USB bus remains idle for more than 3 milliseconds. The SUSIR bit is cleared to 0 by the CPU writing a 1 to it.

11.8.13.5 Resume Interrupt Request (RESIR)

The RESIR bit is cleared to 0 by the CPU writing a 1 to it. The RESIR gets automatically set to 1 if all of the following occur:

  • the RESIM bit in UDCCR is cleared to 0
  • the UDC is currently in the suspended state
  • the USB bus is driven with Resume signalling

11.8.13.6 Reset Interrupt Request (RSTIR)

The RSTIR bit gets automatically set to 1 if the REM bit in UDCCR is cleared to 0 and the Host issues a reset. When the Host issues a reset, the entire SA-1110 UDC is reset, but the RSTIR bit retains its state so software can determine that the SA-1110 UDC was reset. The RSTIR bit can be cleared to 0 by the CPU writing a 1 to it.

11.8.14 SA-1110 UDC Register Locations

Table 11-14 shows the SA-1110 UDC registers and the physical addresses used to access them.

Table 11-14. SA-1110 UDC Control, Data, and Status Register Locations

0h8000 0000 UDCCR UDC control register

0h8000 0004 UDCAR UDC address register

0h8000 0008 UDCOMP UDC OUT maximum packet register

0h8000 000C UDCIMP UDC IN maximum packet register

0h8000 0010 UDCCS0 UDC Endpoint 0 control/status register

0h8000 0014 UDCCS1 UDC Endpoint 1 (OUT) control/status register

0h8000 0018 UDCCS2 UDC Endpoint 2 (IN) control/status register

Address Name Description

Page 295 of the Intel SA-1110 user manual — 11.9.1 GPCLK Operation
Page 295 · click to enlarge
Page 295

Table 11-14. SA-1110 UDC Control, Data, and Status Register Locations

0h8000 001c UDCD0 UDC Endpoint 0 data register

0h8000 0020 UDCWC UDC Endpoint 0 write count register

0h8000 0024 — Reserved

0h8000 0028 UDCDR UDC transmit/receive data register (FIFOs)

0h8000 002c — Reserved

0h8000 0030 UDCSR UDC status/interrupt register

11.9 Serial Port 1 – GPCLK/UART

Serial port 1 is a combination general-purpose clock controller (GPCLK) and universal asynchronous receiver/transmitter (UART) serial controller. The user can configure it to perform one of the two functions, but operation of both modes using serial port 1’s pins cannot occur simultaneously However, the peripheral pin control (PPC) unit can be configured to take control of two GPIO pins and use them for UART transmission, while serial port 1’s pins are used for GPCLK operation. See the Section 11.13, “Peripheral Pin Controller (PPC)” on page 11-382 for a description of how the PPC is configured to allow use of both the GPCLK and UART.

Used as a GPCLK controller, serial port 1 can output a clock on GPIO pin 16 with a frequency in the range of 900 Hz to 3.6864 MHz.

Used as a UART, serial port 1 is identical to serial port 3. It supports most of the functionality of the 16C550 protocol including 7 and 8 bits of data (odd, even, or no parity), one start bit, either one or two stop bits, and transmits a continuous break signal. An interrupt is generated when a framing, parity, or receiver overrun error is present within the bottom four entries of the receive FIFO, when the transmit FIFO is half-empty or the receive FIFO is one- to two-thirds full, when a begin and end of break is detected on the receiver, and when the receive FIFO is partially full and the receiver is idle for three or more frame periods. Because programming and operation of serial port 1 as a UART is identical to serial port 3, see the Section 11.11, “Serial Port 3 – UART” on page 11-325 for a complete description of using serial port 1 in UART mode.

The external pins dedicated to this interface are TXD1 and RXD1. If serial transmission is not required and both the GPCLK and UART are disabled, control of these pins is given to the peripheral pin control (PPC) unit for use as general-purpose input/output pins (noninterruptible). See the Section 11.13, “Peripheral Pin Controller (PPC)” on page 11-382.

Modem control signals (RTS, CTS, DTR, and DSR) are not provided in this block but can be implemented using the general-purpose I/O port (GPIO) pins described in the Chapter 9, “System Control Module”.

11.9.1 GPCLK Operation

Following reset, both the GPCLK and UART are disabled. This causes the Peripheral Pin Controller (PPC) to assume control of the port’s pins. Reset causes the PPC to configure all of the peripheral pins as inputs, including serial port 1’s transmit (TXD1) and receive (RXD1) pins.

Address Name Description

Page 296 of the Intel SA-1110 user manual — 11.9.2.3 Sample Clock Direction (SCD)
Page 296 · click to enlarge
Page 296

11.9.1.1 Simultaneous Use of the UART and GPCLK

Serial port 1 contains a control bit to select which serial protocol to use: GPCLK or UART. Note that the two protocols cannot be combined at the same time (GPCLK transmit and UART receive). However, since the GPCLK and UART are fully independent blocks, a mode is supported that allows the user to enable the GPCLK using serial port 1’s pins (TXD1 and RXD1).

The UART is enabled using two GPIO pins (GPIO for transmit and GPIO for receive operation). This mode is enabled by setting the UART pin reassignment (UPR) control bit within the peripheral pin controller (PPC). For more information, see Section 11.13. Note that when this mode is enabled, serial port 1’s control bit, which selects GPCLK versus UART operation, is ignored and serial port 1 defaults to GPCLK mode.”

11.9.2 GPCLK Control Register 0

GPCLK control register 0 (GPCLKR0) contains 3 bit fields that control various functions within the GPCLK.

11.9.2.1 GPCLK/UART Select (SUS)

The GPCLK/UART select (SUS) bit is used to select whether serial port 1 is used for GPCLK or UART operation. When SUS=0, GPCLK operation is selected. When SUS=0 control of the transmit pin (TXD1) is given to the PPC unit; when SUS=0 control of the receive pin (RXD1) is given to the PPC unit. When SUS=1, UART operation is selected and the state of all remaining GPCLK register bits is ignored (remaining unchanged) and control of the TXD1 and RXD1 pins is given to the UART. See the Section 11.11, “Serial Port 3 – UART” on page 11-325 for a description of the programming and operation of serial port 1 as a UART. The SUS bit is the only bit within the control register that is reset, placing serial port 1 into GPCLK mode while disabling the transmitter and receiver.

11.9.2.2 Sample Clock Enable (SCE)

The sample clock enable (SCE) bit is used to enable or disable driving or receiving a clock using GPIO pin 16. When SCE=0, the sample clock is disabled. When SCE=1, the sample clock is enabled.

11.9.2.3 Sample Clock Direction (SCD)

When the sample clock function is enabled (SCE=1), the sample clock direction (SCD) bit is used to select whether the sample clock is an input from or an output to GPIO pin 16. When SCD=0, the sample clock is input using GPIO pin 16 and is not used. When SCD=1, the sample clock, which is generated within the GPCLK unit (the clock that is output after dividing the 3.6864-MHz reference by the programmable BRD field), is output to GPIO pin 16 in frequency ranging from 900 Hz to 3.6864 MHz.

The following table shows the location of all bit fields located in GPCLK control register 0 (GPCLKR0). The GPCLK must be disabled (SUS=0) when changing the state of any bit within this register.

Page 297 of the Intel SA-1110 user manual — When TXE=1, the GPCLK transmitter logic is enabled
Page 297 · click to enlarge
Page 297
Address0h 8002 0060 GPCLKR0 Read/Write

Bit 7 6 5 4 3 2 1 0

Reserved Reserved SCD SCE Reserved Reserved Reserved SUS

Reset ? 0

0 SUS GPCLK/UART select.

0. GPCLK mode selected. 1 – UART mode selected.

1 Reserved Reserved for Future Expansion.

2 Reserved Reserved for Future Expansion.

3 Reserved Reserved for Future Expansion.

4 SCE Sample clock enable.

0. Sample clock disabled. 1 – Sample clock enabled.

5 SCD Sample clock direction.

0. If sample clock enabled, it is input on GPIO pin 16 and is not used. 1 – The sample clock which is generated within the GPCLK unit (the clock that is output after dividing the 3.6864 MHz reference by the programmable BRD field), is output to the GPIO pin 16 in the frequency range of 900 Hz – 3.6864MHz..

6 Reserved Reserved for Future Expansion.

7 Reserved Reserved for Future Expansion.

11.9.3 GPCLK Control Register 1

GPCLK Control Register 1 (GPCLKR1) contains one bit field that controls the general purpose clock.

11.9.3.1 Transmit Enable (TXE)

The Transmit Enable bit enables and disables the GPCLK. When TXE=0, the GPCLK transmitter logic is disabled. The clocks are turned off to save power.

When TXE=1, the GPCLK transmitter logic is enabled

The following table shows the location of the TXE bit within GPCLK Control Register 1. The TXE bit is reset to a known state to ensure the GPCLK is disabled following a reset of the SA-1110. All other bits shown in the table are reserved for future use.

Bit Name Description

Page 298 of the Intel SA-1110 user manual — 11.9.4.1 Baud Rate Divisor (BRD)
Page 298 · click to enlarge
Page 298

0h 8002 0064 GPCLKR1 Read/Write

7 6 5 4 3 2 1 0

Reset ? 0 ?

0. GPCLK Transmit Logic disabled. Control of he TXD1 pin is given to the PPC unit if SUS=0

1 TXE

1. GPCLK Transmit Logic enabled if SUS=0.

7.. 2 and 0 — Reserved.

11.9.4 GPCLK Control Registers 2 and 3

GPCLK Control Register 2 (GPCLKR2) contains the upper 4 bits and GPCLK Control Register 3 (GPCLKR3) the lower 8 bits of the baud rate divisor field.

11.9.4.1 Baud Rate Divisor (BRD)

The 12-bit baud rate divisor (BRD) field is used to select the baud or bit rate of the GPCLK output clock. A total of 4096 different baud rates can be selected, ranging from a minimum of 900 Hz to 3.6864 MHz. The baud rate generator uses the 3.6864-MHz clock generated by the on-chip PLL and first divides it by the programmable baud rate using BRD. The resultant clock is sent out GPIO pin 16. The resultant baud rate given a specific BRD value, or required BRD value given a desired baud rate, can be calculated using the following two respective equations, where BRD is the decimal equivalent of the unsigned binary value programmed within the bit field:

BaudRate 3.6864 6 ×10 BRD 1 + ( ) =

BRD 3.6864 6 ×10 BaudRate 1 – =

The following tables show the bit locations corresponding to the baud rate divisor field that is split between two registers. The upper 4 bits of BRD reside within GPCLKR1and the lower 8 bits reside within GPCLKR2. The GPCLK must be disabled (SUS=0) whenever these registers are written. Note that writes to reserved bits are ignored and reads return zeros; question marks indicate that the values are unknown at reset.

Reserved TXE Reserved · Bits Name Description · Transmit Enable

Page 299 of the Intel SA-1110 user manual — Table 11-15. UART Control, Data, and Status Register Locations
Page 299 · click to enlarge
Page 299

0h 8002 006C GPCLKR2 Read/Write

7 6 5 4 3 2 1 0

Reserved BRD 11..8

Reset 0 ?

Baud rate divisor.

3..0 BRD 11..8

Encoded value (from 0 to 4095). Used to generate the baud rate of the GPCLK.

Baud Rate = 3.6864x106/((BRD+1)), where BRD is a decimal value.

7..4 — Reserved.

0h 8002 0070 GPCLKR3 Read/Write

7 6 5 4 3 2 1 0

BRD 7..0

Reset ?

Baud rate divisor.

7..0 BRD 7..0

Encoded value (from 0 to 4095). Used to generate the baud rate of the GPCLK.

Baud Rate = 3.6864x106/((BRD+1)), where BRD is a decimal value.

11.9.5 UART Register Locations

Table 11-15 shows the registers associated with the UART and the physical addresses used to access them. See the Section 11.9, “Serial Port 1 – GPCLK/UART” on page 11-295 for a description of the programming and operation of the UART (serial port 1’s UART is identical to serial port 3’s UART).

Table 11-15. UART Control, Data, and Status Register Locations

0h 8001 0000 UTCR0 UART control register 0

0h 8001 0004 UTCR1 UART control register 1

0h 8001 0008 UTCR2 UART control register 2

0h 8001 000C UTCR3 UART control register 3

0h 8001 0010 — Reserved

0h 8001 0014 UTDR UART data register

0h 8001 0018 — Reserved

Bits Name Description · Bits Name Description · Address Name Description

Page 300 of the Intel SA-1110 user manual — 11.10 Serial Port 2 – Infrared Communications Port (ICP)
Page 300 · click to enlarge
Page 300

Table 11-15. UART Control, Data, and Status Register Locations

0h 8001 001C UTSR0 UART status register 0

0h 8001 0020 UTSR1 UART status register 1

0h 8001 0024 –

0h 8001 005C — Reserved

11.9.6 GPCLK Register Locations

Table 11-16 shows the registers associated with the GPCLK and the physical addresses used to access them.

Table 11-16. GPCLK Control Register Locations

0h 8002 0060 GPCLKR0 GPCLK Control Register 0

0h 8002 0064 GPCLKR1 GPCLK Control Register 1

0h 8002 0068 — Reserved

0h 8002 006C GPCLKR2 GPCLK Control Register 2

0h 8002 0070 GPCLKR3 GPCLK Control Register 3

0h 8002 0074 — Reserved

0h 8002 0078 — Reserved

0h 8002 007C — Reserved

0h 8002 0080 — Reserved

0h 8002 0084 — Reserved

0h 8002 0088 –

0h 8002 FFFF — Reserved

11.10 Serial Port 2 – Infrared Communications Port (ICP)

The infrared communications port (ICP) operates at half-duplex and provides direct connection to commercially available Infrared Data Association (IrDA) compliant LED transceivers. The ICP supports both the original IrDA standard with speeds up to 115.2 Kbps as well as the newer 4-Mbps standard. Both standards use different bit encoding techniques and serial packet formats. Low-speed IrDA transmission uses the Hewlett-Packard Serial Infrared standard (HP-SIR*) for bit encoding and a universal asynchronous receiver-transmitter (UART) as the serial engine; high-speed uses four-position pulse modulation (4PPM) and a specialized serial packet protocol developed expressly for IrDA transmission. To support these two standards, the ICP contains two separate blocks, each comprised of a bit encoder/decoder and serial-to-parallel data engine. The engine within the ICP that implements the special 4-Mbps protocol is called the high-speed serial to parallel (HSSP) receiver-transmitter. Only one of the two standards can be enabled at a time (the user cannot enable low-speed transmit and high-speed receive at the same time). To support a variety of IrDA transceivers, both the transmit and receive data pins can be individually configured

Address Name Description · Address Name Description

Page 301 of the Intel SA-1110 user manual — HP-SIR *
Page 301 · click to enlarge
Page 301

to communicate either using normal or inverted data. Additionally, if IrDA transmission is not needed, the ICP’s UART can be enabled while disabling the HP-SIR bit encoder for use as a general-purpose serial port.

The external pins dedicated to the ICP are TXD2 and RXD2. If serial transmission is not required and the ICP is disabled, control of these pins is given to the peripheral pin control (PPC) unit for use as general-purpose input/output pins (noninterruptible). For more information, see Section 11.13.

11.10.1 Low-Speed ICP Operation

Following reset, both the UART and HSSP are disabled, which causes the peripheral pin controller (PPC) to assume control of the port’s pins. Reset causes the PPC to configure all of the peripheral pins as inputs, including serial port 2’s transmit (TXD2) and receive (RXD2) pins. Reset also causes the UART’s transmit and receive FIFOs to be flushed (all entries invalidated). Before enabling the ICP for low-speed operation, the user must first clear any writable or “sticky” status bits, which are set by writing a 1 to each bit. Next, the desired mode of operation is programmed in the control registers. At this point the user may “prime” the UART’s transmit FIFO by writing up to eight values, or the FIFO can remain empty and either programmed I/O or the DMA can be used to service it after the ICP is enabled. Once the ICP is enabled, transmission/reception of data can begin on the transmit (TXD2) and receive (RXD2) pins.

For low-speed operation, all serial data that is transferred between the TXD2/RXD2 pins and the ICP’s UART is modulated/demodulated according to the HP-SIR IrDA standard. The IrDA standard also specifies the frame format that must be used by the UART.

11.10.1.1 HP-SIR Modulation

Hewlett-Packard Serial Infrared* (SIR) modulation is used for low-speed transmission up to 115.2 Kbps. Logic zero is represented by a pulse of light that is either 3/16 of the bit time wide, or 1.6 µs wide (1.6 µs is 3/16 of the bit time for the highest bit rate of 115.2 Kbps). The rising edge of the pulse corresponds to the start of the zero bit time. Logic one is represented by the absence of light pulses. Figure 11-22 shows an example of HP-SIR modulation of the byte, 8’b01011001. Note that the byte is transmitted starting with the LSB first.

Figure 11-22. HP-SIR Modulation Example

LSB MSB

1 0 0 1 1 0 1 0

3/16 of the Bit Time

HP-SIR *

Bit Value · Digital Data · Data

Page 302 of the Intel SA-1110 user manual — Figure 11-24. 4PPM Modulation Encodings
Page 302 · click to enlarge
Page 302

11.10.1.2 UART Frame Format

For transmission rates up to 115.2 Kbps, the ICP’s UART is used. The user must program it to produce a frame that produces 8 bits of data, one stop bit, and no parity, as shown in Figure 11-23. Note that PE=1, SBS=1, DSS=0, SCE=1, BRK=1, RXE=0, TXE=0, and BRD=0x000 are illegal programming modes for IrDA operation and will produce unpredictable results. See Section 11.11, “Serial Port 3 – UART” on page 11-325 for a complete description of how to program and operate the ICP’s UART.

Figure 11-23. UART Frame Format for IrDA Transmission (<= 115.2 Kbps)

Start Bit Data 7 Data 6 Data 5 Data 4 Data 3 Data 2 Data 1 Data 0 Stop Bit

UTCR0-2 Programming:

PE=0 DSS = 1 TCE = don’t care RXE = 1 RIE = 0 or 1

OES = don’t care SCE = 0 BRD = 0x001 to 0xFFF TXE = 1 TIE = 0 or 1

SBS = 0 RCE = don’t care BRK = 0

11.10.2 High-Speed ICP Operation

Before enabling the ICP for high-speed operation, the user must first clear any writable or “sticky” status bits that are set by writing a one to each bit. Next, the desired mode of operation is programmed in the control registers. At this point the user can “prime” the HSSP’s transmit FIFO by writing up to 16 values, or the FIFO can remain empty and either programmed I/O or the DMA can be used to service it after the HSSP is enabled. Once the HSSP is enabled, transmission/reception of data can begin on the transmit (TXD2) and receive (RXD2) pins.

For high-speed operation, all serial data, which is transferred between the TXD2/RXD2 pins and the ICP’s HSSP, is modulated/demodulated according to the 4PPM IrDA standard. For high-speed transmission, both the modulation technique and the HSSP’s frame format are discussed in the following sections.

11.10.2.1 4PPM Modulation

Four-position pulse modulation (4PPM) is used for the high-speed transmission rate of 4.0 Mbps. Two data bits are encoded at a time by placing a single 125 ns light pulse within one of four time slots. The four time slots are collectively termed a “chip.” Bytes are encoded one at a time. They are divided into four individual nibbles (2-bit pairings) and the least significant nibble is transmitted first. Figure 11-24 shows the 4PPM encoding for the four possible 2-bit combinations and Figure 11-25 shows an example of 4PPM modulation of the byte 8’b10110001 that is constructed using four chips. Note that bits within each nibble are not reordered, but nibble 0 (least significant) is transmitted first, ending with nibble 3 (most significant).

Figure 11-24. 4PPM Modulation Encodings

1 2 3 4

Chip · Timeslots

Page 303 of the Intel SA-1110 user manual — Figure 11-26. High-Speed Serial Frame Format for IrDA Transmission (4.0 Mbps)
Page 303 · click to enlarge
Page 303
Intel SA-1110 — 11.10.2.2 HSSP Frame Format diagram (page 303)
Fig. 71 · 11.10.2.2 HSSP Frame Format

Figure 11-25. 4PPM Modulation Example

Nibble 3 Nibble 2 Nibble 1 Nibble 0

1 0 1 1 0 0 0 1

0 1 0 0 1 1 1 0

Nibble 0 Nibble 1 Nibble 2 Nibble 3

Chips 1 2 3 4

1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4

Intel SA-1110 — Figure 11-25. 4PPM Modulation Example diagram (page 303)
Fig. 72 · Figure 11-25. 4PPM Modulation Example

Receive data sample counter frequency = 6X timeslot frequency; each timeslot sampled on third clock.

11.10.2.2 HSSP Frame Format

When the 4-Mbps transmission rate is used, the high-speed serial/parallel (HSSP) interface within the ICP is used along with the 4PPM bit encoding. The HSSP frame format is shown in Figure 11-26.

Figure 11-26. High-Speed Serial Frame Format for IrDA Transmission (4.0 Mbps)

8180 chips maximum (2045 bytes)

64 chips 8 chips 4 chips

(32 bits) 8 chips

Intel SA-1110 — Figure 11-26. High-Speed Serial Frame Format for IrDA Transmission (4.0 Mbps) diagram (page 303)
Fig. 73 · Figure 11-26. High-Speed Serial Frame Format for IrD…
Show 13 more labels / short text on this page
Data = 00 · Data = 01 · Data = 10 · Data = 11 · Original Byte Order · Reordered Nibbles · Timeslots · 125ns · 4PPM Data · 4 chips · 16 chips · (8 bits) · (8 bits)
Page 304 of the Intel SA-1110 user manual — 11.10.2.6 CRC Field
Page 304 · click to enlarge
Page 304

The preamble, start, and stop flags are a mixture of chips that contain either 0, 1, or 2 pulses within the four time slots. Chips with 0 and 2 pulses are used to construct flags because they represent invalid data bit pairings (one pulse required per chip to represent one of four bit pairs). The preamble contains 16 repeated transmissions of the four chips: 1000 0000 1010 1000; the start flag contains one transmission of eight chips: 0000 1100 0000 1100 0110 0000 0110 0000; and the stop flag contains one transmission of eight chips: 0000 1100 0000 1100 0000 0110 0000 0110. The address, control, data, and CRC-32 use the standard 4PPM chip encoding to represent 2 bits per chip.

11.10.2.3 Address Field

The 8-bit address field is used by a transmitter to target a select group of receivers when multiple stations are connected to the same set of serial lines. The address allows up to 255 stations to be uniquely addressed (00000000 to 11111110). The global address (11111111) is used to broadcast messages to all stations. Register HSCR1 is used to program a unique address for broadcast recognition. Control bit HSCR0:AME is used to enable/disable the address match function. Note that the address of received frames is stored in the receive FIFO along with normal data and that it is transmitted and received starting with its LSB and ending with its MSB.

11.10.2.4 Control Field

The IPC control field is 8 bits and is optional (as defined by the user). Serial port 2 does not provide any hardware decode support for the control byte, but instead treats all bytes between the address and the CRC as data. Note that the control field is transmitted and received starting with its LSB and ending with its MSB.

11.10.2.5 Data Field

The data field can be any length that is a multiple of 8 bits from 0 to 2045 bytes. The user determines the data field length according to the application requirements and transmission characteristics of the target system. Usually a length is selected that maximizes the amount of data that can be transmitted per frame while allowing the CRC checker to be able to consistently detect all errors during transmission. Note that serial port 2 does not contain any hardware that restricts the maximum amount of data transmitted or received. It is up to the user to maintain these limits. If a data field that is not a multiple of 8 bits is received, an abort is signalled. Also note that each byte within the data field is transmitted and received starting with its LSB and ending with its MSB.

11.10.2.6 CRC Field

The HSSP uses the established 32-bit cyclic redundancy check (CRC-32) to detect bit errors that occur during transmission. A 32-bit CRC is computed using the address, control, and data fields, and is included in each frame. A separate CRC generator is implemented in both the transmit and receive logic. The transmitter calculates a CRC, and while data is actively transmitted, places the inverse of the resultant 32-bit value at the end of each frame before the flag is transmitted. In a similar manner, the receiver also calculates a CRC for each received data frame and compares the calculated CRC to the expected CRC value contained within the end of each received frame. If the calculated value does not match the expected value, an interrupt is signalled. The CRC computation logic is preset to all ones before reception or transmission of each frame and the result is inverted before it is used for comparison or transmission. Note that unlike the address, control, and data fields, the 32-bit inverted CRC value is transmitted and received from least significant byte to most significant, and within each byte the least significant nibble or chip is encoded or decoded first. The cyclic redundancy checker uses the 32-term polynomial:

Page 305 of the Intel SA-1110 user manual — 11.10.2.8 Receive Operation
Page 305 · click to enlarge
Page 305

CRC x ( ) x32 x26 x23 x22 x16 x12 x11 x10 x8 x7 x5 x4 x2 x 1 + ( ) =

11.10.2.7 Baud Rate Generation

The baud rate is derived by dividing down a fixed 48-MHz clock generated by one of the two on-chip PLLs by six. The 8-MHz baud clock (or time slot) for the receive logic is synchronized with the 4PPM data stream each time a transition is detected on the receive data line using a digital PLL. To encode a 4-Mbps data stream, the required “chip” frequency is 2.0 MHz, with four time slots per chip at a frequency of 8.0 MHz. Receive data is sampled halfway through each time-slot period by counting three out of the six 48-MHz clock periods that make up each time slot (see Figure 11-25). The chips are synchronized during preamble reception. The repeating pattern (four chips repeated 16 times) is used to identify the first time slot or beginning of a chip and resets the 2-bit time-slot counter logic, such that the 4PPM data is properly decoded.

11.10.2.8 Receive Operation

The IrDA standard specifies that all transmission occurs at half-duplex. This restriction forces the user to enable one direction at a given time: either the transmit or receive logic, but not both. However, the HSSP’s hardware does not impose such a restriction.The user may enable both the transmitter and receiver at the same time. Although forbidden by the IrDA standard, this feature is particularly useful when using the ICP’s loopback mode, which internally connects the output of the transmit serial shifter to the input of the receive serial shifter.

After the ICP is enabled for 4-Mbps transmission, the receiver logic begins by selecting an arbitrary chip boundary, receives four incoming 4PPM chips from the RXD2 pin using a serial shifter, and latches and decodes the chips one at a time. If the chips do not decode to the correct preamble, the time-slot counter’s clock is forced to skip one 8-MHz period, effectively delaying the time-slot count by one. This process is repeated until the preamble is recognized, signifying that the time-slot counter is synchronized. The preamble can be repeated as few as 16 times or may be continuously repeated to indicate an idle receive line.

At any time after the transmission of 16 preambles, the start flag can be received. The start flag is eight chips long. If any portion of the start flag does not match the standard encoding, the receive logic signals a framing error and the receive logic once again begins to look for the frame preamble.

Once the correct start flag is recognized, each subsequent grouping of four chips is decoded into a data byte and placed within a 5-byte temporary FIFO, which is used to prevent the CRC from being placed within the receive FIFO. When the temporary FIFO is filled, data values are pushed out one by one to the receive FIFO. The first data byte of a frame is the address. If receiver address matching is enabled, the received address is compared to the address programmed in the address match value field in one of the control registers. If the two values are equal or if the incoming address contains all ones, all subsequent data bytes, including the address byte, are stored in the receive FIFO. If the values do not match, the receiver logic does not store any data in the receive FIFO, ignores the remainder of the frame, and begins to search for the next preamble. The second data byte of the frame can contain an optional control field as defined by the user and must be decoded in software (no hardware support within the HSSP).

Page 306 of the Intel SA-1110 user manual — 11.10.2.9 Transmit Operation
Page 306 · click to enlarge
Page 306

Frames can contain any amount of data in multiples of 8 bits up to a maximum of 2047 bytes (including the address and control bytes). The HSSP does not limit frame size; it is the responsibility of the user to check that the size of each incoming frame does not exceed the IrDA protocol’s maximum allowed frame size.

When the receive FIFO is one- to two-thirds full, an interrupt or DMA transfer is signalled. If the data is not removed soon enough and the FIFO is completely filled, an overrun error is signalled when the receive logic attempts to place additional data into the full FIFO. Once the FIFO is full, all subsequent data bytes received are lost while all FIFO contents remain intact.

If any two sequential chips within the data field do not contain pulses (are 0000), the frame is aborted, the least recent or oldest byte within the temporary FIFO is moved to the receive FIFO (the remaining four FIFO entries are discarded), the end-of-frame (EOF) tag is set within the same FIFO entry where the last “good” byte of data resides, and the receiver logic begins to search for the preamble. An abort also occurs if any data chip containing 0011, 1010, 0101, or 1001 occurs (invalid chips that do not occur in the stop flag).

The receive logic continuously searches for the 8-chip stop flag. Once it is recognized, the last byte that was placed within the receive FIFO is flagged as the last byte of the frame and the data in the temporary FIFO is removed and used as the 32-bit CRC value for the frame. Instead of placing this in the receive FIFO, the receive logic compares it to the CRC-32 value, which is continuously calculated using the incoming data stream. If they do not match, the last byte that was placed within the receive FIFO is also tagged with a CRC error. The CRC value is not placed in the receive FIFO.

If the user disables the HSSP’s receiver during operation, reception of the current data byte is stopped immediately, the serial shifter and receive FIFO are cleared, control of the RXD2 pin is given to the peripheral pin control (PPC) unit, and all clocks used by the receive logic are automatically shut off to conserve power. The user should ensure that the polarity of the RXD2 input is reprogrammed properly if this pin is to be used as a GPIO input.

11.10.2.9 Transmit Operation

Before enabling the HSSP for transmission, the user may either “prime” the transmit FIFO by filling it with data or allow service requests to cause the CPU or DMA to fill the FIFO once the HSSP is enabled. Once enabled, the transmit logic issues a service request if its FIFO is empty. For each frame output, a minimum of 16 preambles are transmitted. If data is not available after the sixteenth preamble, additional preambles are output until a byte of valid data resides within the bottom of the transmit FIFO. The preambles are then followed by the start flag and then the data from the transmit FIFO. Four chips (8 bits) are encoded at a time and then loaded into a serial shift register. The contents are shifted out onto the TXD2 pin clocked by the 8-MHz baud clock. Note that the preamble, start and stop flags, and CRC value are automatically transmitted and need not be placed in the transmit FIFO.

When the transmit FIFO is emptied halfway, an interrupt and/or DMA service request is signalled. If new data is not supplied soon enough, the FIFO is completely emptied, and the transmit logic attempts to take additional data from the empty FIFO (one of two actions can be taken as programmed by the user). An underrun can either signal the normal completion of a frame or an unexpected termination of a frame in progress.

When normal frame completion is selected and an underrun occurs, the transmit logic transmits the 32-bit CRC value calculated during the transmission of all data within the frame (including the address and control bytes), followed by the stop flag to denote the end of the frame. The transmitter then continuously transmits preambles until data is once again available within the FIFO. Once data is available, the transmitter begins transmission of the next frame.

Page 307 of the Intel SA-1110 user manual — 11.10.2.10 Transmit and Receive FIFOs
Page 307 · click to enlarge
Page 307

When unexpected frame termination is selected and an underrun occurs, the transmit logic outputs an abort and interrupts the CPU. An abort continues to be transmitted until data is once again available in the transmit FIFO. The HSSP then transmits 16 preambles, a start flag, and starts the new frame. The off-chip receiver can choose to ignore the abort and continue to receive data or signal the HSSP to retry transmission of the aborted frame.

At the end of each frame transmitted, the HSSP outputs a pulse called the serial infrared interaction pulse (SIP). A SIP is required at least every 500 milliseconds to keep slower speed devices (115.2 Kbps and slower) from colliding with the higher speed transmission. The SIP simulates a start bit that causes all low-speed devices to stay off the bus for at least another 500 milliseconds. Transmission of the SIP pulse causes the TXD2 pin to be forced high for a duration of 1.625 µs and low for 7.375 µs (total SIP period = 9.0 µs). After the 9.0 µs elapses, the preamble is then transmitted continuously to indicate to the off-chip receiver that the HSSP’s transmitter is in the idle state. The preamble continues to be transmitted until new data is available within the transmit FIFO, or the HSSP’s transmitter is disabled. Note that it is the responsibility of the user to ensure that a frame completes once every 500 milliseconds such that a SIP pulse is produced, keeping all low-speed devices from interrupting transmission. Because most IrDA compatible devices produce a SIP after each frame transmitted, the user only needs to ensure that a frame is either transmitted or received by the ICP every 500 milliseconds. Note that frame length does not represent a significant portion of the 500 milliseconds time frame in which a SIP must be produced. At 4.0 Mbps, the longest frame allowed is 16,568 bits, which takes just over 4 milliseconds to transmit. Also note that the HSSP issues a SIP when the transmitter is first enabled to ensure all low-speed devices are silenced before transmitting its first frame.

If the user disables the HSSP’s transmitter during operation, transmission of the current data byte is stopped immediately, the serial shifter and transmit FIFO are cleared, control of the TXD2 pin is given to the peripheral pin control (PPC) unit, and all clocks used by the transmit logic are automatically shut off to conserve power. The user should ensure that the polarity of the TXD2 output is reprogrammed properly if this pin is to be used as a GPIO output.

11.10.2.10 Transmit and Receive FIFOs

To reduce chip size and power consumption, the HSSP’s FIFOs use self-timed logic (they are not clocked). Because of process and environmental variations, the depth at which a service request is triggered to empty the receive FIFO is variable. This variation spans a maximum of four FIFO entries; the receive FIFO service request can be made at four different FIFO depths.To compensate for this variability and guarantee that at least eight valid entries of data exist within the FIFO before generating a service request, an extra four entries have been added to the receive FIFO ( four entries more than the transmit FIFO). The transmit FIFO is 16 entries deep and the receive FIFO is 20 entries deep. The point at which the receive FIFO service request is triggered spans one fifth (four entries) of the 20-entry FIFO. The service request is signalled at a depth from two-fifths full to three-fifths full (when the FIFO contains nine, ten, eleven, or twelve entries of data).

This service request variation applies only to an empty FIFO that is filled (receive FIFO). It does not apply to a full FIFO that is emptied (transmit FIFO). The transmit FIFO is guaranteed to signal a service request when it has eight or more empty entries and negate the request when the FIFO contains nine or more entries that are filled.

If the DMA is used to service either one or both of the HSSP’s FIFOs, the burst size must be set to eight words, even though more than eight entries of data may exist within the receive FIFO. If programmed I/O is used to service the FIFOs, a maximum of 8 words may be added to the transmit FIFO without checking if more space is available. Likewise, a maximum of 8 words may be

Page 308 of the Intel SA-1110 user manual — 11.10.4.2 Low-Power Mode (LPM)
Page 308 · click to enlarge
Page 308

removed from the receive FIFO without checking if more data is available. After this point, the user must poll a set of status bits that indicate if any data remains in the receive FIFO or if space is available in the transmit FIFO before emptying or filling the FIFOs any further.

11.10.2.11 CPU and DMA Register Access Sizes

Bit positioning, byte ordering, and addressing of the HSSP is described in terms of little endian ordering. All ICP (HSSP and UART) registers are 8 bits wide and are located (except HSCR2) in the least significant byte of individual words. The ARM peripheral bus does not support byte or half-word operations. All reads and writes of the ICP by the CPU should be word–wide.

Two separate, dedicated DMA requests exist for both the transmit and the receive FIFOs. If the DMA controller is used to service the transmit and/or receive FIFOs, the user must ensure the DMA is properly configured to perform byte–wide accesses, using 8 bytes per burst for the HSSP and 4 bytes per burst for the UART. See later sections in this chapter for summaries of the ICP’s UART registers and HSSP registers.

11.10.3 UART Register Definition

The ICP’s UART is the same as serial port 3’s UART except that one additional register exists to control HP-SIR modulation for low-speed operation. See Section 11.11, “Serial Port 3 – UART” on page 11-325 for a description of the programming and operation of all other features of the ICP’s UART. Note that the user must ensure that the UART is programmed to yield the frame format shown in Figure 11-23.

11.10.4 UART Control Register 4

UART control register 4 (UTCR4) contains two different bit fields that control various functions for 115.2-Kbps (low-speed) IrDA transmission.

11.10.4.1 HP-SIR Enable (HSE)

The HP-SIR enable (HSE) bit controls whether the HP-SIR bit modulation logic is enabled or disabled. When HSE=0, HP-SIR modulation is disabled, and if UART operation is enabled (ITR=0), it is used for normal serial transmission (NRZ encoding only) rather than IrDA communication. When HSE=1, HP-SIR modulation is enabled for low-speed IrDA communication; zeros are represented by pulses that are 3/16 of the programmed bit width, while ones are represented by no pulses.

11.10.4.2 Low-Power Mode (LPM)

The low-power mode (LPM) bit controls whether the HP-SIR bit modulation logic represents zeros using a pulse that is 3/16 of the chosen bit width or a fixed 1.6 µs pulse width. When LPM=0, zeros are encoded as a pulse, which is 3/16 of the bit width programmed within the UART’s baud rate divisor (BRD) bit field. When LPM=1, the UART’s programmed bit length is ignored and zeros are represented by pulses that are 1.6 µs in duration. Programming LPM=1 minimizes the time that the off-chip LED transceiver is turned on to the minimum pulse width specified by the IrDA low-speed standard, which in turn, minimizes power consumption.

Page 309 of the Intel SA-1110 user manual — 11.10.6.1 IrDA Transmission Rate (ITR)
Page 309 · click to enlarge
Page 309

The following table shows the location of the bits within UART control register 4. Both bits are reset to zero. Note that the UART must be disabled (RXE=TXE=0) when changing the state of either of these two bits. Also note that writes to reserved bits are ignored and reads return zeros.

0h 8003 0010 UTCR4 Read/Write

7 6 5 4 3 2 1 0

Reset 0

HP-SIR enable.

0 HSE

0. HP-SIR modulation disabled; ICP functions as normal UART if ITR=0. 1 – HP-SIR modulation enabled; ICP functions as low-speed IrDA port if ITR=0.

Low-power mode.

1 LPM

0. Each zero encoded as a pulse that is 3/16 of the programmed bit time if ITR=0. 1 – Each zero encoded as a pulse that is 1.6 µs wide if ITR=0.

7..2 — Reserved.

11.10.5 HSSP Register Definitions

There are six registers within the HSSP: three control registers, one data register, and two status registers. The control registers are used to select IrDA transmission rate, address match value, whether an abort or end of frame occurs when the transmit FIFO underruns, and true or complemented transmit and receive data; to enable or disable transmit and receive operation, the FIFO interrupt service requests, receive address matching, and loopback mode.

The data register addresses the top location of the transmit FIFO and bottom location of the receive FIFO. When it is read, the receive FIFO is accessed, and when it is written, the transmit FIFO is accessed.

The status registers contain bits that signal CRC, overrun, underrun, framing, and receiver abort errors as well as the transmit FIFO service request, receive FIFO service request, and end-of-frame conditions. Each of these hardware-detected events signals an interrupt request to the interrupt controller. The status registers also contain flags for transmitter busy, receiver synchronized, receive FIFO not empty, and transmit FIFO not full (no interrupt generated).

11.10.6 HSSP Control Register 0

The HSSP control register 0 (HSCR0) contains eight different bit fields that control various functions for 4 Mbps IrDA transmission.

11.10.6.1 IrDA Transmission Rate (ITR)

The IrDA transmission rate (ITR) bit is used to select the transmission speed of the ICP. ITR selects the correct type of IrDA bit modulation to use (HP-SIR or 4PPM), and enables the correct serial-to-parallel engine (UART or HSSP). When ITR=0, the HP-SIR modulator is enabled along

Reserved LPM HSE · Bits Name Description

Page 310 of the Intel SA-1110 user manual — 11.10.6.3 Transmit FIFO Underrun Select (TUS)
Page 310 · click to enlarge
Page 310

with serial port 2’s UART. When ITR=1, the 4PPM modulator is enabled as well as the HSSP. Note after one of the two speeds is selected by programming the ITR bit of HSCR0, all further selection of UART and HSSP options is done by programming the control registers associated with each of the individual UART and HSSP units.

11.10.6.2 Loopback Mode (LBM)

The loopback mode (LBM) bit is used to enable and disable the ability of the HSSP’s transmit and receive logic to communicate. When LBM=0, the HSSP operates normally. The transmit and receive data paths are independent and communicate via their respective pins. When LBM=1, the output of the transmit serial shifter is directly connected to the input of the receive serial shifter internally, and (if ITR=1) control of the TXD2 and RXD2 pins is given to the peripheral pin control (PPC) unit. Note that even though the IrDA standard permits only half-duplex operation, the HSSP does not restrict the user from transmitting and receiving data at the same time; both are fully independent units. This function is essential when using the HSSP in loopback mode.

11.10.6.3 Transmit FIFO Underrun Select (TUS)

The transmit FIFO underrun select (TUS) bit is used both to select what action to take as a result of a transmit FIFO underrun as well as mask or enable the transmit FIFO underrun interrupt.

When TUS=0, transmit FIFO underruns are used to signal the transmit logic that the end of the frame has been reached. When the transmit FIFO experiences an underrun, the CRC value, which is calculated continuously on outgoing data, is loaded to the serial shifter and transmitted, followed by the stop flag and SIP pulse. Also when TUS=0, the transmit FIFO interrupt is masked and the state of the transmit FIFO underrun (TUR) status bit is ignored by the interrupt controller.

When TUS=1, transmit FIFO underruns are used to signal the transmit logic that the end of the frame has not yet been reached. When the transmit FIFO experiences an underrun, the CRC value, which is calculated continuously on outgoing data, is loaded to the serial shifter and transmitted, followed by the stop flag and SIP pulse. Additionally, when TUS=0, the transmit FIFO underrun interrupt is masked, causing the state of the transmit FIFO underrun (TUR) status bit to be ignored by the interrupt controller. Note that programming TUS=0 does not affect the current state of TUR or the transmit FIFO logic’s ability to set and clear TUR; it only blocks the generation of the interrupt request.

When TUS=1, transmit FIFO underruns are used to signal the transmit logic that the end of the frame has not yet been reached and that the rate in which data is supplied to the transmit FIFO is not sufficient. When the transmit FIFO experiences an underrun, two sequential chips, each containing zeros (0000), are output by the transmitter to signal an abort condition; next a SIP pulse is output, followed by a minimum of 16 preambles. Preambles continue to be output until data is once again available within the transmit FIFO. Additionally, when TUS=1, the transmit FIFO underrun interrupt is enabled, and whenever TUR is set (one), an interrupt request is made to the interrupt controller. To change the state of TUS during operation, the user should fill the transmit FIFO to ensure TUS is not written at the same time that the transmit FIFO underruns.

TUS is useful for ensuring that frames are not prematurely ended due to an unexpected transmit FIFO underrun. At the start of a frame, the user can configure TUS=1 such that any underrun signals an abort to the off-chip receiver. Just before the end of the frame, the user can then configure TUS=0, allowing the remaining data to be output by the transmit logic. The FIFO then underruns, causing the CRC, stop flag, and SIP to be transmitted.

Page 311 of the Intel SA-1110 user manual — 11.10.6.6 Receive FIFO Interrupt Enable (RIE)
Page 311 · click to enlarge
Page 311

11.10.6.4 Transmit Enable (TXE)

The transmit enable (TXE) bit is used to enable and disable HSSP transmit operation. When TXE=0, the transmit logic is disabled and its clocks are turned off to conserve power. When TXE=1, the HSSP transmitter logic is enabled for IrDA transmission. It is required that the user first program all other control bits before setting TXE. If the TXE bit is cleared to zero while the HSSP is actively transmitting data, transmission is stopped immediately, all data within the transmit FIFO and serial output shifter is cleared, and control of the TXD2 pin is given to the peripheral pin control (PPC) unit. When the transmitter is turned on (TXE=0→1), a SIP pulse is transmitted before transmission of data. A SIP pulse is used to prevent slower devices (115.2 Kbps) from attempting to take control of infrared transmission. See the previous sections for further timing details of the SIP pulse.

TXE and RXE are the only HSCR0 control bits within the HSSP that are initialized when a hardware reset occurs. Clearing TXE to zero ensures the HSSP transmitter is disabled, giving control of the transmit pin to the PPC unit that configures TXD1 as an input following a reset of the SA-1110. Note that TXE is ignored when ITR=0 (enables UART operation). Also note that even though the IrDA standard permits only half-duplex operation, the HSSP does not restrict the user from transmitting and receiving data at the same time; both are fully independent units. This function is particularly useful when using the HSSP in loopback mode. See the Section 11.10.6.2, “Loopback Mode (LBM)” on page 11-310.

11.10.6.5 Receive Enable (RXE)

The receive enable (RXE) bit is used to enable or disable HSSP receive operation. When RXE=0, the receive logic is disabled and its clocks are turned off to conserve power. When RXE=1, the HSSP receiver logic is enabled for IrDA reception. It is required that the user first program all other control bits before setting RXE. If the RXE bit is cleared to zero while the HSSP is actively receiving data, reception is stopped immediately, all data within the receive FIFO and serial input shifter is cleared, and control of the RXD2 pin is given to the peripheral pin control (PPC) unit. Note that TXE and RXE are the only control bits within the HSSP that are initialized when a hardware reset occurs. Clearing RXE to zero ensures the HSSP receiver is disabled, giving control of the receive pin to the PPC unit, which configures RXD2 as an input following a reset of the SA-1110. Note that RXE is ignored when ITR=0, which enables UART operation. Also note that even though the IrDA standard permits only half-duplex operation, the HSSP does not restrict the user from transmitting and receiving data at the same time; both are fully independent units. This function is particularly useful when using the HSSP in loopback mode. See the Section 11.10.6.2, “Loopback Mode (LBM)” on page 11-310.

11.10.6.6 Receive FIFO Interrupt Enable (RIE)

The receive FIFO interrupt mask (RIE) bit is used to mask or enable the receive FIFO service request interrupt. When RIE=0, the interrupt is masked, and the state of the receive FIFO service request (RFS) bit within HSSP status register 0 is ignored by the interrupt controller. When RIE=1, the interrupt is enabled, and whenever RFS is set (one), an interrupt request is made to the interrupt controller. Note that programming RIE=0 does not affect the current state of RFS or the receive FIFO logic’s ability to set and clear RFS; it only blocks the generation of the interrupt request. Also note that RIE does not affect generation of the receive FIFO DMA request , which is asserted whenever RFS=1.

Page 312 of the Intel SA-1110 user manual — 2 TUS
Page 312 · click to enlarge
Page 312

11.10.6.7 Transmit FIFO Interrupt Enable (TIE)

The transmit FIFO interrupt mask (TIE) bit is used to mask or enable the transmit FIFO service request interrupt. When TIE=0, the interrupt is masked and the state of the transmit FIFO service request (TFS) bit within HSSP status register 0 is ignored by the interrupt controller. When TIE=1, the interrupt is enabled, and whenever TFS is set (one), an interrupt request is made to the interrupt controller. Note that programming TIE=0 does not affect the current state of TFS or the transmit FIFO logic’s ability to set and clear TFS; it only blocks the generation of the interrupt request. Also note that TIE does not affect generation of the transmit FIFO DMA request, which is asserted whenever TFS=1.

11.10.6.8 Address Match Enable (AME)

The address match enable (AME) bit is used to enable or disable the receive logic from comparing the address programmed in the address match value (AMV) bit field to the address of all incoming frames. When AME=1, data is stored in the receive FIFO only for those frames that have addresses that match AMV and for any frame that contains an address containing all ones (11111111), denoting a global address. For frames in which the address does not match, the data and CRC are ignored and the receiver resumes hunting for a preamble. When AME=0, address values are not compared and the data in every frame is stored in the receive FIFO. The following table shows the location of the bits within HSSP control register 0. RXE and TXE are the only control bits that are reset to a known state to ensure the HSSP is disabled following a reset of the SA-1110. The reset state of all other control bits is unknown (indicated by question marks) and must be initialized before enabling the HSSP. Note that the HSSP must be disabled (RXE=TXE=0) when changing the state of bits 0 and 1, and bits 2 through 7 may be written while the HSSP is enabled to allow various modes to be changed during active operation.

0h 8004 0060 HSCR0 Read/Write

7 6 5 4 3 2 1 0

AME TIE RIE RXE TXE TUS LBM ITR

Reset ? ? ? 0 0 ? ? ?

(Sheet 1 of 2)

IrDA transmission rate.

0 ITR

0. 115.2 Kbps (selects HP-SIR modulation, enables the ICP’s UART engine). 1 – 4.0 Mbps (selects 4PPM modulation, enables the ICP’s HSSP engine).

Loopback mode.

1 LBM

0. Normal serial port operation enabled. 1 – Output of HSSP’s transmit serial shifter is connected to input of receive serial shifter internally. Control of TXD2 and RXD2 pins is given to the PPC unit if ITR=1.

Transmit FIFO underrun select.

0. Transmit FIFO underrun causes CRC, stop flag, and SIP to be transmitted, and masks transmit underrun interrupt generation (TUR ignored). 1 –Transmit FIFO underrun causes an abort to be transmitted, and generates an interrupt (state of TUR sent to interrupt controller).

2 TUS

Bits Name Description

Page 313 of the Intel SA-1110 user manual — 11.10.7.1 Address Match Value (AMV)
Page 313 · click to enlarge
Page 313

0h 8004 0060 HSCR0 Read/Write

7 6 5 4 3 2 1 0

AME TIE RIE RXE TXE TUS LBM ITR

Reset ? ? ? 0 0 ? ? ?

(Sheet 2 of 2)

Transmit enable.

0. HSSP transmit logic disabled; control of the TXD2 pin is given to the PPC unit if ITR=1. 1 – HSSP transmit logic enabled if ITR=1.

3 TXE

Receive enable.

4 RXE

0. HSSP receive logic disabled; control of the RXD2 pin is given to the PPC unit if ITR =1. 1 – HSSP receive logic enabled if ITR=1.

Receive FIFO interrupt enable.

0. Receive FIFO twoor three-fifths full or more condition does not generate an interrupt (RFS bit ignored). 1 – Receive FIFO twoor three-fifths full or more condition generates an interrupt (state of RFS sent to interrupt controller).

5 RIE

Transmit FIFO interrupt enable.

0. Transmit FIFO half-full or less condition does not generate an interrupt (TFS bit ignored). 1 – Transmit FIFO half-full or less condition generates an interrupt (state of TFS sent to interrupt controller).

6 TIE

Address match enable.

0. Disable receiver address match function, store data from all incoming frames in receive FIFO. 1 – Enable receiver address match function; do not FIFO data unless address recognized or incoming address contains all ones (0hFF).

7 AME

11.10.7 HSSP Control Register 1

HSSP control register 1 (HSCR1) contains the 8-bit address match value field that is used by the HSSP to selectively receive frames.

11.10.7.1 Address Match Value (AMV)

The 8-bit address match value (AMV) field is programmed with an address value that is used to selectively store only the data within receive frames that have the same address value. The address match enable (AME) bit must be set to enable this function. For incoming frames, which have the same address value as the AMV field, the frame’s address, control, and data are stored in the receive FIFO. For those that do not, the remainder of the frame is ignored and the receive logic switches to hunt mode, looking for the preamble in the incoming data stream. One special address exists, which is always matched by the address match logic regardless of the value programmed in AMV. When address matching is enabled, whenever a frame is received with an address containing all ones (11111111), the value programmed in AMV is ignored and the frame data is automatically

Bits Name Description

Page 314 of the Intel SA-1110 user manual — 11.10.8.1 Transmit Pin Polarity Select (TXP)
Page 314 · click to enlarge
Page 314

stored in the receive FIFO. The address value is contained within the first byte of data in a frame following the flag. AMV can be written at any time and is used for comparison with the next frame, which occurs following its update.

The following table shows the address match value field within HSSP control register 1. The reset state of AMV is unknown (indicated by question marks) and must be initialized before enabling the HSSP. Note that HSCR1 may be written while the HSSP is enabled to allow the address match value to be changed during active receive operation.

0h 8004 0064 HSCR1 Read/Write

7 6 5 4 3 2 1 0

AMV

Reset ?

Address match value.

The 8-bit value used by receiver logic to compare to address of incoming frames. If AME=1 and AVM matches the address of the incoming frame, store the frame address, control, and data in receive FIFO; if address does not match, ignore the frame and search for the next preamble.

7..0 AMV

11.10.8 HSSP Control Register 2

The HSSP control register 2 (HSCR2) contains two bit-fields that control the polarity of the transmit and receive data pins. Note that unlike the rest of the HSSP’s registers, its bits are located in byte 2 of the addressed word (bits 23..16). Word reads or writes should be used to access this register. Also note that this register resides within the PPC’s address space.

11.10.8.1 Transmit Pin Polarity Select (TXP)

The transmit pin polarity select (TXP) bit is used to select whether data output to the ICP’s transmit pin (TXD2) is true or complemented. When TXP=0, data output from the UART (low-speed mode), HSSP (high-speed mode), or PPC (GPIO output mode) is inverted first before being output to the TXD2 pin. When TXP=1, data output from either the UART, HSSP, or PPC to the TXD2 pin is true or noninverted. TXP is initialized to 1 following reset such that output pin data defaults to true data.

Note that TXP affects the TXD2 pin during all modes of operation including HSSP, UART, and PCC. The user should ensure that this bit is properly programmed when using serial port 2 for high- or low-speed IrDA, normal UART, or GPIO operation. Note that for GPIO mode, the user needs to configure TXP only when the pin is to be used as an output (PPDR 14=1). When used as a GPIO input, TXP has no effect on the state of TXD2. See the Peripheral Pin Controller chapter.

Bits Name Description

Page 315 of the Intel SA-1110 user manual — 19 RXP
Page 315 · click to enlarge
Page 315

Additionally, the user must ensure that the PPC sleep state direction bit for TXD2 is inverted from its normal value, if TXP=0 indicating inverted data. Thus if the user wishes to make TXD2 an output in sleep mode, but TXP=0 indicating the output is inverted, the PPC should be programmed such that PSDR 14=1. Likewise, if TXP=0 and the user wishes to make TXD2 an input in sleep mode, the PPC should be programmed such that PSDR 14=0. If TXP=1 indicating true data, PSDR should be programmed normally.

11.10.8.2 Receive Pin Polarity Select (RXP)

The receive pin polarity select (RXP) bit is used to select whether data input to the ICP’s receive pin (RXD2) is viewed by the ICP as true or complemented. When RXP=0, data input from the RXD2 pin is first inverted before being sent to either the UART (low-speed mode), HSSP (high-speed mode), or PPC (GPIO input mode). When RXP=1, data input from the RXD2 pin is treated as true data and is not inverted before being sent to either the UART, HSSP, or PPC. RXP is initialized to 1 following reset such that input pin data defaults to true data.

Note that RXP affects the RXD2 pin during all modes of operation including HSSP, UART, and PCC. The user should ensure that this bit is properly programmed when using serial port 2 for high- or low-speed IrDA, normal UART, or GPIO operation. Note that for GPIO mode, the user needs to configure RXP only when the pin is to be used as an input (PPDR 15=0). When used as a GPIO output, RXP has no effect on the state of RXD2.

Also note that, unlike the TXP bit, RXP has no effect on the PPC sleep state direction bit for RXD2. PSDR 15 should be programmed normally.

The following table shows the location of the bits within HSSP control register 2. Both bits are set to one to ensure serial port 2’s pins default to normal “true” data operation following a reset of the SA-1110. Note that the HSSP and UART must be disabled (RXE=TXE=0) when changing the state of these bits. Also note that reads of reserved bits return zero and writes have no effect.

0h 9006 0028 HSCR2 Read/Write

23 22 21 20 19 18 17 16

Reserved RXP TXP Reserved

Reset 0 1 1 0 0

17..16 — Reserved.

Transmit pin polarity select.

18 TXP

0. Data output from the HSSP, UART, or PPC is first inverted before being output to TXD2. 1 – Data output from the HSSP, UART, or PPC to TXD2 is true or non-inverted data.

Receive pin polarity select.

19 RXP

0. Data input from RXD2 is first inverted before being used by the HSSP, UART, or PPC. 1 – Data input from RXD2 to the HSSP, UART, or PPC is true or non-inverted data.

23..20 — Reserved.

Bits Name Description

Page 316 of the Intel SA-1110 user manual — 11.10.9 HSSP Data Register
Page 316 · click to enlarge
Page 316

11.10.9 HSSP Data Register

The HSSP data register (HSDR) is an 8-bit register corresponding to both the top and bottom entry of the transmit and receive FIFOs, respectively.

When HSDR is read, the lower 8 bits of the bottom entry of the 11-bit receive FIFO is accessed. As data enters the top of the receive FIFO, bits 8 – 10 are used as tags to indicate various conditions that occur during reception of each piece of data. The tag bits are transferred down the FIFO along with the data byte that encountered the condition. When data reaches the bottom, bit 8 of the bottom FIFO entry is automatically transferred to the end-of-frame (EOF) flag, bit 9 to the CRC error (CRE) flag, and bit 10 to the receiver overrun (ROR) flag, all within HSSP status register 1. The user can read these flags to determine if the value at the bottom of the FIFO represents the last byte within the frame or if an error was encountered during reception. After checking the flags, the FIFO value can then be read, which causes the data in the next location of the receive FIFO to automatically transfer down to the bottom entry and its EOF/CRE/ROR bits to be transferred to the status register.

The end/error in FIFO (EIF) flag is set within status register 0 whenever one or more of the tag bits (8 – 10) are set within any of the bottom eight entries of the receive FIFO and is cleared when no error bits are set in the bottom eight entries of the FIFO. When EIF is set, an interrupt is generated and receive FIFO DMA requests are disabled so that the user can manually empty the FIFO, always checking the end-of-frame, CRC error, and overrun error flags in status register 1 first before removing each data value from the FIFO. After each entry is removed, the user should check the EIF bit to see if any set end or error tag remains, and repeat the procedure until all set tags are flushed from the bottom eight entries of the FIFO. Once EIF is cleared, servicing of the receive FIFO by the DMA controller is automatically reenabled.

When HSDR is written, the topmost entry of the 8-bit transmit FIFO is accessed. After a write, data is automatically transferred down to the lowest location within the transmit FIFO, which does not already contain valid data. Data is removed from the bottom of the FIFO one piece at a time by the transmit logic, encoded using the 4PPM modulation technique, loaded into the transmit serial shifter, then serially shifted out onto the TXD2 pin.

Page 317 of the Intel SA-1110 user manual — 11.10.10 HSSP Status Register 0
Page 317 · click to enlarge
Page 317

The following table shows the bit locations corresponding to the data field, end-of-frame bit as well as the cyclic redundancy check and receiver overrun error bits within the HSSP data register. Note that both FIFOs are cleared when the SA-1110 is reset, the transmit FIFO is cleared when TXE=0, and the receive FIFO is cleared when RXE=0.

0h 8004 006C HSDR Read/Write

10 9 8 7 6 5 4 3 2 1 0

ROR CRE EOF Bottom of Receive FIFO Data

Reset 0

Read Access Note: ROR, CRE, EOF are not read, but rather are transferred to corresponding status bits in the HSSP status

register 1 (HSSR1) each time a new data value is transferred to HSDR.

7 6 5 4 3 2 1 0

Top of Transmit FIFO Data

Reset 0

Top/bottom of transmit/receive FIFO data.

7..0 DATA

Read – Bottom of receive FIFO. Write –Top of transmit FIFO.

End of frame.

0. The last byte of the frame has not been encountered. 1 – The data value at the bottom of the receive FIFO represents the last byte of the frame.

8 EOF

CRC error.

0. CRC not encountered yet, or the CRC value calculated on the incoming data matched the received CRC value.

9 CRE

1. The CRC value calculated on the incoming data did not match the received CRC value.

Receiver overrun.

0. No receiver overrun has been detected.
1. Receive logic attempted to place data into receive FIFO while it was full; one or more data values after the data value at the bottom of the receive FIFO were lost.

10 ROR

11.10.10 HSSP Status Register 0

HSSP status register 0 (HSSR0) contains bits that signal the transmit FIFO service request, receive FIFO service request, receiver abort, transmit FIFO underrun, framing error, and the end/error in receive FIFO conditions. Each of these hardware-detected events signal an interrupt request to the interrupt controller.

Write Access · Bits Name Description

Page 318 of the Intel SA-1110 user manual — 11.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)
Page 318 · click to enlarge
Page 318

A bit that can cause an interrupt signals the interrupt request as long as the bit is set. Once the bit is cleared, the interrupt is cleared. Read/write bits are called status bits; read-only bits are called flags. Status bits are referred to as “sticky” (once set by hardware, must be cleared by software). Writing a one to a sticky status bit clears it; writing a zero has no effect. Read-only flags are set and cleared by hardware; writes have no effect. Additionally, some bits that cause interrupts have corresponding mask bits in the control registers and are indicated in the following sections. Note that the user has the ability to mask all HSSP interrupts by clearing bit 16 within the interrupt controller mask register (ICMR).

11.10.10.1 End/Error in FIFO Status (EIF) (read-only, nonmaskable interrupt)

The end/error in FIFO flag (EIF) is a read-only bit that is set when any tag bits (8 through 10) are set within the bottom eight entries of the receive FIFO and is cleared when no tag bits are set within the bottom eight entries of the FIFO. When EIF is set, an interrupt is signalled and DMA requests to empty the receive FIFO are disabled until EIF is cleared. To discover which FIFO entry contains the end-of-frame or an error condition, the user should check the state of the EOF, CRE, and ROR bits (described in the following sections), then read the corresponding value from the HSDR. This procedure should be repeated until EIF is cleared because set flag bits that are present within any of the eight lowest entries in the receive FIFO can set EIF. Once all tags are cleared from the bottom eight entries of the receive FIFO, EIF is automatically cleared, which in turn, clears the interrupt and reenables receive FIFO DMA requests.

11.10.10.2 Transmit Underrun Status (TUR) (read/write, maskable interrupt)

The transmit underrun status bit (TUR) is set when the transmit logic attempts to fetch data from the transmit FIFO after it has been completely emptied. When an underrun occurs, the transmitter takes one of two actions. When the transmit underrun select bit is clear (TUS=0), the transmitter ends the frame by shifting out the CRC that is calculated continuously on outgoing data, followed by a stop flag and SIP pulse. When TUS=1, the transmitter is forced to transmit an abort and continues to transmit chips containing all zeros (0000) until valid data is again available within the FIFO. Once data resides within the bottom entry of the transmit FIFO, a new data frame is initiated by transmitting 16 preambles and a start flag followed by the transmission of data from the FIFO. When the TUR bit is set, an interrupt request is made unless it is masked. When TUS=0, the interrupt is masked; when TUS=1, it is enabled. Note that underruns are not generated when the HSSP transmitter is first enabled and is in the idle state (continuously transmits flags).

11.10.10.3 Receiver Abort Status (RAB) (read/write, nonmaskable interrupt)

The receiver abort status bit (RAB) is set when an abort is detected during receipt of an incoming frame. An abort is signalled when two or more chips that do not contain any pulses (0000) or chips containing 0011, 1001, 1010, or 0101(invalid chips not contained within the stop flag) are detected after a valid start flag has been detected but before a complete stop flag has been received (an incorrect chip in the stop flag generates an abort as well). When an abort is received, the EOF tag is set in the FIFO entry that corresponds to the last piece of data received before the frame was aborted. The receiver then enters hunt mode, searching for the preamble.

11.10.10.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)

The transmit FIFO service request flag (TFS) is a read-only bit that is set when the transmit FIFO is nearly empty and requires service to prevent an underrun. TFS is set any time the transmit FIFO has eight or fewer entries of valid data (half-full or less), and is cleared when it has nine or more entries of valid data. When the TFS bit is set, an interrupt request is made unless the transmit FIFO

Page 319 of the Intel SA-1110 user manual — 11.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)
Page 319 · click to enlarge
Page 319

interrupt request mask (TIE) bit is cleared. The state of TFS is also sent to the DMA controller, and can be used to signal a DMA service request. Note that TIE has no effect on the generation of the DMA service request. After the DMA or CPU fills the FIFO, such that eight or more locations are filled within the transmit FIFO, the TFS flag (and the service request and/or interrupt) is automatically cleared.

11.10.10.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)

The receive FIFO service request flag (RFS) is a read-only bit that is set when the receive FIFO is nearly filled and requires service to prevent an overrun. The amount of data that causes RFS to be set is nondeterministic. However, the range in which RFS will be set is guaranteed. RFS is set at some point when the receive FIFO is two- to three-fifths full (or more). The HSSP’s FIFOs are self-timed to reduce cost and save power. As a result, the depth at which the receive FIFO service request is generated is variable. This is the reason the receive FIFO is 20 entries deep instead of 16 like the transmit FIFO. At which entry in the FIFO the request is actually triggered is dependent on IC process, operating temperature, and so on. The receive FIFO is designed to signal the RFS bit to be set when it contains 12 entries of valid data. However, because of the variability of the self-timed logic, RFS may also be set when 11, 10, or 9 entries of valid data are present within the FIFO. Likewise, under normal circumstances, RFS is cleared when the receive FIFO has 11 remaining entries of valid data. However, again due to variations, RFS may be cleared when 10 or 9 entries of data remain.

When the RFS bit is set, a DMA service request is made. An interrupt request is also made unless the receive FIFO interrupt request mask (RIE) bit is cleared. Even though more than eight entries of data may exist within the receive FIFO, the user must configure the DMA burst size to eight words. If programmed I/O is used to service the receive FIFO, a maximum of eight words may be removed without checking if data is valid. After this point, the receive FIFO not empty (RNE) flag must be polled before each read to see if more data remains. After the DMA or CPU empties the FIFO such that nine or more empty locations are available within the receive FIFO, the RFS flag (as well as the DMA and interrupt request) is automatically cleared.

11.10.10.6 Framing Error Status (FRE) (read/write, nonmaskable interrupt)

The framing error status (FRE) bit is set when a frame alignment error is detected by the receive logic. A frame alignment error is detected on received data when a preamble is followed by something other than another preamble or a start flag.

The following table shows the bit locations corresponding to the status and flag bits within HSSP status register 0. Note that the reset state of all writable status bits is unknown (indicated by question marks) and must be cleared (by writing a one to them) before enabling the HSSP. Also note that writes to reserved bits are ignored and reads return zeros.

Page 320 of the Intel SA-1110 user manual — 11.10.11 HSSP Status Register 1
Page 320 · click to enlarge
Page 320

0h 8004 0074 HSSR0 Read/Write and Read-Only

7 6 5 4 3 2 1 0

Reserved FRE RFS TFS RAB TUR EIF

Reset 0 0 ? 0 0 ? ? ?

End/error in FIFO (read-only).

0. Bits 8–10 are not set within any of the eight bottom entries of the receive FIFO. Receive FIFO DMA service requests are enabled.

0 EIF

1. One or more tag bits (8 – 10) are set within one or more of the bottom eight entries of the receive FIFO. Request interrupt, disable receive FIFO DMA service requests.

Transmit FIFO underrun.

1 TUR

0. Transmit FIFO has not experienced an underrun.
1. Transmit logic attempted to fetch data from transmit FIFO while it was empty; interrupt request signalled if not masked (if TUS=1).

Receiver abort.

0. No abort has been detected for the incoming frame.

2 RAB

1. Abort detected during receipt of incoming frame. Two or more chips containing no pulses (0000), or invalid chips not contained within the stop flag, detected on receive pin. EOF bit set in receive FIFO next to last piece of “good” data received before the abort, interrupt requested.

Transmit FIFO service request (read-only).

0. Transmit FIFO is more than half-full (nine or more entries filled) or transmitter disabled.

3 TFS

1. Transmit FIFO is half-full or less (eight or fewer entries filled) and transmitter operation is enabled. DMA service request signalled; interrupt request signalled if not masked (if TIE=1).

Receive FIFO service request (read-only).

0. Receive FIFO contains 11 or fewer entries of data or receiver disabled.

4 RFS

1. Receive FIFO is twoto three-fifths full (contains 9, 10, 11, or 12 entries of data) or more, and receiver operation is enabled. DMA service request signalled; interrupt request signalled if not masked (if RIE=1).

Framing error.

0. No framing errors encountered in the receipt of this data.

5 FRE

1. Framing error occurred; preamble followed by something other than another preamble or start flag, request interrupt.

7..6 — Reserved.

11.10.11 HSSP Status Register 1

HSSP status register 1 (HSSR1) contains flags that indicate when the receiver is synchronized, the transmitter is active, the transmit FIFO is not full, the receive FIFO is not empty, and when an end-of-frame, CRC error, or underrun error has occurred. All bits within HSSR1 are read-only and noninterruptible.

Bits Name Description

Page 321 of the Intel SA-1110 user manual — 11.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)
Page 321 · click to enlarge
Page 321

11.10.11.1 Receiver Synchronized Flag (RSY) (read-only, noninterruptible)

The receiver synchronized (RSY) flag is a read-only bit that is set when the receiver is synchronized with the incoming data stream, and is cleared when the receive logic is in hunt mode (looking for the preamble to achieve byte and frame synchronization), or the receiver is disabled (RXE=0). This bit does not request an interrupt.

11.10.11.2 Transmitter Busy Flag (TBY) (read-only, noninterruptible)

The transmitter busy (TBY) flag is a read-only bit that is set when the transmitter is actively transmitting a frame (address, control, data, CRC, start or stop flag), and is cleared when the transmitter is idle (transmitting preambles) or the transmitter is disabled (TXE=0). This bit does not request an interrupt.

11.10.11.3 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)

The receive FIFO not empty flag (RNE) is a read-only bit that is set whenever the receive FIFO contains one or more bytes of valid data and is cleared when it no longer contains any valid data. This bit can be polled when using programmed I/O to remove remaining bytes of data from the receive FIFO because DMA service and CPU interrupt requests are made only when 12, 11, 10, or 9 bytes reside within the FIFO. Data will remain after each service request as well as at the end of a frame. This bit does not request an interrupt.

11.10.11.4 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)

The transmit FIFO not full flag (TNF) is a read-only bit that is set whenever the transmit FIFO contains one or more entries that do not contain valid data and is cleared when the FIFO is completely full. This bit can be polled when using programmed I/O to fill the transmit FIFO over its halfway mark. This bit does not request an interrupt.

11.10.11.5 End-of-Frame Flag (EOF) (read-only, noninterruptible)

The end-of-frame flag (EOF) is set when the last byte of data within a frame (including aborted frames) resides within the bottom entry of the receive FIFO.

The receive FIFO contains three tag bits (8, 9, and 10) that are not directly readable. The 8th bit is set at the top of the FIFO whenever the last byte within a frame is moved from the receive serial shifter to the top of the receive FIFO. This tag travels along with the last data value as it moves down the FIFO. Each time a data value is transferred to the bottom of the FIFO (caused by a read of the previous value), the state of the tag bit is moved from the FIFO to the EOF bit in the status register. Whenever EOF is set within the bottom eight entries of the receive FIFO, EIF is set within HSSR0, an interrupt is signalled, and the receive FIFO DMA request is disabled. After the end/error in FIFO (EIF) status bit is set, the user should always read HSSR1 first to check EOF before reading the data value from HSDR because EOF corresponds to the current data byte at the bottom of the receive FIFO and is updated each time data is removed from the FIFO.

11.10.11.6 CRC Error Flag (CRE) (read-only, noninterruptible)

The CRC error flag (CRE) is set when the CRC value calculated by the receive logic does not match the CRC value contained within the incoming serial data stream.

Page 322 of the Intel SA-1110 user manual — 11.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)
Page 322 · click to enlarge
Page 322

The receive FIFO contains three tag bits (8, 9, and 10) that are not directly readable. Whenever a CRC error is detected, the 9th bit is set within the top entry of the receive FIFO corresponding to the last byte of data within the frame. This tag travels along with the last piece of data from the frame as it moves down the FIFO. Each time a data value is transferred to the bottom of the FIFO (caused by a read of the previous value), the state of the tag bit is moved from the FIFO to the CRE bit in the status register, indicating whether or not the frame has encountered a CRC error. Whenever CRE is set within the bottom half of the receive FIFO, EIF is set within HSSR0, an interrupt is signalled, and the receive FIFO DMA request is disabled. After the end/error in FIFO (EIF) status bit is set, the user should always read HSSR1 first to check CRE before reading the data value from HSDR because CRE corresponds to the current data byte at the bottom of the receive FIFO and is updated each time data is removed from the FIFO.

11.10.11.7 Receiver Overrun Status (ROR) (read-only, noninterruptible)

The receiver overrun flag (ROR) is set when the receive logic attempts to place data into the receive FIFO after it has been completely filled.

The receive FIFO contains three tag bits (8, 9, and 10) that are not directly readable. The 10th bit is set within the top entry of the receive FIFO whenever an overrun occurs. This tag travels along with the last “good” data value before the overflow occurred as it moves down the FIFO. Each time a data value is transferred to the bottom of the FIFO (caused by a read of the previous value), the state of the tag bit is moved from the FIFO to the ROR bit in the status register, indicating that the next value in the FIFO is the last “good” piece of data before the overflow occurred. Whenever ROR is set within the bottom eight entries of the receive FIFO, EIF is set within HSSR0, an interrupt is signalled, and the receive FIFO DMA request is disabled. After the end/error in FIFO (EIF) status bit is set, the user should always read HSSR1 first to check ROR before reading the data value from HSDR because ROR corresponds to the current data byte at the bottom of the receive FIFO and is updated each time data is removed from the FIFO.

Page 323 of the Intel SA-1110 user manual — 11.10.12 UART Register Locations
Page 323 · click to enlarge
Page 323

The following table shows the location of the flags within HSSP status register 1. The bits within this register are read-only and do not produce interrupt requests. Note that writes to bit 7 are ignored and reads return zero.

0h 8004 0078 HSSR1 Read-Only

7 6 5 4 3 2 1 0

Reserved ROR CRE EOF TNF RNE TBY RSY

Reset 0 1 0 0 0

Receiver synchronized flag (read-only).

0 RSY

0. Receiver is in hunt mode or is disabled.
1. Receiver logic is synchronized with the incoming data (no interrupt generated).

Transmitter busy flag (read-only).

0. Transmitter is idle (continuous preambles) or disabled.

1 TBY

1. Transmit logic is currently transmitting a frame (address, control, data, CRC, or start/stop flag); no interrupt generated.

Receive FIFO not empty (read-only).

2 RNE

0. Receive FIFO is empty.
1. Receive FIFO is not empty (no interrupt generated).

Transmit FIFO not full (read-only).

3 TNF

0. Transmit FIFO is full.
1. Transmit FIFO is not full (no interrupt generated).

End of frame (read-only).

4 EOF

0. Current frame has not completed.
1. The value at the bottom of the receive FIFO is the last byte of data within the frame.

CRC error (read-only).

5 CRE

0. No CRC check errors encountered in the receipt of data.
1. CRC calculated on the incoming data. Does not match CRC value contained within the received frame.

Receive FIFO overrun (read-only).

0. Receive FIFO has not experienced an overrun.

6 ROR

1. Receive logic attempted to place data into receive FIFO while it was full; the next data value in the FIFO is the last piece of “good” data before the FIFO was overrun.

7 — Reserved.

11.10.12 UART Register Locations

Table 11-17 shows the registers associated with the UART block and the physical addresses used to access them.

Bits Name Description

Page 324 of the Intel SA-1110 user manual — Table 11-18. HSSP Control, Data, and Status Register Locations
Page 324 · click to enlarge
Page 324

Table 11-17. UART Control, Data, and Status Register Locations

0h 8003 0000 UTCR0 UART Control Register 0

0h 8003 0004 UTCR1 UART Control Register 1

0h 8003 0008 UTCR2 UART Control Register 2

0h 8003 000C UTCR3 UART Control Register 3

0h 8003 0010 UTCR4 UART Control Register 4

0h 8003 0014 UTDR UART Data Register

0h 8003 0018 — Reserved

0h 8003 001C UTSR0 UART Status Register 0

0h 8003 0020 UTSR1 UART Status Register 1

0h 8003 0024 –

0h 8003 005C — Reserved

11.10.13 HSSP Register Locations

Table 11-18 shows the registers associated with the HSSP block and the physical addresses used to access them.

Table 11-18. HSSP Control, Data, and Status Register Locations

0h 8004 0060 HSCR0 HSSP Control Register 0

0h 8004 0064 HSCR1 HSSP Control Register 1

0h 8004 0068 — Reserved

0h 8004 006C HSDR HSSP Data Register

0h 8004 0070 — Reserved

0h 8004 0074 HSSR0 HSSP Status Register 0

0h 8004 0078 HSSR1 HSSP Status Register 1

0h 8004 007C - 0h 8004 FFFF — Reserved

0h 9006 0028 HSCR2 HSSP Control Register 2

Address Name Description · Address Name Description

Page 325 of the Intel SA-1110 user manual — LSB MSB
Page 325 · click to enlarge
Page 325

11.11 Serial Port 3 – UART

Serial port 3 is a general-purpose, full-duplex, universal asynchronous receiver/transmitter (UART) that supports much of the functionality of the 16550 protocol. It can operate at baud rates from 56.25 bps to 230.4 Kbps. It supports 7 or 8 bits of data (odd, even, or no parity), one start bit, either one or two stop bits, and can transmit a continuous break signal. An external clock can also be input using GPIO pin 20 to synchronously sample and drive data on either edge of the clock as programmed by the user. The external pins dedicated to this interface are TXD3 and RXD3. If use of the UART is not required, these pins can be used by the peripheral pin controller (PPC) to perform general- purpose input/output (noninterruptible).

An 8-entry x 8-bit FIFO is used to buffer outgoing data, and a 12-entry x 11-bit FIFO is used to buffer incoming data (3 bits per entry are used to store framing, parity, and receive FIFO overrun error flags for each character received). The FIFOs are filled or emptied using the DMA or the CPU. An interrupt is generated when a framing, parity, or receiver overrun error is present within the bottom four entries of the receive FIFO, when the transmit FIFO is half-empty or the receive FIFO is one- to two-thirds full, when a begin and end of break is detected on the receiver, and when the receive FIFO is partially full and the receiver is idle for three or more frame periods.

Modem control signals (RTS, CTS, DTR, and DSR) are not implemented in this block, but can be implemented using the general-purpose I/O port (GPIO) pins. See Chapter 9, “System Control Module”.

11.11.1 UART Operation

Following hardware reset, the UART is disabled, which causes the peripheral pin controller (PPC) to assume control of the UART’s pins. Reset causes the PPC to configure all of the peripheral pins as inputs, including the UART’s transmit (TXD3) and receive (RXD3) pins. Reset also causes the UART’s transmit and receive FIFOs to be flushed (all entries invalidated). Before enabling the UART, the user must first clear any writable or “sticky” status bits that are set by writing a one to each bit. Next, the desired mode of operation is programmed in the control registers. At this point, the user may “prime” the transmit FIFO by writing up to eight values, or the FIFO can remain empty and the transmit FIFO DMA or interrupt request may be used to trigger its service when the transmitter is enabled. When the UART is enabled, transmission and reception of data can begin on the transmit (TXD3) and receive (RXD3) pins.

Figure 11-27 shows the format of a single UART data frame.

Figure 11-27. Example UART Data Frame

Bit Data0 Data1 Data2 Data3 Data4 Data5 Data6 Data7 Parity

TXD3 or RXD3 pin Optional Optional

LSB MSB

Receive data sample counter frequency = 16x bit frequency, each bit sampled on eighth clock.

Show 5 more labels / short text on this page
Start · Stop · Stop Bit 2 · Bit · Bit 1
Page 326 of the Intel SA-1110 user manual — 11.11.1.3 Receive Operation
Page 326 · click to enlarge
Page 326

11.11.1.1 Frame Format

Each data frame is between 9 bits and 12 bits long depending on the size of data programmed, if parity is enabled and if a second stop bit is enabled. The frame begins with a start bit that is represented by a high to low transition. Next, either 7 bits or 8 bits of data are transmitted, beginning with the least significant bit. An optional parity bit follows, which is set if even parity is enabled and an odd number of ones exist within the data byte, or if odd parity is enabled and the data byte contains an even number of ones. The data frame ends with either one or two stop bits as programmed by the user, which is represented by one or two successive bit periods of a logic one. Note that the receiver only tests for one stop bit per frame.

11.11.1.2 Baud Rate Generation

The baud or bit rate is derived by dividing down the 3.6864-MHz clock generated by the on-chip PLL. The clock is first divided by a programmable number between 1 and 4096, and then by a fixed value of 16. The receive baud clock is synchronized with the data stream using a digital PLL each time the start bit is detected on the receive data line. Receive data is then sampled halfway through each bit period by counting 8 of the 16 clocks, which are produced before the fixed divide by 16 takes place. (See Figure 11-27.)

11.11.1.3 Receive Operation

The UART receives incoming data by using a serial shifter. It latches the frame, strips it of its start, parity, and stop bits, and then places the data within receive FIFO. If parity is enabled, the number of data bits, which is one, is counted as data and is extracted from each frame. Parity is then checked by comparing this value to the stripped parity bit. Either odd or even parity is checked as specified by the programmer. If a parity error is detected, the parity error bit is set in the FIFO entry corresponding to the data value that caused the error. Additionally, if a logic zero is detected by the receive logic where a stop bit was expected, the framing error bit is set in the FIFO entry corresponding to the errant data. When the FIFO fills between one- to two-thirds full, an interrupt or DMA request is signalled. If the FIFO is completely filled and the receive logic attempts to place additional data within the FIFO, the overrun bit is set next to the last byte of data received within the FIFO. Any data received while the FIFO is completely full is discarded.

The parity, framing, and overrun error bits are transferred down the receive FIFO along with the data that caused the error. Whenever any of the four bottom FIFO entries contain one or more error bits that are set, an interrupt is generated and receive FIFO DMA requests are disabled until the error is flushed from the FIFO and the status bit that signalled the interrupt is cleared. At this point, the user should use programmed I/O to check the error bits and remove data one piece at a time until the four FIFO entries are flushed. Each time a data value is transferred to the bottom of the FIFO, the state of the parity, framing, and overrun bits within the last FIFO entry are automatically transferred to their respective flag bits in the status register. When any of these three flags are set in the UART status register, it indicates that the next data value available within the FIFO contains an error. The user must first check the state of these three flags to see if the next value within the FIFO contains an error, then read the FIFO value. After four values have been removed from the FIFO and the errors are identified, the DMA is automatically reenabled once the error in FIFO bits are removed from the FIFO.

If the receive FIFO contains valid data and three frame periods elapse without the reception of data on RXD3, the receiver idle interrupt is generated. Also, if the receive logic detects a null character (all zeros, including the parity bit) followed by a framing error (stop bit is zero as well), the receive logic generates a beginning of break detect, which interrupts the CPU. Because breaks can be signalled for long periods of time, after the break is negated and the receive pin transitions high, the receive logic generates an end of break detect, which again interrupts the CPU.

Page 327 of the Intel SA-1110 user manual — 11.11.2 UART Register Definitions
Page 327 · click to enlarge
Page 327

11.11.1.4 Transmit Operation

The UART transmit logic operates at the same time as the receive logic (full-duplex). Data is taken from the transmit FIFO; start, parity, and stop bits are added to generate a frame; and the value is loaded into a serial shift register. The contents are shifted out onto the TXD3 pin, clocked by the programmed baud clock. When the transmit FIFO is emptied more than halfway, an interrupt or DMA request is signalled. If the transmit FIFO is completely emptied, the transmit line remains high (one) after the last data value is transmitted to indicate the transmitter is idle. The TXD3 pin remains high until additional data is written to the transmit FIFO.

11.11.1.5 Transmit and Receive FIFOs

To reduce chip size and power consumption, the UART’s FIFOs use self-timed logic (they are not clocked). Because of process and environmental variations, the depth at which a service request is triggered to empty the receive FIFO is variable. This variation spans a maximum of four FIFO entries; the receive FIFO service request can be made at four different FIFO depths.To compensate for this variability and guarantee that at least four valid entries of data exist within the FIFO before generating a service request, an extra four entries have been added to the receive FIFO (four entries more than the transmit FIFO). The transmit FIFO is 8 entries deep and the receive FIFO is 12 entries deep. The point at which the receive FIFO service request is triggered spans the middle third of the 12-entry FIFO. The service request is signalled at a depth from one-third full to two-thirds full (when the FIFO contains five, six, seven, or eight entries of data).

This service request variation applies only to an empty FIFO that is filled (receive FIFO). It does not apply to a full FIFO that is emptied (transmit FIFO). The transmit FIFO is guaranteed to signal a service request when it has four or more empty entries and negate the request when the FIFO contains five or more entries that are filled.

If the DMA is used to service either one or both of the UART’s FIFOs, the burst size must be set to 4 words even though more than four entries of data may exist within the receive FIFO. If programmed I/O is used to service the FIFOs, a maximum of 4 words may be added to the transmit FIFO without checking if more space is available. Likewise, a maximum of 4 words may be removed from the receive FIFO without checking if more data is available. After this point, the user must poll a set of status bits that indicates if any data remains in the receive FIFO or if space is available in the transmit FIFO before emptying or filling the FIFOs any further.

11.11.1.6 CPU and DMA Register Access Sizes

Bit positioning, byte ordering, and addressing of the UART is described in terms of little endian ordering. All UART registers are 8 bits wide and are located in the least significant byte of individual words. The ARM peripheral bus does not support byte or half-word operations. All reads and writes of the UART by the CPU should be word–wide. Two separate dedicated DMA requests exist for both the transmit and the receive FIFO. If the DMA controller is used to service the transmit and/or receive FIFOs, the user must ensure the DMA is properly configured to perform byte–wide accesses, using 4 bytes per burst.

11.11.2 UART Register Definitions

There are seven byte–wide registers within the UART: four control registers, one data register, and two status registers. The control registers are used to program the baud rate, data length, number of stop bits, and odd or even parity. They are used to receive and transmit sample clock edge type, and to transmit a break. Also, they are used to enable or disable transmit and receive operation, parity,

Page 328 of the Intel SA-1110 user manual — 11.11.3.3 Stop Bit Select (SBS)
Page 328 · click to enlarge
Page 328

use of the sample clock input, and loopback mode. The data register is 8 bits and addresses the top location of the transmit FIFO and bottom location of the receive FIFO. When it is read, the receive FIFO is accessed, and when it is written, the transmit FIFO is accessed. The status registers contain bits that signal the transmit FIFO service request, receive FIFO service request, receiver idle, the begin and end of break detect, and error in FIFO conditions. Each of these status conditions signal an interrupt request to the interrupt controller. The status registers also flag when the UART is actively transmitting characters, when the transmit FIFO is not full, when the receive FIFO is not empty, and when a parity, framing, or overrun error was detected for the data value currently located in the bottom entry of the receive FIFO (no interrupt generated).

11.11.3 UART Control Register 0

UART control register 0 (UTCR0) contains seven different bit fields that control various functions within the UART.

11.11.3.1 Parity Enable (PE)

The parity enable (PE) bit is used to enable or disable parity checking by the receive data logic as well as parity generation by the transmit logic. When parity is enabled (PE=1), the odd/even parity select (OES) control bit is decoded to determine which type of parity should be checked and generated. The parity of each data frame received is checked. If the parity type programmed in the OES bit does not match the parity of the data received, the parity error (PRE) bit is set in the same entry in the receive FIFO where the errant data resides. When parity is disabled (PE=0), the parity check and generation logic is disabled, parity bits are not inserted into transmitted frames, and the receive logic expects a stop bit to occur after the MSB of each data value is received.

11.11.3.2 Odd/Even Parity Select (OES)

The odd/even parity select (OES) bit is used to select whether odd or even parity should be used by the transmit and receive logic. When OES=0, odd parity is selected; when OES=1, even parity is selected. When parity is enabled (PE=1), the parity bit is placed after the data’s MSB in each frame. The transmit logic sets or clears the parity bit to make the total number of ones transmitted (including the parity bit) match the parity type programmed using OES

(if even parity is selected (OES=1) and there is an odd number of ones in the data to be transmitted, the parity bit is set). The receive data logic counts the number of ones encountered in the incoming data stream (including the parity bit), then strips the parity bit from the data. If the parity type of the frame does not match the parity selected by OES, the parity error bit is set (bit 8) within the FIFO entry corresponding to the data that produced the parity error.

11.11.3.3 Stop Bit Select (SBS)

The stop bit select (SBS) bit selects whether one or two stop bits should be used in transmission. When SBS=0, one stop bit is inserted in the transmit frame for each character. When SBS=1, two stop bits are inserted. SBS does not affect the UART’s receive logic. The receiver always checks to make sure there is at least one stop bit per character.

Page 329 of the Intel SA-1110 user manual — 11.11.3.7 Transmit Clock Edge Select (TCE)
Page 329 · click to enlarge
Page 329

11.11.3.4 Data Size Select (DSS)

The data size select (DSS) bit is programmed to select the size of the data transmitted and received within each frame. Data can be 7 or 8 bits in length. When 7-bit data is programmed, the data is right justified within the FIFOs. The unused bit is zero filled within the receive FIFO, and is ignored within the transmit FIFO. Note that the user must right justify data supplied to the transmit FIFO when 7-bit data is selected.

11.11.3.5 Sample Clock Enable (SCE)

The sample clock enable (SCE) bit is used to enable or disable the use of a clock input from a GPIO pin to synchronously sample and drive data to and from the UART. When SCE=0, the on-chip 3.6864-MHz PLL, the UART’s programmable baud rate generator, and the receive logic’s digital PLL are used. When SCE=1, a clock is input from a GPIO pin and is used to synchronously drive both the transmit and receive logic. Note that the user must configure the GPIO pin as an input by clearing the corresponding bit in the GPIO pin direction register (GPDR) and switch control of the GPIO pin to the UART by setting the corresponding bit in the GPIO alternate function register (GAFR). See Chapter 9, “System Control Module”.

For the receive logic, the RCE bit is decoded to select which edge of the input clock is used to latch each bit of the incoming frame. Note that the clock is not embedded within the data stream and the digital PLL is shut down to conserve power. For the transmit logic, the TCE bit is decoded to select which edge of the input clock is used to drive each bit of the outgoing frame. Note that the clock driving the programmable baud rate generator is shut down when SCE=1 to conserve power. Also note that SCE does not affect the frame format of data being transmitted and received by the UART.

The SA-1110 has a total of three UARTs (serial ports 1, 2 and 3). When the external sample clock function is enabled, serial port 1 uses the GPIO 18 pin and serial port 3 uses GPIO 20. Serial port 2 does not support the sample clock function.

11.11.3.6 Receive Clock Edge Select (RCE)

When SCE=1, the receive clock edge select (RCE) bit is used to select which edge of the clock input from the GPIO pin to use (rising or falling) to synchronously sample data from the receive pin. When RCE=0, each bit received is sampled on the rising edge of the sample input clock; when RCE=1, bits are sampled on the clock’s falling edge. Note that the internal baud rate generator and receive logic’s digital PLL are not used in this mode. RCE is ignored when SCE=0.

11.11.3.7 Transmit Clock Edge Select (TCE)

When SCE=1, the transmit clock edge select (TCE) bit is used to select which edge of the clock input from the GPIO pin to use (rising or falling) to synchronously drive data onto the transmit pin. When TCE=0, each bit transmitted is driven on the rising edge of the sample input clock; when TCE=1, bits are driven on the clock’s falling edge. Note that the internal baud rate generator is not used in this mode. TCE is ignored when SCE=0.

The following table shows the bit locations corresponding to the seven different control bit fields within UART control register 0. The UART must be disabled (RXE=TXE=0) when changing the state of any bit within this register. The reset state of these control bits is unknown (indicated by question marks) and must be initialized before enabling the UART. Note that writes to bit 7 are ignored and reads return zero.

Page 330 of the Intel SA-1110 user manual — 11.11.4.1 Baud Rate Divisor (BRD)
Page 330 · click to enlarge
Page 330

0h 8005 0000 UTCR0 Read/Write

7 6 5 4 3 2 1 0

Reserved TCE RCE SCE DSS SBS OES PE

Reset 0 ?

Parity enable.

0 PE

0. Parity checking on received data and parity generation on transmitted data is disabled. 1 – Parity checking on received data and parity generation on transmitted data is enabled.

Odd/even parity select.

0. Odd parity checking/generation selected. Parity error bit set if even number of ones counted in data field (including the parity bit). 1 – Even parity checking/generation selected. Parity error bit set if odd number of ones counted in data field (including the parity bit).

1 OES

Stop bit select.

0. One stop bit transmitted per frame. 1 – Two stop bits transmitted per frame.

2 SBS

Data size select.

0. 7-bit data. 1 – 8-bit data.

3 DSS

Sample clock enable.

0. on-chip baud rate generator and digital PLL used to transmit and receive asynchronous data. 1 – A clock is input via GPIO pin 20 and is used synchronously to sample receive data and drive transmit data.

4 SCE

Receive clock edge select.

5 RCE

0. Rising edge of clock input on GPIO pin 20 used to latch data from the receive pin if SCE=1. 1 – Falling edge of clock input on GPIO pin 20 used to latch data from the receive pin if SCE=1.

Transmit clock edge select.

6 TCE

0. Rising edge of clock input on GPIO pin 20 used to drive data onto the transmit pin if SCE=1. 1 – Falling edge of clock input on GPIO pin 20 used to drive data onto the transmit pin if SCE=1.

7 — Reserved.

11.11.4 UART Control Registers 1 and 2

UART control register 1 (UTCR1) contains the upper 4 bits and UTCR2 the lower 8 bits of the baud rate divisor field.

11.11.4.1 Baud Rate Divisor (BRD)

The 12-bit baud rate divisor (BRD) field is used to select the baud or bit rate of the UART. A total of 4096 different baud rates can be selected, ranging from a minimum of 56.25 bps to a maximum of 230.4 Kb/ps. The baud rate generator uses the 3.6864-MHz clock generated by the on-chip PLL divided by 16 to generate the bit clock. A digital PLL is used to synchronize the baud rate of the

Bits Name Description

Page 331 of the Intel SA-1110 user manual — 11.11.5 UART Control Register 3
Page 331 · click to enlarge
Page 331

receiver each time the start bit is detected on the receive pin and each bit of the receive data stream is sampled on the eighth clock of the divide by 16 counter (halfway through the bit period). The resultant baud rate, given a specific BRD value or required BRD value and given a desired baud rate, can be calculated using the following two respective equations, where BRD is the decimal equivalent of the binary value programmed within the bit field:

BaudRate 3.6864 6 ×10 16x BRD 1 + ( ) =

BRD 3.6864 6 × 10 16 x BaudRate 1 – =

The following tables show the bit locations corresponding to the baud rate divisor field that is split between two 8-bit registers. The upper four bits of BRD reside within UTCR1 and the lower eight bits reside within UTCR2. The UART must be disabled (RXE=TXE=0) whenever these registers are written. The reset state of the BRD field is unknown (indicated by question marks) and must be initialized before enabling the UART. Note that writes to reserved bits are ignored and reads return zeros.

0h 8005 0004 UTCR1 Read/Write

7 6 5 4 3 2 1 0

Reserved BRD 11..8

Reset 0 ?

Baud rate divisor.

3..0 BRD 11..8

Encoded value (from 0 to 4095) used to generate the baud rate of the UART.

Baud Rate = 3.6864x106/(16x(BRD+1)), where BRD is a decimal value. 7..4 — Reserved.

0h 8005 0008 UTCR2 Read/Write

7 6 5 4 3 2 1 0

BRD 7..0

Reset ?

Baud rate divisor.

7..0 BRD 7..0

Encoded value (from 0 to 4095) used to generate the baud rate of the UART.

Baud Rate = 3.6864x106/(16x(BRD+1)), where BRD is a decimal value.

11.11.5 UART Control Register 3

UART control register 3 (UTCR3) contains six different bit fields that control various functions within the UART.

Bits Name Description · Bits Name Description

Page 332 of the Intel SA-1110 user manual — 11.11.5.4 Receive FIFO Interrupt Enable (RIE)
Page 332 · click to enlarge
Page 332

11.11.5.1 Receiver Enable (RXE)

The receiver enable (RXE) bit is used to enable and disable all UART receive operations. When RXE=1, the UART receive logic is enabled; when RXE=0, it is disabled. When the receiver is disabled, control of the RXD3 pin is given to the peripheral pin controller (PPC) so that it may be used for general-purpose input and output (noninterruptible). See the Section 11.13, “Peripheral Pin Controller (PPC)” on page 11-382 for a description of the PPC.

It is required that the user first program all other control bits before setting RXE (even the transmit bits). If the RXE bit is cleared to zero while the UART is actively receiving data, reception is stopped immediately and the remaining bits within the receive serial shifter are reset. In addition, all entries within the receive FIFO are reset (all other control/status/flag bits remain intact).

11.11.5.2 Transmitter Enable (TXE)

The transmitter enable (TXE) bit is used to enable and disable all UART transmit operations. When TXE=1, UART transmit logic is enabled; when TXE=0, it is disabled. When the transmitter is disabled, control of the TXD3 pin is given to the peripheral pin controller (PPC) for general-purpose input and output use (noninterruptible). See the Section 11.13, “Peripheral Pin Controller (PPC)” on page 11-382 for a description of the PPC.

It is required that the user first program all other control bits before setting TXE (even the receive bits). If the TXE bit is cleared to zero while the UART is actively transmitting data, transmission is stopped immediately and the remaining bits within the transmit serial shifter are reset. In addition, all entries within the transmit FIFO are reset (all other control/status/flag bits remain intact).

11.11.5.3 Break (BRK)

The break (BRK) control bit is used to continuously transmit a break by forcing the transmit pin (TXD3) low. When the BRK bit is set, the transmit pin is forced low immediately. If the transmitter is actively transmitting data, the remaining bits in the serial shifter continue to be shifted out, but the bits are ignored (not placed on the transmit pin). Asserting BRK also prevents the transmit logic from fetching any additional data from the transmit FIFO once the shifter is empty. The transmit pin remains low until the BRK bit is cleared, or alternatively, if the transmitter is disabled (TXE=0, or a reset occurs). Once BRK is negated, transmission starts again. The user must ensure that the BRK bit is asserted long enough to cause the off-chip receiver to detect the break condition. The user should also check the transmitter busy (TBY) flag in the status register to ensure that no bits remain in the transmitter’s serial shifter before negating BRK. TBY is asserted as long as the transmitter is actively clocking data through the serial shifter. Once the TBY bit becomes zero, the BRK bit can be negated, and data is once again fetched from the transmit FIFO. Break does not affect the receive portion of the FIFO; normal operation on the receive line continues during the signalling of a break.

11.11.5.4 Receive FIFO Interrupt Enable (RIE)

The receive FIFO interrupt enable (RIE) bit is used to mask or enable both the receive FIFO service request interrupt and receiver idle interrupt. When RIE=0, the interrupts are masked and the receive FIFO service request (RFS) and receiver idle status (RID) bits are ignored by the interrupt controller. When RIE=1, the interrupts are enabled and whenever RFS or RID is set (one), an interrupt request is made to the interrupt controller. Note that programming RIE=0 does not affect the current state of RFS or RID nor the receive logic’s ability to set and clear these bits; it only blocks the generation of the interrupt request. Also note that RIE does not affect generation of the receive FIFO DMA request that is asserted whenever RFS=1.

Page 333 of the Intel SA-1110 user manual — 4 TIE
Page 333 · click to enlarge
Page 333

11.11.5.5 Transmit FIFO Interrupt Enable (TIE)

The transmit FIFO interrupt enable (TIE) bit is used to mask or enable the transmit FIFO service request interrupt. When TIE=0, the interrupt is masked and the state of the transmit FIFO service request (TFS) bit is ignored by the interrupt controller. When TIE=1, the interrupt is enabled, and whenever TFS is set (one), an interrupt request is made to the interrupt controller. Note that programming TIE=0 does not affect the current state of TFS nor the transmit FIFO logic’s ability to set and clear TFS; it only blocks the generation of the interrupt request. Also note that TIE does not affect generation of the transmit FIFO DMA request that is asserted whenever TFS=1.

11.11.5.6 Loopback Mode (LBM)

The loopback mode (LBM) bit is used to enable and disable the ability of the UART transmit and receive logic to communicate. When LBM=0, the UART operates normally. The transmit and receive data paths are independent and communicate via their respective pins. When LBM=1, the output of the transmit serial shifter is directly connected to the input of the receive serial shifter internally, and control of the TXD3 and RXD3 pins is given to the peripheral pin control (PPC) unit.

The following table shows the bit location of the bits within UART control register 3. RXE and TXE are the only control bits that are reset to a known state to ensure the UART is disabled following a reset of the SA-1110. The reset state of all other control bits is unknown (indicated by question marks) and must be initialized before enabling the UART. Note that UTCR3 is the only control register that may be written while the UART is enabled. Also note that writes to reserved bits are ignored and reads return zeros.

0h 8005 000C UTCR3 Read/Write

7 6 5 4 3 2 1 0

Reserved LBM TIE RIE BRK TXE RXE

Reset 0 0 ? 0 0

(Sheet 1 of 2)

Receiver enable.

0 RXE

0. UART receive operation disabled; PPC is given control of RXD3 . 1 – UART receive operation enabled.

Transmitter enable.

1 TXE

0. UART transmit operation disabled; PPC is given control of TXD3 . 1 – UART transmit operation enabled.

Break.

2 BRK

0. UART in normal operation. 1 – Force TXD3 low (all bits in the frame are a zero) to generate a break.

Receive FIFO interrupt enable.

0. Receive FIFO oneto two-thirds full (or more) and receiver idle conditions do not generate an interrupt (RFS and RID bit ignored). 1 – Receive FIFO oneto two-thirds full (or more) and receiver idle conditions generate an interrupt (state of RFS and RID sent to interrupt controller).

3 RIE

Transmit FIFO interrupt enable.

0 –Transmit FIFO half-full or less condition does not generate an interrupt (TFS bit ignored). 1 – Transmit FIFO half-full or less condition generates an interrupt (state of TFS sent to interrupt controller).

4 TIE

Bits Name Description

Page 334 of the Intel SA-1110 user manual — 11.11.6 UART Data Register
Page 334 · click to enlarge
Page 334

0h 8005 000C UTCR3 Read/Write

7 6 5 4 3 2 1 0

Reserved LBM TIE RIE BRK TXE RXE

Reset 0 0 ? 0 0

(Sheet 2 of 2)

Loopback mode.

0. Normal serial port operation enabled. 1 – Output of transmit serial shifter is connected to input of receive serial shifter internally and control of TXD3 and RXD3 pins is given to the PPC unit.

5 LBM

7..6 — Reserved.

11.11.6 UART Data Register

The UART data register (UTDR) is an 8-bit register corresponding to both the top and bottom entries of the transmit and receive FIFOs, respectively.

When UTDR is read, the lower 8 bits of the bottom entry of the 10-bit receive FIFO are accessed. As data enters the top of the receive FIFO, bits 8..10 are used to indicate various error conditions that occur during reception of each piece of data. The error bits are transferred down the FIFO along with the value that caused the error. When data reaches the bottom, bit 8 of the bottom FIFO entry is automatically transferred to the parity error (PRE) flag, bit 9 to the framing error (FRE) flag, and bit 10 to the receiver overrun (ROR) flag, all within the UART status register. The user can read these flags to determine if the value at the bottom of the FIFO encountered an error during reception. After checking the flags, the FIFO value can then be read, which causes the data in the next location of the receive FIFO to automatically be transferred down to the bottom entry and its error bits to be transferred to the status register. The error in FIFO (EIF) flag bit is set whenever one or more of the error bits (8..10) is set within any of the bottom four entries of the receive FIFO and is cleared when no error bits are set in the bottom four entries of the FIFO. When EIF is set, an interrupt is generated and receive FIFO DMA requests are disabled so that the user can manually empty the FIFO, always checking the parity, framing, and overrun flags in the status register first before removing the data values from the FIFO. After each entry is removed, the user should check the EIF bit to see if any errors remain, and repeat the procedure until all errors are flushed from the FIFO. Once EIF is cleared, servicing of the receive FIFO by the DMA controller is automatically reenabled.

When UTDR is written, the topmost entry of the 8-bit transmit FIFO is accessed. After a write, data is automatically transferred down to the lowest location within the transmit FIFO that does not already contain valid data. Data is removed from the bottom of the FIFO one piece at a time by the transmit logic and is loaded into the transmit serial shifter along with start and stop bits (and the optional parity and second stop bits), then is serially shifted out onto the TXD3 pin at the programmed baud rate.

Bits Name Description

Page 335 of the Intel SA-1110 user manual — 11.11.7 UART Status Register 0
Page 335 · click to enlarge
Page 335

functionality of the UART module or wait for a 0 to 1 transition and then a 1 to 0 transition of TBY to ensure that the data is transmitted.

The following table shows the bit locations corresponding to the data field, parity, framing, and receiver overrun error bits within the UART data register. Note that both FIFOs are cleared when the SA-1110 is reset, the transmit FIFO is cleared when writing TXE=0, and the receive FIFO is cleared when writing RXE=0.

0h 8005 0014 UTDR Read/Write

10 9 8 7 6 5 4 3 2 1 0

ROR FRE PRE Bottom of Receive FIFO Data

Reset?

Read Access Note: ROR, FRE, PRE are not read, but rather are transferred to corresponding status bits in UTSR1 each time a

data value is transferred to UTDR.

7 6 5 4 3 2 1 0

Top of Transmit FIFO Data

Reset?

Top/bottom of transmit/receive FIFO data.

7..0 DATA

Read – Bottom of receive FIFO data. Write – Top of transmit FIFO data.

Parity error.

0. No parity errors encountered in the receipt of this data (or parity disabled). 1 – Parity error encountered in the receipt of this data.

8 PRE

Framing error.

0. Stop bit for this frame was a one. 1 – Stop bit for this frame was a zero.

9 FRE

Receiver overrun.

0. No receiver overrun has been detected.

10 ROR

1. Receive logic attempted to place data into receive FIFO while it was full; one or more data values following this entry were lost.

11.11.7 UART Status Register 0

UART status register 0 (UTSR0) contains bits that signal the transmit FIFO interrupt request, receive FIFO interrupt request, receiver idle detect, the begin and end of receiver break detect conditions, and the error in receive FIFO condition. Each of these hardware-detected events signals an interrupt request to the interrupt controller.

Write Access · Bits Name Description

Page 336 of the Intel SA-1110 user manual — 11.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)
Page 336 · click to enlarge
Page 336

Interruptible status bits signal an interrupt requested as long as the bit is set. Once the bit is cleared, the interrupt is cleared. Read/write bits are called status bits, read-only bits are called flags. Status bits are referred to as “sticky” (once set by hardware, must be cleared by software). Writing a one to a sticky status bit clears it; writing a zero has no effect. Read-only flags are set and cleared by hardware; writes have no effect. Additionally, some bits that cause interrupts have corresponding enable/mask bits in the control registers and are indicated in the following section headings. Note that the user has the ability to mask all UART interrupts by clearing bit 17 within the interrupt controller mask register (ICMR). See the Chapter 9, “Interrupt Controller”.

11.11.7.1 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)

The transmit FIFO service request flag (TFS) is a read-only bit that is set when the transmit FIFO is nearly empty and requires service to prevent an underrun. TFS is set any time the transmit FIFO has four or fewer entries of valid data (half-full or less), and is cleared when it has five or more (more than half-full) entries of valid data. When the TFS bit is set, a DMA service request is made. An interrupt request is also made unless the transmit FIFO interrupt request mask (TIE) bit is cleared. After the DMA or CPU fills the FIFO such that five or more locations are filled within the transmit FIFO, the TFS flag (as well as the DMA and interrupt request) is automatically cleared.

11.11.7.2 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)

The receive FIFO service request flag (RFS) is a read-only bit that is set when the receive FIFO is nearly filled and requires service to prevent an overrun. The amount of data that causes RFS to be set is nondeterministic. However, the range in which RFS will be set is guaranteed. RFS is set at some point when the receive FIFO is one- to two-thirds full (or more). The UART’s FIFOs are self-timed to reduce cost and save power. As a result, the depth at which the receive FIFO service request is generated is variable. This is the reason the receive FIFO is 12 entries deep instead of eight like the transmit FIFO. At which entry in the FIFO the request is actually triggered is dependent on IC process, operating temperature, and so on. The receive FIFO is designed to signal the RFS bit to be set when it contains eight entries of valid data. However, because of the variability of the self-timed logic, RFS may also be set when seven, six, or five entries of valid data are present within the FIFO. Likewise, under normal circumstances, RFS is cleared when the receive FIFO has seven remaining entries of valid data. However, again due to variations, RFS may be cleared when six, five, or four entries of data remain.

When the RFS bit is set, a DMA service request is made. An interrupt request is also made unless the receive FIFO interrupt request enable (RIE) bit is cleared. Even though more than four entries of data may exist within the receive FIFO, the user must configure the DMA burst size to 4 words. If programmed I/O is used to service the receive FIFO, a maximum of 4 words may be removed without checking if data is valid. After this point, the receive FIFO not empty (RNE) flag must be polled before each read to see if more data remains. After the DMA or CPU empties the FIFO such that five or more empty locations are available within the receive FIFO, the RFS flag (as well as the DMA and interrupt request) is automatically cleared.

11.11.7.3 Receiver Idle Status (RID) (read/write, maskable interrupt)

The receiver idle status bit (RID) is set when the receiver is enabled (RXE=1), the receive FIFO is not empty (contains at least one entry of data), and three frame periods elapse without any data having being received. When RID is set, an interrupt request is made unless the receive FIFO interrupt request mask (RIE) bit is cleared.

Page 337 of the Intel SA-1110 user manual — 11.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)
Page 337 · click to enlarge
Page 337

11.11.7.4 Receiver Begin of Break Status (RBB) (read/write, nonmaskable interrupt)

The receiver begin of break status bit (RBB) is set when the receive logic detects a null character (contains all zeros, including the parity bit), followed by a framing error, which indicates the start bit is zero. In other words, a begin of break is detected when the receive line is held low for one frame duration (whatever size the frame is programmed to). When RBB is set, an interrupt is signalled, a single null frame is placed in the receive FIFO, the framing error bit is set, and all subsequent null frames with framing errors are ignored (not placed within the FIFO). After RBB is cleared by the user, it cannot be set again until the receiver end of break status (REB) bit is set. This interlock is used to prevent added null characters from entering the receive FIFO, and also allows the user to clear the RBB bit (clearing the interrupt) and wait for the receiver end of break interrupt (described in the next section). This interlock is cleared when REB is set, when RXE is cleared, or when the SA-1110 is reset.

11.11.7.5 Receiver End of Break Status (REB) (read/write, nonmaskable interrupt)

The receiver end of break status bit (REB) is set when the receive pin transitions high (rising edge) and the RBB interlock is currently set (described in the preceding section). In other words, an end of break is detected after a begin of break is detected and the receive line transitions from low to high (indicating a new frame is about to occur or the receiver is entering the idle state). When REB is set, an interrupt is signalled, and the RBB interlock is cleared, allowing any future data frame to be stored to the receive FIFO. After the bit is cleared, it cannot be set again until the receiver begin of break status (RBB) bit is once again set.

11.11.7.6 Error in FIFO Flag (EIF) (read-only, nonmaskable interrupt)

The error in FIFO flag (EIF) is a read-only bit that is set when any error bits (8 through 10) are set within the bottom four entries of the receive FIFO and is cleared when no error bits are set within the bottom four entries of the FIFO. When EIF is set, an interrupt is signalled and DMA requests to empty the receive FIFO are disabled until EIF is cleared. To discover the source of the errors, the user should check the state of the FRE, PRE, and ROR bits in UTSR1, then read the corresponding value from UTDR. This procedure should be repeated until EIF is cleared because errors that are present within any of the four lowest entries in the receive FIFO will set EIF. Once all error tags are cleared from the bottom half of the receive FIFO, EIF is automatically cleared, which in turn, clears the interrupt and reenables the receive FIFO DMA request.

Page 338 of the Intel SA-1110 user manual — 5 EIF
Page 338 · click to enlarge
Page 338

The following table shows the bit locations corresponding to the status bits within UART status register 0. Note that the reset state of all writable status bits is unknown (indicated by question marks) and must be cleared (by writing a one to them) before enabling the UART. Also note that writes to reserved bits are ignored and reads return zeros.

0h 8005 001C UTSR0 Read/Write and Read-Only

7 6 5 4 3 2 1 0

Reserved EIF REB RBB RID RFS TFS

Reset 0 0 0 ? ? ? 0 0

Transmit FIFO service request (read-only).

0. Transmit FIFO is more than half-full (five or more entries filled) or transmitter disabled.

0 TFS

1. Transmit FIFO is half-full (four or fewer entries filled) and transmitter operation is enabled, DMA service request signalled, and interrupt request signalled if not masked (if TIE=1).

Receive FIFO service request (read-only).

0. Receive FIFO contains seven or fewer entries of data or receiver disabled.

1 RFS

1. Receive FIFO is oneto two-thirds full (contains 5, 6, 7, or 8 entries of data) or more, and receiver operation is enabled, DMA service request signalled, and interrupt request signalled if not masked (if RIE=1).

Receiver idle.

0. Receiver is busy, receive FIFO is empty, or receiver is disabled.

2 RID

1. Receiver is enabled, receive FIFO not empty, 3 frame times elapsed without receiving data, request interrupt.

Receiver begin of break.

0. No break detected.
1. Null character followed by parity and stop bits containing zeroes received, request interrupt.

3 RBB

Receiver end of break.

0. No end of break detected.
1. Beginning of break was detected (interlock set) and a rising edge detected on the receive pin, request interrupt.

4 REB

Error in FIFO (read-only).

0. Bits 8..10 are not set within any of the four bottom entries of the receive FIFO, receive FIFO DMA service requests are enabled.

5 EIF

1. One or more error bits (8..10) are set within one or more of the bottom four entries of the receive FIFO, request interrupt, disable receive FIFO DMA service requests.

7..6 — Reserved.

Bits Name Description

Page 339 of the Intel SA-1110 user manual — 11.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)
Page 339 · click to enlarge
Page 339

11.11.8 UART Status Register 1

UART status register 1 (UTSR1) contains flags that indicate when the UART is actively transmitting characters, that the transmit FIFO is not full, that the receive FIFO is not empty, and when parity, framing, overrun, and underrun errors have occurred. All bits within UTSR1 are read-only and are noninterruptible.

11.11.8.1 Transmitter Busy Flag (TBY) (read-only, noninterruptible)

The transmitter busy (TBY) flag is a read-only bit that is set when the transmitter is actively processing data for transmission (the serial shifter contains data), and is cleared when the transmitter is idle or is disabled (TXE=0). This bit does not request an interrupt.

11.11.8.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)

The receive FIFO not empty flag (RNE) is a read-only bit that is set when the receive FIFO contains one or more bytes of valid data and is cleared when it no longer contains any valid data. This bit can be polled when using programmed I/O to remove remaining bytes of data from the receive FIFO because DMA service and CPU interrupt requests are made only when 8, 7, 6, or 5 bytes reside within the FIFO. This bit does not request an interrupt.

11.11.8.3 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)

The transmit FIFO not full flag (TNF) is a read-only bit that is set when the transmit FIFO contains one or more entries that do not contain valid data and is cleared when the FIFO is completely full. This bit can be polled when using programmed I/O to fill the transmit FIFO over its halfway mark. This bit does not request an interrupt.

11.11.8.4 Parity Error Flag (PRE) (read-only, noninterruptible)

The parity error flag (PRE) is set when parity is enabled (PE = 1), and the parity type programmed using OES does not correspond to the parity check of the incoming serial data stream, which is calculated by the receive logic. The parity error bit is set when PE=1, OES=0, and UTDR[7:0], and the incoming parity bit contain an even number of ones, or PE=1, OES=1, and UTDR[7:0], and the incoming parity bit contain an odd number of ones.

The receive FIFO contains three bits (8, 9, and 10) that are not directly readable. The 8th bit in the FIFO is set at the top of the FIFO whenever a byte of data that incurs a parity error is moved from the receive serial shifter to the top of the receive FIFO. This tag travels along with the errant data value as it moves down the FIFO. Each time a data value is transferred to the bottom of the FIFO (caused by a read of the previous value), the state of this bit is moved from the FIFO to the PRE bit in the status register. After the error in FIFO (EIF) status bit is set, the user should always read UTSR1 first to check PRE before reading the data value from UDR because PRE corresponds to the current data byte at the bottom of the receive FIFO and is updated each time data is removed from the FIFO.

11.11.8.5 Framing Error Flag (FRE) (read-only, noninterruptible)

The framing error status bit (FRE) is set when the stop bit within a frame of incoming serial data is a zero instead of a one.

Page 340 of the Intel SA-1110 user manual — 11.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)
Page 340 · click to enlarge
Page 340

The receive FIFO contains three bits (8, 9, and 10) that are not directly readable. The 9th bit in the FIFO is set at the top of the FIFO whenever a byte of data that incurs a framing error is moved from the receive serial shifter to the top of the receive FIFO. This tag travels along with the errant data value as it moves down the FIFO. Each time a data value is transferred to the bottom of the FIFO (caused by a read of the previous value), the state of this bit is moved from the FIFO to the FRE bit in the status register. After the error in FIFO (EIF) status bit is set, the user should always read UTSR1 first to check FRE before reading the data value from UDR because FRE corresponds to the current data byte at the bottom of the receive FIFO and is updated each time data is removed from the FIFO.

11.11.8.6 Receiver Overrun Flag (ROR) (read-only, noninterruptible)

The receiver overrun status bit (ROR) is set when the receive logic attempts to place data into the receive FIFO after it has been completely filled.

The receive FIFO contains three bits (8, 9, and 10) that are not directly readable. The 10th bit in the FIFO is set within the top entry of the receive FIFO whenever an overrun occurs. This tag travels along with the last “good” data value before the overflow occurred as it moves down the FIFO. Each time a data value is transferred to the bottom of the FIFO (caused by a read of the previous value), the state of this bit is moved from the FIFO to the ROR bit in the status register, indicating that the next value in the FIFO is the last “good” piece of data before the overflow occurred. After the error in FIFO (EIF) status bit is set, the user should always read UTSR1 first to check ROR before reading the data value from UDR because ROR corresponds to the current data byte at the bottom of the receive FIFO and is updated each time data is removed from the FIFO.

Page 341 of the Intel SA-1110 user manual — 11.11.9 UART Register Locations
Page 341 · click to enlarge
Page 341

The following table shows the bit locations corresponding to the flag bits within UART status register 1. Note that these flags do not generate interrupts, all bits are read-only, writes are ignored, and reads of reserved bits return zeros.

0h 8005 0020 UTSR1 Read-Only

7 6 5 4 3 2 1 0

Reserved ROR FRE PRE TNF RNE TBY

Reset 0 0 0 ? ? ? 0 0

Transmitter busy flag (read-only).

0 TBY

0. Transmitter is idle or UART is disabled. 1 – Transmit logic is currently transmitting a frame (data within the serial shifter); no interrupt generated.

Receive FIFO not empty (read-only).

1 RNE

0. Receive FIFO is empty. 1 – Receive FIFO is not empty (no interrupt generated).

Transmit FIFO not full (read-only).

2 TNF

0. Transmit FIFO is full. 1 – Transmit FIFO is not full (no interrupt generated).

Parity error (read-only).

0. No parity errors encountered in the receipt of the next data value in the FIFO (or parity disabled). 1 – Parity error encountered in the receipt of the next data value in the FIFO (no interrupt generated).

3 PRE

Framing error (read-only).

4 FRE

0. Stop bit for the next frame in the FIFO was a one. 1– Stop bit for the next frame in the FIFO was a zero (no interrupt generated).

Receive FIFO overrun (read-only).

0. Receive FIFO has not experienced an overrun. 1 – Receive logic attempted to place data into receive FIFO while it was full, the next data value in the FIFO is the last piece of “good” data before the FIFO was overrun (no interrupt generated).

5 ROR

7..6 — Reserved.

11.11.9 UART Register Locations

Table 11-19 shows the registers associated with serial port 3 and the physical addresses used to access them.

Table 11-19. Serial Port 3 Control, Data, and Status Register Locations (Sheet 1 of 2)

0h 8005 0000 UTCR0 UART control register 0

0h 8005 0004 UTCR1 UART control register 1

0h 8005 0008 UTCR2 UART control register 2

Bits Name Description · Address Name Description

Page 342 of the Intel SA-1110 user manual — 11.12 Serial Port 4 – MCP / SSP
Page 342 · click to enlarge
Page 342

Table 11-19. Serial Port 3 Control, Data, and Status Register Locations (Sheet 2 of 2)

0h 8005 000C UTCR3 UART control register 3

0h 8005 0010 — Reserved

0h 8005 0014 UTDR UART data register

0h 8005 0018 — Reserved

0h 8005 001C UTSR0 UART status register 0

0h 8005 0020 UTSR1 UART status register 1

0h 8005 0024 –

0h 8005 FFFF — Reserved

11.12 Serial Port 4 – MCP / SSP

Serial port 4 contains two separate full-duplex synchronous serial interfaces. The multimedia communications port (MCP) provides an interface to the Philips UCB1x00 codecs. These devices have an audio codec, a telecom codec, a touch-screen interface, four general-purpose analog-to-digital converter inputs, and ten programmable digital I/O lines. The MCP interface is used by the SA-1110 both to input and output digital data to and from the codec, and to configure and acquire status information from the codecs’ 16 registers. The synchronous serial port (SSP) is used to interface to a variety of analog-to-digital converters, audio and telecom codecs, memory chips, and keypad controllers as well as other miscellaneous serial devices. The SSP supports the National Microwireand Texas Instruments synchronous serial protocols as well as a subset of the Motorola serial peripheral interface (SPI) protocol.

In MCP mode, serial port 4 controls communication between the SA-1110 and either the UCB1x00 codecs. The MCP produces two 64-bit subframes per frame (totalling 128 bits per frame) using a bit clock and frame synchronization signal. Data is communicated full-duplex via a separate transmit and receive data line. Selecting the on-chip clock, a bit clock frequency of either 9.585 Mbps or 11.981 Mbps can be programmed. Alternatively, GPIO pin 21 can be used to input a bit clock from an off-chip source. This feature allows users to select a frame rate that is an exact multiple of the desired audio/telecom sample rate. The MCP communicates to the codec in the first of the two subframes. The second subframe is used in high-end applications to communicate with a second stereo codec; however, this feature is not supported by the MCP. Subframe 0 contains seven different fields of information. These fields include: audio conversion data, telecom conversion data, data valid flags, control register address, control register data, and read/write control. Both transmit and receive frames contains these seven fields. The transmit frame contains data for D-to-A conversion as well as address, data, and control signals to write to or read from the codec’s registers, and the receive frame contains A-to-D samples and the data returned from a read of a codec register.

Both the MCP and the off-chip codec contain programmable 7-bit divisors, one each for the telecom and audio data. These values are used to divide the bit clock to generate a desired sampling frequency. When the codec is enabled, the divisor pairs are synchronously transferred to their respective modulus registers within the MCP and off-chip codec, and decrement using the bit clock. This technique allows telecom and audio data with different sampling frequencies to be transferred between the MCP and codec, lock-step in sync with the sampling/conversion frequency of the codec.

Address Name Description

Page 343 of the Intel SA-1110 user manual — 11.12.1.1 Frame Format
Page 343 · click to enlarge
Page 343

The MCP contains two pairs of transmit FIFOs and two pairs of receive FIFOs, one each for audio and telecom data, totalling four separate 8-entry x 16-bit FIFOs. The MCP also contains a 21-bit data register used to transmit codec register reads and writes, as well as another 21-bit register to receive the results of codec register reads. Touch-screen and ADC conversions are triggered, the digital I/O lines are controlled using codec register writes, and the converted data and the state of digital I/O lines are accessed using a codec register read.

In SSP mode, serial port 4 controls full-duplex synchronous serial transfers between the SA-1110 and off-chip devices that support National Microwire, Texas Instruments synchronous serial, or the Motorola SPI protocol. The SSP functions as a master only and communicates to the off-chip slave device by driving a serial bit rate clock ranging from 7.2 kHz to 1.8432 MHz along with a frame synchronization pulse to denote the start of each frame transfer, and supports any data format between 4 and 16 bits. Transmit and receive data is stored/collected using two separate 8-entry x 16-bit FIFOs. MCP operation takes precedence over SSP operation. If use of both the MCP and SSP is required at the same time, the user can configure the SSP to take over control of GPIO pins 10 through 13, and the MCP uses the serial port 4 pins for transmission.

The external pins dedicated to this interface are TXD4, RXD4, SCLK, and SFRM. If use of both the MCP and SSP is not required and serial port 4 is disabled, control of these pins is given to the peripheral pin controller (PPC) to be used to perform general-purpose input/output (noninterruptible). See the section 11.13 on page 382 for a description of the programming and operation of the PPC. The MCP operation takes precedence over the SSP if both units are enabled (see section 11.12.1.6 on page 11-132). Both the MCP and SSP support word reads/writes of their registers, and half-word DMA transfers to or from their FIFOs that are 16-bits wide.

11.12.1 MCP Operation

Following reset, both the MCP and SSP logic within serial port 4 is disabled and control of its pins is given to the PPC, which configures all four pins as inputs. To enable MCP operation, the programmer should first clear any interruptible status bits, which are set following the reset, by writing a one to them. Next, the user should program the MCP control register with the desired mode of operation using word writes, ensuring that the enable bit is programmed last. The user can choose to either “prime” the audio and telecom transmit FIFOs, before enabling the MCP, by writing up to eight 16-bit values each, or allow the FIFO service requests to interrupt the CPU or trigger a DMA transfer to fill the FIFOs. Once the off-chip codec is programmed and data resides within the bottom entries of the audio and/or telecom FIFOs, transmission/reception of data begins on the transmit (TXD4) and receive (RXD4) pins, and is synchronously controlled by the serial clock (SCLK) pin and a serial frame (SFRM) pin at an internally generated rate of 9.585 MHz or 11.981 MHz, or by an external clock input to GPIO21. The serial clock rate is selected by programming a control bit. Note that the two internally generated SCLK rates are derived by first multiplying the 3.6864-MHz on-chip oscillator by 13, then by dividing either by 5 (9.58464 MHz) or by 4 (11.9808 MHz). Also note that an external clock input to GPIO21 can be used to drive the MCP when a sample rate that is not a multiple of 3.6864 MHz is required.

11.12.1.1 Frame Format

Each MCP data frame is 128 bits long and is divided into two subframes: 0 and 1. Subframe 0 is used by the MCP to communicate data to and from the UCB1100, UCB1200, or UCB1300. The timing of Subframe 1 is generated by the MCP, but the fields are not supported by the MCP.

After the MCP is enabled, SCLK begins to transition at the programmed clock rate and the start of the first frame is signalled by pulsing the SFRM pin high for one SCLK period. The rising edge of SFRM coincides with the rising edge of SCLK. The SFRM pulse causes the MCP to transfer any available

Page 344 of the Intel SA-1110 user manual — Figure 11-29. MCP Frame Pin Timing
Page 344 · click to enlarge
Page 344

audio and/or telecom data from their respective transmit FIFOs to a 64-bit serial shifter, setting the appropriate audio/telecom valid flags as well. If the codec control register contains valid data, the register value and address are placed within the appropriate fields in the shifter, and the read/write bit is configured to indicate which type of register access is to be made. For any field that does not have valid data available, the previous value transmitted is used. As long as the MCP is enabled, data frames are continuously transferred, even if no valid data is available for transmission. The format of data transmitted and received in subframe 0 is shown in Figure 11-28. Note that the UCB1x00 and the USB1200 data sheets use big-endian notation; little-endian notation is used in the following figure to remain consistent with the rest of the SA-1110 specification.

Figure 11-28. MCP Frame Data Format

Bit 63 48 47 46 43 42 41 34 33 32 3 1 1 6 1 5 0

TX Audio Transmit Data 0 Address R/W 00000000 AV TV Telecom Transmit Data Control Register Write

RX Audio Receive Data 0 Address R/W 00000000 AV TV Telecom Receive Data Control Register Read AV – Audio Data Valid TV – Telecom Data Valid R/W – Write=1, Read=0 Address – Codec Register Address

Both the MCP and the off-chip codec drive data on the rising edge of SCLK and latch data on its falling edge. After SFRM is negated, subframe 0 begins and the data within the 64-bit shifter is driven onto the TXD4 pin a bit at a time, starting with the MSB (bit 63). As each bit of data is shifted onto the TXD4 pin from one side of the shifter, a bit is also shifted into the opposite end of the shifter from the RXD4 pin. After 64 SCLK cycles elapse, all data within the shifter has been transmitted, and the shifter contains the 64-bit receive data frame. The MCP takes the data from each field and places it in its respective receive FIFO or data register. The next 64 SCLK cycles make up subframe 1. When subframe 1 is active, the clocks to all MCP resources that are not needed are turned off to conserve power. Figure 11-29 shows the pin timing of the MCP.

Figure 11-29. MCP Frame Pin Timing

Frame Clock Count 1 2 ... 63 64 65 66 ... 127 128 1

Intel SA-1110 — Figure 11-29. MCP Frame Pin Timing diagram (page 344)
Fig. 74 · Figure 11-29. MCP Frame Pin Timing

SFRM ...

TXD4 Bit 63 Bit 62 ... Bit 1 Bit 0 ... Bit 63

RXD4 Bit 63 Bit 62 ... Bit 1 Bit 0 ... Bit 63

Note that the transmit line is pulled low any time data is not being driven onto the pin. The UCB1x00 have a programming option that allows them to either tri-state or drive the receive line low when data is not being driven onto RXD4. As shown in Figure 11-29, MCP frames occur back-to-back. The SFRM pin is pulsed high during the last clock (128th) of the frame to indicate the start of a new frame the following SCLK period. Values contained within the transmit FIFOs are loaded to the shift register on the rising edge of SFRM.

Page 345 of the Intel SA-1110 user manual — SFRM
Page 345 · click to enlarge
Page 345

11.12.1.2 Audio and Telecom Sample Rates and Data Transfer

The UCB1100 and UCB1200 contain both an audio and telecom codec with sample rates that can be individually programmed, and are derived from the programmed serial clock (SCLK) that is supplied by the MCP. For the audio codec, the sample rate is derived by dividing the serial clock first by a fixed value of 32, then by a value from 6 to 127. The same is true for the telecom codec, except that the programmable divisor ranges from 16 to 127. The codec and the MCP both contain an audio and a telecom sample rate counter. These counters are used to achieve conversion rate synchronization between the codec and MCP so that data may be coherently transferred between the MCP and the codec. For the remainder of this description, references made to the audio codec also apply to the telecom portion of the codec and MCP.

Before enabling the audio codec, the audio sample rate counters within the codec and MCP must be programmed with the same divisor value so that they have the same sample rate. The codec’s audio sample rate divisor is programmed by issuing a control register write transfer, and the MCP’s divisor is programmed using the CPU by writing to the MCP’s control register. Both the MCP and the codec’s audio counters are reloaded with the programmed modulus value any time the audio portion of the codec is enabled (which is also accomplished by performing a control register write transfer), or whenever the sample rate counters reach zero.

The MCP and the audio codec decrement their counters in lock-step with one another, both starting on the occurrence of the first SFRM pulse after the audio codec is enabled. Samples/conversions are made each time the audio codec’s counter reaches zero. Figure 11-30 shows the timing of the audio codec enable and decrements of the MCP and audio codec’s sample counter.

Figure 11-30. MPC/Codec Sampling Counter Synchronization

Subframe 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1

SFRM

Counters 12 12 12.11.10.9.8.7.6.5.4.3.2.1 12.11.10.9.8.7.6.5.4.3.2.1 12.11.10.9.8.7.6 12 12

In Figure 11-30, “Ena,” within the data frame on TXD4, represents a control register write to the codec to enable the input portion of the audio codec. The register is updated with the write at the end of subframe and the audio enable signal within the codec goes high. Both the MCP and codec’s audio sample rate counters then start to decrement on the next SFRM pulse. In the example, a divisor value of 12 is used, causing the counter to decrement to zero after 384 (32*12=384) SCLK cycles occur.

If the input portion of the audio codec is enabled, when the counter reaches zero, a sample and A-to-D conversion is made and the converted value is placed within the correct field of the codec’s serial shift register for transmission back to the MCP in the next data frame. If the output portion of the audio codec is enabled, an audio data value is taken from the received data supplied by the MCP and is used for a D-to-A conversion. Data used in the D-to-A conversion is always taken from the previous MCP input frame. If no new data is available within the MCP’s audio transmit FIFO since the last D-to-A conversion, then the same data is used again (causing audio distortion).

TXD4 Ena Dis · Audio Ena · Samp/Conv

Page 346 of the Intel SA-1110 user manual — 11.12.1.3 MCP Transmit and Receive FIFO Operation
Page 346 · click to enlarge
Page 346

Samples and conversions occur twice in the preceding figure. However, while the counter is decrementing for the third time, the CPU disables the audio codec by issuing another control register write, represented by the “Dis” data frame on TXD4. The SFRM pulse following the write causes the disable to take effect, and the MCP and codec’s audio sample rate counters are stopped and reset to their modulus values.

The MCP and the codec’s audio sample rate counters must be enabled coherently so that synchronization is achieved between the two. This is accomplished by first programming both the MCP and codec’s sample rate modulus values, then performing a codec control register write to enable the audio sampling rate counter within the codec. The MCP automatically decodes a write to the audio codec input and output enable bits, and enables the MCP’s audio sample rate counter at the same time as the codec’s counter to ensure synchronization.

The UCB1100, UCB1200, and UCB1300 each have an individual data valid bit for audio and telecom A/D samples. Whenever these bits are set in the data frame returned from the codec to the MCP, the audio and telecom data is taken from the frame and placed in their respective receive FIFOs. The UCB1100, UCB1200, and UCB1300 have two different modes of operation to control the setting of the audio and telecom data valid bits. In the first mode, a data valid bit is set any time a frame contains “reliable” data (the codec is enabled and at least one A-to-D sample has been taken). In this mode, once the data valid bit is set, it remains set until the codec A-to-D input is disabled. In the second mode, the codec only sets the data valid bit corresponding to a new A-to-D sample. Once the data is transmitted to the MCP within a receive data frame, the data valid bit is reset to zero for subsequent data frames until a new A-to-D sample is triggered.

11.12.1.3 MCP Transmit and Receive FIFO Operation

The MCP contains four 8-entry x 16-bit FIFOs: one for audio and one for telecom A-to-D samples received by the MCP, as well as one for audio and one for telecom D-to-A conversions transmitted to the codec. For the remainder of this description, references made to the audio codec also apply to the telecom portion of the codec and MCP.

For each incoming data frame, if the audio data valid bit is set, the 16-bit audio A-to-D sample is extracted and placed in the audio receive FIFO. Note that the MCP also supports a mode in which the audio data valid bit is ignored after the first conversion has been saved to the FIFO, and the MCP’s audio sample rate counter is used to signal when a new A-to-D sample has been taken and is available within the incoming frame. Audio data is transferred from the incoming data frames to the receive FIFO only if the audio enable bit is set within the MCP’s status register.

The MCP’s audio and telecom sample rate counters are used to trigger when new data is to be transmitted to the codec. The user should take care in ensuring sample rate counters in the MCP are synchronized with the respective sample rate counters in the codec as described in preceding sections. When the audio enable status bit transitions from a 0 to a 1 within the MCP status register, the next data is taken from the audio transmit FIFO and is placed within the correct field in the MCP’s serial shifter. This value is then continuously transferred by the MCP in each data frame to the codec. The codec uses the value only when its audio sample rate counter decrements to zero. After the audio D-to-A conversion is made, both the codec and the MCP’s audio sample rate counters reload with their modulus values. This reload triggers the audio transmit FIFO to transfer the next available entry of data to the MCP’s serial shifter. Again, this value is continuously transmitted to the codec in each data frame until it is used in the next audio D-to-A conversion.

The width of each entry within the audio and telecom FIFOs is 16 bits. However, for the UCB1100, UCB1200, and UCB1300, the audio codec’s sample/conversion data size is 12 bits and the telecom codec’s is 14 bits. Conversions and samples are left justified within the 16-bit audio and telecom data fields in the MCP frame as well as within the transmit and receive FIFOs.

Page 347 of the Intel SA-1110 user manual — 11.12.1.4 Codec Control Register Data Transfer
Page 347 · click to enlarge
Page 347

Figure 11-31. Audio/Telecom Receive Data Format From UDC1x00

Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Audio Data 0

Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Telecom Data 0 0

Figure 0-5. Audio/Telecom Receive Data Format From 16-bit CODECs

Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

To reduce chip size as well as power consumption, the MCP’s FIFOs use self-timed logic (not clocked). Because of process and environmental variations, the depth at which a service request is triggered to empty the receive FIFOs is variable. This variation spans a maximum of four FIFO entries, thus the audio and telecom receive FIFO service requests can be made at four different FIFO depths.To compensate for this variability and guarantee that at least four valid entries of data exist within either FIFO before generating a service request, an extra four entries have been added to both receive FIFOs (four entries more than the transmit FIFOs). Thus the audio and telecom transmit FIFOs are 8-entries deep and the audio and telecom receive FIFOs are 12-entries deep. The point at which the receive FIFO service requests are triggered spans one-third (four entries) of the 12-entry FIFOs. The service request is signalled at a depth from one-third full to two-thirds full (when the FIFOs contains five, six, seven, or eight entries of data).

11.12.1.4 Codec Control Register Data Transfer

The UCB1100, UCB1200, and UCB1300 contain sixteen 16-bit registers used to configure the chip, and store touch-screen and ADC samples as well as digital I/O pin state and edge interrupt status. These registers are read and written via the MCP’s serial interface using three fields that exist within the MCP’s data frame. In Figure 11-28, bits [15:0] contain the value read from or written to the off-chip codec, bits [46:43] contain the register address of the current read or write, and bit 42 is used by the MCP to signal a read or write cycle to the codec. These fields are configured by the CPU by writing to MCP data register 2, and are then transmitted to the off-chip codec. These fields are also received every data frame by the MCP from the codec and are placed in MCP control register 2, which can be read by the CPU. Note that the contents of the addressed register are returned in the receive data frame regardless of the state of the read/write bit. Thus for write cycles, both a write and a read occurs, and for read cycles, only a read occurs.

A register write is performed by writing a value to the MCP data register 2 that contains the value to store to the register, the address of the register, and the read/write bit set to one. Once this register is written, its contents are transferred to the correct fields within the serial shifter on the next rising edge of the SFRM signal. The register information is transmitted to the UCB1100, UCB1200, or UCB1300 during subframe 0, and the value is written to the selected codec register at

Audio Data · Telecom Data

Page 348 of the Intel SA-1110 user manual — 11.12.1.7 CPU and DMA Register Access Sizes
Page 348 · click to enlarge
Page 348

the end of subframe 0 (during the 65th bit of the frame). The control register value and address are also returned to the MCP and stored in MCP control register 2. The read/write bit is zero in the return frame. Because the addressed register is updated at the end of subframe 0, the data returned during the frame in which the write occurred represents the previous contents of the register. The updated value is returned during the next data frame.

A register read is performed by writing a value to MCP data register 2 that contains the address of the register and the read/write bit set to a zero. Again, the data is transferred to the serial shifter on the next rising edge of the SFRM signal and is transmitted to the UCB1100 or UCB1200 during subframe 0. Because the address and read/write control bit fields occur near the beginning of the serial stream output, the codec performs the read immediately after the read/write bit is received (during the 41st bit of the frame) and the value contained within the addressed register is sent back to the MCP in the same data frame.

Once the codec control register is written with a value to execute a read or write, the operation is performed every MCP data frame until a new value is written to the register. Thus, continual reads or writes are made to the addressed codec register until a new read or write operation is configured.

11.12.1.5 External Clock Operation

Under normal operation, the MCP is programmed to use one of two on-chip clocks to produce a 9.585-Mbps or 11.981-Mbps bit rate. This clock is also used to increment the audio and telecom sample rate counters. The MCP also supports a special mode that allows the user to control the MCP’s frame rate and audio/telecom sample rates. This mode is useful when sample rates that are not an integer multiple of 12 MHz are required. In this mode, the MCP uses GPIO 21 to input a clock supplied from off-chip. The frequency of the off-chip clock can be any value within the allowable frequency range of the UCB1100, up to 12 MHz. When using GPIO pin 21 for the input clock, the user must also set bit 21 of the GPIO alternate function register (GAFR) and clear bit 21 of the GPIO pin direction register (GPDR). See the Section 9.1, “General-Purpose I/O” on page 9-73.

11.12.1.6 Alternate SSP Pin Assignment

MCP operation takes precedence over SSP operation. Thus if both are enabled, serial port 4 defaults to MCP mode. However, if the MCP and SSP both need to be used at the same time, general-purpose I/O pins 10..13 (GPIO 10..13) can be reassigned by programming the PPC pin assignment register (PPAR). This allows the MCP dedicated use of the four pins assigned to serial port 4, and the SSP dedicated use of the GPIO pins. When the SSP pin reassignment (SPR) bit is set in PPAR, the following pin assignments are made: GPIO 10 is used for transmit, GPIO 11 for receive, GPIO 12 for serial clock, and GPIO 13 for serial frame. Note that the user must also set bits 10 through 13 in the GPIO alternate function register (GAFR) as well as set bits 10, 12, and 13, and clear bit 11 in the GPIO pin direction register (GPDR). Once the reassignment is made, these pins are no longer usable by the GPIO unit. See the Section 9.1, “General-Purpose I/O” on page 9-73 for a description of how to program the system control module and the Section 11.13, “Peripheral Pin Controller (PPC)” on page 11-382 for a description of how to program the PPC unit.

11.12.1.7 CPU and DMA Register Access Sizes

Bit positioning and addressing of the MCP is described in terms of little endian ordering. All MCP registers are 32 bits wide. The ARM peripheral bus does not support byte or half-word operations. All reads and writes of the MCP by the CPU should be word–wide. Four separate dedicated DMA requests exist for the audio and telecom transmit and receive FIFOs. If the DMA controller is used

Page 349 of the Intel SA-1110 user manual — 11.12.3.1 Audio Sample Rate Divisor (ASD)
Page 349 · click to enlarge
Page 349

to service the transmit and/or receive FIFOs, the user must ensure the DMA is properly configured to perform half-word accesses, using 4 half-words per burst (half the size of the FIFOs). Note that a separate set of registers also exist to configure SSP operation. See the following sections for a full description of programming and operation of serial port 4 as an SSP, a summary of serial port 4’s MCP registers, and a summary of its SSP registers.

11.12.2 MCP Register Definitions

There are six registers within the MCP: two control registers, three data registers, and one status register. The control register is used to program the audio and telecom sample rates, to mask or unmask interrupt requests to service the MCP’s FIFOs, to select whether an on-chip or off-chip clock is used to drive the bit rate, and to enable/disable operation. The first data register addresses the top of the audio transmit FIFO and the bottom of the audio receive FIFO. Likewise, the second data register addresses the top/bottom of the telecom transmit/receive FIFOs, respectively. A read accesses the receive FIFOs; a write accesses the transmit FIFOs. Note that these are four physically separate FIFOs to allow full-duplex transmission. The third data register is used to transmit read and write operations to the codec’s control, data, and status registers. Values written to the register are used in the transmit data frame and values read from the register are taken from the received data frame. The status register contains bits that signal FIFO overrun and underrun errors, and transmit and receive FIFO service requests. Each of these status conditions signals an interrupt request to the interrupt controller. The status register also flags when audio and telecom transmit FIFOs are not full, when the audio and telecom receive FIFOs are not empty, when a codec control register read or write is complete, and when the audio or telecom portion of the codec is enabled (no interrupt generated).

11.12.3 MCP Control Register 0

The MCP control register (MCCR0) contains 11 different bit fields that control various functions within the MCP.

11.12.3.1 Audio Sample Rate Divisor (ASD)

The 7-bit audio sample rate divisor (ASD) bit field is used to synchronize the MCP with the sample rate of the audio codec. Sample rate synchronization is required such that the MCP’s audio transmit FIFO logic knows when to load a new value for D-to-A conversion to the MCP’s serial shifter for transmission. This field is programmed with the same value that is written to the codec’s sample rate divisor via a codec control register write. When the audio codec is enabled, the first audio transmit value is placed in the serial output stream by the transmit FIFO, and both the MCP’s and codec’s sample rate counters begin to decrement in lock-step with one another. When the audio codec’s counter decrements to zero, it uses the value transmitted to it by the MCP to perform the D-to-A conversion. After the conversion is made, the MCP and codec’s counters reset to their modulus values, and the MCP’s audio transmit FIFO loads the next value to the serial shifter for transmission. This new value is then transmitted to the audio codec and is used for the next D-to-A conversion, which is signalled when the sample rate counter decrements to zero again.

A total of 123 different audio sample rates can be selected, ranging from a minimum of 2.36 K samples per second using the 9.585-MHz internal clock to a maximum of 93.59 K samples per second using the 11.981-MHz internal clock. Note that slower sample rates can be achieved using an externally supplied clock. The sample rate clock generator uses either a 9.585-MHz or 11.981-MHz clock produced by the on-chip PLL or the clock supplied to the MCP via GPIO pin 21, and is divided by a fixed value of 32 and then by the programmable ASD value to generate the audio sample clock. This sample clock is automatically enabled when:

Page 350 of the Intel SA-1110 user manual — 11.12.3.2 Telecom Sample Rate Divisor (TSD)
Page 350 · click to enlarge
Page 350
  • A MCP data register 2 write to the audio control register B is made (address=0b100), which sets either the audio codec input or output enable bits (bit 14 = aud_in_ena, bit 15 = aud_out_ena), followed by
  • The rising edge of the next SFRM pulse after the write has been made.

Once enabled, the MCP’s audio sample rate clock decrements at the programmed frequency with a 50% duty cycle. The action outlined in the above first bullet item causes the MCP’s audio transmit FIFO logic to transfer the next available value to the audio data field within the serial shifter. Each time the audio sample rate clock decrements to zero, it is reloaded with its programmed ASD modulus value, triggers the audio transmit FIFO logic to transfer the next available value to the audio data field within the serial shifter, and continues to decrement. The MCP’s audio sample rate clock is automatically disabled when:

  • A MCP data register 2 write to the audio control register B is made (address=0b100), which clears both the audio codec input and output enable bits (bit 14 = aud_in_ena, bit 15 = aud_out_ena), followed by
  • The rising edge of the next SFRM pulse after the write has been made.

The resultant audio sample clock rate, given a specific ASD value, can be calculated using the following equation, where ASD is the decimal equivalent of the binary value programmed within the bit field. Note that ASD must be programmed with a value of 4 or larger. Unpredictable results occur for ASD values smaller than 4. Note that one of three clock frequencies can be selected. The first two frequencies are internal clocks selected by the CFS bit in MCCR1 and the third frequency is a user-defined clock that is input via GPIO pin 21 and is divided as defined by the ECP bit field described in following sections.

SampleRate Freq

32 x ASD ----------------------- =

Valid ASD values are from 4 (00000100) to 127 (11111111)

11.12.3.2 Telecom Sample Rate Divisor (TSD)

The 7-bit telecom sample rate divisor (TSD) bit field is used to synchronize the MCP with the sample rate of the telecom codec. The telecom sample rate clock is required for the same reason and works exactly like the audio sample rate clock, except for one minor difference. The valid TSD values range from 4 to 127, allowing a total of 123 different audio sample rates to be selected, ranging from a minimum of 2.36 K samples per second using the 9.585-MHz internal clock to a maximum of 93.59 K samples per second using the 11.98-MHz internal clock. Note that slower sample rates can be achieved using an externally supplied clock.

The resultant telecom sample clock rate, given a specific TSD value, can be calculated using the following equation, where TSD is the decimal equivalent of the binary value programmed within the bit field. Note that TSD must be programmed with a value of 4 or larger. Unpredictable results occur for TSD values smaller than 4. Note that one of three clock frequencies can be selected. The first two frequencies are internal clocks selected by the CFS bit in MCCR1 and the third frequency is a user-defined clock that is input via GPIO pin 21 and is divided by the ECP bit field described in the following sections.

Page 351 of the Intel SA-1110 user manual — 11.12.3.4 External Clock Select (ECS)
Page 351 · click to enlarge
Page 351

SampleRate Freq

32 x TSD ----------------------- =

Valid ASD values are from 4 (00000100) to 127 (11111111)

11.12.3.3 Multimedia Communications Port Enable (MCE)

The MCP enable (MCE) bit is used to enable and disable all MCP operation. Since the MCP and SSP both share the same pins, only one can be enabled at a time. If the user enables both at the same time, the MCP has precedence and the SSP remains disabled. However, both can be enabled when the SSP pin reassignment (SPR) bit within the PPC unit is set, which assigns the SSP to GPIO pins. See the following sections for a description of the SSP enable (SSE) bit.

When the MCP is disabled, all of its clocks are powered down to minimize power consumption. If the SSP is also disabled, the TXD4, RXD4, SCLK, and SFRM pins can be used for general-purpose input/output. See the Section 11.13, “Peripheral Pin Controller (PPC)” on page 11-382 for a description of how to program the PPC unit to reassign the SSP’s pins and to use serial port 4’s pins as I/Os. Note that MCE and CFS are the only control bits within the MCP that are reset to a known state. MCE is cleared to zero to ensure the MCP is disabled following a reset of the SA-1110.

When the MCP is enabled, SCLK begins to transition and the start of the first frame is signalled by pulsing the SFRM pin high for one SCLK period. The rising edge of SFRM coincides with the rising edge of SCLK. As long as the MCE bit is set, the MCP operates continuously, transmitting and receiving 128 bit data frames. When the MCE bit is cleared, the MCP is disabled immediately, causing the current frame, which is being transmitted, to be terminated and control of serial port 4’s pins to be given to the PPC unit. Clearing MCE resets the MCP’s FIFOs. However, MCP data register 3, the control, and the status registers are not reset. The user must ensure these registers are properly reconfigured before re-enabling the MCP.

11.12.3.4 External Clock Select (ECS)

The external clock select (ECS) bit selects whether one of the two on-chip clocks derived by the 3.6864-MHz oscillator is used by the MCP or if an off-chip clock is supplied via GPIO pin 21. When ECS=0, the MCP can be programmed to select one of two frequencies: either 9.585 MHz or 11.981 MHz. This clock is also used to increment the audio and telecom sample rate counters. (See preceding sections.) When ECS=1, the MCP uses GPIO 21 to input a clock supplied from off-chip. The frequency of the off-chip clock after being scaled by the ECP bit field can be any value within the allowable frequency range of the UCB1x00 up to 12 MHz. This off-chip clock is useful when a sample rate frequency, which is not a multiple of 9.585 MHz or 11.981 MHz is required for synchronization with either the audio and/or telecom portion of the UCB1x00 codecs. When using GPIO pin 21 for the input clock, the user must also set bit 21 of the GPIO alternate function register (GAFR) and clear bit 21 of the GPIO pin direction register (GPDR). See the Section 9.1, “General-Purpose I/O” on page 9-73.

Page 352 of the Intel SA-1110 user manual — 11.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)
Page 352 · click to enlarge
Page 352

11.12.3.5 A/D Sampling Mode (ADM)

The A/D sampling mode (ADM) bit selects whether the MCP takes audio and telecom data from the incoming frame only when their respective data valid bits are set or whenever the MCP’s audio and telecom sample rate counters time-out, indicating that the data in the next incoming frame is valid. When ADM=0, data is taken from the incoming frame and is placed into the audio or telecom FIFO whenever the incoming audio or telecom data valid bit is set. When ADM=1, after the MCP is enabled, data is taken from the incoming frame when the data valid bit is set for the first time. After this point, the data valid bit is ignored, and samples are stored each time the audio or telecom sample rate counters decrement to zero, indicating that a new A-to-D sample was taken and will be available in the next frame.

The UCB1x00 has two different modes of operation to control the setting of the audio and telecom data valid bits. In one mode, the codec only sets the data valid bit when a new A-to-D sample is contained within the incoming data frame. Once the data is transmitted to the MCP within a receive data frame, the data valid bit is reset to zero for subsequent data frames until a new A-to-D sample is triggered and transmitted to the MCP. In this mode, the user should program ADM=0. In the other mode, the data valid bit is set once when the first A-to-D conversion is made and is placed in the receive data frame. However, the data valid bit remains set and the MCP cannot determine when new A-to-D conversions are available within the incoming frame. Programming ADM=1 prevents multiple copies of the same A-to-D conversion to be placed in the FIFO, storing samples only when the sample rate counter times out.

11.12.3.6 Telecom Transmit FIFO Interrupt Enable (TTE)

The telecom transmit FIFO interrupt enable (TTE) bit is used to mask or enable the telecom transmit FIFO service request interrupt. When TTE=0, the interrupt is masked and the state of the telecom transmit FIFO service request (TTS) bit within the MCP status register is ignored by the interrupt controller. When TTE=1, the interrupt is enabled, and whenever TTS is set (one), an interrupt request is made to the interrupt controller. Note that programming TTE=0 does not affect the current state of TTS or the telecom transmit FIFO logic’s ability to set and clear TTS; it only blocks the generation of the interrupt request. Also note that TTE does not affect generation of the telecom transmit FIFO DMA request, which is asserted any time TTS=1.

11.12.3.7 Telecom Receive FIFO Interrupt Enable (TRE)

The telecom receive FIFO interrupt enable (TRE) bit is used to mask or enable the telecom receive FIFO service request interrupt. When TRE=0, the interrupt is masked, and the state of the telecom receive FIFO service request (TRS) bit within the MCP status register is ignored by the interrupt controller. When TRE=1, the interrupt is enabled, and whenever TRS is set (one), an interrupt request is made to the interrupt controller. Note that programming TRE=0 does not affect the current state of TRS or the telecom receive FIFO logic’s ability to set and clear TRS; it only blocks the generation of the interrupt request. Also note that TRE does not affect generation of the telecom receive FIFO DMA request, which is asserted any time TRS=1.

11.12.3.8 Audio Transmit FIFO Interrupt Enable (ATE)

The audio transmit FIFO interrupt enable (ATE) bit is used to mask or enable the audio transmit FIFO service request interrupt. When ATE=0, the interrupt is masked and the state of the audio transmit FIFO service request (ATS) bit within the MCP status register is ignored by the interrupt controller. When ATE=1, the interrupt is enabled, and whenever ATS is set (one), an interrupt request is made to the interrupt controller. Note that programming ATE=0 does not affect the

Page 353 of the Intel SA-1110 user manual — 11.12.3.11 External Clock Prescaler (ECP)
Page 353 · click to enlarge
Page 353

current state of ATS or the audio transmit FIFO logic’s ability to set and clear ATS; it only blocks the generation of the interrupt request. Also note that ATE does not affect generation of the audio transmit FIFO DMA request, which is asserted any time ATS=1.

11.12.3.9 Audio Receive FIFO Interrupt Enable (ARE)

The audio receive FIFO interrupt enable (ARE) bit is used to mask or enable the audio receive FIFO service request interrupt. When ARE=0, the interrupt is masked, and the state of the audio receive FIFO service request (ARS) bit within the MCP status register is ignored by the interrupt controller. When ARE=1, the interrupt is enabled, and whenever ARS is set (one), an interrupt request is made to the interrupt controller. Note that programming ARE=0 does not affect the current state of ARS or the audio receive FIFO logic’s ability to set and clear ARS; it only blocks the generation of the interrupt request. Also note that ARE does not affect generation of the audio receive FIFO DMA request, which is asserted any time ARS=1.

11.12.3.10 Loopback Mode (LBM)

The loopback mode (LBM) bit is used to enable and disable the ability of the MCP’s transmit and receive logic to communicate. When LBM=0, the MCP operates normally. The transmit and receive data paths are independent and communicate via their respective pins. When LBM=1, the output of the serial shifter (MSB) is directly connected to the input of the serial shifter (LSB) internally and control of the TXD4, RXD4, SCLK, and SFRM pins are given to the peripheral pin control (PPC) unit.

11.12.3.11 External Clock Prescaler (ECP)

The 2-bit external clock select (ECP) field is used to divide the clock input via GPIO pin 21 when the external clock function is enabled. When ECS=1, ECP is decoded to divide the clock input on the GPIO 21 pin by 1, 2, 3, or 4 before being used to drive the MCP’s frame rate. When ECP=00, the input clock is divided by 1; when ECP=01, it is divided by 2; when ECP=10, it is divided by 3; and when ECP=11, it is divided by 4. Note that the ECP bit field is ignored when the internal clock (ECS=0) is used to drive the MCP’s frame rate. Also note that the resultant clock frequency after the divide has taken place can be any value within the allowable frequency range of the UCB1x00 (up to 12 MHz).

The following table shows the bit locations corresponding to the 11 different control bit fields within the MCP control register. Note that the MCE bit is the only control bit that is reset to a known state to ensure the MCP is disabled following a reset of the SA-1110. The reset state of all other control bits is unknown (indicated by question marks) and must be initialized before enabling the MCP. The user can program all 11 bit fields and enable the MCP using a single word write to MCCR0. Writes to reserved bits are ignored and reads return zeros.

Page 354 of the Intel SA-1110 user manual — 20 TRE
Page 354 · click to enlarge
Page 354

0h 8006 0000 MCP Control Register 0: MCCR0 Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

LBM

ARE

ATE

TRE

TTE

ADM

ECS

MCE

TSD

ASD

Reset 0 ? 0 0 ? 0 ?

(Sheet 1 of 2)

Audio sample rate divisor.

6..0 ASD

Value (from 4 to 127) used to match the sample rate of the audio codec within the UCB1x00 to time when audio D/A data should be supplied by the audio transmit FIFO.

Sample Rate = Programmed clock rate/(32xASD), where ASD is a decimal value.

7 — Reserved.

Telecom sample rate divisor.

Value (from 4 to 127) used to match the sample rate of the telecom codec within the UCB1x00 to time when telecom D/A data should be supplied by the telecom transmit FIFO.

Sample Rate = Programmed clock rate/(32xTSD), where TSD is a decimal value.

15 — Reserved.

Multimedia communications port enable.

0. MCP operation disabled, control of the TXD4, RXD4, SCLK, and SFRM pins given to the PPC to be used as general-purpose I/O pins. 1 – MCP operation enabled.

16 MCE

External clock select.

0. on-chip clock used to produce the frame rate as further programmed by the CFS control bit in MCCR1. It is also used to clock the audio and telecom sample rate counters. 1 – Clock input using GPIO pin 21 to select a frame rate that is an exact multiple of the desired audio/telecom sample rate.

17 ECS

Frame Rate = Input Clock Frequency /(ECP x 32). Sample Rate = Input Clock Frequency /(ECP x 32 x ASD or TSD).

A/D data sampling mode.

0. Audio and telecom receive data is stored to their respective FIFOs whenever their receive data valid bits are valid. 1– Audio and telecom receive data is stored when the receive data valid bit is set the first time, and from that point on whenever the MCP’s audio and telecom sample rate counters time out.

18 ADM

Telecom transmit FIFO interrupt enable.

0. Telecom transmit FIFO half-full or less condition does not generate an interrupt (TTS bit ignored). 1 – Telecom transmit FIFO half-full or less condition generates an interrupt (state of TTS sent to interrupt controller).

19 TTE

Telecom receive FIFO interrupt enable.

0. Telecom receive FIFO oneto two-thirds full or more condition does not generate an interrupt (TRS bit ignored). 1 – Telecom receive FIFO oneto two-thirds full or more condition generates an interrupt (state of TRS sent to interrupt controller).

20 TRE

Show 4 more labels / short text on this page
Reserved · Reserved · Reserved ECP · Bits Name Description
Page 355 of the Intel SA-1110 user manual — 11.12.4.1 Clock Frequency Select (CFS)
Page 355 · click to enlarge
Page 355

0h 8006 0000 MCP Control Register 0: MCCR0 Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

LBM

ARE

ATE

TRE

TTE

ADM

ECS

MCE

TSD

ASD

Reset 0 ? 0 0 ? 0 ?

(Sheet 2 of 2)

Audio transmit FIFO interrupt enable.

0. Audio transmit FIFO half-full or less condition does not generate an interrupt (ATS bit ignored). 1 – Audio transmit FIFO half-full or less condition generates an interrupt (state of ATS sent to interrupt controller).

21 ATE

Audio receive FIFO interrupt enable.

0. Audio receive FIFO oneto two-thirds full or more condition does not generate an interrupt (ARS bit ignored). 1 – Audio receive FIFO oneto two-thirds full or more condition generates an interrupt (state of ARS sent to interrupt controller).

22 ARE

Loopback mode.

23 LBM

0. Normal serial port operation enabled. 1 – Output of serial shifter is connected to input of serial shifter internally and control of TXD4 , RXD4 , SCLK , and SFRM pins is given to the PPC unit.

External clock prescaler.

0. Clock input using GPIO pin 21 is divided by one before being used to drive the frame rate. 01 – Clock input using GPIO pin 21 is divided by two before being used to drive the frame rate. 10 – Clock input using GPIO pin 21 is divided by three before being used to drive the frame rate. 11 – Clock input using GPIO pin 21 is divided by four before being used to drive the frame rate.

25..24 ECP

31..26 — Reserved.

11.12.4 MCP Control Register 1

The MCP control register 1 (MCCR1) contains one bit that selects one of two fixed frequencies to drive the MCP. Note that this register resides within the PPC’s address space.

11.12.4.1 Clock Frequency Select (CFS)

When the on-chip clock is enabled (ECS=0), the clock frequency select (CFS) bit is used to select either a 9.585-MHz or an 11.981-MHz clock to drive the MCP’s serial clock rate. When ECS=0 and CFS=0, the on-chip 3.6864-MHz oscillator is first multiplied by 13 then divided by 4, resulting in an 11.9808-MHz bit clock frequency. When ECS=0 and CFS=1, the on-chip 3.6864 MHz oscillator is first multiplied by 13 then divided by 5, resulting in a 9.58464-MHz bit clock

Show 4 more labels / short text on this page
Reserved · Reserved · Reserved ECP · Bits Name Description
Page 356 of the Intel SA-1110 user manual — 11.12.5.1 MCP Data Register 0
Page 356 · click to enlarge
Page 356

frequency. Note that when ECS=1, CFS is ignored and an external clock is input to the MCP via GPIO pin 21. Also note that CFS is cleared following a reset of the SA-1110 so that the MCP defaults to 11.981-MHz operation, which is standard for the UCB1x00.

The following table shows the location of the CFS control bit within the MCP control register 1. The CFS is cleared to zero selecting 11.981-MHz operation following a reset of the SA-1110. Writes to reserved bits are ignored and reads return zeros. MCCR1 resides within the PPC’s address space.

0h 9006 0030 MCP Control Register 1: MCCR1 Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

CFS

0

19..0 — Reserved.

Clock frequency select.

0. If ECS=0, bit rate clock frequency of 11.981 MHz is selected.

20 CFS

1. If ECS=0, bit rate clock frequency of 9.585 MHz is selected.

If ECS=1, CFS is ignored and an external clock supplied by GPIO pin 21 is used.

31..21 — Reserved.

11.12.5 MCP Data Registers

The MCP contains three data registers. MCDR0 addresses the top entry of the audio transmit FIFO and bottom entry of the audio receive FIFO, MCDR1 addresses the top and bottom entries of the telecom transmit and receive FIFOs respectively, and MCDR2 is used to perform reads and writes to any of the codec’s 16 registers via the MCP’s serial interface.

11.12.5.1 MCP Data Register 0

When MCP data register 0 (MCDR0) is read, the bottom entry of audio receive FIFO is accessed. As data is removed by the MCP’s receive logic from the incoming data frame, it is placed into the top entry of the audio receive FIFO and is transferred down an entry at a time until it reaches the last empty location within the FIFO. Data is removed by reading MCDR0, which accesses the bottom entry of the audio FIFO. After MCDR0 is read, the bottom entry is invalidated and all remaining values within the FIFO automatically transfer down one location.

When MCDR0 is written, the topmost entry of the audio transmit FIFO is accessed. After a write, data is automatically transferred down to the lowest location within the transmit FIFO, which does not already contain valid data. Data is removed from the bottom of the FIFO one value at a time by the transmit logic, is loaded into the correct position within the 64-bit transmit serial shifter, and then is serially shifted out onto the TXD4 pin during subframe 0.

The following table shows MCDR0. Note that the transmit and receive audio FIFOs are cleared when the SA-1110 is reset or by writing a zero to MCE (MCP disabled). Also note that writes to reserved bits are ignored and reads return zeros.

Reserved · Reserved · Bits Name Description

Page 357 of the Intel SA-1110 user manual — 11.12.5.2 MCP Data Register 1
Page 357 · click to enlarge
Page 357

0h 8006 0008 MCP Data Register 0: MCDR0 Read/Write

Intel SA-1110 — 11.12.5.2 MCP Data Register 1 diagram (page 357)
Fig. 75 · 11.12.5.2 MCP Data Register 1

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset 0

Intel SA-1110 — 11.12.5.2 MCP Data Register 1 diagram (page 357)
Fig. 76 · 11.12.5.2 MCP Data Register 1

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset 0

Intel SA-1110 — 11.12.5.2 MCP Data Register 1 diagram (page 357)
Fig. 77 · 11.12.5.2 MCP Data Register 1

Read – Bottom of audio receive FIFO data. Write – Top of audio transmit FIFO data.

11.12.5.2 MCP Data Register 1

When MCP data register 1 (MCDR1) is read, the bottom entry of the telecom receive FIFO is accessed. As data is removed by the MCP’s receive logic from the incoming data frame, it is placed into the top entry of the telecom receive FIFO and is transferred down an entry at a time until it reaches the last empty location within the FIFO. Data is removed by reading MCDR1, which accesses the bottom entry of the telecom FIFO. After MCDR1 is read, the bottom entry is invalidated, and all remaining values within the FIFO automatically transfer down one location.

When MCDR1 is written, the topmost entry of the telecom transmit FIFO is accessed. After a write, data is automatically transferred down to the lowest location within the transmit FIFO, which does not already contain valid data. Data is removed from the bottom of the FIFO one value at a time by the transmit logic, is loaded into the correct position within the 64-bit transmit serial shifter, and then is serially shifted out onto the TXD4 pin during subframe 0.

The following table shows MCDR1. Note that the transmit and receive telecom FIFOs are cleared when the SA-1110 is reset, or by writing a zero to MCE (MCP disabled). Also note that writes to reserved bits are ignored and reads return zeros.

Page 358 of the Intel SA-1110 user manual — 11.12.5.3 MCP Data Register 2
Page 358 · click to enlarge
Page 358

0h 8006 000C MCP Data Register 1: MCDR1 Read/Write

Intel SA-1110 — 11.12.5.3 MCP Data Register 2 diagram (page 358)
Fig. 78 · 11.12.5.3 MCP Data Register 2

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset 0

Intel SA-1110 — 11.12.5.3 MCP Data Register 2 diagram (page 358)
Fig. 79 · 11.12.5.3 MCP Data Register 2

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reset 0

Intel SA-1110 — 11.12.5.3 MCP Data Register 2 diagram (page 358)
Fig. 80 · 11.12.5.3 MCP Data Register 2

Read – Bottom of telecom receive FIFO data. Write – Top of telecom transmit FIFO data.

11.12.5.3 MCP Data Register 2

MCDR2 contains 21 bits and is used to perform reads and writes to any of the UCB1x00’s registers. MCDR2 contains three separate fields: MCDR2[15:0] is the 16-bit register data field, MCDR2 16 is a 1-bit read/write control bit, and MCDR2[20:17] is the 4-bit register address field. A value written to MCDR2 is placed in the correct position within the 64-bit subframe 0, is transmitted to the off-chip codec, and is used to perform a read or write operation to the addressed codec register. Note that the contents of the addressed register are always returned in the receive data frame and placed in the MCDR2 regardless of the state of the read/write bit. Thus for write cycles, both a write and a read occurs, and for read cycles, only a read occurs. When MCDR2 is read, the value returned from the last read or write operation, which was completed to the codec, is returned.

A register write is performed by writing the correct value to each of the three fields within MCDR2 using one 16- or 32-bit write, ensuring that the read/write bit is set. Its contents are then transferred to the correct fields within the serial shifter on the next rising edge of the SFRM signal, and then to the codec via the TXD4 pin during subframe 0. The value within MCDR2[15:0] is written to the selected codec register at the end of subframe 0 (during the 65th bit of the frame). The data written to the control register and its address is returned to the MCP during the next data frame, and is placed back within MCDR2 with the read/write bit reset to zero. For a write operation, since the addressed register is written at the end of subframe 0, the data returned during the frame in which the write occurred represents the previous contents of the register. The updated value is returned during the next data frame.

Page 359 of the Intel SA-1110 user manual — 11.12.5.3 MCP Data Register 2
Page 359 · click to enlarge
Page 359

A register read is performed by writing the address of the register to read while clearing the read/write bit to zero within MCDR2. Again, the data is transferred to the serial shifter on the next rising edge of the SFRM signal and is transmitted to the UCB1x00 during subframe 0. Because the address and read/write control bit fields are placed near the beginning of the serial stream output, the codec performs the read immediately after the read/write bit is received (during the 41st bit of the frame), and the value contained within the addressed register is sent back to the MCP in the same data frame, and is placed within MCDR2.

Once MCDR2 is written with a value to execute a read or write, the operation is performed every MCP data frame until a new value is written to the register. Thus continual reads or writes are made to the addressed codec register until a new read or write operation is configured.

The following table shows the location of MCP data register 2. Note that the reset state of all MCDR2 bits is unknown (indicated by question marks), writes to reserved bits are ignored, and reads return zeros.

0h 8006 0010 MCP Data Register 2: MCDR2 Read/Write

Intel SA-1110 — 11.12.5.3 MCP Data Register 2 diagram (page 359)
Fig. 81 · 11.12.5.3 MCP Data Register 2

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

0 Data Value Returned by a Codec Register Read or Write

Reset 0 ?

Intel SA-1110 — 11.12.5.3 MCP Data Register 2 diagram (page 359)
Fig. 82 · 11.12.5.3 MCP Data Register 2

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Data Value to be Written to the Addressed Codec

Reset 0 ?

Intel SA-1110 — 11.12.5.3 MCP Data Register 2 diagram (page 359)
Fig. 83 · 11.12.5.3 MCP Data Register 2

Read – If a codec write was last performed, contains data of previous register access; next frame contains the data that was written. If a codec read was last performed, contains data from the read register.

Write – Used to specify what data to write to the addressed register, ignored for a codec register read.

Write – Used to control whether the addressed register is read or written (write = 1, read = 0).

Page 360 of the Intel SA-1110 user manual — 11.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)
Page 360 · click to enlarge
Page 360

(Sheet 2 of 2)

Codec register read/write address.

Read – If a codec write was last performed, contains address of previous register access; next frame contains the address of the write. If a codec read was last performed, contains address of the register read.

Write – Used to address a register to perform a read or write.

31..21 — Reserved

11.12.6 MCP Status Register

The MCP status register (MCSR) contains bits that signal FIFO overrun and underrun errors, and FIFO service requests. Each of these conditions signal an interrupt request to the interrupt controller. The status register also flags when transmit FIFOs are not full, when the receive FIFOs are not empty, when a codec control register read or write is complete, and when the audio or telecom portion of the codec is enabled (no interrupt generated).

A bit that can cause an interrupt signals the interrupt request as long as the bit is set. Once the bit is cleared, the interrupt is cleared. Read/write bits are called status bits; read-only bits are called flags. Status bits are referred to as “sticky” (once set by hardware, must be cleared by software). Writing a one to a sticky status bit clears it; writing a zero has no effect. Read-only flags are set and cleared by hardware; writes have no effect. Additionally, some bits that cause interrupts have corresponding mask/enable bits in the control register and are indicated in the following section headings. Note that the user has the ability to mask all MCP interrupts by clearing bit 18 within the interrupt controller mask register (ICMR). See the Section 9.2, “Interrupt Controller” on page 9-83.

11.12.6.1 Audio Transmit FIFO Service Request Flag (ATS) (read-only, maskable interrupt)

The audio transmit FIFO service request flag (ATS) is a read-only bit that is set when the audio transmit FIFO is nearly empty and requires service to prevent an underrun. ATS is set any time the audio transmit FIFO has four or fewer entries of valid data (half-full or less), and is cleared when it has five or more entries of valid data. When the ATS bit is set, an interrupt request is made unless the audio transmit FIFO interrupt request mask (ATE) bit is cleared. The state of ATS is also sent to the DMA controller, and can be used to signal a DMA service request. Note that ATE has no effect on the generation of the DMA service request. After the DMA or CPU fills the FIFO such that four or more locations are filled within the audio transmit FIFO, the ATS flag (and the service request and/or interrupt) is automatically cleared.

11.12.6.2 Audio Receive FIFO Service Request Flag (ARS) (read-only, maskable interrupt)

The audio receive FIFO service request flag (ARS) is a read-only bit that is set when the audio receive FIFO is nearly filled and requires service to prevent an overrun. ARS is set whenever the audio receive FIFO has four or more entries of valid data (half-full or more), and is cleared when it has three or fewer (less than half-full) entries of data. When the ARS bit is set, an interrupt request is made unless the audio receive FIFO interrupt request mask (ARE) bit is cleared. The state of ARS is also sent to the DMA controller, and can be used to signal a DMA service request. Note that

Bits Name Description · Codec Register Read/Write · Address

Page 361 of the Intel SA-1110 user manual — 11.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)
Page 361 · click to enlarge
Page 361

ARE has no effect on the generation of the DMA service request. After the DMA or CPU fills the FIFO such that four or more locations are filled within the receive FIFO, the ARS flag (and the service request and/or interrupt) is automatically cleared.

11.12.6.3 Telecom Transmit FIFO Service Request Flag (TTS) (read-only, maskable interrupt)

The telecom transmit FIFO service request flag (TTS) is a read-only bit that is set when the telecom transmit FIFO is nearly empty and requires service to prevent an underrun. TTS is set whenever the telecom transmit FIFO has four or fewer entries of valid data (half-full or less), and is cleared when it has five or more entries of valid data. When the TTS bit is set, an interrupt request is made unless the telecom transmit FIFO interrupt request mask (TTE) bit is cleared. The state of TTS is also sent to the DMA controller, and can be used to signal a DMA service request. Note that TTE has no effect on the generation of the DMA service request. After the DMA or CPU fills the FIFO such that four or more locations are filled within the telecom transmit FIFO, the TTS flag (and the service request and/or interrupt) is automatically cleared.

11.12.6.4 Telecom Receive FIFO Service Request Flag (TRS) (read-only, maskable interrupt)

The telecom receive FIFO service request flag (TRS) is a read-only bit that is set when the telecom receive FIFO is nearly filled and requires service to prevent an overrun. TRS is set whenever the telecom receive FIFO has four or more entries of valid data (half-full or more), and is cleared when it has three or fewer (less than half-full) entries of data. When the TRS bit is set, an interrupt request is made unless the telecom receive FIFO interrupt request mask (TRE) bit is cleared. The state of TRS is also sent to the DMA controller, and can be used to signal a DMA service request. Note that TRE has no effect on the generation of the DMA service request. After the DMA or CPU fills the FIFO such that four or more locations are filled within the receive FIFO, the TRS flag (and the service request and/or interrupt) is automatically cleared.

11.12.6.5 Audio Transmit FIFO Underrun Status (ATU) (read/write, nonmaskable interrupt)

The audio transmit FIFO underrun status bit (ATU) is set when the audio transmit logic attempts to fetch data from the FIFO after it has been completely emptied. When an underrun occurs, the audio transmit logic continuously transmits the last valid audio value, which was transmitted before the underrun occurred. Once data is placed in the FIFO and it is transferred down to the bottom, the audio transmit logic uses the new value within the FIFO for transmission. When the ATU bit is set, an interrupt request is made.

11.12.6.6 Audio Receive FIFO Overrun Status (ARO) (read/write, nonmaskable interrupt)

The audio receive FIFO overrun status bit (ARO) is set when the audio receive logic attempts to place data into the audio receive FIFO after it has been completely filled. Each time a new piece of data is received, the set signal to the ARO status bit is asserted, and the newly received data is discarded. This process is repeated for each new piece of data received until at least one empty FIFO entry exists. When the ARO bit is set, an interrupt request is made.

Page 362 of the Intel SA-1110 user manual — 11.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)
Page 362 · click to enlarge
Page 362

11.12.6.7 Telecom Transmit FIFO Underrun Status (TTU) (read/write, nonmaskable interrupt)

The telecom transmit FIFO underrun status bit (TTU) is set when the telecom transmit logic attempts to fetch data from the FIFO after it has been completely emptied. When an underrun occurs, the telecom transmit logic continuously transmits the last valid telecom value, which was transmitted before the underrun occurred. Once data is placed in the FIFO and it is transferred down to the bottom, the telecom transmit logic uses the new value within the FIFO for transmission. When the TTU bit is set, an interrupt request is made.

11.12.6.8 Telecom Receive FIFO Overrun Status (TRO) (read/write, nonmaskable interrupt)

The telecom receive FIFO overrun status bit (TRO) is set when the telecom receive logic places data into the telecom receive FIFO after it has been completely filled. Each time a new piece of data is received, the set signal to the TRO status bit is asserted, and the newly received data is discarded. This process is repeated for each new piece of data received until at least one empty FIFO entry exists. When the TRO bit is set, an interrupt request is made.

11.12.6.9 Audio Transmit FIFO Not Full Flag (ANF) (read-only, noninterruptible)

The audio transmit FIFO not full flag (ANF) is a read-only bit that is set whenever the audio transmit FIFO contains one or more entries that do not contain valid data and is cleared when the FIFO is completely full. This bit can be polled when using programmed I/O to fill the audio transmit FIFO over its halfway mark. This bit does not request an interrupt.

11.12.6.10 Audio Receive FIFO Not Empty Flag (ANE) (read-only, noninterruptible)

The audio receive FIFO not empty flag (ANE) is a read-only bit that is set whenever the audio receive FIFO contains one or more entries of valid data and is cleared when it no longer contains any valid data. This bit can be polled when using programmed I/O to remove remaining bytes of data from the receive FIFO because DMA service and CPU interrupt requests are made only when four or more bytes reside within the FIFO (3, 2, or 1 bytes may remain at the end of a frame). This bit does not request an interrupt.

11.12.6.11 Telecom Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)

The telecom transmit FIFO not full flag (TNF) is a read-only bit that is set whenever the telecom transmit FIFO contains one or more entries that do not contain valid data and is cleared when the FIFO is completely full. This bit can be polled when using programmed I/O to fill the telecom transmit FIFO over its halfway mark. This bit does not request an interrupt.

11.12.6.12 Telecom Receive FIFO Not Empty Flag (TNE) (read-only, noninterruptible)

The telecom receive FIFO not empty flag (TNE) is a read-only bit that is set whenever the telecom receive FIFO contains one or more entries of valid data and is cleared when it no longer contains any valid data. This bit can be polled when using programmed I/O to remove remaining bytes of

Page 363 of the Intel SA-1110 user manual — 11.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)
Page 363 · click to enlarge
Page 363

data from the receive FIFO because DMA service and CPU interrupt requests are made only when four or more bytes reside within the FIFO (3, 2, or 1 bytes may remain at the end of a frame). This bit does not request an interrupt.

11.12.6.13 Codec Write Completed Flag (CWC) (read-only, noninterruptible)

The codec write completed (CWC) flag is set after the following sequence occurs: a register write command is issued to the codec by writing to MCDR2; the write command is sent to the codec via subframe 0; the data value is latched within the addressed codec register at the beginning of subframe 1 (the 65th bit of the frame); the address and value that was written is returned to the MCP via the next subframe 0; and the returned values are latched in MCDR2. CWC is automatically cleared when MCDR2 is read or written. This bit does not request an interrupt.

11.12.6.14 Codec Read Completed Flag (CRC) (read-only, noninterruptible)

The codec read completed (CRC) flag is set after the following sequence occurs: a register read command is issued to the codec by writing to MCDR2; the read command is sent to the codec via subframe 0; the data value contained within the addressed codec register is loaded into the codec’s serial shift register during subframe 0 (the 41st bit of the frame); the address and value that was read is returned to the MCP via the same subframe 0; and the returned values are latched in MCDR2. CRC is automatically cleared when MCDR2 is read or written. This bit does not request an interrupt.

11.12.6.15 Audio Codec Enabled Flag (ACE) (read-only, noninterruptible)

The audio codec enabled (ACE) flag indicates when the audio codec input and/or output is enabled, which in turn, indicates that the audio sample rate counter is enabled. This flag is set after the following sequence occurs: a register write command is issued to Audio Control Register B (register 8), and bit 14 and/or 15 is set (aud_in_ena and/or aud_out_ena) by writing to MCDR2; the write command is sent to the codec via subframe 0; the data value is latched within codec register 8; and SFRM is asserted to indicate the start of the next frame. ACE is automatically cleared using the same sequence with the exception that bits 14 and 15 are cleared, disabling both the input and output paths of the audio codec. This bit does not request an interrupt.

11.12.6.16 Telecom Codec Enabled Flag (TCE) (read-only, noninterruptible)

The telecom codec enabled (TCE) flag indicates when the telecom codec input and/or output is enabled, which in turn, indicates that the telecom sample rate counter is enabled. This flag is set after the following sequence occurs: a register write command is issued to Telecom Control Register B (register 6), and bit 14 and/or 15 is set (tel_in_ena or tel_out_ena) by writing to MCDR2; the write command is sent to the codec via subframe 0; the data value is latched within codec register 6; and SFRM is asserted to indicate the start of the next frame. TCE is automatically cleared using the same sequence with the exception that bits 14 and 15 are cleared, disabling both the input and output paths of the telecom codec. This bit does not request an interrupt.

The following table shows the bit locations corresponding to the status and flag bits within the MCP status register. MCSR contains a collection of read/write, read-only, interruptible, and noninterruptible bits (refer to the bit descriptions above). Writes to read-only bits have no effect. The user must clear set status bits by writing ones to them before enabling the MCP. Note that writes to reserved bits are ignored and reads return zeros; question marks indicate that the values are unknown at reset.

Page 364 of the Intel SA-1110 user manual — 8 ANF
Page 364 · click to enlarge
Page 364

0h 8006 0018 MCP Status Register: MCSR Read/Write and Read-Only

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

TCE

ACE

CRC

CWC

TNE

ANE

ANF

TRO

ARO

TRS

ARS

TNF

TTU

ATU

TTS

ATS

0 1 0 1 ? 0

(Sheet 1 of 2)

Audio transmit FIFO service request flag (read-only).

0. Audio transmit FIFO is more than half-full (five or more entries filled) or MCP disabled.

0 ATS

1. Audio transmit FIFO is half-full or less (four or fewer entries filled) and MCP operation is enabled, DMA service request signalled, interrupt request signalled if not masked (if ATE=1).

Audio receive FIFO service request (read-only).

0. Audio receive FIFO is less than half-full (three or fewer entries filled) or MCP disabled.

1 ARS

1. Audio receive FIFO is half-full or more (four or more entries filled) and MCP operation is enabled, DMA service request signalled, interrupt request signalled if not masked (if ARE=1).

Telecom transmit FIFO service request flag (read-only).

0. Telecom transmit FIFO is more than half-full (five or more entries filled) or MCP disabled.

2 TTS

1. Telecom transmit FIFO is half-full or less (four or fewer entries filled) and MCP operation is enabled, DMA service request signalled, interrupt request signalled if not masked (if TTE=1).

Telecom receive FIFO service request (read-only).

0. Telecom receive FIFO is less than half full (three or fewer entries filled) or MCP disabled.

3 TRS

1. Telecom receive FIFO is half full or more (four or more entries filled) and MCP operation is enabled, DMA service request signalled, interrupt request signalled if not masked (if TRE=1).

Audio transmit FIFO underrun.

0. Audio transmit FIFO has not experienced an underrun.

4 ATU

1. Audio transmit logic attempted to fetch data from transmit FIFO while it was empty request interrupt.

Audio receive FIFO overrun.

5 ARO

0. Audio receive FIFO has not experienced an overrun.
1. Audio receive logic attempted to place data into receive FIFO while it was full, request interrupt.

Telecom transmit FIFO underrun.

0. Telecom transmit FIFO has not experienced an underrun.

6 TTU

1. Telecom transmit logic attempted to fetch data from transmit FIFO while it was empty, request interrupt.

Telecom receive FIFO overrun.

0. Telecom receive FIFO has not experienced an overrun.

7 TRO

1. Telecom receive logic attempted to place data into receive FIFO while it was full, request interrupt.

Audio transmit FIFO not full (read-only).

8 ANF

0. Audio transmit FIFO is full.
1. Audio transmit FIFO is not full.

Reserved · Bits Name Description

Page 365 of the Intel SA-1110 user manual — 11.12.7 SSP Operation
Page 365 · click to enlarge
Page 365

0h 8006 0018 MCP Status Register: MCSR Read/Write and Read-Only

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

CWC

TCE

ACE

CRC

TNE

TNF

ANE

ANF

TRO

TTU

ARO

ATU

TRS

TTS

ARS

ATS

0 1 0 1 ? 0

(Sheet 2 of 2)

Audio receive FIFO not empty (read-only).

9 ANE

0. Audio receive FIFO is empty.
1. Audio receive FIFO is not empty.

Telecom transmit FIFO not full (read-only).

10 TNF

0. Telecom transmit FIFO is full.
1. Telecom transmit FIFO is not full.

Telecom receive FIFO not empty (read-only).

11 TNE

0. Telecom receive FIFO is empty.
1. Telecom receive FIFO is not empty.

Codec write completed (read-only).

12 CWC

0. A write to a codec register has not completed since the last time this bit was cleared.
1. A write to a codec register has been transmitted and has updated the register.

Codec read completed (read-only).

13 CRC

0. The value read from the addressed codec register has not been returned to MCDR2.
1. The value read from the addressed codec register is now in MCDR2.

Audio codec enabled (read-only).

0. The audio codec input and output is disabled (bits 14 and 15 are 0 in Audio Control Register B).

14 ACE

1. Audio codec input and/or output is enabled (bits 14 and/or 15 are 1 in Audio Control Register B).

Telecom codec enabled.

0. The telecom codec input and output is disabled (bits 14 and 15 are 0 in Telecom Control Register B).

15 TCE

1. Telecom codec input and/or output is enabled (bits 14 and/or 15 are 1 in Telecom Control Register B).

31..16 — Reserved.

11.12.7 SSP Operation

Following reset, both the MCP and SSP logic within serial port 4 is disabled and control of its pins is given to the PPC that configures all four pins as inputs. To enable SSP operation, the programmer should first clear any interruptible status bits, which are set following the reset by writing a one to them. Next, the user should program the SSP’s control registers with the desired mode of operation, ensuring that the register containing the SSP enable bit is programmed last. Note that the MCP has precedence over the SSP and must be disabled first before enabling the SSP. The user can choose to either “prime” the transmit FIFO by writing up to eight 16-bit values, or allow the transmit FIFO service request to interrupt the CPU or trigger a DMA transfer to fill the FIFO. Once enabled, transmission/reception of data begins on the transmit (TXD4) and receive (RXD4) pins, and is synchronously controlled by the serial clock (SCLK) and serial frame (SFRM) pins.

Reserved · Bits Name Description

Page 366 of the Intel SA-1110 user manual — 11.12.7.1 Frame Format
Page 366 · click to enlarge
Page 366

11.12.7.1 Frame Format

Each data frame is between 4 and 16 bits long depending on the size of data programmed, and is transmitted starting with the MSB. There are three basic frame types that can be selected: Motorola SPI, Texas Instruments synchronous serial, and National Microwire. For all three formats, the serial clock (SCLK) is held low or inactive, while the SSP is idle and transitions at the programmed frequency only during active transmission of data. For Motorola SPI and National Microwire frame formats, the serial frame (SFRM) pin is active low, and is asserted (pulled down) during the entire frame’s transmission. In these modes, the SFRM pin is used to select the off-chip slave serial device, enabling it for transmission. For Texas Instruments format, the SFRM pin is pulsed for one serial clock period starting at its rising edge, prior to each frame’s transmission. The type of serial clock edges used to drive and sample data are different for all three modes. For National Microwire format, both the SSP and the off-chip slave device drive their output data on the falling edge of SCLK, and latch data from the other device on the rising edge. For Texas Instruments format, both the SSP and the off-chip slave device drive their output data on the rising edge of SCLK, and latch data from the other device on the falling edge. For Motorola SPI format, the user has the option of which edge of SCLK to drive and sample data, as well as the phase of the SCLK signal (whether it is shifted one-half period to the left or right during the frame transmission).

Unlike the full-duplex transmission of the other two frame formats, the National Microwire format uses a special master-slave messaging technique that operates at half-duplex. In this mode, when a frame begins, an 8-bit control message is transmitted to the off-chip slave. During this transmit, no incoming data is received by the SSP. After the message has been sent, the off-chip slave decodes it and responds with the requested data after waiting one serial clock after the last bit of the 8-bit control message has been sent. The returned data can be 4 to 16 bits in length, making the total frame length anywhere from 13 to 25 bits.

Page 367 of the Intel SA-1110 user manual — SFRM
Page 367 · click to enlarge
Page 367

Figure 11-32 shows the Texas Instruments synchronous serial frame format for a single transmitted frame and when back-to-back frames are transmitted. In this mode, SCLK and SFRM are forced low, and the transmit data line SA-1110. Once the bottom entry of the transmit FIFO contains data, SFRM is pulsed high for one SCLK period and the value to be transmitted is transferred from the transmit FIFO to the transmit logic’s serial shift register. On the next rising edge of SCLK, the MSB of the 4- to 16-bit data frame is shifted to the TXD4 pin. Likewise, the MSB of the received data is shifted onto the RXD4 pin by the off-chip serial slave device. Both the SSP and the off-chip serial slave device then latch each data bit into their serial shifter on the falling edge of each SCLK. The received data is transferred from the serial shifter to the receive FIFO on the first rising edge of SCLK after the LSB has been latched. Note that the transmit pin retains the last value it transmits (the value of bit 0, when the frame completes and the SSP enters idle mode). If the SSP is disabled or a reset occurs, the transmit pin is reset to zero.

Figure 11-32. Texas Instruments Synchronous Serial Frame Format

SCLK

SFRM

TXD4 Bit N Bit N..1 ... Bit 1 Bit 0

RXD4 Bit N Bit N..1 ... Bit 1 Bit 0

MSB 4 to 16 Bits LSB

SCLK

SFRM

TX/RX Bit 0 Bit N Bit N..1 ... Bit 1 Bit 0 Bit N Bit N..1 ... Bit 1 Bit 0

Single Transfer · Continuous Transfers

Page 368 of the Intel SA-1110 user manual — SFRM
Page 368 · click to enlarge
Page 368

Figure 11-33 shows one of the four possible configurations for the Motorola SPI frame format for a single transmitted frame and when back-to-back frames are transmitted. In this mode, SCLK and the transmit data line (TXD4) are forced low and SFRM is forced high, whenever the SSP is disabled or the SA-1110 is reset. Once the bottom entry of the transmit FIFO contains data, SFRM is pulled low and remains low for the duration of the frame’s transmission. The falling edge of SFRM causes the value for transmission to be transferred from the bottom transmit FIFO entry to the transmit logic’s serial shift register, and the MSB of the 4- to 16-bit data frame is shifted onto the TXD4 pin a half an SCLK period later (note that the SCLK pin does not transition at this point). The MSB of the received data is shifted onto the RXD4 pin by the off-chip serial slave device as soon as the serial framing signal goes low. Both the SSP and the off-chip serial slave device then latch each data bit into their serial shifter on the rising edge of each SCLK. At the end of the frame, the SFRM pin is pulled high one SCLK period after the last bit has been latched in the receive serial shifter, which causes the data to be transferred to the receive FIFO. Note that the off-chip slave device can tri-state the receive line either on the falling edge of SCLK after the LSB has been latched by the receive shifter or when the SFRM pin goes high. Also note that the transmit pin retains the last value it transmits (the value of bit 0, when the frame completes and the SSP enters idle mode). If the SSP is disabled or a reset occurs, the transmit pin is reset to zero. All four frame programming options are described in the SSP Control Register 1 section.

For continuous transfers, data transmission begins and ends in the same manner as a single transfer; however, the SFRM line is continuously asserted (held low) and transmission of data occurs back-to-back (the MSB of the next frame follows directly after the LSB of the previous frame). In this example, each of the received data values is transferred from the receive shifter to the receive FIFO on the falling edge SCLK after the LSB of the frame has been latched into the SSP.

Figure 11-33. Motorola SPI Frame Format

SCLK ...

SFRM

TXD4 Bit N Bit N..1 ... Bit 1 Bit 0

RXD4 Bit N Bit N..1 ... Bit 1 Bit 0

MSB 4 to 16 Bits LSB

SCLK

SFRM

TX/RX Bit 0 Bit N Bit N..1 ... Bit 1 Bit 0 Bit N Bit N..1 ... Bit 1 Bit 0

Single Transfer · Continuous Transfers

Page 369 of the Intel SA-1110 user manual — SFRM
Page 369 · click to enlarge
Page 369

Figure 11-34 shows the National Microwire frame format for a single transmitted frame and when back-to-back frames are transmitted. Microwire format is very similar to SPI format, except that transmission is half- instead of full-duplex, using a master-slave message passing technique. Each serial transmission begins with an 8-bit control word that is transmitted from the SSP to the off-chip slave device. During this transmit, no incoming data is received by the SSP. After the message has been sent, the off-chip slave decodes it and responds with the requested data after waiting one serial clock after the last bit of the 8-bit control message has been sent. The returned data is 4 to 16 bits in length, making the total frame length anywhere from 13 to 25 bits.

SCLK and the transmit data line (TXD4) is forced low, and SFRM is forced high whenever the SSP is disabled or following a reset of the SA-1110. Once enabled, transmission is triggered by writing a control byte to the transmit FIFO. The falling edge of SFRM causes the value contained within the bottom entry of the transmit FIFO to be transferred to the transmit logic’s serial shift register and the MSB of the 8-bit control frame to be shifted onto the TXD4 pin. SFRM remains low for the duration of the frame’s transmission. The RXD4 pin remains tristated during this transmission. The off-chip serial slave device latches each control bit into its serial shifter on the rising edge of each SCLK. After the last bit is latched by the slave device, the control byte is decoded during a one-clock waitstate, and the slave responds by transmitting data back to the SSP, driving each bit onto the RXD4 line on the falling edge of SCLK. The SSP, in turn, latches each bit on the rising edge of SCLK. At the end of the frame, for single transfers, the SFRM signal is pulled high one SCLK period after the last bit has been latched in the receive serial shifter, which causes the data to be transferred to the receive FIFO. Note that the off-chip slave device can tristate the receive line either on the falling edge of SCLK after the LSB has been latched by the receive shifter or when the SFRM pin goes high. Also note that the transmit pin retains the last value it transmits (the value of bit 0, when the frame completes and the SSP enters idle mode). If the SSP is disabled or a rest occurs, the transmit pin is reset to zero.

For continuous transfers, data transmission begins and ends in the same manner as a single transfer; however, the SFRM line is continuously asserted (held low) and transmission of data occurs back-to-back (the control byte of the next frame follows directly after the LSB of the received data from the previous frame). Each of the received data values is transferred from the receive shifter on the falling edge SCLK after the LSB of the frame has been latched into the SSP.

Figure 11-34. National Microwire Frame Format

SCLK

SFRM

7 ... Bit

8-Bit Control 1 Clk

RXD4 ... Bit

N ... Bit

4 to 16 Bits

SCLK

SFRM

0 ... Bit

7 ... Bit

1 Clk 1 Clk

TXD4 Bit · Single Transfer · TXD4 Bit

Page 370 of the Intel SA-1110 user manual — Figure 11-35. Transmit FIFO Data Format
Page 370 · click to enlarge
Page 370

N ... Bit

0 ... Bit

N ... Bit

11.12.7.2 Baud Rate Generation

The baud or bit rate is derived by dividing down the 3.6864-MHz clock generated by the on-chip PLL. The clock is first divided by a fixed value of 2 and then by a programmable number between 1 and 256. This programmability provides a range of transmission rates ranging from 7.2 Kbps to 1.8432 Mbps. The resultant clock is used to drive the SCLK pin and by the transmit and receive logic’s serial shifters to drive and latch data, respectively.

11.12.7.3 SSP Transmit and Receive FIFOs

To reduce chip size as well as power consumption, the SSP’s FIFOs use self-timed logic (they are not clocked). Because of process and environmental variations, the depth at which a service request is triggered to empty the receive FIFO is variable. This variation spans a maximum of four FIFO entries, thus the receive FIFO service request can be made at four different FIFO depths. To compensate for this variability and guarantee that at least four valid entries of data exist within the FIFO before generating a service request, an extra four entries have been added to the receive FIFO (four entries more than the transmit FIFO). Thus the transmit FIFO is 8 entries deep and the receive FIFO is 12 entries deep. The point at which the receive FIFO service request is triggered spans one-third (four entries) of the 12-entry FIFO. The service request is signalled at a depth from one-third full to two-thirds full (when the FIFO contains five, six, seven, or eight entries of data).

This service request variation only applies to an empty FIFO that is filled (receive FIFO). It does not apply to a full FIFO that is emptied (transmit FIFO). Thus the transmit FIFO is guaranteed to signal a service request when it has four or more empty entries and negate the request when the FIFO contains five or more entries that are filled.

If the DMA is used to service either one or both of the SSP’s FIFOs, the burst size must be set to four half-words, even though more than four entries of data may exist within the receive FIFO. If programmed I/O is used to service the FIFOs, a maximum of four words may be added to the transmit FIFO without checking if more space is available. Likewise, a maximum of four words may be removed from the receive FIFO without checking if more data is available. After this point, the user must poll a set of status bits, which indicates if any data remains in the receive FIFO or if space is available in the transmit FIFO, before emptying or filling the FIFOs any further.

The width of each entry within the FIFOs is 16 bits. However, the SSP supports data sizes of 4 through 16 bits. Any data that is less than 16-bits wide must be left-justified when writing or DMAing data to the transmit FIFO. Figure 11-35 shows the required data alignment for the transmit and receive FIFOs. The user must left-justify data to be transmitted, however, data read from the receiver is automatically right-shifted the appropriate amount, requiring no further modification before using the results.

Figure 11-35. Transmit FIFO Data Format

Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

4-Bit Data 0

5-Bit Data 0

RXD4 Bit · Continuous Transfers

Page 371 of the Intel SA-1110 user manual — 11.12.8 SSP Register Definitions
Page 371 · click to enlarge
Page 371

11.12.7.4 CPU and DMA Register Access Sizes

Bit positioning, byte ordering, and addressing of the SSP are described in terms of little endian ordering. All SSP registers are 16-bits wide and are located in the least significant half-word of individual words. The ARM peripheral bus does not support byte or half-word operations. All reads and writes of the SSP by the CPU should be word wide. Two separate dedicated DMA requests exist for both the transmit and the receive FIFO. If the DMA controller is used to service the transmit and/or receive FIFOs, the user must ensure the DMA is properly configured to perform half-word wide accesses, using four half-words per burst (half the size of the FIFOs). Byte-wide DMA accesses for data widths of 4..8 bits are not permitted. For all data sizes 4..16 bits, the user must left-justify the data within each individual half-word in external memory for the DMA, starting with the most significant bit. Likewise, when using programmed I/O to service the SSP’s transmit FIFO, the user must also left-justify the data written or read to/from the data register. Note that a separate set of registers also exist to configure MCP operation. See the following sections for a full description of programming and operation of serial port 4 as an MCP, a summary of serial port 4’s MCP registers, and for a summary of its SSP registers.

11.12.7.5 Alternate SSP Pin Assignment

If the SSP and MCP both need to be used at the same time, general-purpose I/O pins 10 through 13 (GPIO 10-13) can be reassigned by programming the PPC pin assignment register (PPAR). This allows the MCP dedicated use of the four pins assigned to serial port 4, and the SSP dedicated use of the GPIO pins. When the SSP pin reassignment (SPR) bit is set in PPAR, the following pin assignments are made: GPIO 10 is used for transmit, GPIO 11 for receive, GPIO 12 for serial clock, and GPIO 13 for serial frame. Note that the user must also set bits 10 through 13 in the GPIO alternate function register (GAFR) as well as set bits 10, 12, and 13 and clear bit 11 in the GPIO pin direction register (GPDR). Once the reassignment is made, these pins are no longer usable by the GPIO unit. See the Section 9.1, “General-Purpose I/O” on page 9-73 for a description of how to program the system control module and the Section 11.13, “Peripheral Pin Controller (PPC)” on page 11-382 for a description of how to program the PPC unit.

11.12.8 SSP Register Definitions

There are four registers within the SSP: two control registers, one data register, and one status register. The control registers are used to program the baud rate, data length, and frame format, and to select whether the CPU or DMA is used to service the SSP, and to enable/disable operation. The data register is 16 bits and addresses both the transmit and receive buffers. A read accesses the receive buffer; a write accesses the transmit buffer. Note that these are two physically separate buffers to allow full-duplex transmission. The status register contains bits that signal an overrun error, a transmit buffer service request, and a receive buffer service request. Each of these status conditions signal an interrupt request to the interrupt controller. The status register also flags when the SSP is actively transmitting data, when the transmit FIFO is not full, and when the receive FIFO is not empty (no interrupt generated).

15-Bit Data 0 · 16-bit Data

Page 372 of the Intel SA-1110 user manual — 11.12.9.3 Synchronous Serial Port Enable (SSE)
Page 372 · click to enlarge
Page 372

11.12.9 SSP Control Register 0

The SSP control register 0 (SSCR0) contains four different bit fields that control various functions within the SSP.

11.12.9.1 Data Size Select (DSS)

The 4-bit data size select (DSS) field is used to select the size of the data transmitted and received by the SSP. Data can be 4 to 16 bits in length. When data is programmed to be less than 16 bits, received data is automatically right justified and the upper bits in the receive FIFO are zero filled by the receive logic. Transmit data must be left justified by the user before being placed into the transmit FIFO; however, the lower unused bits are ignored by the SSP’s transmit logic. Although it is possible to program data sizes of 1, 2, and 3 bits, these sizes are reserved and produce unpredictable results in the SSP. When National Microwire frame format is selected, this bit field selects the size of the received data. Note that the size of the transmitted data is always 8 bits in this mode.

11.12.9.2 Frame Format (FRF)

The 2-bit frame format (FRF) bit field is used to select which frame format to use: Motorola SPI (FRF=00), Texas Instruments synchronous serial (FRF=01), or National Microwire (FRF=10). See the preceding sections for a complete description of each frame format. Note that FRF=11 is reserved and produces unpredictable results.

11.12.9.3 Synchronous Serial Port Enable (SSE)

The SSP enable (SSE) bit is used to enable and disable all SSP operation. When SSE=0, the SSP is disabled; when SSE=1, it is enabled. Since the MCP and SSP both share the same pins, only one can be enabled at a time. If the user enables both at the same time, the MCP has precedence and the SSP remains disabled. However, both can be enabled when the SSP pin reassignment (SPR) bit within the PPC unit is set, which assigns the SSP to GPIO pins.

When the SSP is disabled, all of its clocks are powered down to minimize power consumption. If the MCP is also disabled, the TXD4, RXD4, SCLK, and SFRM pins can be used for general-purpose input/output. See the Section 11.13, “Peripheral Pin Controller (PPC)” on page 11-382 for a description of how to program the PPC unit to reassign the SSP’s pins and use serial port 4’s pins as I/Os. Note that SSE is the only control bit within the SSP that is reset to a known state. It is cleared to zero to ensure the SSP is disabled following a reset of the SA-1110.

When the SSE bit is cleared during active operation, the SSP is disabled immediately, causing the current frame, which is being transmitted, to be terminated and control of serial port 4’s pins to be given to the PPC unit. Clearing SSE resets the SSP’s FIFOs. However the SSP’s control and status registers are not reset. The user must ensure these registers are properly reconfigured before reenabling the SSP.

Page 373 of the Intel SA-1110 user manual — 3..0 DSS
Page 373 · click to enlarge
Page 373

11.12.9.4 Serial Clock Rate (SCR)

The 8-bit serial clock rate (SCR) bit field is used to select the baud or bit rate of the SSP. A total of 256 different bit rates can be selected, ranging from a minimum of 7.2 Kbps to a maximum of 1.8432 Mbps. The serial clock generator uses the 3.6864-MHz clock produced by the on-chip PLL, divided by a fixed value of 2, and then the programmable SCR value to generate the serial clock (SCLK). The resultant clock rate is driven out on the SCLK pin and is also used by the SSP’s transmit logic to drive data out on the TXD4 pin, and latch data on the RXD4 pin. Depending on the frame format selected, each transmitted bit is either driven on the rising or falling edge of SCLK, and is sampled on the opposite clock edge. The resultant serial clock rate, given a specific SCR value or required SCR value given a desired bit rate, can be calculated using the following two respective equations, where SCR is the decimal equivalent of the binary value programmed within the bit field:

BitRate 3.6864 6 ×10 2x SCR 1 + ( ) = SCR 3.6864 6 ×10 2xBitRate 1 – =

The following table shows the bit locations corresponding to the five different control bit fields within SSP control register 0. Note that the SSE bit is the only control bit that is reset to a known state to ensure the SSP is disabled following a reset of the SA-1110. The reset state of all other control bits is unknown (indicated by question marks) and must be initialized before enabling the SSP. Reads of bit 6, which is reserved, return zero; writes have no effect.

0h 8007 0060 SSP Control Register 0: SSCR0 Read/Write

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

SCR SSE

FRF DSS

? 0 0 ?

(Sheet 1 of 2)

Data size select. 0000 – Reserved, undefined operation. 0001 – Reserved, undefined operation. 0010 – Reserved, undefined operation. 0011 – 4-bit data. 0100 – 5-bit data. 0101 – 6-bit data. 0110 – 7-bit data. 0111 – 8-bit data. 1000 – 9-bit data. 1001 – 10-bit data. 1010 – 11-bit data. 1011 – 12-bit data. 1100 – 13-bit data. 1101 – 14-bit data. 1110 – 15-bit data. 1111 – 16-bit data.

3..0 DSS

Reserved · Bits Name Description

Page 374 of the Intel SA-1110 user manual — 11.12.10.2 Transmit FIFO Interrupt Enable (TIE)
Page 374 · click to enlarge
Page 374

0h 8007 0060 SSP Control Register 0: SSCR0 Read/Write

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

SCR SSE

FRF DSS

? 0 0 ?

(Sheet 2 of 2)

Frame Format. 00 – Motorola SPI frame format. 01 – Texas Instruments Synchronous serial frame format. 10 – National Microwire frame format. 11 – Reserved, undefined operation.

5..4 FRF

6 — Reserved.

Synchronous serial port enable. 0 – SSP operation disabled, control of pins given to PPC if MCP is also disabled. 1 – SSP operation enabled if MCP disabled or if the PPC SSP pin reassignment bit is set (reassigns GPIO 13..10 to the SSP).

7 SSE

Serial clock rate. Value (from 0 to 255) used to generate the transmission rate of the SSP. Bit Rate = 3.6864x106/(2x(SCR+1)), where SCR is a decimal value.

15..8 SCR

11.12.10 SSP Control Register 1

The SSP control register 1 (SSCR1) contains six different bit fields that control various functions within the SSP.

11.12.10.1 Receive FIFO Interrupt Enable (RIE)

The receive FIFO interrupt enable (RIE) bit is used to mask or enable the receive FIFO service request interrupt. When RIE=0, the interrupt is masked and the state of the receive FIFO service request (RFS) bit within the SSP status register is ignored by the interrupt controller. When RIE=1, the interrupt is enabled, and whenever RFS is set (one), an interrupt request is made to the interrupt controller. Note that programming RIE=0 does not affect the current state of RFS or the receive FIFO logic’s ability to set and clear RFS, it only blocks the generation of the interrupt request. Also note that RIE does not affect generation of the receive FIFO DMA request, which is asserted whenever RFS=1.

11.12.10.2 Transmit FIFO Interrupt Enable (TIE)

The transmit FIFO interrupt enable (TIE) bit is used to mask or enable the transmit FIFO service request interrupt. When TIE=0, the interrupt is masked and the state of the transmit FIFO service request (TFS) bit within the SSP status register is ignored by the interrupt controller. When TIE=1, the interrupt is enabled, and whenever TFS is set (one), an interrupt request is made to the interrupt controller. Note that programming TIE=0 does not affect the current state of TFS or the transmit FIFO logic’s ability to set and clear TFS; it only blocks the generation of the interrupt request. Also note that TIE does not affect generation of the transmit FIFO DMA request, which is asserted whenever TFS=1.

Reserved · Bits Name Description

Page 375 of the Intel SA-1110 user manual — 11.12.10.5 Serial Clock Phase (SPH)
Page 375 · click to enlarge
Page 375

11.12.10.3 Loopback Mode (LBM)

The loopback mode (LBM) bit is used to enable and disable the ability of the SSP transmit and receive logic to communicate. When LBM=0, the SSP operates normally. The transmit and receive data paths are independent and communicate via their respective pins. When LBM=1, the output of the transmit serial shifter is directly connected to the input of the receive serial shifter internally and control of the TXD4, RXD4, SCLK, and SFRM pins are given to the peripheral pin control (PPC) unit.

11.12.10.4 Serial Clock Polarity (SPO)

The serial clock polarity (SPO) bit selects the polarity or active/inactive state of the serial clock (SCLK) pin when Motorola SPI format is selected (FRF=00). When SPO=0, the inactive or idle state of SCLK is low. Thus when the SSP is not actively transmitting/receiving data, the SCLK pin is held low. When SPO=1, the inactive or idle state of SCLK is high. Thus when the SSP is not actively transmitting/receiving data, the SCLK pin is held high. The programming of SPO alone does not determine which SCLK edges are used to drive and latch data to or from the transmit and receive pins. The programming of SPO and the serial clock phase (SPH) bit determines this. Note that SPO is ignored in all other modes except Motorola SPI format (FRF=00).

11.12.10.5 Serial Clock Phase (SPH)

The serial clock phase (SPH) bit selects the phase relationship of the serial clock (SCLK) signal with the serial frame (SFRM) signal when Motorola SPI format is selected (FRF=00). When SPH=0, SCLK remains in its inactive state (as programmed by SPO) for one full SCLK period duration after SFRM is asserted (driven low). SCLK continues to transition during the entire frame and is driven to its inactive state one-half SCLK period duration before SFRM is negated (driven high). When SPH=1, SCLK remains in its inactive state (as programmed by SPO) for one-half SCLK period duration after SFRM is asserted (driven low). SCLK continues to transition during the entire frame and is driven to its inactive state one full SCLK period duration before SFRM is negated (driven high). Using SPH and SPO together determine when SCLK is active during the assertion of SFRM and which edge of SCLK is used to drive data to the transmit pin as well as latch data from the receive pin. When SPO and SPH are the same value (both 0 or both 1), transmit data is driven on the falling edge of SCLK and receive data is latched on the rising edge of SCLK. Alternatively, when SPO and SPH are of opposite value (one 0 and the other 1), transmit data is driven on the rising edge of SCLK and receive data is latched on the falling edge of SCLK. Note that SPH is ignored in all other modes, except Motorola SPI format (FRF=00).

Figure 11-36 shows the pin timing for all four programming combinations of SPO and SPH. Note that SPO inverts the polarity of the SCLK signal, and SPH determines the phase relationship between SCLK and SFRM, shifting the SCLK signal one-half phase to the left or right during the assertion of SFRM.

Page 376 of the Intel SA-1110 user manual — MSB 4 to 16 Bits LSB SPH = 1
Page 376 · click to enlarge
Page 376

Figure 11-36. Motorola SPI Frame Formats for SPO and SPH Programming

Intel SA-1110 — Figure 11-36. Motorola SPI Frame Formats for SPO and SPH Programming diagram (page 376)
Fig. 84 · Figure 11-36. Motorola SPI Frame Formats for SPO and…
Intel SA-1110 — Figure 11-36. Motorola SPI Frame Formats for SPO and SPH Programming diagram (page 376)
Fig. 85 · Figure 11-36. Motorola SPI Frame Formats for SPO and…

TXD4 Bit N Bit N Bit 1 Bit 0

RXD4 Bit N Bit N Bit 1 Bit 0

MSB 4 to 16 Bits LSB SPH = 0

Intel SA-1110 — Figure 11-36. Motorola SPI Frame Formats for SPO and SPH Programming diagram (page 376)
Fig. 86 · Figure 11-36. Motorola SPI Frame Formats for SPO and…
Intel SA-1110 — Figure 11-36. Motorola SPI Frame Formats for SPO and SPH Programming diagram (page 376)
Fig. 87 · Figure 11-36. Motorola SPI Frame Formats for SPO and…

TXD4 Bit N Bit N Bit 1 Bit 0

RXD4 Bit N Bit N Bit 1 Bit 0

MSB 4 to 16 Bits LSB SPH = 1

11.12.10.6 External Clock Select (ECS)

The external clock select (ECS) bit selects whether the on-chip 3.6864-MHz clock is used by the SSP or if an off-chip clock is supplied via GPIO pin 19. When ECS=0, the SSP uses the on-chip 3.6864-MHz clock to produce a range of serial transmission rates ranging from 7.2 Kbps to a maximum of 1.8432 Mbps. When ECS=1, the SSP uses GPIO 19 to input a clock supplied from off-chip. The frequency of the off-chip clock can be any value up to 3.6864 MHz. This off-chip clock is useful when a serial transmission rate, which is not an even multiple of 3.6864 MHz, is required for synchronization with the target off-chip slave device. When using GPIO pin 19 for the input clock, the user must also set bit 19 of the GPIO alternate function register (GAFR), and clear bit 19 of the GPIO pin direction register (GPDR). See the System Control Module chapter.

The following table shows the bit locations corresponding to the three different control bit fields within SSP control register 1. The reset state of all bits is unknown (indicated by question marks) and must be initialized before enabling the SSP. Note that writes to reserved bits are ignored and reads return zero.

Page 377 of the Intel SA-1110 user manual — 11.12.11 SSP Data Register
Page 377 · click to enlarge
Page 377

0h 8007 0064 SSP Control Register 1: SSCR1 Read/Write

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reserved ECS SPH SPO LBM TIE RIE

0 ?

Receive FIFO interrupt enable.

0. Receive FIFO oneto two-thirds full or more condition does not generate an interrupt (RFS bit ignored). 1 – Receive FIFO oneto two-thirds full or more condition generates an interrupt (state of RFS sent to interrupt controller).

O RIE

Transmit FIFO interrupt enable.

0. Transmit FIFO half-full or less condition does not generate an interrupt (TFS bit ignored). 1 – Transmit FIFO half-full or less condition generates an interrupt (state of TFS sent to interrupt controller).

1 TIE

Loopback mode.

0. Normal serial port operation enabled. 1 – Output of transmit serial shifter is connected to input of receive serial shifter internally and control of TXD4, RXD4, SCLK, and SFRM pins is given to the PPC unit.

2 LBM

Serial clock polarity.

3 SPO

0. The inactive or idle state of SCLK is low. 1 – The inactive or idle state of SCLK is high.

Serial clock phase.

0. SCLK is in its inactive state one full cycle at the start of the frame and one-half cycle at the end of the frame. 1 – SCLK is in its inactive state one-half cycle at the start of the frame and one full cycle at the end of the frame.

4 SPH

External clock select.

0. Integrated clock generates the SSP serial clock and controls all timing. 1 – Clock input using GPIO pin 19 to drive the serial clock and all timing when serial rates that are not a multiple of 3.6864 MHz are needed.

5 ECS

15..6 — Reserved.

11.12.11 SSP Data Register

The SSP data register (SSDR) is 16 bits wide and corresponds to the top and bottom entries of the transmit and receive FIFOs, respectively. When SSDR is read, the bottom entry of receive FIFO is accessed. As data is removed by the SSP’s receive logic from the incoming data frame, it is placed into the top entry of the receive FIFO and is transferred down an entry at a time until it reaches the last empty location within the FIFO. Data is removed by reading SSDR, which accesses the bottom entry of the FIFO. After SSDR is read, the bottom entry is invalidated, and all remaining values within the FIFO automatically transfer down one location.

Bits Name Description

Page 378 of the Intel SA-1110 user manual — 11.12.11 SSP Data Register
Page 378 · click to enlarge
Page 378

When SSDR is written, the topmost entry of the transmit FIFO is accessed. After a write, data is automatically transferred down to the lowest location within the transmit FIFO, which does not already contain valid data. Data is removed from the bottom of the FIFO one value at a time by the transmit logic, is loaded into the transmit serial shifter, and then is serially shifted onto the TXD4 pin at the programmed bit rate.

When a data size of less than 16 bits is selected, the user should left justify data written to the transmit FIFO. The transmit logic ignores the upper unused bits. Received data less than 16 bits is automatically right justified in the receive buffer and unused bits are zero filled. When the SSP is programmed for National Microwire frame format, the default size for transmit data is 8 bits (the most significant byte is ignored) and the receive data size is controlled by the programmer.

The following table shows the location of the SSP data register. Note that both FIFOs are cleared when the SA-1110 is reset or by writing a zero to SSE (SSP disabled).

0h 8007 006C SSP Data Register: SSDR Read/Write

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Bottom of Receive FIFO

Reset ?

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Top of Receive FIFO

Reset ?

Top/bottom of transmit/receive FIFO.

Read – Bottom of receive FIFO.

15..0 Data

Write – Top of transmit FIFO.

Read Access · Write Access · Bits Name Description

Page 379 of the Intel SA-1110 user manual — 11.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)
Page 379 · click to enlarge
Page 379

11.12.12 SSP Status Register

The SSP status register (SSSR) contains bits that signal overrun errors as well as the transmit and receive FIFO service requests. Each of these hardware-detected events signals an interrupt request to the interrupt controller. The status register also contains flags that indicate when the SSP is actively transmitting characters, when the transmit FIFO is not full, and when the receive FIFO is not empty (no interrupt generated).

A bit that can cause an interrupt signals the interrupt request as long as the bit is set. Once the bit is cleared, the interrupt is cleared. Read/write bits are called status bits; read-only bits are called flags. Status bits are referred to as “sticky” (once set by hardware, must be cleared by software). Writing a one to a sticky status bit clears it; writing a zero has no effect. Read-only flags are set and cleared by hardware; writes have no effect. Additionally, some bits that cause interrupts have corresponding mask/enable bits in the control registers and are indicated in the following section headings. Note that the user has the ability to mask all SSP interrupts by clearing bit 19 within the interrupt controller mask register (ICMR). See the Section 9.2, “Interrupt Controller” on page 9-83.

11.12.12.1 Transmit FIFO Not Full Flag (TNF) (read-only, noninterruptible)

The transmit FIFO not full flag (TNF) is a read-only bit that is set whenever the transmit FIFO contains one or more entries that do not contain valid data and is cleared when the FIFO is completely full. This bit can be polled when using programmed I/O to fill the transmit FIFO over its halfway mark. This bit does not request an interrupt.

11.12.12.2 Receive FIFO Not Empty Flag (RNE) (read-only, noninterruptible)

The receive FIFO not empty flag (RNE) is a read-only bit that is set whenever the receive FIFO contains one or more entries of valid data and is cleared when it no longer contains any valid data. This bit can be polled when using programmed I/O to remove remaining bytes of data from the receive FIFO because DMA service and CPU interrupt requests are only made when four or more bytes reside within the FIFO (3, 2, or 1 bytes may remain at the end of a frame). This bit does not request an interrupt.

11.12.12.3 SSP Busy Flag (BSY) (read-only, noninterruptible)

The SSP busy (BSY) flag is a read-only bit that is set when the SSP is actively transmitting and/or receiving data, and is cleared when the SSP is idle or disabled (SSE=0). This bit does not request an interrupt.

11.12.12.4 Transmit FIFO Service Request Flag (TFS) (read-only, maskable interrupt)

The transmit FIFO service request flag (TFS) is a read-only bit that is set when the transmit FIFO is nearly empty and requires service to prevent an underrun. TFS is set whenever the transmit FIFO has four or fewer entries of valid data (half-full or less), and is cleared when it has five or more entries of valid data. When the TFS bit is set, an interrupt request is made unless the transmit FIFO interrupt request enable (TIE) bit is cleared. The state of TFS is also sent to the DMA controller, and can be used to signal a DMA service request. Note that TIE has no effect on the generation of the DMA service request. After the DMA or CPU fills the FIFO such that four or more locations are filled within the transmit FIFO, the TFS flag (and the service request and/or interrupt) is automatically cleared.

Page 380 of the Intel SA-1110 user manual — 4 TFS
Page 380 · click to enlarge
Page 380

11.12.12.5 Receive FIFO Service Request Flag (RFS) (read-only, maskable interrupt)

The receive FIFO service request flag (RFS) is a read-only bit that is set when the receive FIFO is nearly filled and requires service to prevent an overrun. RFS is set whenever the receive FIFO has four or more entries of valid data (half-full or more), and is cleared when it has three or fewer (less than half-full) entries of data. When the RFS bit is set, an interrupt request is made unless the receive FIFO interrupt request enable (RIE) bit is cleared. The state of RFS is also sent to the DMA controller, and can be used to signal a DMA service request. Note that RIE has no effect on the generation of the DMA service request. After the DMA or CPU fills the FIFO such that four or more locations are filled within the receive FIFO, the RFS flag (and the service request and/or interrupt) is automatically cleared.

11.12.12.6 Receiver Overrun Status (ROR) (read/write, nonmaskable interrupt)

The receiver overrun status bit (ROR) is a read/write bit that is set when the receive logic attempts to place data into the receive FIFO after it has been completely filled. Each time a new piece of data is received, the set signal to the ROR bit is asserted, and the newly received data is discarded. This process is repeated for each new piece of data received until at least one empty FIFO entry exists. When the ROR bit is set, an interrupt request is made.

The following table shows the bit locations corresponding to the status and flag bits within the SSP status register. All bits are read-only except ROR, which is read/write. Writes to TNF, RNE, BSY, TFS, and RFS have no effect. The reset state of ROR is unknown (indicated by a question mark) and must be initialized before enabling the SSP. Note that writes to reserved bits are ignored and reads return zeros.

0h 8007 0074 SSP Status Register: SSSR Read/Write and Read-Only

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reserved ROR RFS TFS BSY RNE TNF

0 ? 0 1 0

(Sheet 1 of 2)

0 — Reserved.

Transmit FIFO not full (read-only).

1 TNF

0. Transmit FIFO is full. 1 – Transmit FIFO is not full.

Receive FIFO not empty (read-only).

2 RNE

0. Receive FIFO is empty. 1 – Receive FIFO is not empty.

SSP busy flag (read-only).

3 BSY

0. SSP is idle or disabled. 1 – SSP is currently transmitting and/or receiving a frame (no interrupt generated).

Transmit FIFO service request (read-only).

4 TFS

0. Transmit FIFO is more than half-full (five or more entries filled) or SSP disabled. 1 – Transmit FIFO is half-full or less (four or fewer entries filled) and SSP operation is enabled, DMA service request signalled, interrupt request signalled if not masked (if TIE=1).

Reserved · Bits Name Description

Page 381 of the Intel SA-1110 user manual — Table 11-20. MCP Control, Data, and Status Register Locations
Page 381 · click to enlarge
Page 381

0h 8007 0074 SSP Status Register: SSSR Read/Write and Read-Only

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reserved ROR RFS TFS BSY RNE TNF

0 ? 0 1 0

(Sheet 2 of 2)

Receive FIFO service request (read-only).

0. Receive FIFO is less than half-full (three or fewer entries filled) or SSP disabled. 1 – Receive FIFO is half-full or more (four or more entries filled) and SSP operation is enabled, DMA service request signalled, interrupt request signalled if not masked (if RIE=1).

5 RFS

Receive FIFO overrun.

6 ROR

0. Receive FIFO has not experienced an overrun. 1 – Receive logic attempted to place data into receive FIFO while it was full, request interrupt.

15..7 — Reserved.

11.12.13 MCP Register Locations

Table 11-20 shows the registers associated with the MCP and the physical addresses used to access them.

Table 11-20. MCP Control, Data, and Status Register Locations

0h 8006 0000 MCCR0 MCP control register 0

0h 8006 0004 — Reserved

0h 8006 0008 MCDR0 MCP data register 0

0h 8006 000C MCDR1 MCP data register 1

0h 8006 0010 MCDR2 MCP data register 2

0h 8006 0014 — Reserved

0h 8006 0018 MCSR MCP status register

0h 8006 001C – 0h 8006 005C — Reserved

0h 9006 0030 MCCR1 MCP control register 1

Reserved · Bits Name Description · Address Name Description

Page 382 of the Intel SA-1110 user manual — 11.13.1 PPC Operation
Page 382 · click to enlarge
Page 382

11.12.14 SSP Register Locations

Table 11-21 shows the registers associated with the SSP and the physical addresses used to access them.

Table 11-21. SSP Control, Data, and Status Register Locations

0h 8007 0060 SSCR0 SSP control register 0

0h 8007 0064 SSCR1 SSP control register 1

0h 8007 0068 — Reserved

0h 8007 006C SSDR SSP data register

0h 8007 0070 — Reserved

0h 8007 0074 SSSR SSP status register

0h 8007 0078 – 0h 8007 FFFF — Reserved

11.13 Peripheral Pin Controller (PPC)

The peripheral pin controller (PPC) takes individual control of the LCD’s and serial port 1..4’s pins when one or more of the units are disabled, allowing the user to utilize them as general-purpose digital I/O pins to communicate to off-chip resources. When controlled by the PPC, peripheral control module (PCM) pins operate similarly to GPIO pins except that they cannot perform edge detection and interrupt generation. The PPC is also used to specify the direction of the peripherals’ pins when sleep mode is entered.

Note that serial ports 1..3 contain individual enables for their transmit and receive serial engines. Thus, if only half-duplex transmission is needed, one pin can be used for serial communication and the other for digital I/O communication. Also note that serial port 0’s pins are dedicated to the USB device controller (UDC), which uses the pins to drive a differential transceiver, preventing them from being used as digital I/O pins when the UDC is disabled.

11.13.1 PPC Operation

Following a hardware reset of the SA-1110 (nRESET asserted then negated), all peripheral control module units are disabled, giving control of their pins to the PPC (except serial port 0). The PPC, in turn, configures all peripheral pins it controls as inputs. Once reset is negated, the user should program the peripherals as soon as possible, and configure the pins of any peripheral that is not usable to function as general-purpose I/O signals. This should be done quickly to limit the amount of power consumed at startup because pins that are intended to function as outputs within the system are initially configured as inputs, and the receiving device to which they are connected will float and consume power.

The PPC contains special resources to limit off-chip power consumption during and immediately following the assertion of sleep mode. The PPC contains a sleep mode direction register, which is programmed by the user, and individually configures 22 of the peripherals’ pins either as inputs or outputs during sleep mode. When configured as an output, the pin is forced low in sleep mode. This special register is required because the first action taken when sleep mode is entered is the assertion of reset to all the peripherals, which would, in turn, errantly configure all peripheral pins as inputs. The sleep mode direction register is not reset; the user can maintain the correct direction

Address Name Description

Page 383 of the Intel SA-1110 user manual — 11.13.3 PPC Pin Direction Register
Page 383 · click to enlarge
Page 383

programmed for each of the peripherals’ pins while in sleep mode. When sleep mode is exited, the user can then reprogram the peripherals and the PPC registers to resume control of the peripherals’ pins. To keep the same pin direction and state after sleep mode has been negated but before the user reprograms the peripherals, the system control module’s power manager maintains the peripherals’ pin direction and state following sleep negation until the peripheral control hold bit (PSSR:PH), located in the power manager, is cleared (by writing a one to it). Therefore, the pin direction and state established during sleep using the sleep mode direction register remains intact following the negation of sleep until the PH bit is cleared. Once PH is cleared, control of the peripherals’ pins is given back to the individual peripherals and to the PPC unit.

Most of the SA-1110’s peripherals can take control of one or more GPIO pins (which are normally controlled within the system control module) to act as input or output triggers, or to drive or supply clocks to the peripherals. The GPIO unit contains a GPIO alternate function register (GAFR) that the user must program to give control of the GPIO pins to the individual peripheral units for each of the alternate functions. The user must also program the GPIO pin direction register (GPDR) for the corresponding pins that are used by the peripheral units. The GPIO pin alternate functions are then enabled within the individual peripherals using a control bit. However, two control bits exist within the PPC that configure six of the GPIO unit’s pins for peripheral alternate functions.

Serial port 1 and serial port 4 both contain two serial-to-parallel engines that operate independently. However, because each port contains only one set of serial pins, the user can assign these pins to only one of the two protocols at a time. To allow the user to utilize both protocols, the PPC can assign one of its two serial-to-parallel engines to the pins that are dedicated to the port, and the other to a set of GPIO pins. Serial port 1 contains a GPCLK and a UART. By setting a bit in the PPC and the appropriate GAFR and GPDR bits in the GPIO unit, serial port 1 defaults to the GPCLK operation, TXD1 and RXD1 pins are given to the PPC, and the UART transmits via the GPIO 14 pin and receives via the GPIO 15 pin.

When the SA-1110 is reset or enters sleep mode, the GPIO unit’s registers are reset, which gives control of the GPIO pins back to the system control module.

11.13.2 PPC Register Definitions

There are five registers within the PPC: one pin direction register, one pin state register, one pin assignment register, one sleep mode pin direction register, and one pin flag register.

11.13.3 PPC Pin Direction Register

Pin direction is controlled by programming the PPC pin direction register (PPDR). The PPDR contains individual direction control bits for 22 of the 24 peripheral pins. Serial port 0 has dedicated pins (UDC+ and UDC-) that are not controlled by the PPC when the UDC is disabled. Each bit is used only if the corresponding peripheral that it controls is disabled. Provided the corresponding peripheral is disabled, if the direction bit is programmed to a one, the pin is an output. If it is programmed to a zero, it is an input. Following reset, all peripherals are disabled, which causes the PPC to take control of all of their pins. Serial ports 1..3 contain individual enables for their transmit and receive serial engines. Thus, if only half-duplex transmission is needed, one pin can be used for serial communication and the other for digital I/O communication. Note that PPDR is reset such that all the pins are configured as inputs. For reserved bits, writes are ignored and reads return ones. The following table shows the location of each pin direction bit and to which peripheral pin it corresponds.

Page 384 of the Intel SA-1110 user manual — 19 RXD4
Page 384 · click to enlarge
Page 384

0h 9006 0000 PPC Pin Direction Register: PPDR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

L_BIAS

L_FCLK

L_LCLK

L_PCLK

SFRM

SCLK

RXD4

TXD4

RXD3

TXD3

RXD2

TXD2

RXD1

TXD1

LDD 7

LDD 6

LDD 5

LDD 4

LDD 3

LDD 2

LDD 1

LDD 0

Reset 1 0

(Sheet 1 of 2)

LCD data pin direction.

7..0 LDD 7..0

0. If LCD controller disabled, LCD data pin configured as general-purpose input. 1 – If LCD controller disabled, LCD data pin configured as general-purpose output.

LCD pixel clock pin direction.

8 L_PCLK

0. If LCD controller disabled, LCD pixel clock pin configured as general-purpose input. 1 – If LCD controller disabled, LCD pixel clock pin configured as general-purpose output.

LCD line clock pin direction.

9 L_LCLK

0. If LCD controller disabled, LCD line clock pin configured as general-purpose input. 1 – If LCD controller disabled, LCD line clock pin configured as general-purpose output.

LCD frame clock pin direction.

10 L_FCLK

0. If LCD controller disabled, LCD frame clock pin configured as general-purpose input. 1 – If LCD controller disabled, LCD frame clock pin configured as general-purpose output.

LCD AC bias pin direction.

11 L_BIAS

0. If LCD controller disabled, LCD ac bias pin configured as general-purpose input. 1 – If LCD controller disabled, LCD ac bias pin configured as general-purpose output.

Serial port 1: UART transmit pin direction.

12 TXD1

0. If serial port 1 transmitter disabled, transmit pin configured as general-purpose input. 1 – If serial port 1 transmitter disabled, transmit pin configured as general-purpose output.

Serial port 1: UART receive pin direction.

13 RXD1

0. If serial port 1 receiver disabled, receive pin configured as general-purpose input. 1 – If serial port 1 receiver disabled, receive pin configured as general-purpose output.

Serial port 2: IPC transmit pin direction.

14 TXD2

0. If serial port 2 transmitter disabled, transmit pin configured as general-purpose input. 1 – If serial port 2 transmitter disabled, transmit pin configured as general-purpose output.

Serial port 2: IPC receive pin direction.

15 RXD2

0. If serial port 2 receiver disabled, receive pin configured as general-purpose input 1 – If serial port 2 receiver disabled, receive pin configured as general-purpose output.

Serial port 3: UART transmit pin direction.

16 TXD3

0. If serial port 3 transmitter disabled, transmit pin configured as general-purpose input 1 – If serial port 3 transmitter disabled, transmit pin configured as general-purpose output.

Serial port 3: UART receive pin direction.

17 RXD3

0. If serial port 3 receiver disabled, receive pin configured as general-purpose input. 1 - If serial port 3 receiver disabled, receive pin configured as general-purpose output.

Serial port 4: MCP/SSP transmit pin direction.

18 TXD4

0. If serial port 4 disabled, transmit pin configured as general-purpose input. 1 - If serial port 4 disabled, transmit pin configured as general-purpose output.

Serial port 4: MPC/SSP receive pin direction.

19 RXD4

0. If serial port 4 disabled, receive pin configured as general-purpose input. 1 – If serial port 4 disabled, receive pin configured as general-purpose output.

Reserved · Bits Name Description

Page 385 of the Intel SA-1110 user manual — 11.13.4 PPC Pin State Register
Page 385 · click to enlarge
Page 385

0h 9006 0000 PPC Pin Direction Register: PPDR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

L_FCLK

L_LCLK

L_PCLK

SFRM

SCLK

RXD4

TXD4

RXD3

TXD3

RXD2

TXD2

RXD1

TXD1

L_BIAS

LDD 7

LDD 6

LDD 5

LDD 4

LDD 3

LDD 2

LDD 1

LDD 0

Reset 1 0

(Sheet 2 of 2)

Serial port 4: MPC/SSP serial clock pin direction.

20 SCLK

0. If serial port 4 disabled, serial clock pin configured as general-purpose input. 1 – If serial port 4 disabled, serial clock pin configured as general-purpose output.

Serial port 4: MPC/SSP serial frame pin direction.

21 SFRM

0. If serial port 4 disabled, serial frame pin configured as general-purpose input. 1 – If serial port 4 disabled, serial frame pin configured as general-purpose output.

31..22 — Reserved.

11.13.4 PPC Pin State Register

Pin state is both monitored and controlled by reading/writing the PPC pin state register (PPSR). The PPSR contains 1 state bit for each of the 22 peripheral pins. This register may be read at any time to determine the current state of all peripheral pins, even when pins are controlled by the peripheral rather than the PPC. If a peripheral is disabled and its corresponding pin direction is programmed as an output in the PPDR, its PPSR bit is used to control the state of the peripheral pin. Writing a zero to the pin’s state bit causes the pin to be forced low, and writing a one causes the pin to be forced high. Writing a value to a pin state bit that is an input or is not under the control of the PPC has no effect. To alter the state of an output pin, the user should first read the PPSR, then logically AND the value read with a mask, which contains ones in every bit position except the one the user wishes to clear. To set a pin, the user should logically OR the value read with a mask, which contains zeros in every bit position except the one the user wishes to set. This mechanism allows the user to set or clear individual pins without changing the state of other pins that are configured as outputs.

Serial port 2 contains two bits that control the polarity of data input via the receive pin (RXD2) and data output via the transmit pin (TXD2). The user must ensure that these polarity bits are set (RXP = TXP = 1), which selects true or noninverted data before using TXD2 or RXD2 as GPIO pins.

Note that PPSR is implemented as two separate registers. A write to PPSR addresses one of the registers and is used to set and clear pins configured as GPIO outputs, while a read addresses the other register that is used to store and monitor pin state. The register used to store pin state contains logic to synchronize the signal input from the pin to allow the user to read it. The pins are sampled at a rate of 7.3728 MHz; each synchronization cycle takes 135.6 ns. Depending on the CPU frequency programmed by the user, after changing the state of an output pin via a write, one or more dummy read cycle waitstates may need to be inserted to allow the value to be output to the pin and to allow the synchronizer to resample the pin.

The following table shows the location of each pin state bit and to which peripheral pin it corresponds. Note that this register is not reset and that for reserved bits, writes are ignored and reads return one.

Reserved · Bits Name Description

Page 386 of the Intel SA-1110 user manual — 18 TXD4
Page 386 · click to enlarge
Page 386

0h 9006 0004 PPC Pin State Register: PPSR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

L_BIAS

L_FCLK

L_LCLK

L_PCLK

SFRM

SCLK

RXD4

TXD4

RXD3

TXD3

RXD2

TXD2

RXD1

TXD1

LDD 7

LDD 6

LDD 5

LDD 4

LDD 3

LDD 2

LDD 1

LDD 0

1 ?

(Sheet 1 of 2)

LCD data pin state.

7..0 LDD 7..0

Read – Current state of LCD data pin returned. Write – If LCD disabled and pin configured as an output, drive value to LCD data pin.

LCD pixel clock pin state.

8 L_PCLK

Read – Current state of LCD pixel clock pin returned. Write – If LCD disabled and pin configured as an output, drive value to LCD pixel clock pin.

LCD line clock pin state.

9 L_LCLK

Read – Current state of LCD line clock pin returned. Write – If LCD disabled and pin configured as an output, drive value to LCD line clock pin.

LCD frame clock pin state.

10 L_FCLK

Read – Current state of LCD frame clock pin returned. Write – If LCD disabled and pin configured as an output, drive value to LCD frame clock pin.

LCD AC bias pin state.

11 L_BIAS

Read – Current state of LCD AC bias pin returned. Write – If LCD disabled and pin configured as an output, drive value to LCD AC bias pin.

Serial port 1: UART transmit pin state.

Read – Current state of serial port 1 transmit pin returned. Write – If serial port 1 transmitter disabled and pin configured as an output, drive value to transmit pin.

12 TXD1

Serial port 1: UART receive pin state.

13 RXD1

Read – Current state of serial port 1 receive pin returned. Write – If serial port 1 receiver disabled and pin configured as an output, drive value to receive pin.

Serial port 2: IPC transmit pin state.

14 TXD2

Read – Current state of serial port 1 transmit pin returned. Write – If serial port 2 transmitter disabled and pin configured as an output, drive value to transmit pin.

Serial port 2: IPC receive pin state.

15 RXD2

Read – Current state of serial port 2 receive pin returned. Write – If serial port 2 receiver disabled and pin configured as an output, drive value to receive pin.

Serial port 3: UART transmit pin state.

Read – Current state of serial port 3 transmit pin returned. Write – If serial port 3 transmitter disabled and pin configured as an output, drive value to transmit pin.

16 TXD3

Serial port 3: UART receive pin state.

Read – Current state of serial port 3 receive pin returned. Write – If serial port 3 receive disabled and pin configured as an output, drive value to receive pin

17 RXD3

Serial port 4: MCP/SSP transmit pin state.

Read – Current state of serial port 4 transmit pin returned. Write – If serial port 4 transmitter disabled and pin configured as an output, drive value to transmit pin.

18 TXD4

Reserved · Bits Name Description

Page 387 of the Intel SA-1110 user manual — 11.13.5.2 SSP Pin Reassignment (SPR)
Page 387 · click to enlarge
Page 387

0h 9006 0004 PPC Pin State Register: PPSR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

L_FCLK

L_LCLK

L_PCLK

SFRM

SCLK

RXD4

TXD4

RXD3

TXD3

RXD2

TXD2

RXD1

TXD1

L_BIAS

LDD 7

LDD 6

LDD 5

LDD 4

LDD 3

LDD 2

LDD 1

LDD 0

1 ?

(Sheet 2 of 2)

Serial port 4: MCP/SSP receive pin state.

Read – Current state of serial port 4 receive pin returned. Write – If serial port 4 receive disabled and pin configured as an output, drive value to receive pin.

19 RXD4

Serial port 4: MCP/SSP serial clock pin state.

Read – Current state of serial port 4 serial clock pin returned. Write – If serial port 4 disabled and pin configured as an output, drive value to serial clock pin.

20 SCLK

Serial port 4: MCP/SSP serial frame pin state.

21 SFRM

Read – Current state of serial port 4 serial frame pin returned. Write – If serial port 4 disabled and pin configured as an output, drive value to serial frame pin.

31..22 — Reserved.

11.13.5 PPC Pin Assignment Register

The UART in serial port 1 and the SSP in serial port 4 can be reassigned to GPIO pins using the PPC pin assignment register (PPAR). The PPAR contains two bits that control the reassignment of each serial engine to an individual set of GPIO pins.

11.13.5.1 UART Pin Reassignment (UPR)

The UART pin reassignment (UPR) bit selects whether the serial port 1 UART is assigned to GPIO pins 14 and 15. When UPR=0, serial port 1 uses the TXD1 and RXD1 pins; the GPCLK/UART select (SUS) bit selects which protocol to enable. When UPR=1, SUS is ignored, serial port 1 defaults to the GPCLK operation mode. This configures the UART to use GPIO for transmit and GPIO for receive.

11.13.5.2 SSP Pin Reassignment (SPR)

The SSP pin reassignment (SPR) bit is used to select whether serial port 4’s SSP is assigned to GPIO pins 10 through 13. When SPR=0, serial port 4 uses its TXD4, RXD4, SCLK, and SFRM pins; the MCP enable (MCE) and SSP enable (SSE) bits are used to select which protocol is enabled (MCE has precedence over SSE). When SPR=1, MCE and SSE must both be set; serial port 4 defaults to MCP operation using the TXD4, RXD4, SCLK, and SFRM pins, and the SSP is configured to use GPIO 10 for transmit, GPIO 11 for receive, GPIO 12 for serial clock, and GPIO 13 for serial frame. Note that the user must set bits 10 through 13 in the GPIO alternate function register (GAFR) as well as set bits 10, 12, and 13 and clear bit 11 in the GPIO pin direction register (GPDR). See the Section 9.1, “General-Purpose I/O” on page 9-73.

Reserved · Bits Name Description

Page 388 of the Intel SA-1110 user manual — 11.13.6 PPC Sleep Mode Pin Direction Register
Page 388 · click to enlarge
Page 388

The following table shows the location of the two pin reassignment bits. Note that for reserved bits, writes are ignored and reads return zero. Both control bits are cleared to one following a reset of the SA-1110, giving control of all GPIO pins to the system control module.

0h 9006 0008 PPC Pin Assignment Register:

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

SPR

UPR

Reset 1 0 1 0 1

11..0 — Reserved.

UART pin reassignment.

0. No pin reassignment made, GPIO 14-15 controlled by GPIO unit, serial port 1 UART assigned to TXD1 and RXD1 if SUS=1. 1 – Pin reassignment made, serial port 1 defaults to GPCLK operation (SUS ignored), UART transmit assigned to GPIO 14 and receive to GPIO 15, GAFR and GPDR must be configured in GPIO unit.

12 UPR

17..13 — Reserved.

SSP pin reassignment..0 – No pin reassignment made, GPIO 10-13 controlled by GPIO unit, serial port 4 SSP assigned to TXD4, RXD4, SCLK, and SFRM if MCE=0 and SSE=1. 1– Pin reassignment made, serial port 4 defaults to MCP operation, SSP transmit assigned to GPIO 10, receive to GPIO 11, serial clock to GPIO 12, and serial frame to GPIO 13, GAFR and GPDR must be configured in GPIO unit.

18 SPR

31..19 — Reserved.

11.13.6 PPC Sleep Mode Pin Direction Register

When sleep mode is entered, reset is asserted to all of the SA-1110’s peripherals and to the PPC unit. The PPC pin direction register is cleared during a hard, soft, or sleep reset, causing the peripheral pins under the PPC’s control to be configured as inputs. If this register were also used to determine pin direction during sleep, the pins would all be configured as inputs. This action would cause any off-chip device that expects data to be output from the SA-1110 to burn power during sleep because its input would float. The sleep mode pin direction register (PSDR) prevents this undesired power consumption by allowing the user to establish peripheral pin direction during and immediately following sleep mode.

When sleep mode is entered, both the peripherals and the PPC are reset; however, PSDR is not reset like PPDR. Once the user programs PSDR, it retains its data after sleep mode is entered and reset is asserted. The power manager uses the values in PSDR to determine the direction and state of the 22 peripheral pins. When a sleep mode direction bit is programmed to a zero, the corresponding pin is configured as an output and is driven low (zero). If it is programmed to a one, it is an input. The power manager latches the contents of PSDR before VDD is removed from the SA-1110 to maintain the peripheral pin direction and state after the main power supply is removed. Once VDD is removed, the data in PSDR is lost and must be reprogrammed after exiting sleep mode. The power manager contains a control bit called the peripheral control hold (PSSR:PH). This bit is set upon exit from sleep mode and indicates that the peripheral pins are being held in their sleep state. Following sleep, the user should first reprogram the peripherals and the PPC, then clear PH (by writing a one to it) to

Show 5 more labels / short text on this page
PPAR Read/Write · Reserved · Reserved · Reserved · Bits Name Description
Page 389 of the Intel SA-1110 user manual — 15 RXD2
Page 389 · click to enlarge
Page 389

give control of the pins back to the peripheral units. Note that sleep mode invocation causes RPP to be cleared so that the pins are once again held in their sleep state until the user can set RPP. See Chapter 9, “System Control Module”.

Because the peripherals are reset when sleep mode is entered, serial port 2’s transmit and receive pin (TXD2 and RXD2) polarity bits (TXP and RXP) are both reset to one, which configures transmit and receive data as true or noninverted data. Thus the user need not reprogram these bits prior to the invocation of sleep mode.

Note that PSDR is initialized only by a hardware or power-on reset (negation of the nRESET pin). It is not affected by a software reset or a reset that occurs as a result of the SA-1110 entering sleep mode. Also note that for reserved bits, writes are ignored and reads return zero. The following table shows the location of each sleep mode pin direction bit and to which peripheral pin it corresponds.

0h 9006 000C PPC Pin Sleep Mode Direction

RegisterPSDR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

L_BIAS

L_FCLD

L_LCLK

L_PCLK

SFRM

SCLK

RXD4

TXD4

RXD3

TXD3

RXD2

TXD2

RXD1

TXD1

LDD 7

LDD 6

LDD 5

LDD 4

LDD 3

LDD 2

LDD 1

LDD 0

0 1

(Sheet 1 of 2)

LCD data sleep mode pin direction.

7..0 LDD 7..0

0. LCD data pin configured as output and is driven low during sleep. 1 – LCD data pin configured as input during sleep.

LCD pixel clock sleep mode pin direction.

8 L_PCLK

0. LCD pixel clock pin configured as output and is driven low during sleep. 1 – LCD pixel clock pin configured as input during sleep.

LCD line clock sleep mode pin direction.

9 L_LCLK

0. LCD line clock pin configured as output and is driven low during sleep. 1 – LCD line clock pin configured as input during sleep.

LCD frame clock sleep mode pin direction.

10 L_FCLK

0. LCD frame clock pin configured as output and is driven low during sleep. 1 – LCD frame clock pin configured as input during sleep.

LCD ac bias sleep mode pin direction.

11 L_BIAS

0. LCD ac bias pin configured as output and is driven low during sleep. 1 – LCD ac bias pin configured as input during sleep.

Serial port 1: UART transmit sleep mode pin direction.

12 TXD1

0. Transmit pin configured as output and is driven low during sleep. 1 – Transmit pin configured as input during sleep.

Serial port 1: UART receive sleep mode pin direction.

13 RXD1

0. Receive pin configured as output and is driven low during sleep. 1 – Receive pin configured as input during sleep.

Serial port 2: IPC transmit sleep mode pin direction.

14 TXD2

0. Transmit pin configured as output and is driven low during sleep. 1 – Transmit pin configured as input during sleep.

Serial port 2: IPC receive sleep mode pin direction.

15 RXD2

0. Receive pin configured as output and is driven low during sleep. 1 – Receive pin configured as input during sleep.

Reserved · Bits Name Description

Page 390 of the Intel SA-1110 user manual — 11.13.7 PPC Pin Flag Register
Page 390 · click to enlarge
Page 390

0h 9006 000C PPC Pin Sleep Mode Direction

RegisterPSDR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

L_BIAS

L_FCLD

L_LCLK

L_PCLK

SFRM

SCLK

RXD4

TXD4

RXD3

TXD3

RXD2

TXD2

RXD1

TXD1

LDD 7

LDD 6

LDD 5

LDD 4

LDD 3

LDD 2

LDD 1

LDD 0

0 1

(Sheet 2 of 2)

Serial port 3: UART transmit sleep mode pin direction.

16 TXD3

0. Transmit pin configured as output and is driven low during sleep. 1 – Transmit pin configured as input during sleep.

Serial port 3: UART receive sleep mode pin direction.

17 RXD3

0. Receive pin configured as output and is driven low during sleep. 1 – Receive pin configured as input during sleep.

Serial port 4: MCP/SSP transmit sleep mode pin direction.

18 TXD4

0. Transmit pin configured as output and is driven low during sleep.
1. Transmit pin configured as input during sleep.

Serial port 4: MCP/SSP receive sleep mode pin direction.

19 RXD4

0. Receive pin configured as output and is driven low during sleep. 1 – Receive pin configured as input during sleep.

Serial port 4: MCP/SSP serial clock sleep mode pin direction.

20 SCLK

0. Serial clock pin configured as output and is driven low during sleep. 1 – Serial clock pin configured as input during sleep.

Serial port 4: MCP/SSP serial frame sleep mode pin direction.

21 SFRM

0. Serial frame pin configured as output and is driven low during sleep. 1 – Serial frame pin configured as input during sleep.

31..22 — Reserved.

11.13.7 PPC Pin Flag Register

The PPC pin flag register (PPFR) is used to determine which peripherals are currently under the control of the PPC unit. The eight read-only flags denote whether or not each of the peripherals (except serial port 0) is enabled or is disabled and being controlled by the PPC. Note that serial ports 1..3 contain individual enables for their transmit and receive serial engines. Thus, separate flag bits exist for their transmit and receive pins. When a flag is set, it indicates that the corresponding peripheral is disabled and is controlled by the PPC; when it is cleared, it indicates that the peripheral is enabled and its pins are being used for serial transmission (serial ports 1..4) or for LCD operation. Note that for reserved bits, writes are ignored and reads return zero. The following table shows the location of each pin flag bit and to which peripheral pin it corresponds.

Reserved · Bits Name Description

Page 391 of the Intel SA-1110 user manual — 18 SP4
Page 391 · click to enlarge
Page 391

0h 9006 0010 PPC Pin Flag Register: PPFR Read/Write

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

SP3 RX

SP3 TX

SP2 RX

SP2 TX

SP1 RX

SP1 TX

LCD

SP4

Reset 1

LCD controller flag (read-only).

0. LCD controller enabled. 1 – LCD disabled, PPC currently controlling all 12 of its pins: LDD[7:0], L_PCLK, L_LCLK, L_FCLK, L_BIAS.

0 LCD

11..1 — Reserved.

Serial port 1: GPCLK/UART transmit flag (read-only).

0. GPCLK or UART transmit enabled. 1 – GPCLK and UART transmitters disabled, PPC currently controlling the transmit pin: TXD1.

12 SP1 TX

Serial port 1: GPCLK/UART receive flag (read-only).

13 SP1 RX

0. GPCLK or UART receive enabled. 1 – GPCLK and UART receivers disabled, PPC currently controlling the receive pin: RXD1.

Serial port 2: ICP transmit flag (read-only).

0. HSSP or UART transmit enabled. 1– HSSP and UART transmitters disabled, PPC currently controlling the transmit pin: TXD2.

14 SP2 TX

Serial port 2: ICP receive flag (read-only).

15 SP2 RX

0. HSSP or UART receive enabled. 1 – HSSP and UART receivers disabled, PPC currently controlling the receive pin: RXD2.

Serial port 3: UART transmit flag (read-only).

16 SP3 TX

0. UART transmit enabled. 1 – UART transmit disabled, PPC currently controlling the transmit pin: TXD3.

Serial port 3: UART receive flag (read-only).

17 SP3 RX

0. UART receive enabled. 1 – UART receive disabled, PPC currently controlling the receive pin: RXD3.

Serial port 4: MCP/SSP flag (read-only).

0. MCP or SSP enabled. 1– MCP and SSP disabled, PPC currently controlling all 4 of its pins: TXD4, RXD4, SCLK, SFRM.

18 SP4

31..19 — Reserved.

Reserved · Reserved · Bits Name Description

Page 392 of the Intel SA-1110 user manual — Table 11-22. PPC Control and Flag Register Locations
Page 392 · click to enlarge
Page 392

11.13.8 PPC Register Locations

Table 11-22 shows the registers associated with the PPC and the physical addresses used to access them. Note that serial port 2 (ICP) has implemented HSSP control register 2 and serial port 4 (MCP) has also implemented MCP control register 1 within the PPC’s address space at 0h 9006 0028 and 0h 9006 0030 respectively. The user should ensure that these registers are not accidentally written by any PPC routines that may attempt to write to all of the PPC’s address space, including its reserved registers during initialization.

Table 11-22. PPC Control and Flag Register Locations

0h 9006 0000 PPDR PPC pin direction register

0h 9006 0004 PPSR PPC pin state register

0h 9006 0008 PPAR PPC pin assignment register

0h 9006 000C PSDR PPC sleep mode direction register

0h 9006 0010 PPFR PPC pin flag register

0h 9006 0014 –

0h 9006 FFFF — Reserved

Address Name Description

Page 393 of the Intel SA-1110 user manual — NOTE:
Page 393 · click to enlarge
Page 393

DC Parameters 12

This chapter defines the DC parameters for the Intel® StrongARM* SA-1110 Microprocessor (SA-1110).

12.1 Absolute Maximum Ratings

Table 12-1 lists the absolute maximum ratings for the SA-1110.

Table 12-1. SA-1110 DC Maximum Ratings

Symbol Parameter Min Max Units Note

VDD Core supply voltage VSS – 0.5 VSS + 2.1 V 1

VDDX I/O voltage MIN(VSS – 0.05,

VDD – 0.3) VSS + 3.6 V 1

Vip Voltage applied to any pin VSS – 0.5 VSS + 3.6 V 1

Vip (*XTAL) Voltage applied to *XTAL pins 0 1 V 1

Ts Storage temperature – 40 125 °C 1

NOTE:

1. These are stress SA-1110 ratings only. Exceeding the absolute maximum ratings may permanently damage the device. Operating the device at absolute maximum ratings for extended periods may affect device reliability.
Page 394 of the Intel SA-1110 user manual — NOTES:
Page 394 · click to enlarge
Page 394

DC Parameters

12.2 DC Operating Conditions

Table 12-2 lists the functional operating DC parameters for the SA-1110.

Table 12-2. SA-1110 DC Operating Conditions

Symbol Parameter Minimum Nominal Maximum Units Notes

Vihc IC input high voltage 2.4 — VDDX V 1, 2

Vilc IC input low voltage 0.0 — 0.2 × VDDX V 1, 2

Vohc OCZ output high voltage 0.8 × VDDX — VDDX V 1, 3

Volc OCZ output low voltage 0.0 — 0.2 × VDDX V 1, 3

Iohc High-level output current — — – 2 mA —

Iolc Low-level output current — — 2 mA —

Ta Ambient operating temperature 0 — 70 °C —

Iin IC input leakage current — 10 — µA —

Cin Input capacitance — 5 — pF 4

ESD HBM model ESD — 1 750 V 5

NOTES:

1. Voltages measured with respect to VSS. 2. IC – CMOS-level inputs (includes IC and ICOCZ pin types). 3. OCZ – Output, CMOS levels, tristateable. 4. Parameter guaranteed by design. 5. PLL supply (Vddp). 6. Minimum not tested at this time
Page 395 of the Intel SA-1110 user manual — NOTES:
Page 395 · click to enlarge
Page 395

DC Parameters

12.3 Power Supply Voltages and Currents

Table 12-3 specifies the power supply voltages and currents for the SA-1110

Table 12-3. SA-1110 Power Supply Voltages and Currents

Parameter AC, AD (133 MHz) BC, BD (206 MHz)

Maximum Run Mode Power 500 mW 1000mW

Typical Run Mode Power1 200 mW 350 mW

Maximum Idle Mode Power2 100 mW 200 mW

Typical Idle Mode Power2 75 mW 100 mW

Maximum Sleep Mode Current2 75 u A 75 u A

Typical Sleep Mode Current2 50 u A 50 uA

Vddi Max 1.63 V 2.10 V

Vddi Typ 1.55 V 1.75 V

Vddi Min 1.47 V 1.65 V

Vddx Max 3.60 V 3.60 V

Vddx Typ 3.30 V 3.30 V

Vddx Min 3.00 V 3.00 V

NOTES:

1. Typical operation defined using the following parameters: 320x240 LCD operating at 70 fps (passive color LCD, 8-bit color depth, single panel (1 DMA unit); and UART3 transmitting and receiving 115.2 kbps (using 2 DMA units). 2. Room Temperature
Page 396 of the Intel SA-1110 user manual — 12.3 Power Supply Voltages and Currents
Page 396 · click to enlarge
Page 396
Page 396 of the Intel SA-1110 user manual — 12.3 Power Supply Voltages and Currents
Page 397 of the Intel SA-1110 user manual — NOTE:
Page 397 · click to enlarge
Page 397

AC Parameters 13

This chapter defines the AC parameters for the Intel® StrongARM* SA-1110 Microprocessor (SA-1110).

13.1 Test Conditions

The AC timing diagrams presented in this chapter assume that the outputs of SA-1110 have been loaded with a 50-pF capacitive load on output signals. The output pads of SA-1110 are CMOS drivers that exhibit a propagation delay that increases with the increase in load capacitance. Table 13-1 lists the output derating figure for the output pad, showing the approximate rate of increase of delay with increasing or decreasing load capacitance for a typical process at room temperature. For derating figures for 1.55-V devices, contact the Intel Massachusetts Customer Technology Center.

Table 13-1. SA-1110 Output Derating — Fast Output Buffer

(ns/pF) VDD = 1.55 V

(ns/pF) VDD = 1.55 V

(ns/pF) VDD = 1.75 V

(ns/pF) VDD = 1.75 V

All outputs 50 pF 0.021 0.055 0.019 0.056 1

NOTE:

1. Parameter verified by design

Table 13-2. SA-1110 Output Derating — Slow Output Buffer

(ns/pF) VDD = 1.55 V

(ns/pF) VDD = 1.55 V

(ns/pF) VDD = 1.75 V

(ns/pF) VDD = 1.75 V

All outputs 50 pF 0.085 0.077 0.083 0.075 1

NOTE:

1. Parameter verified by design
Show 22 more labels / short text on this page
Output Derating · Output Derating · Output Derating · Output Derating · Load for Nominal · Output Signal · Value · rising edge · falling edge · rising edge · falling edge · Output Derating · Output Derating · Output Derating · Output Derating · Load for Nominal · Output Signal · Value · rising edge · falling edge · rising edge · falling edge
Page 398 of the Intel SA-1110 user manual — (B)
Page 398 · click to enlarge
Page 398

AC Parameters

13.2 Model Considerations

The edge rates for the SA-1110 processor are such that the lumped load model presented above can only be used for etch lengths up to one inch. Over one inch of etch, the signal is a transmission line and needs to be modeled as such.

13.3 Memory Bus and PCMCIA Signal Timings

During production test, the SA-1110 is placed in test clock bypass mode by the assertion of the TCKBYP pin. This mode (not intended for use by customers) bypasses the 3.686-MHz oscillator and the main PLL and sources the processor clock from the TESTCLK pin. During this test mode, all clocks on the SA-1110 are synchronous to TESTCLK. In this mode, the basic functionality of the chip is tested and the pin timings relative to TESTCLK are measured. The ac parameters are measured in this way for each available processor clock speed and supply voltage at which the device is offered.

The ac specifications for the SA-1110 memory and PCMCIA interfaces are provided relative to the memory clock. In the test clock bypass mode, memory clock is one-half the frequency of TESTCLK. Under normal operation, memory clock is one-half the frequency of the processor clock generated by the main PLL.

Even though this clock is not visible to the user, the required pin timing may be inferred through these numbers. Input pins are specified by a required setup and hold to the memory clock. Outputs are specified by a propagation delay from the edge of the memory clock where the drive starts to the time the pin actually transitions. A 50-pF lumped load is assumed to be on each pin. Figure 13-1 shows the memory bus ac timing definitions and Table 13-4 describes the ac timing parameters.

Figure 13-1. Memory Bus AC Timing Definitions

Input hold from memory clock rise Input setup to memory clock rise

(A)

Input hold from memory clock fall Input setup to memory clock fall

(B)

Memory clock rise to output driven valid

(A)

Memory clock fall to output driven valid

(B)

A4776-01

Show 5 more labels / short text on this page
Memory Clock · Memory Bus In · Memory Bus In · Memory Bus Out · Memory Bus Out
Page 399 of the Intel SA-1110 user manual — Figure 13-2. LCD AC Timing Definitions
Page 399 · click to enlarge
Page 399

AC Parameters

13.4 LCD Controller Signals

Figure 13-2 describes the LCD timing parameters. The LCD pin timing specifications are referenced to the pixel clock (L_PCLK).

Figure 13-2. LCD AC Timing Definitions

PCP = 0

//

L_PCLK

//

L_LDD[7:0]

//

L_FCLK

//

L_LCLK

// //

L_BIAS

PCP = 1

L_PCLK

//

L_LDD[7:0]

//

//

L_FCLK

//

L_LCLK

//

//

L_BIAS

A9004-01

13.5 MCP Signals

Figure 13-3 describes the MCP timing parameters. The MCP pin timing specifications are referenced to SCLK_C.

Show 8 more labels / short text on this page
Tpclkdv · Tpclkfv · Tpclklv · Tpclkbv · Tpclkdv · Tpclkfv · Tpclklv · Tpclkbv
Page 400 of the Intel SA-1110 user manual — AC Parameters
Page 400 · click to enlarge
Page 400

AC Parameters

Figure 13-3. MCP AC Timing Definitions

SCLK_C

SFRM_C

TXD_C

RXD_C

A4774-01

Tsfmv · Tsfmv · Trxds Trxdh

Page 401 of the Intel SA-1110 user manual — NOTES:
Page 401 · click to enlarge
Page 401

AC Parameters

13.6 Timing Parameters

Table 13-3 lists AC timings for SDRAM and SMROM. It includes frequency-dependent guidelines for using the delayed latching option on read data. This option is controlled by the contents of the CAS Waveform Rotate Registers (MDCASnn), as described in Section 10.3.3.2, “MDCAS Registers with SDRAM and SMROM” on page 10-137.

Table 13-4 lists the AC timing guidelines for asynchronous memory types. Each parameter references the SA-1110’s internal memory clock. These parameters are not guaranteed for use under all operating conditions.

Table 13-5 lists the AC timing parameters for the SA-1110 MCP interface and LCD controller. For timing parameters for 1.55-V devices, contact the Intel Massachusetts Customer Technology Center.

Table 13-3. SA-1110 AC Timing Specifications and Guidelines for SDRAM/SMROM

AC, AD (133

MHz max) BC, BD (206

or Delayed Latching on

Pin Name Symbol Parameter

A[25:0[, D[31:0], nRAS/nSDCS[3:0], nCAS/DQM[3:0], nCS[3:0], nSDRAS, nSDCAS, nWE, nOE, SDCKE[1:0]

SDRAM/ SMROM output setup time to SDCLK[2:0] rise

AC 28 - 66 2.2 ns 3,4

BC 28 - 103 2.2 ns 3,4

A[25:0], D[31:0], nRAS/nSDCS[3:0], nCAS/DQM[3:0], nCS[3:0], nSDRAS, nSDCAS, nWE, nOE, SDCKE[1:0]

SDRAM/ SMROM output hold time from SDCLK[2:0] rise

AC 28 - 66 2.2 ns

BC 28 - 103 2.2 ns

D[31:0]

SDRAM/ SMROM data input setup time to SDCLK[2:0] rise

AC 28 - 66 Non-Delayed 7.2 ns 1

BC 28 - 62 Non-Delayed 9.3 ns 1

62. 103 Delayed 2.7 ns 1

D[31:0]

AC 28 - 66 Non-Delayed 2.7 ns 1

28. 62 Non-Delayed 2.7 ns 1
62. 69 Delayed 5.5 ns 1, 2

SDRAM/ SMROM data input hold time from SDCLK[2:0] rise

69. 76 Delayed 4.7 ns 1, 2

BC

76. 84 Delayed 4.1 ns 1, 2
84. 91 Delayed 3.6 ns 1, 2
91. 98 Delayed 3.1 ns 1, 2
98. 103 Delayed 2.7 ns 1

NOTES:

1. Tsdis and Tsdih are specified for non-delayed read data latching on 133 MHz (AC, AD) and 206 MHz (BC, BD) devices, and for delayed read data latching at the maximum SDCLK frequency on AC and AD devices (103 MHz when using a 3.6864 MHz crystal). All other Tsdis and Tsdih values (i.e.- those for delayed read data latching on BC and BD devices with SDCLK between 62 MHz and 98 MHz) should be considered as guidelines, and are not guaranteed for use under all operating conditions. 2. The larger Tsdih values can be achieved by intentionally adding delay to SDCLK (e.g., by using serpentine board routing). However, the system designer must carefully evaluate the resulting degradation to input setup time and output hold time: Tsdis and Tsdoh increase and decrease, respectively, from the corresponding table values. 3. When SDRAM/SMROM is configured to run at one-half the memory clock frequency (e.g., MDREFR:K0DB2 = 1 for SMROM), the minimum output setup time is increased from Tsdos by approximately one memory clock period. This helps to accommodate SMROM, which typically requires both a lower frequency and larger setup times than SDRAM. 4. Tsdos (output setup time) is specified for comparison to memory specifications' input setup time parameters. Tsdos is specifying the minimum time the signal will be valid before the SDCLK[2:0] rising edge.

Show 11 more labels / short text on this page
Non-Delayed · SDCLK Frequency · Min Unit Note · MHz max) · (MHz) · Read Data · Memory Bus · Tsdos · Tsdoh · Tsdis · Tsdih
Page 402 of the Intel SA-1110 user manual — RXD_C
Page 402 · click to enlarge
Page 402

AC Parameters

Table 13-4. SA-1110 AC Timing Guidelines for Asynchronous Memory Types

Pin Name Symbol Parameter Min Max Unit Note

Tdfov Memory clock fall to D[31:0] driven valid — 10 ns 5

D[31:0]

Tds D[31:0] valid to memory clock rise/fall (input setup) 3 — ns 1, 5

Tdh Memory clock rise/fall to data invalid (input hold) 3 — ns 1, 5

nPOE, nPWE, nPIOR, nPIOW, PSKTSEL, nPREG, nPCE[1,2], A[25:0]

Tmfov Memory clock fall to output driven valid — 10 ns

Tio16s nIOIS16 valid to memory clock rise (input setup) 3 — ns 3, 5

Tio16h Memory clock rise to nIOIS16 invalid (input hold) 3 — ns 3, 5

Twaits nPWAIT valid to memory clock fall (input setup) 3 — ns 5

Twaith Memory clock fall to nPWAIT invalid (input hold) 3 — ns 5

nWE, nOE Tmrov Memory clock rise to output driven valid — 10 ns

nRAS/nSDCS[3:0] Tmrdv Memory clock rise to output driven valid — 12 ns 5

nCAS/DQM[3:0] Tcasd Memory clock rise/fall to nCAS/DQM[3:0] driven valid — 12 ns 4, 5

nCS[5:0] Tcsd Memory clock rise to nCS[5:0] driven valid — 10 ns 5

Trdys RDY valid to memory clock rise/fall (input setup) 3 — ns 5

RDY

Trdyh Memory clock rise/fall to RDY invalid (input hold) 3 — ns 5

RD/nWR Trdnwr Memory clock rise/fall to RD/nWR driven valid — 10 ns 5

SDCLK[2:0] Tsdclk Memory clock rise to SDCLK[2:0] driven valid 2.8 10.8 ns 5

NOTES:

1. These input pins may be sampled on either the rising or falling edge of the memory clock. 2. These signals are PCMCIA outputs and are driven by a state machine clocked by BCLK. The user defines BCLK by programming the number of processor clocks per BCLK. Two processor clocks make one memory clock cycle. To ensure proper operation, the user must adhere to the protocol description. 3. These signals are PCMCIA inputs and are sampled by a state machine clocked by BCLK. The user defines BCLK by programming the number of processor clocks per BCLK. Two processor clocks make one memory clock cycle. To ensure proper operation, the user must adhere to the protocol description. 4. These output pins may be driven on either the rising or falling edge of the memory clock 5. These AC timing guidelines are for asynchronous memory types. Each parameter references the SA-1110’s internal memory clock. These parameters are not guaranteed for use under all operating conditions.

Table 13-5. SA-1110 AC Timing Table: MCP Interface and LCD Controller (Sheet 1 of 2)

Pin Name Symbol Parameter Min Max Unit Note

SFRM_C Tsfrmv SCLK_C rise to SFRM_C driven valid — 21 ns —

Trxds RXD_C valid to SCLK_C fall (input setup) 11 — ns —

RXD_C

Trxdh SCLK_C fall to RXD_C invalid (input hold) 0 — ns —

TXD_C Ttxdv SCLK_C rise to TXD_C valid — 22 ns —

L_LDD[7:0] Tpclkdv L_PCLK rise/fall to L_LDD[7:0] driven valid — 14 ns 1

Show 6 more labels / short text on this page
Memory Bus · 2, 5 · nIOIS16 · nPWAIT · MCP (CODEC) Interface · LCD Controller
Page 403 of the Intel SA-1110 user manual — 13.6.1 Asynchronous Signal Timing Descriptions
Page 403 · click to enlarge
Page 403

AC Parameters

Table 13-5. SA-1110 AC Timing Table: MCP Interface and LCD Controller (Sheet 2 of 2)

Pin Name Symbol Parameter Min Max Unit Note

L_LCLK Tpclklv L_PCLK fall/rise to L_LCLK driven valid — 14 ns 2

L_FCLK Tpclkfv L_PCLK fall/rise to L_LFCLK driven valid — 14 ns 2

L_BIAS Tpclkbv L_PCLK rise/fall to L_BIAS driven valid — 14 ns 2

NOTES:

1. The LCD data pins can be programmed to be driven on either the rising or falling edge of the pixel clock (L_PCLK). 2. These LCD signals can, at times, transition when L_PCLK is not clocking (between frames). At this time, they are clocked with the internal version of the pixel clock before it is driven out onto the L_PCLK pin.

13.6.1 Asynchronous Signal Timing Descriptions

The list below describes lists and describes asynchronous timing signals.

  • nPWAIT is an input and is received through a synchronizer. As such, it has no setup and hold specification. The user must adhere to the protocol definition.
  • When the peripheral pins are in GPIO mode, they are read or written under software control. As outputs, they are driven valid on the pin approximately 20 ns after they are written by software. When inputs, they are received by a synchronizer and must be valid for approximately 20 ns before they are able to be recognized by a CPU read.
  • nRESET must remain asserted for 150 ms after VDD and VDDX are stable to properly reset the SA-1110.
  • nRESET_OUT is asserted for all types of reset (hard, watchdog, sleep, and software) and appears on the pin asynchronously to all clocks.
  • BATT_FAULT and VDD_FAULT are asynchronous inputs and are synchronized to the 32.768-kHz clock after entering the SA-1110. They must be valid for approximately 60 ms before they are recognized by the SA-1110.
  • PWR_EN asserts when the SA-1110 enters sleep mode and is driven onto the pin following the rising edge of the 32.768-kHz clock. It negates on the same edge as sleep mode is exited.
  • GP[27:0] are read and written under software control. In addition, an asynchronous edge detect may be performed. When writing a value to these pins, the pin transitions approximately 20 ns after the write is performed. When reading these pins, the signal is first synchronized to the internal memory clock and must be valid for at least 20 ns before it is visible to a processor read. For edge detects, the value on the pin following an edge must be stable for at least 10 ns for the edge to be caught by the edge detect circuit.
  • UDC+, UDC-, TXD_1, RXD_1, TXD_2, RXD_2, TXD_3, and RXD_3 are asynchronous relative to any device outside the SA-1110. The output pins, like all outputs on the SA-1110, have been characterized while driving a 50-pF lumped load capacitance.
Page 404 of the Intel SA-1110 user manual — 13.6.1 Asynchronous Signal Timing Descriptions
Page 404 · click to enlarge
Page 404
Page 404 of the Intel SA-1110 user manual — 13.6.1 Asynchronous Signal Timing Descriptions
Page 405 of the Intel SA-1110 user manual — Package and Pinout 14
Page 405 · click to enlarge
Page 405

Package and Pinout 14

This chapter describes package mechanical data, package pin-out data, and design Revision Number identification data. Figure 14-1 shows the SA-1110 256-pin mini-BGA mechanical drawing. Table 14-1 lists the SA-1110 pins in numeric order, showing the signal type for each pin. Table 14-2 lists the SA-1110 pins and their corresponding ball grid array (BGA) in alphabetic order, showing the signal type for each pin. Use Table 14-3 to identify the SA1110's design revision number from physical marking on the SA1110's package.

Page 406 of the Intel SA-1110 user manual — Package and Pinout
Page 406 · click to enlarge
Page 406

Package and Pinout

Figure 14-1. SA-1110 256-Pin mBGA Mechanical Drawing

Intel SA-1110 — Package and Pinout diagram (page 406)
Fig. 88 · Package and Pinout
Page 407 of the Intel SA-1110 user manual — Package and Pinout
Page 407 · click to enlarge
Page 407

Package and Pinout

Table 14-1. SA-1110 Pinout – Numeric Signal Pin List

Pin Signal Type BGA

Pad Pin Signal Type BGA

Pad Pin Signal Type BGA

Pad Pin Signal Type BGA

1 RXD_C I/O B1 65 VDDX1 D5 129 nSDRAS O M14 193 RXD_2 I/O B10 2 TXD_C I/O C2 66 VSSX F7 130 nSDCAS O L16 194 TXD_2 I/O D10 3 VDDX2 E12 67 GP 21 I/O T3 131 nRAS 3 O L15 195 RXD_3 I/O C10 4 VSSX A1 68 GP 20 I/O R4 132 nRAS 2 O L14 196 TXD_3 I/O A10 5 VDD C1 69 GP 19 I/O T4 133 nRAS 1 O L13 197 VSSX H9 6 VSS D3 70 GP 18 I/O P5 134 nRAS 0 O K16 198 VDDX1 E10 7 D 0 I/O E4 71 GP 17 I/O R5 135 nCAS 3 O K13 199 VSS A9 8 D 8 I/O D2 72 GP 16 I/O T5 136 nCAS 2 O K15 200 TXTAL I B9 9 D 16 I/O D1 73 GP 15 I/O N6 137 VSSX G8 201 TEXTAL O C9 10 D 24 I/O E3 74 GP 14 I/O P6 138 VDDX2 K5 202 PEXTAL I A8 11 D 1 I/O F4 75 VDDX1 D9 139 VSS K14 203 PXTAL O B8 12 D 9 I/O E2 76 VSSX F8 140 VDD J16 204 VDDP C8 13 D 17 I/O E1 77 GP 13 I/O R6 141 nCAS 1 O J15 205 VSS D8 14 D 25 I/O F3 78 GP 12 I/O R7 142 nCAS 0 O J14 206 VDD A7 15 VDDX2 F12 79 GP 11 I/O T6 143 RD_nWR O J13 207 nRESET I B7 16 VSSX B2 80 GP 10 I/O P7 144 RDY I H13 208 nRESET_OUT O C7 17 D 2 I/O F2 81 GP 9 I/O T7 145 nCS 5 O H16 209 VDDX3 D7 18 D 10 I/O F1 82 GP 8 I/O P8 146 nCS 4 O H15 210 ROMSEL I D6 19 D 18 I/O G4 83 GP 7 I/O N8 147 nCS 3 O H14 211 TCK_BYP I A6 20 D 26 I/O G3 84 GP 6 I/O R8 148 nCS 2 O G16 212 TESTCLK I B6 21 D 3 I/O G2 85 VDDX1 D11 149 VSSX G9 213 TMS I C6 22 D 11 I/O H6 86 VSSX F9 150 VDDX2 K12 214 TCK I C5 23 D 19 I/O G1 87 VDD T8 151 nCS 1 O G15 215 TDI I A5 24 D 27 I/O H4 88 VSS R9 152 nCS 0 O G14 216 TDO O B5 25 VDD H3 89 GP 5 I/O P9 153 A 25 O F16 217 nTRST I B4 26 VSS H2 90 GP 4 I/O T9 154 A 24 O G13 218 BATT_FAULT I A4 27 VDDX2 G5 91 GP 3 I/O N10 155 A 23 O F13 219 VSSX H10 28 VSSX C3 92 GP 2 I/O R10 156 A 22 O F15 220 VDDX1 E11 29 D 4 I/O H1 93 GP 1 I/O P10 157 A 21 O E16 221 VDD_FAULT I C4 30 D 12 I/O J6 94 GP 0 I/O T10 158 A 20 O F14 222 PWR_EN O A3 31 D 20 I/O J2 95 L_BIAS I/O R11 159 VSSX G10 223 SFRM_C O B3 32 D 28 I/O J3 96 L_PCLK I/O P11 160 VDDX2 L5 224 SCLK_C O A2 33 D 5 I/O J4 97 VDDX1 E6 161 A 19 O E15 VDDX1 K10 34 D 13 I/O J1 98 VSSX F10 162 A 18 O D16 VDDX1 K11 35 D 21 I/O K2 99 LDD0 I/O N12 163 A 17 O E14 VDDX1 L10 36 D 29 I/O K3 100 LDD1 I/O T11 164 A 16 O D15 VDDX1 L11 37 VDDX2 G12 101 LDD2 I/O R12 165 A 15 O C16 VDDX1 M6 38 VSSX D4 102 LDD3 I/O P12 166 A 14 O E13 VDDX1 M7 39 D 6 I/O K1 103 LDD4 I/O T12 167 VSS D14 VDDX1 M8 40 D 14 I/O K4 104 LDD5 I/O R13 168 VDD C15 VDDX1 M9 41 D 22 I/O L3 105 LDD6 I/O T13 169 VSSX G11 VDDX1 M10 42 D 30 I/O L2 106 LDD7 I/O P13 170 VDDX2 L12 VDDX1 M11 43 D 7 I/O L1 107 VDDX1 E7 171 A 13 O D13 VDDX1 N7 44 D 15 I/O L4 108 VSSX F11 172 A 12 O B16 VDDX1 N9 45 D 23 I/O M2 109 L_LCLK I/O R14 173 A 11 O C14 VDDX1 N11 46 D 31 I/O M1 110 L_FCLK I/O T14 174 A 10 O B14 VDDX2 F5 47 VDDX2 H5 111 nPOE O R15 175 A 9 O B15 VDDX2 M5 48 VSSX E5 112 nPWE O T15 176 A 8 O A16 VDDX2 M12 49 SDCLK 2 O M3 113 nPIOR O T16 177 VSSX H7 VDDX2 N4 50 SDCKE 1 O N2 114 nPIOW O R16 178 VDDX1 E8 VDDX2 N5 51 SDCLK 1 O N3 115 VSSX G6 179 A 7 O A15 VSSX H11 52 SDCKE 0 O N1 116 VDDX2 J5 180 A 6 O A14 VSSX J7 53 SDCLK 0 O P1 117 VSS P14 181 A 5 O B13 VSSX J8 54 SMROM_EN I M4 118 VDD P15 182 A 4 O C13 VSSX J9 55 VDD P3 119 PSKTSL O P16 183 A 3 O A13 VSSX J10 56 VSS P2 120 nIOS16 I N13 184 A 2 O B12 VSSX J11 57 VDDX2 H12 121 nPWAIT I N16 185 A 1 O C12 VSSX K6 58 VSSX F6 122 nPREG O N14 186 A 0 O D12 VSSX K7 59 GP 27 I/O R1 123 nPCE2 O N15 187 VSSX H8 VSSX K8 60 GP 26 I/O T1 124 nPCE1 O M16 188 VDDX1 E9 VSSX K9 61 GP 25 I/O R2 125 nWE O M13 189 UDC- I/O A12 VSSX L6 62 GP 24 I/O P4 126 nOE O M15 190 UDC+ I/O C11 VSSX L7 63 GP 23 I/O T2 127 VSSX G7 191 RXD_1 I/O B11 VSSX L8 64 GP 22 I/O R3 128 VDDX2 J12 192 TXD_1 I/O A11 VSSX L9

Pad

Page 408 of the Intel SA-1110 user manual — Package and Pinout
Page 408 · click to enlarge
Page 408

Package and Pinout

Table 14-2. SA-1110 Pinout – Alphabetic Signal Pin List

BGA

Pad Signal Type Pin BGA

Pad Signal Type Pin BGA

Pad Signal Type Pin BGA

Pad Signal Type Pin

A1 VSSX 4 E1 D 17 I/O 13 J1 D 13 I/O 34 N1 SDCKE 0 O 52 A2 SCLK_C O 224 E2 D 9 I/O 12 J2 D 20 I/O 31 N2 SDCKE 1 O 50 A3 PWR_EN O 222 E3 D 24 I/O 10 J3 D 28 I/O 32 N3 SDCLK 1 O 51 A4 BATT_FAULT I 218 E4 D 0 I/O 7 J4 D 5 I/O 33 N4 VDDX2 A5 TDI I 215 E5 VSSX 48 J5 VDDX2 116 N5 VDDX2 A6 TCK_BYP I 211 E6 VDDX1 97 J6 D 12 I/O 30 N6 GP 15 I/O 73 A7 VDD 206 E7 VDDX1 107 J7 VSSX N7 VDDX1 A8 PEXTAL O 202 E8 VDDX1 178 J8 VSSX N8 GP 7 I/O 83 A9 VSS 199 E9 VDDX1 188 J9 VSSX N9 VDDX1 A10 TXD_3 I/O 196 E10 VDDX1 198 J10 VSSX N10 GP 3 I/O 91 A11 TXD_1 I/O 192 E11 VDDX1 220 J11 VSSX N11 VDDX1 A12 UDC- I/O 189 E12 VDDX2 3 J12 VDDX2 128 N12 LDD0 I/O 99 A13 A 3 O 183 E13 A 14 O 166 J13 RD_nWR O 143 N13 nIOIS16 I 120 A14 A 6 O 180 E14 A 17 O 163 J14 nCAS 0 O 142 N14 nPREG O 122 A15 A 7 O 179 E15 A 19 O 161 J15 nCAS 1 O 141 N15 nPCE2 O 123 A16 A 8 O 176 E16 A 21 O 157 J16 VDD 140 N16 nPWAIT I 121 B1 RXD_C I/O 1 F1 D 10 I/O 18 K1 D 6 I/O 39 P1 SDCLK 0 O 53 B2 VSSX 16 F2 D 2 I/O 17 K2 D 21 I/O 35 P2 VSS 56 B3 SFRM_C O 223 F3 D 25 I/O 14 K3 D 29 I/O 36 P3 VDD 55 B4 nTRST I 217 F4 D 1 I/O 11 K4 D 14 I/O 40 P4 GP 24 I/O 62 B5 TDO O 216 F5 VDDX2 K5 VDDX2 138 P5 GP 18 I/O 70 B6 TESTCLK I 212 F6 VSSX 58 K6 VSSX P6 GP 14 I/O 74 B7 NRESET I 207 F7 VSSX 66 K7 VSSX P7 GP 10 I/O 80 B8 PXTAL I 203 F8 VSSX 76 K8 VSSX P8 GP 8 I/O 82 B9 TXTAL I 200 F9 VSSX 86 K9 VSSX P9 GP 5 I/O 89 B10 RXD_2 I/O 193 F10 VSSX 98 K10 VDDX1 P10 GP 1 I/O 93 B11 RXD_1 I/O 191 F11 VSSX 108 K11 VDDX1 P11 L_PCLK I/O 96 B12 A 2 O 184 F12 VDDX2 15 K12 VDDX2 150 P12 LDD3 I/O 102 B13 A 5 O 181 F13 A 23 O 155 K13 nCAS 3 O 135 P13 LDD7 I/O 106 B14 A 10 O 174 F14 A 20 O 158 K14 VSS 139 P14 VSS 117 B15 A 9 O 175 F15 A 22 O 156 K15 nCAS 2 O 136 P15 VDD 118 B16 A 12 O 172 F16 A 25 O 153 K16 nRAS 0 O 134 P16 PSKTSEL O 119 C1 VDD 5 G1 D 19 I/O 23 L1 D 7 I/O 43 R1 GP 27 I/O 59 C2 TXD_C I/O 2 G2 D 3 I/O 21 L2 D 30 I/O 42 R2 GP 25 I/O 61 C3 VSSX 28 G3 D 26 I/O 20 L3 D 22 I/O 41 R3 GP 22 I/O 64 C4 VDD_FAULT I 221 G4 D 18 I/O 19 L4 D 15 I/O 44 R4 GP 20 I/O 68 C5 TCK I 214 G5 VDDX2 27 L5 VDDX2 160 R5 GP 17 I/O 71 C6 TMS I 213 G6 VSSX 115 L6 VSSX R6 GP 13 I/O 77 C7 nRESET_OUT O 208 G7 VSSX 127 L7 VSSX R7 GP 12 I/O 78 C8 VDDP 204 G8 VSSX 137 L8 VSSX R8 GP 6 I/O 84 C9 TEXTAL O 201 G9 VSSX 149 L9 VSSX R9 VSS 88 C10 RXD_3 I/O 195 G10 VSSX 159 L10 VDDX1 R10 GP 2 I/O 92 C11 UDC+ I/O 190 G11 VSSX 169 L11 VDDX1 R11 L_BIAS I/O 95 C12 A 1 O 185 G12 VDDX2 37 L12 VDDX2 170 R12 LDD2 I/O 101 C13 A 4 O 182 G13 A 24 O 154 L13 nRAS 1 O 133 R13 LDD5 I/O 104 C14 A 11 O 173 G14 nCS 0 O 152 L14 nRAS 2 O 132 R14 L_LCLK I/O 109 C15 VDD 168 G15 nCS 1 O 151 L15 nRAS 3 O 131 R15 nPOE O 111 C16 A 15 O 165 G16 nCS 2 O 148 L16 nSDCAS O 130 R16 nPIOW O 114 D1 D 16 I/O 9 H1 D 4 I/O 29 M1 D 31 I/O 46 T1 GP 26 I/O 60 D2 D 8 I/O 8 H2 VSS 26 M2 D 23 I/O 45 T2 GP 23 I/O 63 D3 VSS 6 H3 VDD 25 M3 SDCLK 2 O 49 T3 GP 21 I/O 67 D4 VSSX 38 H4 D 27 I/O 24 M4 SMROM_EN I 54 T4 GP 19 I/O 69 D5 VDDX1 65 H5 VDDX2 47 M5 VDDX2 T5 GP 16 I/O 72 D6 ROMSEL I 210 H6 D 11 I/O 22 M6 VDDX1 T6 GP 11 I/O 79 D7 VDDX3 209 H7 VSSX 177 M7 VDDX1 T7 GP 9 I/O 81 D8 VSS 205 H8 VSSX 187 M8 VDDX1 T8 VDD 87 D9 VDDX1 75 H9 VSSX 197 M9 VDDX1 T9 GP 4 I/O 90 D10 TXD_2 I/O 194 H10 VSSX 219 M10 VDDX1 T10 GP 0 I/O 94 D11 VDDX1 85 H11 VSSX M11 VDDX1 T11 LDD1 I/O 100 D12 A 0 O 186 H12 VDDX2 57 M12 VDDX2 T12 LDD4 I/O 103 D13 A 13 O 171 H13 RDY I 144 M13 nWE O 125 T13 LDD6 I/O 105 D14 VSS 167 H14 nCS 3 O 147 M14 nSDRAS O 129 T14 L_FCLK I/O 110 D15 A 16 O 164 H15 nCS 4 O 146 M15 nOE O 126 T15 nPWE O 112 D16 A 18 O 162 H16 nCS 5 O 145 M16 nPCE1 O 124 T16 nPIOR O 113

Page 409 of the Intel SA-1110 user manual — SL3Z4 (MM#827856) 1 1.55 256PBGA 133 B1
Page 409 · click to enlarge
Page 409

Package and Pinout

Table 14-3. Package Marking Versus Revision Number

Package Markings Voltage (V) Package Type Speed (MHz) Stepping2

SL3Z4 (MM#827856) 1 1.55 256PBGA 133 B1

SL3Z5 (MM#827859) 1 1.75 256PBGA 206 B1

GDS1110AB 1 1.55 256PBGA 133 B2

GDS1110BB 1 1.75 256PBGA 206 B2

GDS1110AC 1.55 256PBGA 133 B4

GDS1110BC 1.75 256PBGA 206 B4

GDS1110AD 1.55 256PBGA 133 B5

GDS1110BD 1.75 256PBGA 206 B5

NOTES:

1. This device can no longer be ordered. 2. This value may be read from the ID register Register 0
Page 410 of the Intel SA-1110 user manual — Package and Pinout 14
Page 410 · click to enlarge
Page 410
Page 410 of the Intel SA-1110 user manual — Package and Pinout 14
Page 411 of the Intel SA-1110 user manual — 15.2 Data Breakpoint
Page 411 · click to enlarge
Page 411

Debug Support 15

Due to the integration level of the Intel® StrongARM* SA-1110 Microprocessor (SA-1110), many functions are not directly visible on the external pins. Therefore, some basic debug facilities are provided that are not present on the Intel StrongARM SA-110 Microprocessor (SA-110). These facilities are in the form of breakpoints that provide the user with the ability to stop execution after seeing a specific reference in either the instruction or data streams. Execution then proceeds to an exception routine during which the user may examine the internal state of the machine. The instruction and data breakpoint facilities are described in this chapter. The breakpoints are enabled through additions to coprocessor 15.

15.1 Instruction Breakpoint

The instruction breakpoint allows the user to stop the processor execution after the execution of an instruction at a selected address. This address is programmed into the instruction breakpoint address and control register (IBCR). This register is 32 bits wide and contains the address value for the breakpoint, and a bit to enable the breakpoint. Bit 0 is the enable bit. When set, this bit enables the breakpoint and when cleared, it disables the breakpoint. Bit 1 is reserved and has no effect when written. Bits 31..2 are compared against the fetch address to qualify the breakpoint. When the breakpoint is enabled, the SA-1110 executes until the instruction at this address is fetched and the fetch address equals the program counter (ignoring bits 0 and 1 of the address). At this point, the processor takes a prefetch abort exception. The interrupt routine must examine R14 (the saved program counter) to determine if the exception was caused by the breakpoint.

The IBCR is loaded by way of coprocessor 15, register 14. Access to this register is privileged. See the Section 6.1, “Internal Coprocessor Instructions” on page 6-55 for details on the format of the instruction used to access the IBCR.

15.2 Data Breakpoint

The data breakpoint allows the user to stop the processor execution after a load or store operation to a particular address. The data breakpoint address is programmed into the data breakpoint address register (DBAR) and is a full 32-bit value (to permit breakpoints on byte accesses).

For stores, the breakpoint condition may also be programmed to include a particular data pattern as well as the reference address. The data value is programmed by way of the data breakpoint value register (DBVR) and the data breakpoint mask register (DBMR). The DBVR is a 32-bit register containing the value against which the store data is compared. The data value can be further qualified through the data breakpoint mask register (DBMR). The DBMR is a 32-bit register containing mask information indicating which bits in the store data should be compared against the DBMR. A 1 in a particular bit position in the DBMR indicates that bit in the DBVR should be compared against the store data to qualify the breakpoint. To cause a breakpoint on a store data value, the address breakpoint must also be enabled, otherwise, no breakpoint will occur.

Breakpoints on loads are permitted only through an address match. Breakpoints on load address, store address, and store data are enabled and disabled through the data breakpoint control register (DBCR). A single bit is defined for each action. When a breakpoint is taken, the processor takes a data abort exception and sets bit 9 in the fault status register (FSR). The DBAR, DBVR, and DBMR are loaded by way of coprocessor 15, register 14. Access to this register is privileged.

Page 412 of the Intel SA-1110 user manual — Debug Support 15
Page 412 · click to enlarge
Page 412
Page 412 of the Intel SA-1110 user manual — Debug Support 15
Page 413 of the Intel SA-1110 user manual — Figure 16-1. Test Access Port (TAP) Controller State Transitions
Page 413 · click to enlarge
Page 413

Boundary-Scan Test Interface 16

The boundary-scan interface conforms to the IEEE Std. 1149.1 – 1990, Standard Test Access Port and Boundary-Scan Architecture. (Refer to this standard for an explanation of the terms used in this section and for a description of the TAP controller states.) The Intel® StrongARM* SA-1110 Microprocessor (SA-1110) supports only JTAG continuity testing.

16.1 Overview

The boundary-scan interface provides a means of driving and sampling all the external pins of the device irrespective of the core state. This function permits testing of both the device's electrical connections to the circuit board and (in conjunction with other devices on the circuit board having a similar interface) testing the integrity of the circuit board connections between devices. The interface intercepts all external connections within the device, and each such “cell” is then connected together to form a serial shift register (the boundary-scan register). The whole interface is controlled via five dedicated pins: TDI, TMS, TCK, nTRST, and TDO. Figure 16-1 shows the state transitions that occur in the TAP controller. Note that all SA-1110 signals participate in the boundary scan. However, in the case of the PWR_EN pin, the contents of the scan latches are not placed on the pin. This is to prevent a scan operation from turning off power to the SA-1110.

Figure 16-1. Test Access Port (TAP) Controller State Transitions

Intel SA-1110 — Figure 16-1. Test Access Port (TAP) Controller State Transitions diagram (page 413)
Fig. 89 · Figure 16-1. Test Access Port (TAP) Controller State…
Page 414 of the Intel SA-1110 user manual — The following public instructions are supported:
Page 414 · click to enlarge
Page 414

Boundary-Scan Test Interface

16.2 Reset

The boundary-scan interface includes a state-machine controller (the TAP controller). To force the TAP controller into the correct state after power-up of the device, a reset pulse must be applied to the nTRST pin. If the boundary-scan interface is to be used, then nTRST must be driven low, and then high again. If the boundary-scan interface is not to be used, then the nTRST pin may be tied permanently low. Note that a clock on TCK is not necessary to reset the device.

The action of reset (either a pulse or a DC level) is as follows:

  • System mode is selected (the boundary-scan chain does NOT intercept any of the signals passing between the pads and the core).
  • IDcode mode is selected. If TCK is pulsed, the contents of the ID register will be clocked out of TDO.

16.3 Pull-Up Resistors

The IEEE 1149.1 standard effectively requires that TDI, nTRST, and TMS should have internal pull-up resistors. To minimize static current draw, nTRST has an internal pull-down resistor. These pins can be left unconnected for normal operation and overdriven to use the JTAG features.

16.4 Instruction Register

The instruction register is 5 bits in length. There is no parity bit. The fixed value loaded into the instruction register during the CAPTURE-IR controller state is: 00001.

16.5 Public Instructions

The following public instructions are supported:

Instruction Binary Code

EXTEST 00000 SAMPLE/PRELOAD 00001 CLAMP 00100 HIGHZ 00101 IDCODE 00110 BYPASS 11111

Private 00010, 00011, 00111, 01000-01111, 10000-11110

In the descriptions that follow, TDI and TMS are sampled on the rising edge of TCK, and all output transitions on TDO occur as a result of the falling edge of TCK.

Page 415 of the Intel SA-1110 user manual — 16.5.3 CLAMP (00100)
Page 415 · click to enlarge
Page 415

Boundary-Scan Test Interface

16.5.1 EXTEST (00000)

The boundary-scan (BS) register is placed in test mode by the EXTEST instruction. The EXTEST instruction connects the BS register between TDI and TDO. When the instruction register is loaded with the EXTEST instruction, all the boundary-scan cells are placed in their test mode of operation.

In the CAPTURE-DR state, inputs from the system pins and outputs from the boundary-scan output cells to the system pins are captured by the boundary-scan cells. In the SHIFT-DR state, the previously captured test data is shifted out of the BS register via the TDO pin, while new test data is shifted in via the TDI pin to the BS register parallel input latch. In the UPDATE-DR state, the new test data is transferred into the BS register parallel output latch. Note that this data is applied immediately to the system logic and system pins.

16.5.2 SAMPLE/PRELOAD (00001)

The BS register is placed in normal (system) mode by the SAMPLE/PRELOAD instruction. The SAMPLE/PRELOAD instruction connects the BS register between TDI and TDO. When the instruction register is loaded with the SAMPLE/PRELOAD instruction, all the boundary-scan cells are placed in their normal system mode of operation.

In the CAPTURE-DR state, a snapshot of the signals at the boundary-scan cells is taken on the rising edge of TCK. Normal system operation is unaffected. In the SHIFT-DR state, the sampled test data is shifted out of the BS register via the TDO pin, while new data is shifted in via the TDI pin to preload the BS register parallel input latch. In the UPDATE-DR state, the preloaded data is transferred into the BS register parallel output latch. Note that this data is not applied to the system logic or system pins while the SAMPLE/PRELOAD instruction is active. This instruction should be used to preload the boundary-scan register with known data prior to selecting EXTEST instructions.

16.5.3 CLAMP (00100)

The CLAMP instruction connects a 1-bit shift register (the BYPASS register) between TDI and TDO.

When the CLAMP instruction is loaded into the instruction register, the state of all output signals is defined by the values previously loaded into the boundary-scan register. A guarding pattern (specified for this device at the end of this section) should be preloaded into the boundary-scan register using the SAMPLE/PRELOAD instruction prior to selecting the CLAMP instruction.

In the CAPTURE-DR state, a logic 0 is captured by the bypass register. In the SHIFT-DR state, test data is shifted into the bypass register via TDI and out via TDO after a delay of one TCK cycle. Note that the first bit shifted out will be a zero. The bypass register is not affected in the UPDATE-DR state.

Page 416 of the Intel SA-1110 user manual — 16.5.6 BYPASS (11111)
Page 416 · click to enlarge
Page 416

Boundary-Scan Test Interface

16.5.4 HIGHZ (00101)

The HIGHZ instruction connects a 1-bit shift register (the BYPASS register) between TDI and TDO. When the HIGHZ instruction is loaded into the instruction register, all outputs are placed in an inactive drive state.

In the CAPTURE-DR state, a logic 0 is captured by the bypass register. In the SHIFT-DR state, test data is shifted into the bypass register via TDI and out via TDO after a delay of one TCK cycle. Note that the first bit shifted out will be a zero. The bypass register is not affected in the UPDATE-DR state.

16.5.5 IDCODE (00110)

The IDCODE instruction connects the device identification register (or ID register) between TDI and TDO. The ID register is a 32-bit register that allows the manufacturer, part number and version of a component to be determined through the TAP. When the instruction register is loaded with the IDCODE instruction, all the boundary-scan cells are placed in their normal (system) mode of operation.

In the CAPTURE-DR state, the device identification code (specified at the end of this section) is captured by the ID register. In the SHIFT-DR state, the previously captured device identification code is shifted out of the ID register via the TDO pin, while data is shifted in via the TDI pin into the ID register. In the UPDATE-DR state, the ID register is unaffected.

16.5.6 BYPASS (11111)

The BYPASS instruction connects a 1-bit shift register (the BYPASS register) between TDI and TDO. When the BYPASS instruction is loaded into the instruction register, all the boundary-scan cells are placed in their normal (system) mode of operation. This instruction has no effect on the system pins.

In the CAPTURE-DR state, a logic 0 is captured by the bypass register. In the SHIFT-DR state, test data is shifted into the bypass register via TDI and out via TDO after a delay of one TCK cycle. Note that the first bit shifted out will be a zero. The bypass register is not affected in the UPDATE-DR state.

Page 417 of the Intel SA-1110 user manual — Length: 1 bit
Page 417 · click to enlarge
Page 417

Boundary-Scan Test Interface

16.6 Test Data Registers

Figure 16-2 illustrates the structure of the boundary-scan logic.

Figure 16-2. Boundary-Scan Block Diagram

BSINENCELL

I/O Cell Intel® StrongARM*

BSINCELL

BSINCELL

SA-1110

BSOUTCELL

BSOUTNENCELL

BSOUTCELL

TDO

TDI

TMS

TCK

A6831-01

16.6.1 Bypass Register

Purpose: This is a single-bit register that can be selected as the path between TDI and TDO to allow the device to be bypassed during boundary-scan testing.

Length: 1 bit

Operating Mode: When the BYPASS instruction is the current instruction in the instruction register, serial data is transferred from TDI to TDO in the SHIFT-DR state with a delay of one TCK cycle.

There is no parallel output from the bypass register.

A logic 0 is loaded from the parallel input of the bypass register in the CAPTURE-DR state.

Show 8 more labels / short text on this page
Core Logic · Device ID Register · Bypass Register · Instruction Decoder · Instruction Register · TAP Controller · nTDOEN · nTRST
Page 418 of the Intel SA-1110 user manual — 16.6.3 Intel ® StrongARM SA-1110 Boundary-Scan (BS) Register
Page 418 · click to enlarge
Page 418

Boundary-Scan Test Interface

16.6.2 Intel ® StrongARM SA-1110 Device Identification (ID) Code Register

This register is used to read the 32-bit device identification code. No programmable supplementary identification code is provided. When the IDCODE instruction is current, this register is selected as the serial path between TDI and TDO. The 32-bit device identification code is loaded into the register from its parallel inputs during the CAPTURE-DR state..

SA-1110 Device Identification (ID)

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Stepping Part Number Manufacturer ID

Stepping Stepping revision of the SA-1110 0000 = A0 stepping 0100 = B0 stepping 0101 = B1 stepping 0110 = B2 stepping 1000 = B4 stepping 1001 = B5 stepping Part Number Part number 1001001001100001 = SA1110 Manufacturer ID Manufacturer ID 00000001001 = Intel Corporation Constant 1

16.6.3 Intel ® StrongARM SA-1110 Boundary-Scan (BS) Register

Purpose: The BS register consists of a serially connected set of cells around the periphery of the device, at the interface between the core logic and the system input/output pads. This register can be used to isolate the pins from the core logic and then drive or monitor the system pins.

Operating Modes: The BS register is selected as the register to be connected between TDI and TDO only during the SAMPLE/PRELOAD and EXTEST instructions. Values in the BS register are used, but are not changed, during the CLAMP instruction.

In the normal (system) mode of operation, straight-through connections between the core logic and pins are maintained, and normal system operation is unaffected.

In TEST mode (when EXTEST is the currently selected instruction), values can be applied to the output pins independently of the actual values on the input pins and core logic outputs. On the SA-1110, all of the boundary-scan cells include update registers; thus, all of the pins can be controlled in the above manner. An additional boundary-scan cell is interposed in the scan chain to control the enabling of the data bus.

Code Register Read-Only · Constant

Page 419 of the Intel SA-1110 user manual — Figure 16-3. Boundary-Scan General Timing
Page 419 · click to enlarge
Page 419

Boundary-Scan Test Interface

Table 16-2 shows the correspondence between boundary-scan cells and system pins, system direction controls, and system output enables. The cells are listed in the order in which they are connected in the boundary-scan register, starting with the cell closest to TDI.

The EXTEST guard values should be clocked into the boundary-scan register (using the SAMPLE/PRELOAD instruction) before the EXTEST instruction is selected, to ensure that known data is applied to the core logic during the test. These guard values should also be used when new EXTEST vectors are clocked into the boundary-scan register.

The values stored in the BS register after power-up are not defined. Similarly, the values previously clocked into the BS register are not guaranteed to be maintained across a boundary-scan reset (from forcing nTRST low or entering the Test Logic Reset state).

Figure 16-3, Figure 16-4, and Figure 16-5 show the typical timing for the BS register.

16.7 Boundary-Scan Interface Signals

Figure 16-3. Boundary-Scan General Timing

A4772-01

Show 14 more labels / short text on this page
Tbscl Tbsch · tck · tms, tdi · Tbsis · Tbsih · tdo · Tbsoh · Tbsod · Data In · Tbsss · Tbssh · Data Out · Tbsdh · Tbsdd
Page 420 of the Intel SA-1110 user manual — Boundary-Scan Test Interface
Page 420 · click to enlarge
Page 420

Boundary-Scan Test Interface

Figure 16-4. Boundary-Scan Tristate Timing

A4773-01

Figure 16-5. Boundary-Scan Reset Timing

A4771-01

Show 9 more labels / short text on this page
tck · tdo · Tbsoe Tbsoz · Data Out · Tbsde Tbsdz · ntrst · Tbsr · tms Tbsrs · Tbsrh
Page 421 of the Intel SA-1110 user manual — NOTES:
Page 421 · click to enlarge
Page 421

Boundary-Scan Test Interface

Table 16-1 shows the SA-1110 boundary-scan interface timing guidelines.

Table 16-1. SA-1110 Boundary-Scan Interface Timing

Symbol Parameter Minimum Typical Maximum Units Notes

Tbscl TCK low period 50 – – ns 8

Tbsch TCK high period 50 – – ns 8

Tbsis TDI,TMS setup to TCr 10 – – ns –

Tbsih TDI,TMS hold from TCr 10 – – ns –

Tbsoh TDO hold time 5 – – ns 1

Tbsod TCf to TDO valid – – 40 ns 1

Tbsss I/O signal setup to TCr 5 – – ns 4

Tbssh I/O signal hold from TCr 20 – – ns 4

Tbsdh Data output hold time 5 – – ns 5

Tbsdd TCf to data output valid – – 40 ns –

Tbsoe TDO enable time 5 – – ns 1,2

Tbsoz TDO disable time – – 40 ns 1,3

Tbsde Data output enable time 5 – – ns 5,6

Tbsdz Data output disable time – – 40 ns 5,7

Tbsr Reset period 30 — — ns —

Tbsrs TMS setup to TRr 10 — — ns —

Tbsrh TMS hold from TRr 10 — — ns —

NOTES:

1. Assumes a 25-pF load on TDO. Output timing derates at 0.072 ns/pF of extra load applied. 2. TDO enable time applies when the TAP controller enters the Shift-DR or Shift-IR states. 3. TDO disable time applies when the TAP controller leaves the Shift-DR or Shift-IR states. 4. For correct data latching, the I/O signals (from the core and the pads) must be set up and held with respect to the rising edge of TCK in the CAPTURE-DR state of the SAMPLE/PRELOAD and EXTEST instructions. 5. Assumes that the data outputs are loaded with the ac test loads. 6. Data output enable time applies when the boundary-scan logic is used to enable the output drivers. 7. Data output disable time applies when the boundary scan is used to disable the output drivers. 8. TCK may be stopped indefinitely in either the low or high phase.

Page 422 of the Intel SA-1110 user manual — EX
Page 422 · click to enlarge
Page 422

Boundary-Scan Test Interface

Table 16-2 shows the SA-1110 correspondence between boundary-scan cells and system pins, system direction controls and system output enables.

Key to Table :

IN Input pad

OUT Output pad

EN Enable

OEL Output enable latch

OEL† Output enable latch for nWE, nOE, nSDRAS, nSDCAS, nRAS 0, nCAS[3:0], A[25:0]

ICL Input capture latch

OCL Output capture latch

VDCL Voltage differential capture latch

Table 16-2. Boundary-Scan Signals and Pins (Sheet 1 of 4)

No. Pin Type BS Cell BS Function

No. Pin Type BS Cell BS Function

EX

1 BATT_FAULT IN qjti ICL 35 D 10 IN qjti ICL

2 VDD_FAULT IN qjti ICL 36 D 18 OUT qjto OCL

3 PWR_EN OUT qjtogp OCL 37 D 18 IN qjti ICL 4 SFRM_C EN qjtena OEL 38 D 26 OUT qjto OCL

5 SFRM_C OUT qjto OCL 39 D 26 IN qjti ICL

6 SFRM_C IN qjti ICL 40 D 3 OUT qjto OCL 7 SCLK_C EN qjtena OEL 41 D 3 IN qjti ICL

8 SCLK_C OUT qjto OCL 42 D 11 OUT qjto OCL

9 SCLK_C IN qjti ICL 43 D 11 IN qjti ICL 10 RXD_C EN qjtena OEL 44 D 19 OUT qjto OCL

11 RXD_C OUT qjto OCL 45 D 19 IN qjti ICL

12 RXD_C IN qjti ICL 46 D 27 OUT qjto OCL 13 TXD_C EN qjtena OEL 46 D 27 IN qjti ICL

14 TXD_C OUT qjto OCL 48 D 4 OUT qjto OCL

15 TXD_C IN qjti ICL 49 D 4 IN qjti ICL 16 D 0 OUT qjto OCL 50 D 12 OUT qjto OCL

17 D 0 IN qjti ICL 51 D 12 IN qjti ICL

18 D 8 OUT qjto OCL 52 D 20 OUT qjto OCL 19 D 8 IN qjti ICL 53 D 20 IN qjti ICL 20 D 16 OUT qjto OCL 54 D 28 OUT qjto OCL

21 D 16 IN qjti ICL 55 D 28 IN qjti ICL 22 D 24 OUT qjto OCL 56 D 5 OUT qjto OCL

23 D 24 IN qjti ICL 57 D 5 IN qjti ICL

24 D 1 OUT qjto OCL 58 D 13 OUT qjto OCL 25 D 1 IN qjti ICL 59 D 13 IN qjti ICL

26 D 9 OUT qjto OCL 60 D 21 OUT qjto OCL 27 D 9 IN qjti ICL 61 D 21 IN qjti ICL 28 D 17 OUT qjto OCL 62 D 29 OUT qjto OCL

29 D 17 IN qjti ICL 63 D 29 IN qjti ICL

30 D 25 OUT qjto OCL 64 D 6 OUT qjto OCL 31 D 25 IN qjti ICL 65 D 6 IN qjti ICL 32 D 2 OUT qjto OCL 66 D 14 OUT qjto OCL

33 D 2 IN qjti ICL 67 D 14 IN qjti ICL 34 D 10 OUT qjto OCL 68 D 22 OUT qjto OCL

Show 5 more labels / short text on this page
Guard · Guard · Value · Value · EX from TDI
Page 424 of the Intel SA-1110 user manual — EX
Page 424 · click to enlarge
Page 424

Boundary-Scan Test Interface

Table 16-2. Boundary-Scan Signals and Pins (Sheet 3 of 4)

No. Pin Type BS Cell BS Function

No. Pin Type BS Cell BS Function

EX

EX

175 L_PCLK EN qjtena OEL 228 nCAS 2 OUT qjto OCL

176 L_PCLK OUT qjto OCL 229 nCAS 1 OUT qjto OCL

177 L_PCLK IN qjti ICL 230 nCAS 0 OUT qjto OCL 178 L_DD 0 EN qjtena OEL 231 RD/nWR OUT qjto OCL

179 L_DD 0 OUT qjto OCL 232 RDY IN qjti ICL

180 L_DD 0 IN qjti ICL 233 nCS 5 OUT qjto OCL 181 L_DD 1 EN qjtena OEL 234 nCS 4 OUT qjto OCL

182 L_DD 1 OUT qjto OCL 235 nCS 3 OUT qjto OCL

183 L_DD 1 IN qjti ICL 236 nCS 2 OUT qjto OCL 184 L_DD 2 EN qjtena OEL 237 nCS 1 OUT qjto OCL

185 L_DD 2 OUT qjto OCL 238 nCS 0 OUT qjto OCL

186 L_DD 2 IN qjti ICL 239 A 25 OUT qjto_fast OCL

187 L_DD 3 EN qjtena OEL 240 A 24 OUT qjto_fast OCL 188 L_DD 3 OUT qjto OCL 241 A 23 OUT qjto_fast ICL

189 L_DD 3 IN qjti ICL 242 A 22 OUT qjto_fast OCL

190 L_DD 4 EN qjtena OEL 243 A 21 OUT qjto_fast OCL 191 L_DD 4 OUT qjto OCL 244 A 20 OUT qjto_fast OCL

192 L_DD 4 IN qjti ICL 245 A 19 OUT qjto_fast OCL

193 L_DD 5 EN qjtena OEL 246 A 18 OUT qjto_fast OCL 194 L_DD 5 OUT qjto OCL 247 A 17 OUT qjto_fast OCL

195 L_DD 5 IN qjti ICL 248 A 16 OUT qjto_fast OCL

196 L_DD 6 EN qjtena OEL 249 A 15 OUT qjto_fast OCL 197 L_DD 6 OUT qjto OCL 250 A 14 OUT qjto_fast ICL

198 L_DD 6 IN qjti ICL 251 A 13 OUT qjto_fast OCL

199 L_DD 7 EN qjtena OEL 252 A 12 OUT qjto_fast OCL 200 L_DD 7 OUT qjto OCL 253 A 11 OUT qjto_fast OCL

201 L_DD 7 IN qjti ICL 254 A 10 OUT qjto_fast OCL

202 L_LCLK EN qjtena OEL 255 A 9 OUT qjto OCL 203 L_LCLK OUT qjto OCL 256 A 8 OUT qjto OCL

204 L_LCLK IN qjti ICL 257 A 7 OUT qjto OCL

205 L_FCLK EN qjtena OEL 258 A 6 OUT qjto OCL 206 L_FCLK OUT qjto OCL 259 A 5 OUT qjto ICL

207 L_FCLK IN qjti ICL 260 A 4 OUT qjto OCL

208 nPOE OUT qjto OCL 261 A 3 OUT qjto OCL 209 nPWE OUT qjto OCL 262 A 2 OUT qjto OCL

210 nPIOR OUT qjto OCL 263 A 1 OUT qjto OCL

211 nPIOW OUT qjto OCL 264 A 0 OUT qjto OCL 212 PSKTSEL OUT qjto OCL 265 UDC- EN qjtena OEL

213 nIOIS16 IN qjti ICL 266 UDC- OUT qjto OCL

214 nPWAIT IN qjti ICL 267 UDC- IN qjti ICL

215 nPREG OUT qjto OCL 268 UDC-/UDC+ IN qjti UDC-/UDC+

VDCL 216 nPCE 2 OUT qjto OCL 269 UDC+ EN qjtena OEL

217 nPCE 1 OUT qjto OCL 270 UDC+ OUT qjto OCL

218 — EN qjtena OEL† 271 UDC+ IN qjti ICL 219 nWE OUT qjto OCL 272 RXD_1 EN qjtena OEL

220 nOE OUT qjto OCL 273 RXD_1 OUT qjto OCL

221 nSDRAS OUT qjto OCL 274 RXD_1 IN qjti ICL 222 nSDCAS OUT qjto OCL 275 TXD_1 EN qjtena OEL 223 nRAS 3 OUT qjto OCL 276 TXD_1 OUT qjto OCL

224 nRAS 2 OUT qjto OCL 277 TXD_1 IN qjti ICL 225 nRAS 1 OUT qjto OCL 278 RXD_2 EN qjtena OEL

226 nRAS 0 OUT qjto OCL 279 RXD_2 OUT qjto OCL

227 nCAS 3 OUT qjto OCL 280 RXD_2 IN qjti ICL

Show 4 more labels / short text on this page
Guard · Guard · Value · Value
Page 425 of the Intel SA-1110 user manual — NOTES:
Page 425 · click to enlarge
Page 425

Boundary-Scan Test Interface

Table 16-2. Boundary-Scan Signals and Pins (Sheet 4 of 4)

No. Pin Type BS Cell BS Function

No. Pin Type BS Cell BS Function

EX

EX

281 TXD_2 EN qjtena OEL 287 TXD_3 EN qjtena OEL

282 TXD_2 OUT qjto OCL 288 TXD_3 OUT qjto OCL

283 TXD_2 IN qjti ICL 289 TXD_3 IN qjti ICL 284 RXD_3 EN qjtena OEL 290 nRESET IN qjti ICL

285 RXD_3 OUT qjto OCL 291 nRESET_OUT OUT qjto OCL

286 RXD_3 IN qjti ICL 292 ROM_SEL IN qjti ICL to TDO

NOTES:

1. The Boundary Scan (BS) numbers are listed in order from the first BS latch after the TDI input pin. Thus, for a given BS pattern, the first bit input will land in the 292nd BS latch and the last bit will land in the first BS latch. 2. BS latch 80 controls the tristate enable of the D[31:0] pins. A “1” in latch 80 will tristate the D[31:0] pins. 3. BS latch 83 controls the tristate enable for output pin SDCLK 1. A “1” in latch 83 will tristate SDCLK 1. 4. BS latch 218 controls the tristate enable of nWE, nOE, nSDRAS, nSDCAS, nRAS 0, nCAS[3:0], and A[25:0]. A “1” in latch 218 will tristate these pins. 5. The output enable latches for UDC- and UDC+, 265 and 269, will tristate the outputs when a “1” is latched in. 6. For all other output or in/out pins, a “0” in the output enable latch will tristate the output in.

Show 4 more labels / short text on this page
Guard · Guard · Value · Value
Page 426 of the Intel SA-1110 user manual — 16.7 Boundary-Scan Interface Signals
Page 426 · click to enlarge
Page 426
Page 426 of the Intel SA-1110 user manual — 16.7 Boundary-Scan Interface Signals
Page 427 of the Intel SA-1110 user manual — Register Summary A
Page 427 · click to enlarge
Page 427

Register Summary A

This appendix describes all of the Intel® StrongARM* SA-1110 Microprocessor (SA-1110) internal registers.

Physical Address Symbol Register Name

UDC Registers (Serial Port 0)

0h 8000 0000 UDCCR UDC control register.

0h 8000 0004 UDCAR UDC address register.

0h 8000 0008 UDCOMP UDC OUT max packet register.

0h 8000 000C UDCIMP UDC IN max packet register.

0h 8000 0010 UDCCS0 UDC endpoint 0 control/status register.

0h 8000 0014 UDCCS1 UDC endpoint 1 (out) control/status register.

0h 8000 0018 UDCCS2 UDC endpoint 2 (in) control/status register.

0h 8000 001C UDCD0 UDC endpoint 0 data register.

0h 8000 0020 UDCWC UDC endpoint 0 write count register.

0h 8000 0024 — Reserved.

0h 8000 0028 UDCDR UDC transmit/receive data register (FIFOs).

0h 8000 002C — Reserved.

0h 8000 0030 UDCSR UDC status/interrupt register.

UART Registers (Serial Port 1)

0h 8001 0000 UTCR0 UART control register 0.

0h 8001 0004 UTCR1 UART control register 1.

0h 8003 0008 UTCR2 UART control register 2.

0h 8001 000C UTCR3 UART control register 3.

0h 8001 0010 — Reserved.

0h 8001 0014 UTDR UART data register.

0h 8001 0018 — Reserved.

0h 8001 001C UTSR0 UART status register 0.

0h 8001 0020 UTSR1 UART status register 1.

0h 8001 0024 – 0h 8001 FFFF — Reserved.

GPCLK Registers (Serial Port 1)

0h 8002 0060 GPCLKR0 GPCLK Control Register 0.

0h 8002 0064 — GPCLK Control Register 1.

0h 8002 0068 — Reserved.

0h 8002 006C GPCLKR1 GPCLK Control Register 2.

0h 8002 0070 GPCLKR2 GPCLK Control Register 3.

0h 8002 0074 — Reserved.

Page 428 of the Intel SA-1110 user manual — Register Summary
Page 428 · click to enlarge
Page 428

Register Summary

Physical Address Symbol Register Name

0h 8002 0078 — Reserved.

0h 8002 007C — Reserved.

0h 8002 0080 — Reserved.

0h 8002 0084 — Reserved.

0h 8002 0088 – 0h 8002 FFFF — Reserved.

ICP – UART Registers (Serial Port 2)

0h 8003 0000 UTCR0 UART control register 0.

0h 8003 0004 UTCR1 UART control register 1.

0h 8003 0008 UTCR2 UART control register 2.

0h 8003 000C UTCR3 UART control register 3.

0h 8003 0010 UTCR4 UART control register 4.

0h 8003 0014 UTDR UART data register.

0h 8003 0018 — Reserved.

0h 8003 001C UTSR0 UART status register 0.

0h 8003 0020 UTSR1 UART status register 1.

0h 8003 0024 – 0h 8003 FFFF — Reserved.

ICP – HSSP Registers (Serial Port 2)

0h 8004 0060 HSCR0 HSSP control register 0.

0h 8004 0064 HSCR1 HSSP control register 1.

0h 8004 0068 — Reserved.

0h 8004 006C HSDR HSSP data register.

0h 8004 0070 — Reserved.

0h 8004 0074 HSSR0 HSSP status register 0.

0h 8004 0078 HSSR1 HSSP status register 1.

0h 8004 007C – 0h 8004 FFFF — Reserved.

UART Registers (Serial Port 3)

0h 8005 0000 UTCR0 UART control register 0.

0h 8005 0004 UTCR1 UART control register 1.

0h 8005 0008 UTCR2 UART control register 2.

0h 8005 000C UTCR3 UART control register 3.

0h 8005 0010 — Reserved.

0h 8005 0014 UTDR UART data register.

0h 8005 0018 — Reserved.

0h 8005 001C UTSR0 UART status register 0.

0h 8005 0020 UTSR1 UART status register 1.

0h 8005 0024 – 0h 8005 FFFF — Reserved.

MCP Registers (Serial Port 4)

0h 8006 0000 MCCR0 MCP control register 0.

0h 8006 0004 — Reserved.

Page 429 of the Intel SA-1110 user manual — Register Summary
Page 429 · click to enlarge
Page 429

Register Summary

Physical Address Symbol Register Name

0h 8006 0008 MCDR0 MCP data register 0.

0h 8006 000C MCDR1 MCP data register 1.

0h 8006 0010 MCDR2 MCP data register 2.

0h 8006 0014 — Reserved.

0h 8006 0018 MCSR MCP status register.

0h 8006 001C – 0h 8006 005C — Reserved.

SSP Registers (Serial Port 4)

0h 8007 0060 SSCR0 SSP control register 0.

0h 8007 0064 SSCR1 SSP control register 1.

0h 8007 0068 — Reserved.

0h 8007 006C SSDR SSP data register.

0h 8007 0070 — Reserved.

0h 8007 0074 SSSR SSP status register.

0h 8007 0078 – 0h 8007 FFFF — Reserved.

0h 9000 0000 OSMR 0

OS timer match registers [3:0]. 0h 9000 0004 OSMR 1

0h 9000 0008 OSMR 2

0h 9000 000C OSMR 3

0h 9000 0010 OSCR OS timer counter register.

0h 9000 0014 OSSR OS timer status register.

0h 9000 0018 OWER OS timer watchdog enable register.

0h 9000 001C OIER OS timer interrupt enable register.

0h 9001 0000 RTAR Real-time clock alarm register.

0h 9001 0004 RCNR Real-time clock count register.

0h 9001 0008 RTTR Real-time clock trim register.

0h 9001 0010 RTSR Real-time clock status register.

0h 9002 0000 PMCR Power manager control register.

0h 9002 0004 PSSR Power manager sleep status register.

0h 9002 0008 PSPR Power manager scratchpad register.

0h 9002 000C PWER Power manager wakeup enable register.

0h 9002 0010 PCFR Power manager configuration register.

0h 9002 0014 PPCR Power manager PLL configuration register.

0h 9002 0018 PGSR Power manager GPIO sleep state register.

0h 9002 001C POSR Power manager oscillator status register.

0h 9003 0000 RSRR Reset controller software reset register.

Show 4 more labels / short text on this page
OS Timer Registers · Real-Time Clock Registers · Power Manager Registers · Reset Controller Registers
Page 430 of the Intel SA-1110 user manual — Register Summary
Page 430 · click to enlarge
Page 430

Register Summary

Physical Address Symbol Register Name

0h 9003 0004 RCSR Reset controller status register.

0h 9003 0008 TUCR Reserved for test.

0h 9004 0000 GPLR GPIO pin level register.

0h 9004 0004 GPDR GPIO pin direction register.

0h 9004 0008 GPSR GPIO pin output set register.

0h 9004 000C GPCR GPIO pin output clear register.

0h 9004 0010 GRER GPIO rising-edge register.

0h 9004 0014 GFER GPIO falling-edge register.

0h 9004 0018 GEDR GPIO edge detect status register.

0h 9004 001C GAFR GPIO alternate function register.

0h 9005 0000 ICIP Interrupt controller irq pending register.

0h 9005 0004 ICMR Interrupt controller mask register.

0h 9005 0008 ICLR Interrupt controller FIQ level register.

0h 9005 000C ICCR Interrupt controller control register.

0h 9005 0010 ICFP Interrupt controller FIQ pending register.

0h 9005 0020 ICPR Interrupt controller pending register.

0h 9006 0000 PPDR PPC pin direction register.

0h 9006 0004 PPSR PPC pin state register.

0h 9006 0008 PPAR PPC pin assignment register.

0h 9006 000C PSDR PPC sleep mode direction register.

0h 9006 0010 PPFR PPC pin flag register.

0h 9006 0028 HSCR2 HSSP control register 2.

0h 9006 0030 MCCR1 MCP control register 1.

0x A000 0000 MDCNFG DRAM configuration register.

0x A000 0004 MDCAS00 DRAM CAS waveform rotate register 0 for DRAM bank pair 0/1.

0x A000 0008 MDCAS01 DRAM CAS waveform rotate register 1 for DRAM bank pair 0/1.

0x A000 000C MDCAS02 DRAM CAS waveform rotate register 2 for DRAM bank pair 0/1.

0x A000 0010 MSC0 Static memory control register 0.

0x A000 0014 MSC1 Static memory control register 1.

0x A000 0018 MECR Expansion bus configuration register.

0x A000 001C MDREFR DRAM refresh control register.

0x A000 0020 MDCAS20 DRAM CAS waveform rotate register 0 for DRAM bank pair 2/3.

Show 4 more labels / short text on this page
GPIO Registers · Interrupt Controller Registers · PPC Registers · Memory Controller Registers
Page 431 of the Intel SA-1110 user manual — Register Summary
Page 431 · click to enlarge
Page 431

Register Summary

Physical Address Symbol Register Name

0x A000 0024 MDCAS21 DRAM CAS waveform rotate register 1 for DRAM bank pair 2/3.

0x A000 0028 MDCAS22 DRAM CAS waveform rotate register 2 for DRAM bank pair 2/3.

0x A000 002C MSC2 Static memory control register 2.

0x A000 0030 SMCNFG SMROM configuration register.

0h B000 0000 DDAR0 DMA device address register.

0h B000 0004 DCSR0 DMA control/status register 0 – write ones to set.

0h B000 0008 Write ones to clear.

0h B000 000C Read only.

0h B000 0010 DBSA0 DMA buffer A start address 0.

0h B000 0014 DBTA0 DMA buffer A transfer count 0.

0h B000 0018 DBSB0 DMA buffer B start address 0.

0h B000 001C DBTB0 DMA buffer B transfer count 0.

0h B000 0020 DDAR1 DMA device address register 1.

0h B000 0024 DCSR1 DMA control/status register 1 – write ones to set.

0h B000 0028 Write ones to clear.

0h B000 002C Read only.

0h B000 0030 DBSA1 DMA buffer A start address 1.

0h B000 0034 DBTA1 DMA buffer A transfer count 1.

0h B000 0038 DBSB1 DMA buffer B start address 1.

0h B000 003C DBTB1 DMA buffer B transfer count 1.

0h B000 0040 DDAR2 DMA device address register 2.

0h B000 0044 DCSR2 DMA control/status register 2 – write ones to set.

0h B000 0048 Write ones to clear.

0h B000 004C Read only.

0h B000 0050 DBSA2 DMA buffer A start address 2.

0h B000 0054 DBTA2 DMA buffer A transfer count 2.

0h B000 0058 DBSB2 DMA buffer B start address 2.

0h B000 005C DBTB2 DMA buffer B transfer count 2.

0h B000 0060 DDAR3 DMA device address register 3.

0h B000 0064 DCSR3 DMA control/status register 3 – write ones to set.

0h B000 0068 Write ones to clear.

0h B000 006C Read only.

0h B000 0070 DBSA3 DMA buffer A start address 3.

0h B000 0074 DBTA3 DMA buffer A transfer count 3.

0h B000 0078 DBSB3 DMA buffer B start address 3.

0h B000 007C DBTB3 DMA buffer B transfer count 3.

DMA Controller Registers

Page 432 of the Intel SA-1110 user manual — Register Summary
Page 432 · click to enlarge
Page 432

Register Summary

Physical Address Symbol Register Name

0h B000 0080 DDAR4 DMA device address register 4.

0h B000 0084 DCSR4 DMA control/status register 4 – write ones to set.

0h B000 0088 Write ones to clear.

0h B000 008C Read only.

0h B000 0090 DBSA4 DMA buffer A start address 4.

0h B000 0094 DBTA4 DMA buffer A transfer count 4.

0h B000 0098 DBSB4 DMA buffer B start address 4.

0h B000 009C DBTB4 DMA buffer B transfer count 4.

0h B000 00A0 DDAR5 DMA device address register 5.

0h B000 00A4 DCSR5 DMA control/status register 5 – write ones to set.

0h B000 00A8 Write ones to clear.

0h B000 00AC Read only.

0h B000 00B0 DBSA5 DMA buffer A start address 5.

0h B000 00B4 DBTA5 DMA buffer A transfer count 5.

0h B000 00B8 DBSB5 DMA buffer B start address 5.

0h B000 00BC DBTB5 DMA buffer B transfer count 5.

0h B010 0000 LCCR0 LCD controller control register 0.

0h B010 0004 LCSR LCD controller status register.

0h B010 0008 – 0hB010 000C — Reserved.

0h B010 0010 DBAR1 DMA channel 1 base address register.

0h B010 0014 DCAR1 DMA channel 1 current address register.

0h B010 0018 DBAR2 DMA channel 2 base address register.

0h B010 001C DCAR2 DMA channel 2 current address register.

0h B010 0020 LCCR1 LCD controller control register 1.

0h B010 0024 LCCR2 LCD controller control register 2.

0h B010 0028 LCCR3 LCD controller control register 3.

0h B010 002C – 0h B010 FFFF — Reserved.

LCD Controller Registers

Page 433 of the Intel SA-1110 user manual — Startup Time
Page 433 · click to enlarge
Page 433

3.6864–MHz Oscillator Specifications B

A 3.6864-MHz crystal oscillator is integrated on the Intel® StrongARM* SA-1110 Microprocessor (SA-1110) for use as a reference frequency for the PLLs that generate the internal clocks to the processor. The phase noise of this reference frequency should be minimized because it could be amplified by the PLLs, resulting in PLL output frequency jitter. For this application, the long-term stability and the temperature effect on the frequency are not important because they affect the frequency by less than 1%. The oscillator circuit is designed to work across a range of crystal parameters so that the system designer can choose from several 3.6864-MHz crystals available on the market. In normal operation, the pins of the crystal, Q1 and Q2, are connected to the SA-1110 pins, PXTAL and PEXTAL. Note that a 3.5795-MHz crystal can also be used, but to meet the frequency specifications of several of the integrated I/O ports, a 3.6864-MHz crystal is required.

In some applications, it may be desirable to provide the 3.6864-MHz reference from an external signal source. This option is supported by the SA-1110. See Chapter 8, “Clocks”.

B.1 Specifications

This section includes specifications for the oscillator circuit and the quartz crystal.

B.1.1 System Specifications

This section includes the specifications of the oscillator circuit. It assumes that the crystal used meets the specifications given in the following sections.

Temperature Range

This is the junction temperature range for the oscillator circuit on the SA-1110. The crystal itself may be at the ambient temperature; the oscillator circuit integrated on the SA-1110 is most likely operating at a higher temperature that is dependent on the activity of the SA-1110.

Current Consumption

Because this oscillator might run during the sleep mode of the processor, the power consumption is critical. The specified current consumption is for the oscillator only. The power associated with the oscillator output buffer is not included because this buffer is powered down in sleep.

Startup Time

This specification depends on the crystal characteristics and the layout of the printed circuit board (PCB). The value given assumes that the crystal and board layout conform to the values given in the remainder of this document. The critical parameters in the crystal specification are the shunt capacitance (Co) and the motional resistance (Rm), which must be no greater than the maximums specified. The critical parameters in the PCB layout are the parasitic capacitances between PXTAL and PEXTAL, and between either of these nodes and VSS.

Page 434 of the Intel SA-1110 user manual — B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSS
Page 434 · click to enlarge
Page 434

3.6864–MHz Oscillator Specifications

Note that in some applications, such as a system that includes a socketed SA-1110, it may be difficult to meet the parasitic capacitances specified. While the 3.6864-MHz oscillator will start with parasitic capacitances, which are approximately twice the values given, the startup time in this situation will be about double the specified startup time and the current consumption will increase. Capacitances larger than twice the specified values may prevent the oscillator from starting.

B.1.1.1. Parasitic Capacitance Off-chip Between PXTAL and PEXTAL

The parasitic capacitance off-chip between PXTAL and PEXTAL is the board capacitance between the PXTAL and PEXTAL pins.

B.1.1.2. Parasitic Capacitance Off-chip Between PXTAL or PEXTAL and VSS

The parasitic capacitance off-chip between PXTAL or PEXTAL and VSS is the parasitic board capacitance between the PXTAL or PEXTAL pins and the VSS wire surrounding the crystal connections.

B.1.1.3. Parasitic Resistance Between PXTAL and PEXTAL

The parasitic resistance between PXTAL and PEXTAL is the parasitic resistance between the PXTAL and PEXTAL pins due to moisture and other effects.

B.1.1.4. Parasitic Resistance Between PXTAL or PEXTAL and VSS

The parasitic resistance between PXTAL or PEXTAL and VSS is the parasitic resistance between the PXTAL or PEXTAL pins to VSS due to moisture and other effects.

The following table describes the system specifications of the oscillator circuit.

Specification Minimum Typical Maximum Unit

Temperature range 0 100 oC

Supply voltage 3 3.3 3.6 V

Ripple voltage on the supply — — 0.3 V

Current consumption — 15 40 µA

Startup time — 15 150 ms

Parasitic capacitance off-chip between PXTAL and PEXTAL — — 1 pF

Parasitic capacitance off-chip between PXTAL or PEXTAL and VSS

— — 2 pF

Parasitic resistance between PXTAL or PEXTAL to VSS 1 — — MΩ

Parasitic resistance between PXTAL and PEXTAL 1 — — MΩ

Page 435 of the Intel SA-1110 user manual — Co
Page 435 · click to enlarge
Page 435

3.6864–MHz Oscillator Specifications

B.1.2 Quartz Crystal Specification

The following specifications for the quartz crystal are shown in the figure and table below.

Resonance frequency (fs): Resonance frequency of the crystal.

Motional capacitance (Cm): Equivalent serial capacitance in the crystal model.

Motional inductance (Lm): Not generally given in supplier specification.

Motional resistance (Rm): Equivalent serial resistance in the crystal model. Some crystal providers refer to this resistance as the Equivalent Series Resistance (ESR) or simply Series Resistance.

Shunt capacitance (Co): Parasitic capacitance between Q1 and Q2.

Load capacitance (CL): Needed load capacitance viewed by the crystal to oscillate at fs.

Drive level: Power dissipated in the equivalent serial resistance (Rm).

Aging: Resonance frequency shift due to aging.

Co

Q1 Q2

Cm Lm Rm

Specification Minimum Typical Maximum Unit

Resonance frequency (fs) 3.5795 3.6864 — MHz

Motional resistance (Rm) 40 180 300 Ohm

Shunt capacitance (Co) — — 7 pF

Drive level — — 10 µW

Crystal type AT cut crystal

Page 436 of the Intel SA-1110 user manual — B.1.2 Quartz Crystal Specification
Page 436 · click to enlarge
Page 436
Page 436 of the Intel SA-1110 user manual — B.1.2 Quartz Crystal Specification
Page 437 of the Intel SA-1110 user manual — C.1.1.3. Startup Time
Page 437 · click to enlarge
Page 437

32.768–KHz Oscillator Specifications C

A 32.768-kHz crystal oscillator is integrated on the Intel® StrongARM* SA-1110 Microprocessor (SA-1110) for use as a time base for the real-time clock (RTC). The output frequency of the crystal oscillator is divided by 32768 (215) to deliver a 1-Hz signal to the RTC. A digital tuning circuit is included on the SA-1110 to calibrate the 1-Hz output for each crystal and circuit based on a set of values stored in an external EEPROM. The oscillator circuit is designed to work across a range of crystal parameters so that the system designer can choose from several 32.768-kHz crystals available on the market. In normal operation, the pins of the crystal, Q1 and Q2, are connected to the SA-1110 pins, TXTAL and TEXTAL.

In some applications, it may be desirable to provide the 32.768-kHz reference from an external signal source. This option is supported by the SA-1110. See the Chapter 8, “Clocks”.

C.1 Specifications

This section includes specifications for the oscillator circuit and the quartz crystal.

C.1.1 System Specifications

This section includes the specifications of the oscillator circuit. It assumes that the crystal used meets the specifications given in the following sections.

C.1.1.1. Temperature Range

This is the junction temperature range for the oscillator circuit on the SA-1110. The crystal itself may be at the ambient temperature; the oscillator circuit integrated on the SA-1110 is most likely operating at a higher temperature that is dependent on the activity of the SA-1110.

C.1.1.2. Current Consumption

Because this oscillator runs during the sleep mode of the processor, the power consumption is critical. The specified current consumption is for the oscillator and its output buffer only. The power of the tuning circuit and RTC is not included in the value specified.

C.1.1.3. Startup Time

This specification depends on the crystal characteristics and the layout of the printed circuit board (PCB). The value given assumes that the crystal and board layout conform to the values given in the remainder of this document. The critical parameters in the crystal specification are the shunt capacitance (Co) and the motional resistance (Rm), which must be no greater than the maximums specified. The critical parameters in the PCB layout are the parasitic capacitances between TXTAL and TEXTAL, and between either of these nodes and VSS. Note that in some applications, such as a system that includes a socketed SA-1110, it may be difficult to meet the parasitic capacitances specified.

Page 438 of the Intel SA-1110 user manual — C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSS
Page 438 · click to enlarge
Page 438

32.768–KHz Oscillator Specifications

While the 32.768-kHz oscillator will start with parasitic capacitances which are approximately twice the values given; the startup time in this situation will be about double the specified startup time and the current consumption will increase. Capacitances larger than twice the specified values may prevent the oscillator from starting.

C.1.1.4. Frequency Shift Due to Temperature Effect on the Circuit

The frequency shift due to temperature effect on the circuit is the influence of the oscillator circuit on the frequency of oscillation due to temperature effect. The appropriate temperature range is the junction temperature on the SA-1110, not the ambient temperature. Note that this specification does not include either the temperature effects on the quartz or the aging of the crystal. It includes the temperature effect of the circuit only. The frequency shift of the crystal itself due to temperature may be significantly larger than that of the oscillator circuit. However, for a long-term stability calculation, it may be appropriate to consider the average temperature of the crystal rather than the extreme values of temperature.

C.1.1.5. Parasitic Capacitance Off-chip Between TXTAL and TEXTAL

The parasitic capacitance off-chip between TXTAL and TEXTAL is the board capacitance between the TXTAL and TEXTAL pins.

C.1.1.6. Parasitic Capacitance Off-chip Between TXTAL or TEXTAL and VSS

The parasitic capacitance off-chip between TXTAL or TEXTAL and VSS is the parasitic board capacitance between the TXTAL or TEXTAL pins and the VSS wire surrounding the crystal connections.

C.1.1.7. Parasitic Resistance Between TXTAL and TEXTAL

The parasitic resistance between TXTAL and TEXTAL is the parasitic resistance between the TXTAL and TEXTAL pins due to moisture and other effects.

C.1.1.8. Parasitic Resistance Between TXTAL or TEXTAL and VSS

The parasitic resistance between TXTAL or TEXTAL and VSS is the parasitic resistance between the TXTAL or TEXTAL pins to VSS due to moisture and other effects.

The following table describes the specifications of the oscillator circuit.

Specification Minimum Typical Maximum Unit

Temperature range 0 100 oC

Supply voltage 3 3.3 3.6 V

Ripple voltage on the supply — — 0.3 V

Current consumption — 1 2 µA

Startup time — — 2 s

Frequency shift due to temperature effect on the circuit — — +/-3 ppm

Parasitic capacitance off-chip between TXTAL and TEXTAL — — 1 pF

Page 439 of the Intel SA-1110 user manual — Co
Page 439 · click to enlarge
Page 439

32.768–KHz Oscillator Specifications

Parasitic capacitance off-chip between TXTAL or TEXTAL and VSS — — 2 pF

Parasitic resistance between TXTAL or TEXTAL to VSS 10 — — MΩ

Parasitic resistance between TXTAL and TEXTAL 10 — — MΩ

C.1.2 Quartz Crystal Specification

The following specifications for the quartz crystal are shown in the figure and table below.

Resonance Frequency (fs): Resonance frequency of the crystal.

Motional Capacitance (Cm): Equivalent serial capacitance in the crystal model.

Motional Inductance (Lm): Not generally given in supplier specification.

Equivalent serial resistance in the crystal model. Some crystal providers refer to this resistance as the Equivalent Series Resistance (ESR) or simply Series Resistance.

Motional Resistance (Rm):

Other providers supply a Quality Factor, Q, instead of Rm; therefore, the values for Q

corresponding to specified range of Rm are supplied in the following table.

Shunt Capacitance (Co): Parasitic capacitance between Q1 and Q2.

Load Capacitance (CL): Needed load capacitance viewed by the crystal to oscillate at fs.

Drive Level: Power dissipated in the equivalent serial resistance (Rm).

Aging: Resonance frequency shift due to aging.

Co

Q1 Q2

Cm Lm Rm

Page 440 of the Intel SA-1110 user manual — 32.768–KHz Oscillator Specifications
Page 440 · click to enlarge
Page 440

32.768–KHz Oscillator Specifications

Specification Minimum Typical Maximum Unit

Resonance Frequency (Fs) — 32768 — Hz

Quality Factor (Q) 40K 80K 200K —

Motional Capacitance (Cm) 2 3 4 fF

Motional Resistance (Rm) — — 50K Ohm

Shunt Capacitance (Co) 0.9 — 2 pF

Load Capacitance (Cl) 10 12.5 25 pF

Drive Level — — 1 µW

Crystal Type Tuning fork (X+5o or X+2o cut)

The following values are not required for the crystal oscillator to function, but they directly affect the performance of the oscillator in the system because they determine the accuracy of the crystal itself. The values given represent those seen on typical crystals used for time keeping, and are provided for information only.

Specification Minimum Typical Maximum Unit

Frequency Tolerance +/-5 +/-20 +/-30 ppm

Parabolic Curvature — -0.042 -0.05 ppm/ oC

Turnover Temperature 20 25 30 oC

Temperature Range 0 — 60 oC

Aging — +/-3 +/-5 ppm/year

Page 441 of the Intel SA-1110 user manual — 31..29 TSEL2..0
Page 441 · click to enlarge
Page 441

Internal Test

Internal Test D

The Test Unit contains a register that enables certain test modes. Some of these test modes are reserved for manufacturing test and should not be invoked by an end-user.

D.1 Test Unit Control Register (TUCR)

The Test Unit Control Register (TUCR) contains control bits that put the Intel® StrongARM*

SA-1110 Microprocessor (SA-1110) in various test modes. It is recommended that the operating system write protect these registers under normal conditions to prevent them from being inadvertently written. The following figure shows the format of this register. At reset reserved bits are zero. Writing reserved bits to one can lead to unpredictable results.

Test Unit Control RegisterTUCR

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

TSEL2

TSEL1

TSEL0

MR

PMD

0

8..0 — Reserved.

Power management disable.

9 PMD

When PMD is set, sleep mode is disabled and the SA-1110 ignores the ForceSleep bit, as well as the BATT_FAULT and VDD_Fault pins. This bit is cleared on hard reset.

Memory request mode. Controls two GPIO pins used for external arbitration and for the memory bus.

10 MR

0. GP 21 and GP 22 are not used for an alternate function. 1 – GP 21 and GP 22 are reserved for use as MBGNT and MBREQ, respectively.

28..11 — Reserved.

Test selects. Routes internal signals out onto GPIO 27 for observing internal clock signals. To observe these clocks, set bit 27 to one in the GAFR and GPDR registers and set the TSEL bits to the following settings to select which clock is driven onto GP 27:

31..29 TSEL2..0

TSEL2

TSEL1

TSEL0

0 1

0 0 1 1 0 0 1 1

0 1 0 1 0 1 0 1

32-kHz oscillator 3.6864-MHz oscillator VDD ring oscillator/16 96-MHz PLL/4 32-kHz oscillator (also enable rclk on GP 26) 3.6864-MHz oscillator Main PLL/16 VDDL ring oscillator/4

Show 4 more labels / short text on this page
Reserved · Reserved · Bits Name Description · GP 27(alternate function)
Page 442 of the Intel SA-1110 user manual — Internal Test D
Page 442 · click to enlarge
Page 442
Page 442 of the Intel SA-1110 user manual — Internal Test D

Ask about the Intel SA-1110

Owners and our team usually reply within a day — and your question helps the next person too.

Add your email to get notified when it’s answered — no spam, ever.

0 questions
No questions yet about the Intel SA-1110

Be the first to ask — other owners or our team will answer.

Original document

Intel SA-1110 manual PDF

442 pages·5.6 MB·Food Processor·PDF
Click any page above to open it here
Page 1 / …
100%
Loading pages…