LH7A400 32-Bit System-on-Chip Data Sheet FEATURES * Three Programmable Timers * ARM922TTM Core: - 32-bit ARM9TDMITM RISC Core (200 MHz) - 16KB Cache: 8KB Instruction Cache and 8KB Data Cache - MMU (Windows CETM Enabled) * Three UARTs - Classic IrDA (115 kbit/s) * Smart Card Interface (ISO7816) * Two DC-to-DC Converters * MultiMediaCardTM Interface * 80KB On-Chip Memory * AC97 Codec Interface * Programmable Interrupt Controller * Smart Battery Monitor Interface * External Bus Interface - 100 MHz - Asynchronous SRAM/ROM/Flash - Synchronous DRAM/Flash - PCMCIA - CompactFlash * Real Time Clock (RTC) * Up to 60 General Purpose I/Os * Watchdog Timer * JTAG Debug Interface and Boundary Scan * Operating Voltage - 1.8 V Core - 3.3 V Input/Output * Clock and Power Management - 32.768 kHz and 14.7456 MHz Oscillators - Programmable PLL * Low Power Modes (Typical) - Run (125 mA), Halt (25 mA), Standby (42 A) * 5 V Tolerant Digital Inputs (except oscillator pins) - Oscillator pins P15, P16, R13, and T13 are 1.8 V 10%. * Programmable LCD Controller - Up to 1,024 x 768 Resolution - Supports STN, Color STN, AD-TFT, HR-TFT, TFT - Up to 64 k-Colors and 15 Gray Shades * Operating Temperature - 0C to +70C Commercial - -40C to +85C Industrial (With Clock Frequency Reduction) * DMA (10 Channels) - AC97 - MMC - USB * 256-Ball PBGA or 256-Ball CABGA Package * USB Device Interface (USB 1.1) * Synchronous Serial Port (SSP) - Motorola SPITM - Texas Instruments SSI - National MICROWIRETM DESCRIPTION The LH7A400, powered by an ARM922T, is a complete System-on-Chip with a high level of integration to satisfy a wide range of requirements and expectations. This high degree of integration lowers overall system costs, reduces development cycle time and accelerates product introduction. Motorola SPI is a trademark of Motorola, Inc. National Semiconductor MICROWIRE is a trademark of National Semiconductor Corporation. Windows CE is a trademark of Microsoft Corporation. Data Sheet Version 1.0 1 LH7A400 32-Bit System-on-Chip LH7A400 14.7456 MHz 32.768 kHz OSCILLATOR, PLL1 and PLL2, POWER MANAGEMENT, and RESET CONTROL INTERRUPT CONTROLLER EXTERNAL BUS INTERFACE WATCHDOG TIMER TIMER (3) ARM922T STATIC (ASYNCHRONOUS) MEMORY CONTROLLER (SMC) REAL TIME CLOCK ADVANCED PERIPHERAL BUS BRIDGE GENERAL PURPOSE I/O (60) SYNCHRONOUS SERIAL PORT PCMCIA/CF CONTROLLER BATTERY MONITOR INTERFACE SYNCHRONOUS DYNAMIC RAM CONTROLLER (SDMC) UART (3) LCD AHB BUS IrDA INTERFACE USB DEVICE INTERFACE 80KB SRAM COLOR LCD CONTROLLER DMA CONTROLLER MULTIMEDIACARD INTERFACE ADVANCED AUDIO CODEC (AC97) ADVANCED LCD INTERFACE AUDIO CODEC INTERFACE ADVANCED HIGH-PERFORMANCE BUS (AHB) ADVANCED PERPHERAL BUS (APB) SMART CARD INTERFACE (ISO7816) DC to DC INTERFACE (2) LH7A400-1 Figure 1. LH7A400 Block Diagram 2 Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Table 1. Functional Pin List PBGA CABGA PIN PIN G7 F1 K7 M1 M5 T6 R14 M14 J11 J12 F13 B14 E10 B8 H7 G3 K4 N5 P6 T14 R16 N16 K13 H9 C15 A11 E8 A5 F7 E1 J4 P3 T8 K9 L13 E15 D12 A7 H5 M3 L9 T10 N15 H12 B15 C9 G6 C10 F9 F11 F14 G8 H13 J9 K15 L7 N6 N8 N12 N13 P11 B8 C6 D5 D13 E8 F7 G13 H9 J14 K7 L8 L10 L12 M11 M14 C4 D7 D10 F4 F10 J4 J8 K8 L6 G7 H4 H8 L4 L9 N3 N7 N10 R5 Data Sheet SIGNAL DESCRIPTION VDD I/O Ring Power VSS I/O Ring Ground VDDC Core Power VSSC Core Ground Version 1.0 RESET STATE STANDBY STATE OUTPUT DRIVE 3 LH7A400 32-Bit System-on-Chip Table 1. Functional Pin List (Cont'd) PBGA CABGA PIN PIN 4 SIGNAL R11 N12 P12 T11 D3 P12 M10 R13 N11 E4 H6 D1 nURESET D4 E4 C2 E2 F2 D2 WAKEUP nPWRFL nEXTPWR R13 R14 XTALIN T13 R15 XTALOUT P16 N14 XTAL32IN P15 M13 XTAL32OUT P14 J6 K11 K10 P13 M12 J5 P14 P16 N15 M12 N16 CLKEN PGMCLK nCS0 nCS1 nCS2 nCS3/ nMMSPICS DESCRIPTION VDDA Analog Power for PLL VSSA Analog Ground for PLL nPOR Power On Reset User Reset; should be pulled HIGH for normal or JTAG operation. Wake Up Power Fail Signal External Power 14.7456 MHz Crystal Oscillator pins. An external clock source can be connected to XTALIN leaving XTALOUT open. 32.768 kHz Real Time Clock Crystal Oscillator pins. An external clock source can be connected to XTAL32IN leaving XTAL32OUT open. External Oscillator Clock Enable Output Programmable Clock (14.7456 MHz MAX.) Asynchronous Memory Chip Select 0 Asynchronous Memory Chip Select 1 Asynchronous Memory Chip Select 2 * Asynchronous Memory Chip Select 3 * MultiMediaCard SPI Mode Chip Select Version 1.0 RESET STATE Input STANDBY STATE OUTPUT DRIVE Input Input (Schmitt) Input Input (Schmitt) Input Input (Schmitt) Input Input (Schmitt) Input Input Input LOW LOW Input Input Output Output LOW LOW HIGH HIGH HIGH LOW LOW HIGH HIGH HIGH 8 mA 8 mA 12 mA 12 mA 12 mA HIGH: nCS3 HIGH 12 mA Data Sheet 32-Bit System-on-Chip LH7A400 Table 1. Functional Pin List (Cont'd) PBGA CABGA PIN PIN SIGNAL L12 M15 N13 L16 L15 L14 H11 K12 J15 J13 J10 H15 H13 G15 G11 G12 F15 F12 E14 D16 H10 D14 F10 A16 A14 B13 C13 E12 G10 B12 B11 D11 L11 L13 L14 K11 L16 K14 J15 J12 J10 H16 H14 H11 G16 G9 G14 G12 F15 E15 D16 F12 E13 D14 E12 B16 D12 A16 B13 B14 C12 A14 B12 A12 D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 D18 D19 D20 D21 D22 D23 D24 D25 D26 D27 D28 D29 D30 D31 M16 M15 A0/nWE1 N14 M16 A1/nWE2 Data Sheet DESCRIPTION Data Bus * * * * Asynchronous Address Bus Asynchronous Memory Write Byte Enable 1 Asynchronous Address Bus Asynchronous Memory Write Byte Enable 2 Version 1.0 RESET STATE STANDBY STATE OUTPUT DRIVE LOW LOW 12 mA HIGH: nWE1 HIGH 12 mA HIGH: nWE2 HIGH 12 mA 5 LH7A400 32-Bit System-on-Chip Table 1. Functional Pin List (Cont'd) PBGA CABGA PIN PIN 6 SIGNAL DESCRIPTION M13 K16 K15 K14 J8 J16 J14 J9 H16 H14 G16 G14 G13 F16 L15 K12 K13 K16 J13 J11 J16 H15 H10 H12 G15 G10 G11 F16 A2/SA0 A3/SA1 A4/SA2 A5/SA3 A6/SA4 A7/SA5 A8/SA6 A9/SA7 A10/SA8 A11/SA9 A12/SA10 A13/SA11 A14/SA12 A15/SA13 F14 E16 A16/SB0 E16 F13 A17/SB1 E13 F11 D15 C16 B16 A15 A13 E14 D15 C16 C15 C14 B15 E11 A18 A19 A20 A21 A22 A23 A24 G8 D8 F8 B7 A8 A7 D8 C8 D10 C8 F8 D9 B10 E9 C10 A10 G9 A11 * Asynchronous Memory Address Bus * Smart Card Interface I/O (Data) * Asynchronous Memory Address Bus A26/SCCLK * Smart Card Interface Clock * Asynchronous Memory Address Bus A27/SCRST * Smart Card Interface Reset nOE Asynchronous Memory Output Enable nWE0 Asynchronous Memory Write Byte Enable 0 nWE3 Asynchronous Memory Write Byte Enable 3 * Asynchronous Memory Chip Select 6 CS6/SCKE1_2 * Synchronous Memory Clock Enable 1 OR 2 * Asynchronous Memory Chip Select 7 CS7/SCKE0 * Synchronous Memory Clock Enable 0 SCKE3 Synchronous Memory Clock Enable 3 A10 B10 SCLK C14 D13 E11 A12 C12 C13 A15 D11 E10 A13 nSCS0 nSCS1 nSCS2 nSCS3 nSWE C11 B11 nCAS RESET STATE STANDBY STATE OUTPUT DRIVE LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW LOW 12 mA 12 mA 12 mA 12 mA 12 mA 12 mA 12 mA 12 mA 12 mA 12 mA 12 mA 12 mA 12 mA 12 mA LOW LOW 12 mA LOW LOW 12 mA LOW LOW 12 mA LOW: A25 LOW 12 mA LOW: A26 LOW 12 mA LOW: A27 LOW 12 mA HIGH HIGH HIGH HIGH HIGH HIGH 12 mA 12 mA 8 mA LOW: CS6 LOW 12 mA LOW: CS7 LOW 12 mA LOW LOW Synchronous Memory Clock LOW LOW Synchronous Memory Chip Select 0 Synchronous Memory Chip Select 1 Synchronous Memory Chip Select 2 Synchronous Memory Chip Select 3 Synchronous Memory Write Enable Synchronous Memory Column Address Strobe Signal HIGH HIGH HIGH HIGH HIGH HIGH HIGH HIGH HIGH HIGH 12 mA 20 mA (sink) 12 mA (source) 12 mA 12 mA 12 mA 12 mA 12 mA HIGH HIGH 12 mA * Asynchronous Address Bus * Synchronous Address Bus * * * * Asynchronous Address Bus Synchronous Device Bank Address 0 Asynchronous Address Bus Synchronous Device Bank Address 1 Asynchronous Address Bus A25/SCIO Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Table 1. Functional Pin List (Cont'd) PBGA CABGA PIN PIN F9 A9 B9 D9 E9 C11 C9 A9 B9 A8 J5 K1 K1 K2 K2 K3 K5 L1 L2 L3 K3 K4 K6 K5 L1 L2 L4 L3 SIGNAL nRAS DQM0 DQM1 DQM2 DQM3 Synchronous Memory Row Address Strobe Signal Synchronous Memory Data Mask 0 Synchronous Memory Data Mask 1 Synchronous Memory Data Mask 2 Synchronous Memory Data Mask 3 * GPIO Port A PA0/LCDVD16 * LCD Data bit 16. This CLCDC output signal is always LOW. * GPIO Port A PA1/LCDVD17 * LCD Data bit 17. This CLCDC output signal is always LOW. PA2 PA3 PA4 GPIO Port A PA5 PA6 PA7 * GPIO Port B PB0/UARTRX1 * UART1 Receive Data Input L5 M1 PB1/UARTTX3 L7 M2 PB2/UARTRX3 M2 M3 M4 L5 N1 N1 PB3/ UARTCTS3 PB4/ UARTDCD3 PB5/ UARTDSR3 N2 N2 PB6/SWID/ SMBD N3 M4 PB7/SMBCLK P1 P1 PC0/UARTTX1 P2 P2 PC1/LCDPS R1 R1 PC2/ LCDVDDEN K6 M5 PC3/LCDREV L8 P3 PC4/LCDSPS T1 N4 PC5/LCDCLS Data Sheet DESCRIPTION * GPIO Port B * UART3 Transmit Data Out * * * * * * * * GPIO Port B UART3 Receive Data In GPIO Port B UART3 Clear to Send GPIO Port B UART3 Data Carrier Detect GPIO Port B UART3 Data Set Ready RESET STATE HIGH HIGH HIGH HIGH HIGH 12 mA 12 mA 12 mA 12 mA 12 mA Input: PA0 No Change 8 mA Input: PA1 No Change 8 mA Input No Change 8 mA Input: PB0 No Change 8 mA Input: PB1 LOW if UART3 is Enabled, otherwise No Change 8 mA Input: PB2 No Change 8 mA Input: PB3 No Change 8 mA Input: PB4 No Change 8 mA Input: PB5 No Change 8 mA Input: PB6 * GPIO Port B * Smart Battery Clock Input: PB7 GPIO Port C UART1 Transmit Data Output GPIO Port C HR-TFT Power Save GPIO Port C HR-TFT Power Sequence Control GPIO Port C HR-TFT Gray Scale Voltage Reverse GPIO Port C HR-TFT Reset Row Driver Counter GPIO Port C HR-TFT Row Driver Clock Version 1.0 OUTPUT DRIVE HIGH HIGH HIGH HIGH HIGH * GPIO Port B * Single Wire Data * Smart Battery Data * * * * * * * * * * * * STANDBY STATE Input if SMB is Enabled, otherwise No Change Input if SMB is Enabled, otherwise No Change 8 mA 8 mA LOW: PC0 No Change 12 mA LOW: PC1 No Change 12 mA LOW: PC2 No Change 12 mA LOW: PC3 No Change 12 mA LOW: PC4 No Change 12 mA LOW: PC5 No Change 12 mA 7 LH7A400 32-Bit System-on-Chip Table 1. Functional Pin List (Cont'd) PBGA CABGA PIN PIN 8 SIGNAL T2 R2 PC6/LCDHRLP R2 N5 PC7/LCDSPL M11 L11 K8 N11 R9 T9 P10 R10 L10 N10 M9 M9 K10 P10 T11 T12 R11 R12 T13 T9 K9 T10 PD0/LCDVD8 PD1/LCDVD9 PD2/LCDVD10 PD3/LCDVD11 PD4/LCDVD12 PD5/LCDVD13 PD6/LCDVD14 PD7/LCDVD15 PE0/LCDVD4 PE1/LCDVD5 PE2/LCDVD6 M10 R10 PE3/LCDVD7 A6 A5 PF0/INT0 B6 B4 PF1/INT1 C6 E7 PF2/INT2 H8 B3 PF3/INT3 B5 C5 PF4/INT4/ SCVCCEN D6 D6 PF5/INT5/ SCDETECT E6 A4 PF6/INT6/ PCRDY1 C5 A3 PF7/INT7/ PCRDY2 R3 M6 PG0/nPCOE T3 T1 PG1/nPCWE DESCRIPTION * * * * GPIO Port C LCD Latch Pulse GPIO Port C LCD Start Pulse Left * GPIO Port D * LCD Video Data Bus * GPIO Port E * LCD Video Data Bus RESET STATE STANDBY STATE OUTPUT DRIVE LOW: PC6 No Change 12 mA LOW: PC7 No Change 12 mA LOW if Dual-Panel LCD is Enabled; otherwise, No Change 12 mA LOW if 8-bit LCD is Enabled, otherwise No Change 12 mA No Change 8 mA No Change 8 mA No Change 8 mA No Change 8 mA LOW if SCI is Enabled; otherwise, No Change 8 mA No Change 8 mA No Change 8 mA No Change 8 mA No Change 8 mA No Change 8 mA LOW: PD0 LOW: PD1 LOW: PD2 LOW: PD3 LOW: PD4 LOW: PD5 LOW: PD6 LOW: PD7 Input: PE0 Input: PE1 Input: PE2 Input: PE3 * GPIO Port F Input: PF0 * External FIQ Interrupt. Interrupts can be level or (Schmitt) edge triggered and are internally debounced. Input: PF1 * GPIO Port F (Schmitt) * External IRQ Interrupts. Interrupts can be level or edge triggered and are internally debounced. Input: PF2 (Schmitt) * GPIO Port F Input: PF3 * External IRQ Interrupt. Interrupts can be level or (Schmitt) edge triggered and are internally debounced. * GPIO Port F * External IRQ Interrupt. Interrupts can be level or Input: PF4 edge triggered and are internally debounced. (Schmitt) * Smart Card Supply Voltage Enable * GPIO Port F * External IRQ Interrupt. Interrupts can be level or Input: PF5 edge triggered and are internally debounced. (Schmitt) * Smart Card Detection * GPIO Port F * External IRQ Interrupt. Interrupts can be level or Input: PF6 edge triggered and are internally debounced. (Schmitt) * Ready for Card 1 for PC Card (PCMCIA or CompactFlash) in single or dual card mode * GPIO Port F * External IRQ Interrupt. Interrupts can be level or Input: PF7 edge triggered and are internally debounced. (Schmitt) * Ready for Card 2 for PC Card (PCMCIA or CompactFlash) in single or dual card mode * GPIO Port G * Output Enable for PC Card (PCMCIA or LOW: PG0 CompactFlash) in single or dual card mode * GPIO Port G * Write Enable for PC Card (PCMCIA or LOW: PG1 CompactFlash) in single or dual card mode Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Table 1. Functional Pin List (Cont'd) PBGA CABGA PIN PIN SIGNAL L6 P4 PG2/nPCIOR M6 R3 PG3/nPCIOW N6 T2 PG4/nPCREG M7 P5 PG5/nPCCE1 M8 R4 PG6/nPCCE2 N4 T3 PG7/PCDIR P4 P6 PH0/ PCRESET1 R4 T4 PH1/CFA8/ PCRESET2 T4 M7 PH2/ nPCSLOTE1 N7 T5 PH3/CFA9/ PCMCIAA25/ nPCSLOTE2 P8 R6 PH4/ nPCWAIT1 P5 R7 PH5/CFA10/ PCMCIAA24/ nPCWAIT2 Data Sheet DESCRIPTION * GPIO Port G * I/O Read Strobe for PC Card (PCMCIA or CompactFlash) in single or dual card mode * GPIO Port G * I/O Write Strobe for PC Card (PCMCIA or CompactFlash) in single or dual card mode * GPIO Port G * Register Memory Access for PC Card (PCMCIA or CompactFlash) in single or dual card mode * GPIO Port G * Card Enable 1 for PC Card (PCMCIA or CompactFlash) in single or dual card mode. This signal and nPCCE2 are used by the PC Card for decoding low and high byte accesses. * GPIO Port G * Card Enable 2 for PC Card (PCMCIA or CompactFlash) in single or dual card mode. This signal and nPCCE1 are used by the PC Card for decoding low and high byte accesses. * GPIO Port G * Direction for PC Card (PCMCIA or CompactFlash) in single or dual card mode * GPIO Port H * Reset Card 1 for PC Card (PCMCIA or CompactFlash) in single or dual card mode * GPIO Port H * Address Bit 8 for PC Card (CompactFlash) in single card mode * Reset Card 2 for PC Card (PCMCIA or CompactFlash) in dual card mode * GPIO Port H * Enable Card 1 for PC Card (PCMCIA or CompactFlash) in single or dual card mode. This signal is used for gating other control signals to the appropriate PC Card. * GPIO Port H * Address Bit 9 for PC Card (CompactFlash) in single card mode * Address Bit 25 for PC Card (PCMCIA) in single card mode * Enable Card 2 for PC Card (PCMCIA or CompactFlash) in dual card mode. This signal is used for gating other control signals to the appropriate PC Card. * GPIO Port H * WAIT Signal for Card 1 for PC Card (PCMCIA or CompactFlash) in single or dual card mode * GPIO Port H * Address Bit 10 for PC Card (CompactFlash) in single card mode * Address Bit 24 for PC Card (PCMCIA) in single card mode * WAIT Signal for Card 2 for PC Card (PCMCIA or CompactFlash) in dual card mode Version 1.0 RESET STATE STANDBY STATE OUTPUT DRIVE LOW: PG2 No Change 8 mA LOW: PG3 No Change 8 mA LOW: PG4 No Change 8 mA LOW: PG5 No Change 8 mA LOW: PG6 No Change 8 mA LOW: PG7 No Change 8 mA Input: PH0 No Change 8 mA Input: PH1 No Change 8 mA Input: PH2 No Change 8 mA Input: PH3 No Change 8 mA Input: PH4 No Change 8 mA Input: PH5 No Change 8 mA 9 LH7A400 32-Bit System-on-Chip Table 1. Functional Pin List (Cont'd) PBGA CABGA PIN PIN SIGNAL R5 P7 PH6/ AC97RESET T5 T6 PH7/nPCSTATRE R6 R8 T7 R9 P9 P9 N9 P7 R7 T7 N8 N9 M8 P8 R8 T8 LCDFP LCDLP LCDENAB/ LCDM LCDDCLK LCDVD0 LCDVD1 LCDVD2 LCDVD3 T15 T16 T16 DESCRIPTION * * * * GPIO Port H Audio Codec (AC97) Reset GPIO Port H Status Read Enable for PC Card (PCMCIA or CompactFlash) in single or dual card mode LCD Frame Synchronization pulse LCD Line Synchronization pulse * LCD TFT Data Enable * LCD STN AC Bias LCD Data Clock RESET STATE STANDBY STATE OUTPUT DRIVE Input: PH6 No Change 8 mA Input: PH7 No Change 8 mA LOW LOW LOW: LCDENAB LOW LOW LOW 12 mA 12 mA LOW 12 mA LOW 12 mA 12 mA LCD Video Data Bus LOW LOW USBDP USB Data Positive (Differential Pair) Input Input R16 USBDN USB Data Negative (Differential Pair) Input Input E7 C7 nPWME0 Input Input D7 A6 nPWME1 Input Input C7 B6 PWM0 Input Input 8 mA B7 B5 PWM1 Input Input 8 mA C4 A2 ACBITCLK Input Input D5 A1 ACOUT LOW LOW 8 mA B4 B2 ACSYNC LOW LOW 8 mA A4 E6 ACIN Input Input A3 C3 B3 B1 A2 D4 E2 E1 UARTCTS2 E3 F3 UARTDCD2 E5 F2 G4 G5 UARTDSR2 UARTIRTX1 F3 G6 UARTIRRX1 F4 F1 UARTTX2 10 MMCCLK/ MMSPICLK MMCCMD/ MMSPIDIN MMCDATA/ MMSPIDOUT DC-DC Converter Pulse Width Modulator 0 Enable DC-DC Converter Pulse Width Modulator 1 Enable DC-DC Converter Pulse Width Modulator 0 Output during normal operation and Polarity Selection input at reset DC-DC Converter Pulse Width Modulator 1 Output during normal operation and Polarity Selection input at reset * Audio Codec (AC97) Clock * Audio Codec (ACI) Clock * Audio Codec (AC97) Output * Audio Codec (ACI) Output * Audio Codec (AC97) Synchronization * Audio Codec (ACI) Synchronization * Audio Codec (AC97) Input * Audio Codec (ACI) Input * MultiMediaCard Clock (20 MHz MAX.) * MultiMediaCard SPI Mode Clock * MultiMediaCard Command * MultiMediaCard SPI Mode Data Input * MultiMediaCard Data * MultiMediaCard SPI Mode Data Output UART2 Clear to Send Signal. This pin is an output for JTAG boundary scan only. UART2 Data Carrier Detect Signal. This pin is output for JTAG boundary scan only. UART2 Data Set Ready Signal IrDA Transmit IrDA Receive. This pin is an output for JTAG boundary scan only. UART2 Transmit Data Output Version 1.0 LOW: MMCCLK Input: MMCCMD Input: MMCDATA 75 mA (NOM.) 75 mA (NOM.) LOW 8 mA Input 8 mA Input 8 mA Input Input Input Input Input LOW Input LOW Input Input HIGH HIGH 8 mA 8 mA Data Sheet 32-Bit System-on-Chip LH7A400 Table 1. Functional Pin List (Cont'd) PBGA CABGA PIN PIN SIGNAL J7 G3 UARTRX2 H4 J1 J2 J3 J6 J7 J3 J2 F6 F5 G1 G2 G4 G5 H1 H2 H3 G2 G1 H3 H5 H6 H7 H2 H1 J1 SSPCLK SSPRX SSPTX SSPFRM/ nSSPFRM COL0 COL1 COL2 COL3 COL4 COL5 COL6 COL7 TBUZ C3 F5 MEDCHG P11 T14 WIDTH0 R12 T15 WIDTH1 D1 D2 E3 F6 BATOK nBATCHG A1 E5 TDI B1 C2 TCK B2 D3 TDO C1 C1 TMS T12 P15 nTEST0 R15 P13 nTEST1 DESCRIPTION RESET STATE STANDBY STATE OUTPUT DRIVE UART2 Receive Data Input. This pin is an output for JTAG boundary scan only. Synchronous Serial Port Clock Synchronous Serial Port Receive Synchronous Serial Port Transmit Input Input LOW Input LOW LOW Input LOW 8 mA Synchronous Serial Port Frame Sync HIGH: Output 8 mA Keyboard Interface HIGH HIGH 8 mA Timer Buzzer (254 kHz MAX.) Boot Device Media Change. Used with WIDTH0 and WIDTH1 to specify boot memory device. External Memory Width Pins. Also, used with MEDCHG to specify the boot memory device size. These pins have weak internal pull-up resistors. Battery OK Battery Change JTAG Data In. This signal is internally pulled-up to VDD. JTAG Clock. This signal should be externally pulled-up to VDD. JTAG Data Out. This signal should be externally pulled up to VDD with a 33 k resistor. JTAG Test Mode select. This signal is internally pulled-up to VDD. Test Pin 0. Internally pulled up to VDD. For Normal mode, leave open. For JTAG mode, tie to GND. See Table 2. Test Pin 1. internally pulled up to VDD. For Normal and JTAG mode, leave open. See Table 2. LOW LOW 8 mA 8 mA Input (Schmitt) Input Input (Schmitt) Input with with pull-up pull-up Input (Schmitt) Input (Schmitt) Input with Pull-up Input Input Input with Pull-up Input Input Input No Change Input with Pull-up Input with Pull-up Input with Pull-up Input with Pull-up Input with Pull-up Input with Pull-up 4 mA NOTES: *Signals beginning with `n' are Active LOW. Table 2. nTest Pin Function MODE nTEST0 nTEST1 nURESET JTAG 0 1 1 Normal 1 1 x Data Sheet Version 1.0 11 LH7A400 32-Bit System-on-Chip Table 3. LCD Data Multiplexing STN PBGA PIN CABGA PIN LCD DATA SIGNAL MONO 4-BIT SINGLE PANEL DUAL PANEL MONO 8-BIT SINGLE PANEL DUAL PANEL COLOR SINGLE PANEL TFT DUAL PANEL AD-TFT/ HR-TFT K1 K2 LCDVD17 LOW J5 K1 LCDVD16 LOW R10 T13 LCDVD15 MLSTN7 CLSTN7 Intensity Intensity P10 R12 LCDVD14 MLSTN6 CLSTN6 BLUE4 BLUE4 T9 R11 LCDVD13 MLSTN5 CLSTN5 BLUE3 BLUE3 R9 T12 LCDVD12 MLSTN4 CLSTN4 BLUE2 BLUE2 N11 T11 LCDVD11 MLSTN3 CLSTN3 BLUE1 BLUE1 K8 P10 LCDVD10 MLSTN2 CLSTN2 BLUE0 BLUE0 L11 K10 LCDVD9 MLSTN1 CLSTN1 GREEN4 GREEN4 M11 M9 LCDVD8 MLSTN0 CLSTN0 GREEN3 GREEN3 M10 R10 LCDVD7 MLSTN3 MUSTN7 MUSTN7 CUSTN7 CUSTN7 GREEN2 GREEN2 M9 T10 LCDVD6 MLSTN2 MUSTN6 MUSTN6 CUSTN6 CUSTN6 GREEN1 GREEN1 N10 K9 LCDVD5 MLSTN1 MUSTN5 MUSTN5 CUSTN5 CUSTN5 GREEN0 GREEN0 L10 T9 LCDVD4 MLSTN0 MUSTN4 MUSTN4 CUSTN4 CUSTN4 RED4 RED4 N8 T8 LCDVD3 MUSTN3 MUSTN3 MUSTN3 MUSTN3 CUSTN3 CUSTN3 RED3 RED3 T7 R8 LCDVD2 MUSTN2 MUSTN2 MUSTN2 MUSTN2 CUSTN2 CUSTN2 RED2 RED2 R7 P8 LCDVD1 MUSTN1 MUSTN1 MUSTN1 MUSTN1 CUSTN1 CUSTN1 RED1 RED1 P7 M8 LCDVD0 MUSTN0 MUSTN0 MUSTN0 MUSTN0 CUSTN0 CUSTN0 RED0 RED0 NOTES: 1. The Intensity bit is identically generated for all three colors. 2. MU = Monochrome Upper 3. CU = Color Upper 4. CL = Color Lower 12 Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Table 4. 256-Ball PBGA Package Numerical Pin List BGA PIN SIGNAL RESET STATE STANDBY STATE A1 TDI Input with Pull-up A2 MMCDATA/MMSPIDOUT Input: MMSPIDOUT LOW A3 MMCCLK/MMSPICLK LOW: MMSPICLK LOW A4 ACIN Input Input Input: PF0 No Change LOW: A27 LOW A5 VSS A6 PF0/INT0 A7 VDDC A8 A27/SCRST Input with Pull-up A9 DQM0 HIGH LOW A10 SCLK LOW LOW HIGH HIGH A11 VSS A12 nSCS3 A13 A24 LOW LOW A14 D24 LOW LOW A15 A23 LOW LOW A16 D23 LOW LOW B1 TCK Input Input B2 TDO Input No Change B3 MMCCMD/MMSPIDIN Input: MMSPIDIN LOW B4 ACSYNC LOW LOW B5 PF4/INT4/SCVCCEN Input: PF4 LOW if SCI is Enabled; otherwise, No Change B6 PF1/INT1 Input: PF1 No Change B7 PWM1 Input Input B8 VDD B9 DQM1 HIGH LOW B10 CS6/SCKE1_2 LOW: CS6 LOW B11 D30 LOW LOW B12 D29 LOW LOW B13 D25 LOW LOW B14 VDD B15 VSSC B16 A22 LOW LOW C1 TMS Input with Pull-up Input with Pull-up C2 nEXTPWR Input Input C3 MEDCHG Input Input C4 ACBITCLK Input Input C5 PF7/INT7/PCRDY2 Input: PF7 No Change C6 PF2/INT2 PF2/INT2 No Change C7 PWM0 Input Input C8 nWE0 HIGH HIGH LOW: CS7 LOW C9 VSSC C10 CS7/SCKE0 C11 nCAS HIGH HIGH C12 nSWE HIGH HIGH C13 D26 LOW LOW Data Sheet Version 1.0 13 LH7A400 32-Bit System-on-Chip Table 4. 256-Ball PBGA Package Numerical Pin List (Cont'd) BGA PIN C14 nSCS0 C15 VSS C16 D1 RESET STATE STANDBY STATE HIGH HIGH A21 LOW LOW BATOK Input Input D2 nBATCHG Input Input D3 nPOR Input Input D4 WAKEUP Input Input D5 ACOUT LOW LOW D6 PF5/INT5/SCDETECT Input: PF5 No Change D7 nPWME1 Input Input D8 nOE HIGH HIGH D9 DQM2 HIGH LOW D10 nWE3 HIGH HIGH D11 D31 LOW LOW D12 VDDC D13 nSCS1 HIGH HIGH D14 D21 LOW LOW D15 A20 LOW LOW D19 LOW LOW D16 E1 VDDC E2 UARTCTS2 Input Input E3 UARTDCD2 Input Input E4 nPWRFL Input Input E5 UARTDSR2 Input Input E6 PF6/INT6/PCRDY1 Input: PF6 No Change E7 nPWME0 Input Input HIGH LOW E8 VSS E9 DQM3 E10 VDD E11 nSCS2 HIGH HIGH E12 D27 LOW LOW E13 A18 LOW LOW E14 D18 LOW LOW E15 VDDC E16 A17/SB1 LOW: SBANK1 LOW F1 14 SIGNAL VDD F2 UARTIRTX1 LOW LOW F3 UARTIRRX1 Input Input F4 UARTTX2 HIGH HIGH F5 COL1 HIGH HIGH F6 COL0 HIGH HIGH F7 VSS F8 A26/SCCLK LOW: A26 LOW F9 nRAS HIGH HIGH F10 D22 LOW LOW Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Table 4. 256-Ball PBGA Package Numerical Pin List (Cont'd) BGA PIN SIGNAL RESET STATE STANDBY STATE F11 A19 LOW LOW F12 D17 LOW LOW F13 VDD F14 A16/SB0 LOW: SBANK0 LOW F15 D16 LOW LOW F16 A15/SA13 LOW: SA13 LOW G1 COL2 HIGH HIGH G2 COL3 HIGH HIGH G3 VSS G4 COL4 HIGH HIGH G5 COL5 HIGH HIGH G6 VSSC LOW: A25 LOW G7 VDD G8 A25/SCIO G9 SCKE3 LOW LOW G10 D28 LOW LOW G11 D14 LOW LOW G12 D15 LOW LOW G13 A14/SA12 LOW: SA12 LOW G14 A13/SA11 LOW: SA11 LOW G15 D13 LOW LOW G16 A12/SA10 LOW: SA10 LOW H1 COL6 HIGH HIGH H2 COL7 HIGH HIGH H3 TBUZ LOW LOW H4 SSPCLK LOW LOW Input Input Input: PF3 No Change H5 VSSC H6 nURESET H7 VSS H8 PF3/INT3 H9 VSS H10 D20 LOW LOW H11 D6 LOW LOW H12 VSSC H13 D12 LOW LOW H14 A11/SA9 LOW: SA9 LOW H15 D11 LOW LOW H16 A10/SA8 LOW: SA8 LOW J1 SSPRX Input Input J2 SSPTX LOW LOW J3 SSPFRM/nSSPFRM Input: nSSPFRM Input J4 VDDC J5 PA0/LCDVD16 Input: PA0 No Change J6 PGMCLK LOW LOW J7 UARTRX2 Input Input Data Sheet Version 1.0 15 LH7A400 32-Bit System-on-Chip Table 4. 256-Ball PBGA Package Numerical Pin List (Cont'd) BGA PIN 16 SIGNAL RESET STATE STANDBY STATE J8 A6/SA4 LOW: SA4 LOW J9 A9/SA7 LOW: SA7 LOW J10 D10 LOW LOW J11 VDD J12 VDD J13 D9 LOW LOW J14 A8/SA6 LOW: SA6 LOW J15 D8 LOW LOW J16 A7/SA5 LOW: SA5 LOW K1 PA1/LCDVD17 Input: PA1 No Change K2 PA2 Input No Change K3 PA3 Input No Change K4 VSS K5 PA4 Input No Change K6 PC3/LCDREV LOW: PC3 No Change K7 VDD K8 PD2/LCDVD10 LOW: PD2 LOW if Dual-Panel LCD is Enabled; otherwise, No Change K9 VDDC K10 nCS1 HIGH HIGH K11 nCS0 HIGH HIGH K12 D7 LOW LOW K13 VSS K14 A5/SA3 LOW: SA3 LOW K15 A4/SA2 LOW: SA2 LOW K16 A3/SA1 LOW: SA1 LOW L1 PA5 Input No Change L2 PA6 Input No Change L3 PA7 Input No Change L4 PB0/UARTRX1 Input: PB0 No Change L5 PB1/UARTTX3 Input: PB1 LOW if UART3 is Enabled, otherwise No Change L6 PG2/nPCIOR LOW: PG2 No Change L7 PB2/UARTRX3 Input: PB2 No Change L8 PC4/LCDSPS LOW: PC4 No Change L9 VSSC L10 PE0/LCDVD4 Input: PE0 LOW if 8-bit LCD is Enabled, otherwise No Change L11 PD1/LCDVD9 LOW: PD1 LOW if Dual-Panel LCD is Enabled; otherwise, No Change L12 D0 LOW LOW L13 VDDC L14 D5 LOW LOW L15 D4 LOW LOW L16 D3 LOW LOW M1 VDD M2 PB3/UARTCTS3 Input: PB3 No Change M3 VSSC Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Table 4. 256-Ball PBGA Package Numerical Pin List (Cont'd) BGA PIN SIGNAL M4 PB4/UARTDCD3 M5 VDD RESET STATE STANDBY STATE Input: PB4 No Change M6 PG3/nPCIOW LOW: PG3 No Change M7 PG5/nPCCE1 LOW: PG5 No Change M8 PG6/nPCCE2 LOW: PG6 No Change M9 PE2/LCDVD6 Input: PE2 LOW if 8-bit LCD is Enabled; otherwise No Change M10 PE3/LCDVD7 Input: PE3 LOW if 8-bit LCD is Enabled; otherwise No Change M11 PD0/LCDVD8 LOW: PD0 LOW if Dual-Panel LCD is Enabled; otherwise, No Change M12 nCS3/nMMSPICS HIGH: nCS3 HIGH M13 A2/SA0 LOW: SA0 LOW M14 VDD M15 D1 LOW LOW M16 A0/nWE1 HIGH: nWE1 HIGH N1 PB5/UARTDSR3 Input: PB5 No Change N2 PB6/SWID/SMBD Input: PB6 Input if SMB is Enabled; otherwise No Change N3 PB7/SMBCLK Input: PB7 Input if SMB is Enabled; otherwise No Change N4 PG7/PCDIR LOW: PG7 No Change N5 VSS N6 PG4/nPCREG LOW: PG4 No Change N7 PH3/CFA9/PCMCIAA25/nPCSLOTE2 Input: PH3 No Change N8 LCDVD3 LOW LOW N9 LCDDCLK LOW LOW N10 PE1/LCDVD5 Input: PE1 LOW if 8-bit LCD is Enabled; otherwise No Change N11 PD3/LCDVD11 LOW: PD3 LOW if Dual-Panel LCD is Enabled; otherwise, No Change N12 VDDA N13 D2 LOW LOW N14 A1/nWE2 HIGH: nWE2 HIGH N15 VSSC N16 VSS P1 PC0/UARTTX1 LOW: PC0 No Change P2 PC1/LCDPS LOW: PC1 No Change P3 VDDC P4 PH0/PCRESET1 Input: PH0 No Change P5 PH5/CFA10/PCMCIAA24/nPCWAIT2 Input: PH5 No Change P6 VSS P7 LCDVD0 LOW LOW P8 PH4/nPCWAIT1 Input: PH4 No Change P9 LCDENAB/LCDM LOW: LCDENAB LOW P10 PD6/LCDVD14 LOW: PD6 LOW if Dual-Panel LCD is Enabled; otherwise, No Change P11 WIDTH0 Input Input P12 VSSA P13 nCS2 HIGH HIGH P14 CLKEN LOW LOW Data Sheet Version 1.0 17 LH7A400 32-Bit System-on-Chip Table 4. 256-Ball PBGA Package Numerical Pin List (Cont'd) BGA PIN SIGNAL RESET STATE STANDBY STATE P15 XTAL32OUT Output Output P16 XTAL32IN Input Input R1 PC2/LCDVDDEN LOW: PC2 No Change R2 PC7/LCDSPL LOW: PC7 No Change R3 PG0/nPCOE LOW: PG0 No Change R4 PH1/CFA8/PCRESET2 Input: PH1 No Change R5 PH6/nAC97RESET Input: PH6 No Change R6 LCDFP LOW LOW R7 LCDVD1 LOW LOW R8 LCDLP LOW LOW R9 PD4/LCDVD12 LOW: PD4 LOW if Dual-Panel LCD is Enabled; otherwise, No Change R10 PD7/LCDVD15 LOW: PD7 LOW if Dual-Panel LCD is Enabled; otherwise, No Change R11 VDDA R12 WIDTH1 Input Input R13 XTALIN Input Input R14 VDD R15 nTEST1 Input with Pull-up Input with Pull-up No Change R16 VSS T1 PC5/LCDCLS LOW: PC5 T2 PC6/LCDHRLP LOW: PC6 No Change T3 PG1/nPCWE LOW: PG1 No Change T4 PH2/nPCSLOTE1 Input: PH2 No Change T5 PH7/nPCSTATRE Input: PH7 No Change LOW LOW LOW: PD5 LOW if Dual-Panel LCD is Enabled; otherwise, No Change T6 VDD T7 LCDVD2 T8 VDDC T9 PD5/LCDVD13 T10 VSSC T11 VSSA T12 nTEST0 Input with Pull-up Input with Pull-up T13 XTALOUT LOW LOW T14 VSS T15 USBDP HIGH HIGH T16 USBDN LOW LOW NOTE: `No Change' means the pin remains as it was programmed prior to entering the Standby state. 18 Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Table 5. 256-Ball CABGA Package Numerical Pin List CABGA PIN SIGNAL RESET STATE STANDBY STATE A1 ACOUT LOW LOW A2 ACBITCLK Input Input A3 PF7/INT7/PCRDY2 Input: PF7 (Schmitt) No Change A4 PF6/INT6/PCRDY1 Input: PF6 (Schmitt) No Change A5 PF0/INT0 Input: PF0 (Schmitt) No Change A6 nPWME1 Input Input A7 A27/SCRST LOW: A27 LOW A8 DQM3 HIGH HIGH A9 DQM1 HIGH HIGH A10 CS7/SCKE0 LOW: CS7 LOW A11 SCKE3 LOW LOW A12 D31 LOW LOW A13 nSWE HIGH HIGH A14 D29 LOW LOW A15 nSCS1 HIGH HIGH A16 D25 LOW LOW B1 MMCCMD/MMSPIDIN Input: MMCCMD Input B2 ACSYNC LOW LOW B3 PF3/INT3 Input: PF3 (Schmitt) No Change B4 PF1/INT1 Input: PF1 (Schmitt) No Change B5 PWM1 Input B6 PWM0 Input Input B7 A26/SCCLK LOW: A26 LOW B8 VSS Input B9 DQM2 HIGH HIGH B10 SCLK LOW LOW B11 nCAS HIGH HIGH B12 D30 LOW LOW B13 D26 LOW LOW B14 D27 LOW LOW B15 A23 LOW LOW B16 D23 LOW LOW C1 TMS Input with Pull-up Input with Pull-up C2 TCK Input Input C3 MMCCLK/MMSPICLK LOW: MMCCLK LOW C4 VDDC C5 PF4/INT4/SCVCCEN C6 VSS Input: PF4 (Schmitt) LOW if SCI is Enabled; otherwise, No Change C7 nPWME0 Input Input C8 nOE HIGH HIGH C9 DQM0 HIGH HIGH C10 VDD C11 nRAS HIGH HIGH Data Sheet Version 1.0 19 LH7A400 32-Bit System-on-Chip Table 5. 256-Ball CABGA Package Numerical Pin List CABGA PIN C12 D28 RESET STATE LOW STANDBY STATE LOW C13 nSCS0 HIGH HIGH C14 A22 LOW LOW C15 A21 LOW LOW C16 A20 LOW LOW D1 nURESET Input (Schmitt) Input D2 nEXTPWR Input (Schmitt) Input D3 TDO Input No Change D4 MMCDATA/MMSPIDOUT Input: MMCDATA Input D5 VSS D6 PF5/INT5/SCDETECT Input: PF5 (Schmitt) No Change D7 VDDC D8 A25/SCIO LOW: A25 LOW D9 nWE3 HIGH HIGH D10 VDDC D11 nSCS2 HIGH HIGH D12 D24 LOW LOW D13 VSS D14 D21 LOW LOW D15 A19 LOW LOW D16 D18 LOW LOW E1 UARTCTS2 Input Input E2 WAKEUP Input (Schmitt) Input E3 BATOK Input (Schmitt) Input E4 nPOR Input Input E5 TDI Input with Pull-up Input with Pull-up E6 ACIN Input Input E7 PF2/INT2 Input: PF2 (Schmitt) No Change E8 VSS E9 CS6/SCKE1_2 LOW: CS6 LOW E10 nSCS3 HIGH HIGH E11 A24 LOW LOW E12 D22 LOW LOW E13 D20 LOW LOW E14 A18 LOW LOW E15 D17 LOW LOW E16 A16/SB0 LOW LOW UARTTX2 HIGH HIGH F1 20 SIGNAL F2 nPWRFL Input (Schmitt) Input F3 UARTDCD2 Input Input F4 VDDC F5 MEDCHG Input (Schmitt) Input F6 nBATCHG Input (Schmitt) Input Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Table 5. 256-Ball CABGA Package Numerical Pin List CABGA PIN F7 SIGNAL RESET STATE STANDBY STATE VSS F8 nWE0 F9 VDD F10 VDDC HIGH HIGH F11 VDD F12 D19 LOW LOW F13 A17/SB1 LOW LOW F14 VDD F15 D16 LOW LOW F16 A15/SA13 LOW LOW G1 COL1 HIGH HIGH G2 COL0 HIGH HIGH G3 UARTRX2 Input Input G4 UARTDSR2 Input Input G5 UARTIRTX1 LOW LOW G6 UARTIRRX1 Input Input G7 VSSC G8 VDD G9 D13 LOW LOW G10 A13/SA11 LOW LOW G11 A14/SA12 LOW LOW G12 D15 LOW LOW G13 VSS G14 D14 LOW LOW G15 A12/SA10 LOW LOW G16 D12 LOW LOW H1 COL7 HIGH HIGH H2 COL6 HIGH HIGH H3 COL2 HIGH HIGH H4 VSSC H5 COL3 HIGH HIGH H6 COL4 HIGH HIGH H7 COL5 HIGH HIGH H8 VSSC H9 VSS H10 A10/SA8 LOW LOW H11 D11 LOW LOW H12 A11/SA9 LOW LOW H13 VDD H14 D10 LOW LOW H15 A9/SA7 LOW LOW D9 LOW LOW TBUZ LOW LOW H16 J1 Data Sheet Version 1.0 21 LH7A400 32-Bit System-on-Chip Table 5. 256-Ball CABGA Package Numerical Pin List CABGA PIN 22 SIGNAL RESET STATE STANDBY STATE J2 SSPFRM/nSSPFRM Input: nSSPFRM Input J3 SSPCLK LOW LOW J4 VDDC J5 PGMCLK LOW LOW J6 SSPRX Input Input J7 SSPTX LOW LOW J8 VDDC J9 VDD J10 D8 LOW LOW J11 A7/SA5 LOW LOW J12 D7 LOW LOW J13 A6/SA4 LOW LOW J14 VSS J15 D6 LOW LOW J16 A8/SA6 LOW LOW K1 PA0/LCDVD16 Input: PA0 No Change K2 PA1/LCDVD17 Input: PA1 No Change K3 PA2 Input No Change K4 PA3 Input No Change K5 PA5 Input No Change K6 PA4 Input No Change K7 VSS K8 VDDC K9 PE1/LCDVD5 Input: PE1 K10 PD1/LCDVD9 LOW: PD1 K11 D3 LOW LOW K12 A3/SA1 LOW LOW K13 A4/SA2 LOW LOW K14 D5 LOW LOW K15 VDD K16 A5/SA3 LOW LOW L1 PA6 Input No Change L2 PA7 Input No Change L3 PB0/UARTRX1 Input: PB0 No Change Input: PB4 No Change LOW LOW L4 VSSC L5 PB4/UARTDCD3 L6 VDDC L7 VDD L8 VSS L9 VSSC L10 VSS L11 D0 L12 VSS Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Table 5. 256-Ball CABGA Package Numerical Pin List CABGA PIN L13 SIGNAL RESET STATE STANDBY STATE D1 LOW LOW L14 D2 LOW LOW L15 A2/SA0 LOW LOW L16 D4 LOW LOW M1 PB1/UARTTX3 Input: PB1 LOW if UART3 is Enabled, otherwise No Change M2 PB2/UARTRX3 Input: PB2 No Change M3 PB3/UARTCTS3 Input: PB3 No Change M4 PB7/SMBCLK Input: PB7 Input if SMB is Enabled, otherwise No Change M5 PC3/LCDREV LOW: PC3 No Change M6 PG0/nPCOE LOW: PG0 No Change M7 PH2/nPCSLOTE1 Input: PH2 No Change M8 LCDVD0 LOW LOW M9 PD0/LCDVD8 LOW: PD0 LOW if Dual-Panel LCD is Enabled; otherwise, No Change M10 VDDA M11 VSS M12 CLKEN LOW LOW M13 XTAL32OUT Output Output M14 VSS M15 A0/nWE1 HIGH: nWE1 HIGH M16 A1/nWE2 HIGH: nWE2 HIGH N1 PB5/UARTDSR3 Input: PB5 No Change N2 PB6/SWID/SMBD Input: PB6 Input if SMB is Enabled, otherwise No Change N3 VSSC N4 PC5/LCDCLS LOW: PC5 No Change N5 PC7/LCDSPL LOW: PC7 No Change N6 VDD N7 VSSC N8 VDD N9 LCDDCLK LOW LOW N10 VSSC N11 VSSA N12 VDD N13 VDD N14 XTAL32IN Input Input N15 nCS2 HIGH HIGH N16 nCS3/nMMSPICS HIGH: nCS3 HIGH PC0/UARTTX1 LOW: PC0 No Change P1 P2 PC1/LCDPS LOW: PC1 No Change P3 PC4/LCDSPS LOW: PC4 No Change P4 PG2/nPCIOR LOW: PG2 No Change P5 PG5/nPCCE1 LOW: PG5 No Change P6 PH0/PCRESET1 Input: PH0 No Change Data Sheet Version 1.0 23 LH7A400 32-Bit System-on-Chip Table 5. 256-Ball CABGA Package Numerical Pin List CABGA PIN 24 SIGNAL RESET STATE STANDBY STATE P7 PH6/AC97RESET Input: PH6 No Change P8 LCDVD1 LOW LOW P9 LCDENAB/LCDM LOW: LCDENAB LOW P10 PD2/LCDVD10 LOW: PD2 No Change P11 VDD P12 VDDA P13 nTEST1 Input with Pull-up Input with Pull-up P14 nCS0 HIGH HIGH No Change P15 nTEST0 Input with Pull-up Input with Pull-up P16 nCS1 HIGH HIGH R1 PC2/LCDVDDEN LOW: PC2 No Change R2 PC6/LCDHRLP LOW: PC6 No Change R3 PG3/nPCIOW LOW: PG3 No Change R4 PG6/nPCCE2 LOW: PG6 No Change R5 VSSC R6 PH4/nPCWAIT1 Input: PH4 No Change R7 PH5/CFA10/PCMCIAA24/nPCWAIT2 Input: PH5 No Change R8 LCDVD2 LOW LOW R9 LCDLP LOW LOW R10 PE3/LCDVD7 Input: PE3 No Change R11 PD5/LCDVD13 LOW: PD5 No Change R12 PD6/LCDVD14 LOW: PD6 No Change R13 VSSA R14 XTALIN Input Input R15 XTALOUT LOW LOW R16 USBDN Input Input T1 PG1/nPCWE LOW: PG1 No Change T2 PG4/nPCREG LOW: PG4 No Change T3 PG7/PCDIR LOW: PG7 No Change T4 PH1/CFA8/PCRESET2 Input: PH1 No Change T5 PH3/CFA9/PCMCIAA25/nPCSLOTE2 Input: PH3 No Change T6 PH7/nPCSTATRE Input: PH7 No Change T7 LCDFP LOW LOW T8 LCDVD3 LOW LOW T9 PE0/LCDVD4 Input: PE0 LOW if 8-bit LCD is Enabled, otherwise No Change T10 PE2/LCDVD6 Input: PE2 No Change T11 PD3/LCDVD11 LOW: PD3 No Change T12 PD4/LCDVD12 LOW: PD4 No Change T13 PD7/LCDVD15 LOW: PD7 No Change T14 WIDTH0 Input (Schmitt) Input T15 WIDTH1 Input (Schmitt) Input T16 USBDP Input Input Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 TOUCH SCREEN CONTR. ROM FLASH 1 2 4 5 7 8 3 9 * 0 # 6 SMART CARD SRAM STN/TFT/ AD-TFT GPIO SSP UART SCI MMC MULTIMEDIA CARD SDRAM LH7A400 DMA COMPACT FLASH CODEC AC97 PC CARD PCMCIA UART USB IR BMI DC to DC BATTERY VOLTAGE GENERATION CIRCUITRY LH7A400-3 Figure 2. Application Diagram SYSTEM DESCRIPTIONS ARM922T Processor The LH7A400 microcontroller features the ARM922T cached core with an Advanced High Performance Bus (AHB) interface. The processor is a member of the ARM9T family of processors. For more information, see the ARM document, `ARM922T Technical Reference Manual', available on ARM's website at www.arm.com. Clock and State Controller The clocking scheme in the LH7A400 is based around two primary oscillator inputs. These are the 14.7456 MHz input crystal and the 32.768 kHz real time clock oscillator. See Figure 3. The 14.7456 MHz oscillator is used to generate the main system clock domains for the LH7A400, where as the 32.768 kHz is used for controlling the power down operations and real time clock peripheral. The clock and state controller provides the clock gating and frequency division necessary, and then supplies the clocks to the processor and to the rest of the system. The amount of clock gating that actually takes place is dependent on the current power saving mode selected. Data Sheet The 32.768 kHz clock provides the source for the Real Time Clock tree and power-down logic.This clock is used for the power state control in the design and is the only clock in the LH7A400 that runs permanently. The 32.768 kHz clock is divided down to 1 Hz using a ripple divider to save power. This generated 1 Hz clock is used in the Real Time Clock counter. The 14.7456 MHz source is used to generate the main system clocks for the LH7A400. It is the source for PLL1 and PLL2, it acts as the primary clock to the peripherals and is the source clock to the Programmable clock (PGM) divider. PLL1 provides the main clock tree for the chip, it generates the following clocks: FCLK, HCLK and PCLK. FCLK is the clock that drives the ARM922T core. HCLK is the main bus (AHB) clock, as such it clocks all memory interfaces, bus arbitrators and the AHB peripherals. HCLK is generated by dividing FCLK by 1, 2, 3, or 4. HCLK can be gated by the system to enable low power operation. PCLK is the peripheral bus (APB) clock. It is generated by dividing HCLK by either 2, 4, or 8. PLL2 is used to generate a fixed frequency of 48 MHz for the USB peripheral. Version 1.0 25 LH7A400 32-Bit System-on-Chip 14.7456 MHz MAIN OSC. 32.768 kHz RTC OSC. FCLK STATE CONTROLLER HCLK (TO PROCESSOR CORE) DIVIDE REGISTER HCLK /2, /4, /8 PCLKs LH7A400-4 Figure 3. Clock and State Controller Block Diagram Power Modes Data Paths The LH7A400 has three operational states: Run, Halt, and Standby. In Run mode, all clocks are hardware-enabled and the processor is clocked. Halt mode stops the processor clock while waiting for an event such as a key press, but the device continues to function. Finally, Standby equates to the computer being switched `off', i.e. no display (LCD disabled) and the main oscillator is shut down. The 32.768 kHz oscillator operates in all three modes. Reset Modes There are three external signals that can generate resets to the LH7A400; these are nPOR (power on reset), nPWRFL (power failure) and nURESET (user reset). If any of these are active, a system reset is generated internally. A nPOR reset performs a full system reset. The nPWRFL and nURESET resets will perform a full system reset except for the SDRAM refresh control, SDRAM Global Configuration, SDRAM Device Configuration and the RTC peripheral registers. The SDRAM controller will issue a self-refresh command to external SDRAM before the system enters this reset (the nPWRFL and nURESET resets only, not so for the nPOR reset). This allows the system to maintain its Real Time Clock and SDRAM contents. On coming out of reset, the chip enters Standby mode. Once in Run mode the PWRSR register can be interrogated to determine the nature of the reset, and the trigger source, after which software can then take appropriate actions. 26 The data paths in the LH7A400 are: * The AMBA AHB bus * The AMBA APB bus * The External Bus Interface * The LCD AHB bus * The DMA busses. AMBA AHB BUS The Advanced Microprocessor Bus Architecture Advanced High-performance Bus (AMBA AHB) bus is a high speed 32-bit-wide data bus. The AMBA AHB is for high-performance, high clock frequency system modules. Peripherals that have high bandwidth requirements are connected to the LH7A400 core processor using the AHB bus. These include the external and internal memory interfaces, the LCD registers, palette RAM and the bridge to the Advanced Peripheral Bus (APB) interface. The APB Bridge transparently converts the AHB access into the slower speed APB accesses. All of the control registers for the APB peripherals are programmed using the AHB - APB bridge interface. The main AHB data and address lines are configured using a multiplexed bus. This removes the need for tri-state buffers and bus holders, and simplifies bus arbitration. Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 AMBA APB BUS The AMBA APB bus is a lower-speed 32-bit-wide peripheral data bus. The speed of this bus is selectable to be a divide-by-2, divide-by-4 or divide-by-8 of the speed of the AHB bus. EXTERNAL BUS INTERFACE The External Bus Interface (EBI) provides a 32-bit wide, high speed gateway to external memory devices. The memory devices supported include: The LH7A400 can boot from either synchronous or asynchronous ROM/Flash. The selection is determined by the value of the MEDCHG pin at Power On Reset as shown in Table 6. When booting from synchronous memory, then synchronous bank 4 (nSCS3) is mapped into memory location zero. When booting from asynchronous memory, asynchronous memory bank 0 (nSCS0) is mapped into memory location zero. Figure 4 shows the memory map of the LH7A400 system for the two boot modes. Once the LH7A400 has booted, the boot code can configure the ARM922T MMU to remap the low memory space to a location in RAM. This allows the user to set the interrupt vector table. * Asynchronous RAM/ROM/Flash * Synchronous DRAM/Flash * PCMCIA interfaces * CompactFlash interfaces. The EBI can be controlled by either the Asynchronous memory controller or Synchronous memory controller. There is an arbiter on the EBI input, with priority given to the Synchronous Memory Controller interface. LCD AHB BUS The LCD controller has its own local memory bus that connects it to the system's embedded memory and external SDRAM. The function of this local data bus is to allow the LCD controller to perform its video refresh function without congesting the AHB bus. This leads to better system performance and lower power consumption. There is an arbiter on both the embedded memory and the synchronous memory controller. In both cases the LCD bus is given priority. DMA BUSES The LH7A400 has a DMA system that connects the higher speed/higher data volume APB peripherals (MMC, USB and AC97) to the AHB bus. This enables the efficient transfer of data between these peripherals and external memory without the intervention of the ARM922T core. The DMA engine does not support memory to memory transfers. Memory Map The LH7A400 system has a 32-bit-wide address bus. This allows it to address up to 4GB of memory. This memory space is subdivided into a number of memory banks; see Figure 4. Four of these banks (each of 256MB) are allocated to the Synchronous memory controller. Eight of the banks (again, each 256MB) are allocated to the Asynchronous memory controller. Two of these eight banks are designed for PCMCIA systems. Part of the remaining memory space is allocated to the embedded SRAM, and to the control registers of the AHB and APB. The rest is unused. Data Sheet Table 6. Boot Modes LATCHED BOOTWIDTH1 LATCHED BOOTWIDTH0 LATCHED MEDCHG 8-bit ROM 0 0 0 16-bit ROM 0 1 0 32-bit ROM 1 0 0 32-bit ROM 1 1 0 16-bit SFlash (Initializes Mode Register) 0 0 1 16-bit SROM (Initializes Mode Register) 0 1 1 32-bit SFlash (Initializes Mode Register) 1 0 1 32-bit SROM (Initializes Mode Register) 1 1 1 BOOT MODE Interrupt Controller The LH7A400 interrupt controller is designed to control the interrupts from 28 different sources. Four interrupt sources are mapped to the FIQ input of the ARM922T and 24 are mapped to the IRQ input. FIQs have a higher priority than the IRQs. If two interrupts with the same priority become active at the same time, the priority must be resolved in software. When an interrupt becomes active, the interrupt controller generates an FIQ or IRQ if the corresponding mask bit is set. No latching of interrupts takes place in the controller. After a Power On Reset all mask register bits are cleared, therefore masking all interrupts. Hence, enabling of the mask register must be done by software after a power-on-reset. Version 1.0 27 LH7A400 32-Bit System-on-Chip F000.0000 ASYNCHRONOUS MEMORY (nCS0) SYNCHRONOUS MEMORY (nSCS3) 256MB E000.0000 SYNCHRONOUS MEMORY (nSCS2) SYNCHRONOUS MEMORY (nSCS2) 256MB D000.0000 SYNCHRONOUS MEMORY (nSCS1) SYNCHRONOUS MEMORY (nSCS1) 256MB C000.0000 SYNCHRONOUS MEMORY (nSCS0) SYNCHRONOUS MEMORY (nSCS0) 256MB B001.4000 RESERVED RESERVED B000.0000 EMBEDDED SRAM EMBEDDED SRAM 8000.3800 RESERVED RESERVED 8000.2000 AHB INTERNAL REGISTERS AHB INTERNAL REGISTERS 8000.0000 APB INTERNAL REGISTERS APB INTERNAL REGISTERS 7000.0000 ASYNCHRONOUS MEMORY (CS7) ASYNCHRONOUS MEMORY (CS7) 256MB 6000.0000 ASYNCHRONOUS MEMORY (CS6) ASYNCHRONOUS MEMORY (CS6) 256MB 5000.0000 PCMCIA/CompactFlash (nPCSLOTE2) PCMCIA/CompactFlash (nPCSLOTE2) 256MB 4000.0000 PCMCIA/CompactFlash (nPCSLOTE1) PCMCIA/CompactFlash (nPCSLOTE1) 256MB 3000.0000 ASYNCHRONOUS MEMORY (nCS3) ASYNCHRONOUS MEMORY (nCS3) 256MB 2000.0000 ASYNCHRONOUS MEMORY (nCS2) ASYNCHRONOUS MEMORY (nCS2) 256MB 1000.0000 ASYNCHRONOUS MEMORY (nCS1) ASYNCHRONOUS MEMORY (nCS1) 256MB 0000.0000 SYNCHRONOUS ROM (nSCS3) ASYNCHRONOUS ROM (nCS0) 256MB 80KB ASYNCHRONOUS MEMORY BOOT SYNCHRONOUS MEMORY BOOT LH7A400-6 Figure 4. Memory Mapping for Each Boot Mode External Bus Interface The external bus interface allows the ARM922T, LCD controller and DMA engine access to an external memory system. The LCD controller has access to an internal frame buffer in embedded SRAM and an extension buffer in Synchronous Memory for large displays. The processor and DMA engine share the main system bus, providing access to all external memory devices and the embedded SRAM frame buffer. An arbitration unit ensures that control over the External Bus Interface (EBI) is only granted when an existing access has been completed. See Figure 5. Embedded SRAM The amount of Embedded SRAM contained in the LH7A400 is 80KB. This Embedded memory is designed to be used for storing code, data, or LCD frame data and to be contiguous with external SDRAM. The 80KB is large enough to store a QVGA panel (320 x 240) at 8 bits per pixel, equivalent to 70KB of information. Containing the frame buffer on chip reduces the overall power consumed in any application that uses the LH7A400. Normally, the system has to perform external accesses to acquire this data. The LCD controller is designed to automatically use an overflow frame buffer in SDRAM if a larger screen size is required. This overflow buffer can be located on any 4KB page boundary in SDRAM, allowing software to 28 set the MMU (in the LCD controller) page tables such that the two memory areas appear contiguous. Byte, Half-Word and Word accesses are permissible. Asynchronous Memory Controller The Asynchronous memory controller is incorporated as part of the memory controller to provide an interface between the AMBA AHB system bus and external (off-chip) memory devices. The Asynchronous Memory Controller provides support for up to eight independently configurable memory banks simultaneously. Each memory bank is capable of supporting: * SRAM * ROM * Flash EPROM * Burst ROM memory. Each memory bank may use devices using either 8-, 16-, or 32-bit external memory data paths. The memory controller can be configured to support either littleendian or big-endian operation. The memory banks can be configured to support: * Non-burst read and write accesses only to highspeed CMOS static RAM. * Non-burst write accesses, nonburst read accesses and asynchronous page mode read accesses to fast-boot block flash memory. Version 1.0 Data Sheet 32-Bit System-on-Chip EXTERNAL TO THE LH7A400 LH7A400 INTERNAL TO THE LH7A400 SDRAM ROM PCMCIA/CF SUPPORT SYNCHRONOUS DYNAMIC MEMORY CONTROLLER (SDMC) 80KB EMBEDDED SRAM ARBITER EXTERNAL BUS INTERFACE ADDRESS (EBI) and CONTROL DATA ARBITER SRAM ARBITER SDRAM ASYNCHRONOUS STATIC MEMORY CONTROLLER (SMC) ARBITER ARM922T LCD AHB LCD MEMORY MANAGEMENT UNIT (MMU) COLOR LCD CONTROLLER (CLCDC) DMA CONTROLLER AD-TFT LCD TIMING CONTROLLER ADVANCED HIGH-PERFORMANCE BUS (AHB) LH7A400-8 Figure 5. External Bus Interface Block Diagram Data Sheet Version 1.0 29 LH7A400 32-Bit System-on-Chip The Asynchronous Memory Controller has six main functions: * * * * * * Memory bank select Access sequencing Wait states generation Byte lane write control External bus interface CompactFlash or PCMCIA interfacing. MMC bus lines can be divided into three groups: * Power supply: VDD and VSS * Data Transfer: MMCCMD, MMCDATA * Clock: MMCLK. Synchronous Memory Controller The Synchronous memory controller provides a high speed memory interface to a wide variety of Synchronous memory devices, including SDRAM, Synchronous Flash and Synchronous ROMs. The key features of the controller are: * LCD DMA port for high bandwidth * Up to four Synchronous Memory banks that can be independently set up * Special configuration bits for Synchronous ROM operation * Ability to program Synchronous Flash devices using write and erase commands MULTIMEDIACARD ADAPTER The MultiMediaCard Adapter implements MultiMediaCard specific functions, serves as the bus master for the MultiMediacard Bus and implements the standard interface to the MultiMediaCard Cards (card initialization, CRC generation and validation, command/response transactions, etc.). Smart Card Interface (SCI) The SCI (ISO7816) interfaces to an external Smart Card reader. The SCI can autonomously control data transfer to and from the smart card. Transmit and receive data FIFOs are provided to reduce the required interaction between the CPU core and the peripheral. SCI FEATURES * Supports asynchronous T0 and T1 transmission protocols * On booting from Synchronous ROM, (and optionally with Synchronous Flash), a configuration sequence is performed before releasing the processor from reset * Supports clock rate conversion factor F = 372, with bit rate adjustment factors D = 1, 2, or 4 supported * Data is transferred between the controller and the SDRAM in quad-word bursts. Longer transfers within the same page are concatenated, forming a seamless burst * Direct interrupts for Tx and Rx FIFO level monitoring * Programmable for 16- or 32-bit data bus size * Software-initiated card deactivation sequence on transaction complete * Two reset domains are provided to enable SDRAM contents to be preserved over a `soft' reset * Power saving Synchronous Memory SCKE and external clock modes provided. * Eight-character-deep buffered Tx and Rx paths * Interrupt status register * Hardware-initiated card deactivation sequence on detection of card removal * Limited support for synchronous Smart Cards via registered input/output. PROGRAMMABLE PARAMETERS * Smart Card clock frequency MultiMediaCard (MMC) The MMC adapter combines all of the requirements and functions of an MMC host. The adapter supports the full MMC bus protocol, defined by the MMC Definition Group's specification v.2.11. The controller can also implement the SPI interface to the cards. * Communication baud rate INTERFACE DESCRIPTION AND MMC OVERVIEW The MMC controller uses the three-wire serial data bus (clock, command, and data) to transfer data to and from the MMC card, and to configure and acquire status information from the card's registers. * Check for maximum duration of ATR character stream * Protocol convention * Card activation/deactivation time * Check for maximum time for first character of Answer to Reset - ATR reception * Check for maximum time of receipt of first character of data stream * Check for maximum time allowed between characters * Character guard time * Block guard time * Transmit/receive character retry. 30 Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Direct Memory Access Controller (DMA) Color LCD Controller The DMA Controller interfaces streams from the following three peripherals to the system memory: The LH7A400's LCD Controller is programmable to support up to 1,024 x 768, 16-bit color LCD panels. It interfaces directly to STN, color STN, TFT, AD-TFT, and HR-TFT panels. Unlike other LCD controllers, the LH7A400's LCD Controller incorporates the timing conversion logic from TFT to HR-TFT, allowing a direct interface to HR-TFT and minimizing external chip count. * USB (1 Tx and 1 Rx DMA Channel) * MMC (1 Tx and 1 Rx DMA Channel) * AC97 (3 Tx and 3 Rx DMA Channels). Each has its own bi-directional peripheral DMA bus capable of transferring data in both directions simultaneously. All memory transfers take place via the main system AHB bus. The Color LCD Controller features support for: * Up to 1,024 x 768 Resolution * 16-bit Video Bus DMA Specific features are: * Independent DMA channels for Tx and Rx * STN, Color STN, AD-TFT, HR-TFT, TFT panels * Two Buffer Descriptors per channel to avoid potential data under/over-flows due to software introduced latency * Single and Dual Scan STN panels * Up to 15 Gray Shades * Up to 64,000 Colors * No Buffer wrapping * Buffer size may be equal to, greater than or less than the packet size. Transfers can automatically switch between buffers. * Maskable interrupt generation * Internal arbitration between DMA Channels and external bus arbiter. * For DMA Data transfer sizes, byte, word and quadword data transfers are supported. A set of control and status registers are available to the system processor for setting up DMA operations and monitoring their status. A system interrupt is generated when any or all of the DMA channels wish to inform the processor that a new buffer needs to be allocated. The DMA controller services three peripherals using ten DMA channels, each with its own peripheral DMA bus capable of transferring data in both directions simultaneously. The MMC and USB peripherals each use two DMA channels, one for transmit and one for receive. The AC97 peripheral uses six DMA channels (three transmit and three receive) to allow different sample frequency data queues to be handled with low software overheads. The DMA Controller does not support memory to memory transfers. USB Device AC97 Advanced Audio Codec Interface The AC97 Advanced Audio Codec controller includes a 5-pin serial interface to an external audio codec. The AC97 LINK is a bi-directional, fixed rate, serial Pulse Code Modulation (PCM) digital stream, dividing each audio frame into 12 outgoing and 12 incoming data streams (slots), each with 20-bit sample resolution. The AC97 controller contains logic that controls the AC97 link to the Audio Codec and an interface to the AMBA APB. Its main features include: * Serial-to-parallel conversion for data received from the external codec * Parallel-to-serial conversion for data transmitted to the external codec * Reception/Transmission of control and status information via the AMBA APB interface * Supports up to 4 different codec sampling rates at a time with its 4 transmit and 4 receive channels. The transmit and receive paths are buffered with internal FIFO memories, allowing data to be stored independently in both transmit and receive modes. The outgoing data for the FIFOs can be written via either the APB interface or with DMA channels 1 - 3. The features of the USB are: * Fully compliant to USB 1.1 specification * Provides a high level interface that shields the firmware from USB protocol details * Compatible with both OpenHCI and Intel's UHCI standards * Supports full-speed (12 Mbps) functions * Supports Suspend and Resume signalling. Data Sheet Version 1.0 31 LH7A400 32-Bit System-on-Chip Audio Codec Interface (ACI) The ACI provides: * A digital serial interface to an off-chip 8-bit CODEC * All the necessary clocks and timing pulses to perform serialization or de-serialization of the data stream to or from the CODEC device. The interface supports full duplex operation and the transmit and receive paths are buffered with internal FIFO memories allowing up to 16 bytes to be stored independently in both transmit and receive modes. The ACI includes a programmable frequency divider that generates a common transmit and receive bit clock output from the on-chip ACI clock input (ACICLK). Transmit data values are output synchronous with the rising edge of the bit clock output. Receive data values are sampled on the falling edge of the bit clock output. The start of a data frame is indicated by a synchronization output signal that is synchronous with the bit clock. The transmit and receive paths are buffered with internal FIFO memories allowing up to 16 bytes to be stored independently in both transmit and receive modes. The UART can generate: * Four individually maskable interrupts from the receive, transmit and modem status logic blocks * A single combined interrupt so that the output is asserted if any of the individual interrupts are asserted and unmasked. If a framing, parity or break error occurs during reception, the appropriate error bit is set, and is stored in the FIFO. If an overrun condition occurs, the overrun register bit is set immediately and the FIFO data is prevented from being overwritten. UART1 also supports IrDA 1.0 (15.2 kbit/s). The modem status input signals Clear to Send (CTS), Data Carrier Detect (DCD) and Data Set Ready (DSR) are supported on UART2 and UART3. Synchronous Serial Port (SSP) Timers The LH7A400 SSP is a master-only interface for synchronous serial communication with device peripheral devices that has either Motorola SPI, National Semiconductor MICROWIRE or Texas Instruments Synchronous Serial Interfaces. Two identical timers are integrated in the LH7A400. Each of these timers has an associated 16-bit read/write data register and a control register. Each timer is loaded with the value written to the data register immediately, this value will then be decremented on the next active clock edge to arrive after the write. When the timer underflows, it will immediately assert its appropriate interrupt. The timers can be read at any time. The clock source and mode is selectable by writing to various bits in the system control register. Clock sources are 508 kHz and 2 kHz. The LH7A400 SSP performs serial-to-parallel conversion on data received from a peripheral device. The transmit and receive paths are buffered with internal FIFO memories allowing up to eight 16-bit values to be stored independently in both transmit and receive modes. Serial data is transmitted on SSPTXD and received on SSPRXD. The LH7A400 SSP includes a programmable bit rate clock divider and prescaler to generate the serial output clock SCLK from the input clock SSPCLK. Bit rates are supported to 2 MHz and beyond, subject to choice of frequency for SSPCLK; the maximum bit rate will usually be determined by peripheral devices. UART/IrDA The LH7A400 contains three UARTs, UART1, UART2, and UART3. The UART performs: * Serial-to-Parallel conversion on data received from the peripheral device * Parallel-to-Serial conversion on data transmitted to the peripheral device. 32 Timer 3 (TC3) has the same basic operation, but is clocked from a single 7.3728 MHz source. It has the same register arrangement as Timer 1 and Timer 2, providing a load, value, control and clear register. Once the timer has been enabled and is written to, unlike the Timer 1 and Timer 2, will decrement the timer on the next rising edge of the 7.3728 MHz clock after the data register has been updated. All the timers can operate in two modes, free running mode or pre-scale mode. FREE-RUNNING MODE In free-running mode, the timer will wrap around to 0xFFFF when it underflows and continue counting down. PRE-SCALE MODE In pre-scale (periodic) mode, the value written to each timer is automatically re-loaded when the timer underflows. This mode can be used to produce a programmable frequency to drive the buzzer or generate a periodic interrupt. Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Real Time Clock (RTC) DC-to-DC Converter The RTC can be used to provide a basic alarm function or long time-base counter. This is achieved by generating an interrupt signal after counting for a programmed number of cycles of a real-time clock input. Counting in one second intervals is achieved by use of a 1 Hz clock input to the RTC. Battery Monitor Interface (BMI) The LH7A400 BMI is a serial communication interface specified for two types of Battery Monitors/Gas Gauges. The first type employs a single wire interface. The second interface employs a two-wire multi-master bus, the Smart Battery System Specification. If both interfaces are enabled at the same time, the Single Wire Interface will have priority. A brief overview of these two interface types are given here. The features of the DC-DC Converter interface are: * Dual drive PWM outputs, with independent closed loop feedback * Software programmable configuration of one of 8 output frequencies (each being a fixed divide of the input clock). * Software programmable configuration of duty cycle from 0 to 15/16, in intervals of 1/16. * Output polarity (for positive or negative voltage generation) is hardware-configured during power-on reset via the polarity select inputs * Each PWM output can be dynamically switched to one of a pair of preprogrammed frequency/duty cycle combinations via external pins. Watchdog Timer (WDT) SINGLE WIRE INTERFACE The Single Wire Interface performs: * Serial-to-parallel conversion on data received from the peripheral device * Parallel-to-serial conversion on data transmitted to the peripheral device * Data packet coding/decoding on data transfers (incorporating Start/Data/Stop data packets) The Single Wire interface uses a command-based protocol, in which the host initiates a data transfer by sending a WriteData/Command word to the Battery Monitor. This word will always contain the Command section, which tells the Single Wire Interface device the location for the current transaction. The most significant bit of the Command determines if the transaction is Read or Write. In the case of a Write transaction, then the word will also contain a WriteData section with the data to be written to the peripheral. SMART BATTERY INTERFACE The SMBus Interface performs: * Driven by the system clock * 16 programmable time-out periods: 216 through 231 clock cycles * Generates a system reset (resets LH7A400) or a FIQ Interrupt whenever a time-out period is reached * Software enable, lockout, and counter-reset mechanisms add security against inadvertent writes * Protection mechanism guards against interrupt-service-failure: - The first WDT time-out triggers FIQ and asserts nWDFIQ status flag - If FIQ service routine fails to clear nWDFIQ, then the next WDT time-out triggers a System Reset. General Purpose I/O (GPIO) * Serial-to-Parallel conversion on data received from the peripheral device * Parallel-to-Serial conversion of data transmitted to the peripheral device. The Smart Battery Interface uses a two-wire multimaster bus (the SMBus), meaning that more than one device capable of controlling the bus can be connected to it. A master device initiates a bus transfer and provides the clock signals. A slave device can receive data provided by the master or it can provide data to the master. Since more than one device may attempt to take control of the bus as a master, SMBus provides an arbitration mechanism, by relying on the wired-AND connection of all SMBus interfaces to the SMBus. Data Sheet The Watchdog Timer provides hardware protection against malfunctions. It is a programmable timer that is reset by software at regular intervals. Failure to reset the timer will cause a FIQ interrupt. Failure to service the FIQ interrupt will then generate a System Reset. The WDT features are: The LH7A400 GPIO has eight ports, each with a data register and a data direction register. It also has added registers including Keyboard Scan, PINMUX, GPIO Interrupt Enable, INTYPE1/2, GPIOFEOI and PGHCON. The data direction register determines whether a port is configured as an input or an output while the data register is used to read the value of the GPIO pins. The GPIO Interrupt Enable, INTYPE1/2, and GPIOFEOI registers are used to control edge-triggered Interrupts on Port F. The PINMUX register controls what signals are output of Port D and Port E when they are set as outputs, while the PGHCON controls the operations of Port G and H. Version 1.0 33 LH7A400 32-Bit System-on-Chip ELECTRICAL SPECIFICATIONS Absolute Maximum Ratings PARAMETER MINIMUM MAXIMUM DC Core Supply Voltage (VDDC) -0.3 V 2.4 V DC I/O Supply Voltage (VDD) -0.3 V 4.6 V DC Analog Supply Voltage (VDDA) -0.3 V 2.4 V Storage Temperature -55C 125C NOTE: These ratings are only for transient conditions. Operation at or beyond absolute maximum rating conditions may affect reliability and cause permanent damage to the device. Recommended Operating Conditions PARAMETER MINIMUM TYPICAL MAXIMUM NOTES DC Core Supply Voltage (VDDC) 1.71 V 1.8 V 1.89 V 1 DC I/O Supply Voltage (VDD) 3.0 V 3.3 V 3.6 V 2 DC Analog Supply Voltage for PLLs (VDDA) 1.71 V 1.8 V 1.89 V Clock Frequency (Commercial) 10 MHz 200 MHz 3, 4, 5 Clock Frequency (Industrial) 10 MHz 195 MHz 3, 4, 5 External Clock Input (XTALIN) 14 MHz 14.7456 MHz 20 MHz 6 0C 25C 70C -40C 25C +85C Operating Temperature (Commercial) Operating Temperature (Industrial) NOTES: 1. Core Voltage should never exceed I/O Voltage. 2. USB is not functional below 3.0 V. 3. Using 14.7456 MHz Main Oscillator Crystal and 32.768 kHz RTC Oscillator Crystal. 4. VDDC = 1.71 V to 1.89 V. 5. VDD = 3.0 V to 3.6 V. 6. IMPORTANT: Most peripherals will NOT function at clock speeds other than 14.7456 MHz. Table 7. Clock Frequency vs. Voltages (VDD) vs. Temperature PARAMETER 25C 70C 85C Clock Frequency (HCLK) Clock Period (tHCLK) Clock Frequency (HCLK) Clock Period (tHCLK) Clock Frequency (HCLK) Clock Period (tHCLK) 1.71 V 1.8 V 1.89 V 211 MHz 225 MHz 240 MHz 4.74 ns 4.44 ns 4.17 ns 200 MHz 212 MHz 227 MHz 5.00 ns 4.72 ns 4.41 ns 195 MHz 208 MHz 222 MHz 5.13 ns 4.81 ns 4.50 ns Table 7 is representative of a typical wafer process. Guaranteed values are in the Recommended Operating Conditions table. 34 Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 245 240 FREQUENCY (MHz) 235 230 225 1.89 V (+5%) 220 215 210 1.80 V 205 200 195 25 35 45 55 65 75 1.71 V (-5%) 85 TEMP (C) LH7A400-206 Figure 6. Temperature/Voltage/Speed Chart Data Sheet Version 1.0 35 LH7A400 32-Bit System-on-Chip DC/AC SPECIFICATIONS (COMMERCIAL AND INDUSTRIAL) Unless otherwise noted, all data provided under commercial DC/AC specifications are based on -40C to +85C, VDDC = 1.71 V to 1.89 V, VDD = 3.0 V to 3.6 V, VDDA = 1.71 V to 1.89 V. DC Specifications SYMBOL PARAMETER MIN. TYP. MAX. UNIT VIH CMOS and Schmitt Trigger Input HIGH Voltage VIL CMOS and Schmitt Trigger Input LOW Voltage VHST Schmitt Trigger Hysteresis 0.25 V VIL to VIH CMOS Output HIGH Voltage, Output Drive 1 2.6 V IOH = -2 mA Output Drive 2 2.6 V IOH = -4 mA Output Drive 3 2.6 V IOH = -8 mA Output Drive 4 and 5 2.6 V IOH = -12 mA VOH VOL 2.0 CONDITIONS NOTES V 0.8 V CMOS Output LOW Voltage, Output Drive 1 0.4 V IOL = 2 mA Output Drive 2 0.4 V IOL = 4 mA Output Drive 3 0.4 V IOL = 8 mA Output Drive 4 0.4 V IOL = 12 mA Output Drive 5 0.4 V IOL = 20 mA 1 1 IIN Input Leakage Current -10 10 A VIN = VDD or GND IIN Input Leakage Current (with pull-up resistors installed) -200 -20 A VIN = VDD or GND IOZ Output Tri-state Leakage Current -10 10 A VOUT = VDD or GND ISTARTUP Startup Current 50 A IACTIVE Active Current 125 180 mA IHALT Halt Current 25 41 mA ISTANDBY Standby Current 2 A 42 CIN Input Capacitance 4 pF COUT Output Capacitance 4 pF NOTES: 1. Output Drive 5 can sink 20 mA of current, but sources 12 mA of current. 2. Current consumption until oscillators are stabilized. AC Test Conditions PARAMETER DC I/O Supply Voltage (VDD) DC Core Supply Voltage (VDDC) Input Pulse Levels Input Rise and Fall Times Input and Output Timing Reference Levels 36 RATING UNIT 3.0 to 3.6 V 1.71 to 1.89 V VSS to 3 V 2 ns VDD/2 V Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 CURRENT CONSUMPTION BY OPERATING MODE Current consumption can depend on a number of parameters. To make this data more usable, the values presented in Table 8 were derived under the conditions presented here. Maximum Specified Value PERIPHERAL CURRENT CONSUMPTION In addition to the modal current consumption, Table 9 shows the typical current consumption for each of the on-board peripheral blocks. The values were determined with the peripheral clock running at maximum frequency, typical conditions, and no I/O loads. This current is supplied by the 1.8 V power supply. The values specified in the MAXIMUM column were determined using these operating characteristics: * All IP blocks either operating or enabled at maximum frequency and size configuration * Core operating at maximum power configuration * All voltages at maximum specified values Table 9. Peripheral Current Consumption PERIPHERAL TYPICAL UNITS AC97 1.3 mA UART (Each) 1.0 mA 0.005 mA 0.1 mA 5.4 (1.0) mA RTC * Maximum specified ambient temperature. Timers (Each) Typical LCD (+I/O) The values in the TYPICAL column were determined using a `typical' application under `typical' environmental conditions and the following operating characteristics: MMC 0.6 mA SCI 23 mA < 0.1 mA BMI-SWI 1.0 mA BMI-SBus 1.0 mA PWM (each) * LINUX operating system running from SDRAM * UART and AC97 peripherals operating; all other peripherals as needed by the OS * LCD enabled with 320 x 240 x 16-bit color, 60 Hz refresh rate, data in SDRAM SDRAM (+I/O) 1.5 (14.8) mA USB (+PLL) 5.6 (3.3) mA * I/O loads at nominal ACI 0.8 mA * Cache enabled * FCLK = 200 MHz; HCLK = 100 MHz; PCLK = 50 MHz * All voltages at typical values * Nominal case temperature. Table 8. Current Consumption by Mode SYMBOL PARAMETER TYP. MAX. UNITS ICORE Current drawn by core 110 135 mA Current drawn by I/O 15 45 mA ACTIVE MODE IIO HALT MODE (ALL PERIPHERALS DISABLED) ICORE IIO Current drawn by core 24 39 mA Current drawn by I/O 1 2 mA STANDBY MODE (TYPICAL CONDITIONS ONLY) ICORE IIO Data Sheet Current drawn by core 40 A Current drawn by I/O 2 A Version 1.0 37 LH7A400 32-Bit System-on-Chip AC Specifications All signals described in Table 10 relate to transitions after a reference clock signal. The illustration in Figure 7 represents all cases of these sets of measurement parameters. The reference clock signals in this design are: * HCLK, internal System Bus clock (`C' in timing data) * PCLK, Peripheral Bus clock For outputs from the LH7A400, tOVXXX (e.g. tOVA) represents the amount of time for the output to become valid from a valid address bus, or rising edge of the peripheral clock. Maximum requirements for tOVXXX are shown in Table 10. The signal tOHXXX (e.g. tOHA) represents the amount of time the output will be held valid from the valid address bus, or rising edge of the peripheral clock. Minimum requirements for tOHXXX are listed in Table 10. For Inputs, tISXXX (e.g. tISD) represents the amount of time the input signal must be valid after a valid address bus, or rising edge of the peripheral clock. Maximum requirements for tISXXX are shown in Table 10. * SSPCLK, Synchronous Serial Port clock * UARTCLK, UART Interface clock * LCDDCLK, LCD Data clock from the LCD Controller * ACBITCLK, AC97 clock * SCLK, Synchronous Memory clock. All signal transitions are measured from the 50% point of the clock to the 50% point of the signal. The signal tIHXXX (e.g. tIHD) represents the amount of time the output must be held valid from the valid address bus, or rising edge of the peripheral clock. Minimum requirements are shown in Table 10. REFERENCE CLOCK tOHXXX tOVXXX OUTPUT SIGNAL (O) tISXXX tIHXXX INPUT SIGNAL (I) 7A400-28 Figure 7. LH7A400 Signal Timing 38 Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Table 10. AC Signal Characteristics SIGNAL TYPE LOAD SYMBOL MIN. MAX. DESCRIPTION ASYNCHRONOUS MEMORY INTERFACE SIGNALS (+ wait states x C) A[27:0] Output 50 pF tRC 4C ns Read Cycle Time Output 50 pF tWC 4C ns Write Cycle Time Output 50 pF tAW 2C - 10 ns None 1C ns NA Output 50 pF D[31:0] Input nWE[3:0] nOE Output Output Output 30 pF 30 pF 30 pF Address Valid to Write Edge 1C ns Wait State Width tDW 1C - 9 ns tDH 1C + 3 ns Data Hold after Write Edge tAA 3C - 20 ns Address Valid to Data Valid tOH 0 ns tCO 3C - 20 ns tCW nCS[3:0]/CS[7:6] 1 Data Valid to Write Edge Data Output Hold Chip Select Valid to Data Valid (Read) 1C - 10 ns Chip Select Valid to Write edge tAS (Write) 1C ns Address Valid to Chip Select Valid (Address setup time) tAS (Read) 0 Address Valid to Chip Select Valid (Address setup time) tWP 1C - 10 ns tWHZ 0 ns tOE tOHZ Write Pulse Width Write Edge to High Z on SRAM 2C - 20 ns 0 ns Output Enable Valid to Data Valid Output Enable invalid to High Z on SRAM SYNCHRONOUS MEMORY INTERFACE SIGNALS tOVA 7.5 ns SA[13:0] Output 50 pF SA[17:16]/SB[1:0] Output 50 pF tOVB Output 50 pF tOVD 2 ns D[31:0] nCAS nRAS Input Output Output 30 pF 30 pF tOHA Address Valid 1.5 ns tISD 2.5 ns tIHD 1.5 ns tOVCA 2 ns tOHCA 2 ns tOVRA 2 ns tOHRA 2 ns tOVSDW 2 ns Address Hold 7.5 ns Bank Select Valid 7.5 ns Data Valid Data Setup Data Hold 7.5 ns CAS Valid 7.5 ns RAS Valid 7.5 ns Write Enable Valid CAS Hold RAS Hold nSWE Output 30 pF tOHSDW 2 ns SCKE[1:0] Output 30 pF tOVC 2 ns 7.5 ns DQM[3:0] Output 30 pF tOVDQ 2 ns 7.5 ns Data Mask Valid tOVSC 2 ns 7.5 ns Synchronous Chip Select Valid tOHSC 2 ns nSCS[3:0] Output 30 pF Write Enable Hold Synchronous Chip Select Hold PCMCIA INTERFACE SIGNALS (+ wait states x nPCREG Output 30 pF Output 50 pF D[31:0] nPCCE2 nPCOE nPCWE PCDIR Data Sheet Output Output Output Output Output 1C 4C - 5 ns tOVD tOHD 1C tIHD 30 pF 30 pF 30 pF 30 pF 30 pF tOHCE1 4C - 5 ns tOHCE2 tOHOE tOHWE 1C Chip Enable 2 Valid 1C + 1 ns Output Enable Valid 1C + 1 ns Write Enable Valid Chip Enable 1 Hold Chip Enable 2 Hold Output Enable Hold 3C - 5 ns tOVPCD tOHPCD Data Hold Time 3C - 5 ns tOVWE Write Enable Hold 1C 4C - 5 ns Version 1.0 Data Setup Time Chip Enable 1 Valid 4C - 5 ns tOVOE Data Valid 1C 4C - 5 ns tOVCE2 nREG Valid Data Hold 1C - 10 ns tOVCE1 C)1 nREG Hold 4C - 5 ns tISD Input nPCCE1 tOVDREG tOHDREG Clock Enable Valid Card Direction Valid Card Direction Hold 39 LH7A400 32-Bit System-on-Chip Table 10. AC Signal Characteristics (Cont'd) SIGNAL TYPE LOAD SYMBOL MIN. MAX. DESCRIPTION MMC INTERFACE SIGNALS MMCCMD Output 100 pF MMCDATA Output 100 pF MMCDATA Input MMCCMD Input tOVCMD tOHCMD 3 ns 3 ns tOVDAT tOHDAT MMC Command Valid MMC Command Hold 3 ns 3 ns MMC Data Valid MMC Data Hold tISDAT 5 ns MMC Data Setup tIHDAT 5 ns MMC Data Hold tISCMD 5 ns MMC Command Setup tIHCMD 5 ns MMC Command Hold AC97 INTERFACE SIGNALS ACOUT/ACSYNC Output 30 pF tOVAC97 tOHAC97 15 ns 10 ns AC97 Output Valid/Sync Valid AC97 Output Hold/Sync Hold tISAC97 10 ns AC97 Input Setup tIHAC97 2.5 ns AC97 Input Hold Input tACBITCLK 72 ns Input tISSSPFRM ACIN Input ACBITCLK SSPFRM 90 ns AC97 Clock Period SYNCHRONOUS SERIAL PORT (SSP) SSPTX Output SSPRX Input 50 pF 14 ns tOVSSPOUT tISSSPIN SSPFRM Input Valid 14 ns 14 ns SSP Transmit Valid SSP Receive Setup AUDIO CODEC INTERFACE (ACI) ACOUT/ACSYNC ACIN Output Input 30 pF tOS TBD TBD tOH TBD TBD ACOUT delay from rising clock edge ACOUT Hold tIS TBD TBD ACIN Setup tIH TBD TBD ACIN Hold NOTES: 1. `nC' in the MIN./MAX. columns indicates the number of system clock (HCLK) periods after valid address. 2. For Output Drive strength specifications, refer to Table 1. 40 Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 SMC Waveforms nCS by a maximum of one HCLK, or at minimum, can coincide (see Table 10). Figure 10 and Figure 11 show the waveform and timing for an External Asynchronous Memory Read. Figure 8 and Figure 9 show the waveform and timing for an External Asynchronous Memory Write. Note that the deassertion of nWE can precede the deassertion of 'C' 0 1 2 3 4 HCLK tWC A[27:0] VALID ADDRESS tDW D[31:0] tDH VALID DATA tAW tAS tWR tCW nCS[3:0], CS[7:6] tWP WRITE EDGE nWE[3:0] LH7A400-201 Figure 8. External Asynchronous Memory Write with 0 Wait States (BCRx:WST1 = 0b000) Data Sheet Version 1.0 41 LH7A400 32-Bit System-on-Chip 'C' 0 1 2 3 4 5 6 7 8 HCLK tWC A[27:0] VALID ADDRESS tDW D[31:0] tDH VALID DATA tAW tCW tAS nCS[3:0, CS[7:6] tWP WRITE EDGE nWE[3:0] WAIT WAIT WAIT WAIT STATE 1 STATE 2 STATE 3 STATE 4 0 WAIT STATE, DATA LATCHED HERE LH7A400-203 Figure 9. External Asynchronous Memory Write with 4 Wait States (BCRx:WST1 = 0b100) 42 Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 'C' 0 1 2 3 4 HCLK tRC A[27:0] VALID ADDRESS DATA LATCHED HERE tAA D[31:0] tOH VALID DATA tAS tCO nCS[3:0], CS[7:6] tOE nOE LH7A400-200 Figure 10. External Asynchronous Memory Read with 0 Wait States (BCRx:WST1 = 0b000) Data Sheet Version 1.0 43 LH7A400 32-Bit System-on-Chip 'C' 0 1 2 3 4 5 6 7 8 9 10 HCLK tRC A[27:0] VALID ADDRESS DATA LATCHED HERE tAA D[31:0] tOH VALID DATA tAS tCO nCS[3:0, CS[7:6] tOE nOE WAIT WAIT WAIT WAIT STATE 1 STATE 2 STATE 3 STATE 4 0 WAIT STATE, DATA LATCHED HERE DATA LATCHED HERE LH7A400-202 Figure 11. External Asynchronous Memory Read with 4 Wait States (BCRx:WST1 = 0b100) 44 Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Synchronous Memory Controller Waveforms Figure 12 shows the waveform and timing for a Synchronous Burst Read (page already open). Figure 13 shows the waveform and timing for Synchronous memory to Activate a Bank and Write. tSCLK SCLK tOHXXX READ SDRAMcmd tOVA tOVXXX nDQM SA[13:0], SB[1:0] tOVA BANK, COLUMN tISD tIHD D[31:0] NOTES: 1. SDRAMcmd is the combination of nRAS, nCAS, nSWE, and nSCSx. 2. tOVXXX represents tOVRA, tOVCA, tOVSVW, or tOVSC. 3. tOHXXX represents tOHRA, tOHCA, tOHSVW, or tOHSC. 4. DQM[3:0] is static LOW. 5. SCKE is static HIGH. DATA n + 2 DATA n DATA n + 1 DATA n + 3 LH7A400-23 Figure 12. Synchronous Burst Read tSCLK SCLK tOVC SCKE tOVXXX tOHXXX ACTIVE SDRAMcmd WRITE tOVA SA[13:0], SB[1:0] BANK, ROW BANK, COLUMN tOVA DATA D[31:0] tOVD tOHD NOTES: 1. SDRAMcmd is the combination of nRAS, nCAS, nSWE, and nSCSx. 2. tOVXXX represents tOVRA, tOVCA, tOVSVW, or tOVSC. Refer to the AC timing table. 3. tOHXXX represents tOHRA, tOHCA, tOHSVW, or tOHSC. LH7A400-24 Figure 13. Synchronous Bank Activate and Write Data Sheet Version 1.0 45 LH7A400 32-Bit System-on-Chip PC Card (PCMCIA) Waveforms Figure 14 shows the waveforms and timing for a PCMCIA Read Transfer, Figure 15 shows the waveforms and timing for a PCMCIA Write Transfer. PRECHARGE ACCESS HOLD TIME TIME TIME (See Note 1) (See Note 1) (See Note 1) HCLK A[25:0] ADDRESS nPCREG tOVDREG tOHDREG nPCCEx (See Note 2) tOVCEx tOHCEx PCDIR tOVPCD DATA D[15:0] tISD tIHD nPCOE tOVOE tOHOE NOTES: 1. Precharge time, access time, and hold time are programmable wait-state times. 2. nPCCE1 nPCCE2 0 0 0 1 1 0 1 1 TRANSFER TYPE Common Memory Attribute Memory I/O None LH7A400-11 Figure 14. PCMCIA Read Transfer 46 Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 PRECHARGE ACCESS HOLD TIME TIME TIME (See Note 1) (See Note 1) (See Note 1) HCLK A[25:0] ADDRESS nPCREG tOVDREG tOHDREG nPCCEx (See Note 2) tOVCEx tOHCEx PCDIR tOVPCD DATA D[15:0] tOVD tOHD nPCWE tOVWE tOHWE NOTES: 1. Precharge time, access time, and hold time are programmable wait-state times. 2. nPCCE1 nPCCE2 0 0 0 1 1 0 1 1 TRANSFER TYPE Common Memory Attribute Memory I/O None LH7A400-12 Figure 15. PCMCIA Write Transfer Data Sheet Version 1.0 47 LH7A400 32-Bit System-on-Chip MMC Interface Waveforms AC97 Interface Waveforms Figure 16 shows the waveforms and timing for an MMC command or data Write, and Figure 17 shows the waveforms and timing for an MMC command or data Read. Figure 18 shows the waveforms and timing for the AC97 interface Data Setup and Hold. MMCCLK MMCCMD tOVCMD tOHCMD tOVDAT tOHDAT MMCDAT LH7A400-14 Figure 16. MMC Command/Data Write MMCCLK MMCCMD tISCMD tIHCMD MMCDAT tISDAT tIHDAT LH7A400-15 Figure 17. MMC Command/Data Read tACBITCLK ACBITCLK tOVAC97 tOHAC97 ACOUT/ACSYNC tISAC97 tIHAC97 ACIN LH7A400-16 Figure 18. AC97 Data Setup and Hold 48 Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Audio Codec Interface Waveforms or by the external codec chip); receive data is clocked on the falling edge. This allows full-speed, full duplex operation. Figure 19 and Figure 20 show the timing for the ACI. Transmit data is clocked on the rising edge of ACBITCLK (whether transmitted by the LH7A404 ACI ACBITCLK ACSYNC/ACOUT tOS tOH ACIN tIS tIH LH7A400-169 Figure 19. ACI Signal Timing ACBITCLK ACSYNC BIT ACIN/ACOUT 7 6 5 4 3 2 1 0 7 6 ACIN/ACOUT SAMPLED ON FALLING EDGE LH7A400-181 Figure 20. ACI Datastream Data Sheet Version 1.0 49 LH7A400 32-Bit System-on-Chip Clock and State Controller (CSC) Waveforms Figure 21 shows the behavior of the LH7A400 when coming out of Reset or Power On. Figure 22 shows external reset timing, and Table 11 gives the timing parameters. Figure 23 depicts signal timing following a Reset. On transition from Standby to Run (including a Cold Boot), the Wakeup pin must not be asserted for 2 seconds after assertion of nPOR to allow time for sampling BATOK and nEXTPWR. The delay prevents a false `battery good' indication caused by alkaline battery recovery that can immediately follow a battery-low switch off. The battery sampling takes place on the rising edge of the 1 Hz clock. This clock is derived from the 32.768 kHz oscillator. The WAKEUP pin can be pulsed, but at least one edge must follow the 2 second delay to be recognized. For more information, see the application note "Implementing Auto-Wakeup on the LH7A4xx Series Devices" at www.sharpsma.com. Figure 24 shows the recommended components for the SHARP LH7A400 32.768 kHz external oscillator circuit. Figure 25 shows the same for the 14.7456 MHz external oscillator circuit. In both figures, the NAND gate represents the internal logic of the chip. Table 11. Reset AC Timing PARAMETER DESCRIPTION tOSC32 32.768 kHz Oscillator Stabilization Time after Power On* tPORH nPOR Hold Time after tOSC32 tOSC14 14.7456 MHz Oscillator Stabilization Time after Wake UP tPLLL Phase Locked Loop Lockup Time tURESET/tPWRFL nURESET/nPWRFL Pulse Width (once sampled LOW) MIN. MAX. UNIT 550 ms 0 2 ms 4 ms 250 s System Clock Cycles NOTE: *VDDC = VDDCmin VDDCmin VDDC XTAL32 tOSC32 tPORH XTAL14 tOSC14 nPOR LH7A400-25 Figure 21. Oscillator Start-up tURESET tPWRFL nURESET nPWRFL LH7A400-26 Figure 22. External Reset 50 Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 POWER 2 sec. WAKEUP (asynchronous) 7.8125 ms CLKEN 7.8125 ms HCLK START UP STABLE CLOCK LH7A400-175 Figure 23. Signal Timing After Reset ENABLE INTERNAL TO THE LH7A400 EXTERNAL TO THE LH7A400 XTALIN Y1 XTALOUT 32.768 kHz R1 18 M NOTES: 1. Y1 is a parallel-resonant type crystal. (See table) 2. The nominal values for C1 and C2 shown are for a crystal specified at 12.5 pF load capacitance (CL). 3. The values for C1 and C2 are dependent upon the cystal's specified load capacitance and PCB stray capacitance. 4. R1 must be in the circuit. 5. Ground connections should be short and return to the ground plane which is connected to the processor's core ground pins. 6. Tolerance for R1, C1, C2 is 5%. C1 15 pF C2 18 pF GND GND RECOMMENDED CRYSTAL SPECIFICATIONS PARAMETER DESCRIPTION 32.768 kHz Crystal Tolerance Aging Load Capacitance ESR (MAX.) Drive Level Recommended Part Parallel Mode 30 ppm 3 ppm 12.5 pF 50 k 1.0 W (MAX.) MTRON SX1555 or equivalent LH7A400-187 Figure 24. 32.768 kHz External Oscillator Components and Schematic Data Sheet Version 1.0 51 LH7A400 32-Bit System-on-Chip ENABLE INTERNAL TO THE LH7A400 EXTERNAL TO THE LH7A400 XTALIN Y1 XTALOUT 14.7456 MHz R1 1 M C1 18 pF C2 22 pF GND GND RECOMMENDED CRYSTAL SPECIFICATIONS NOTES: 1. Y1 is a parallel-resonant type crystal. (See table) 2. The nominal values for C1 and C2 shown are for a crystal specified at 18 pF load capacitance (CL). 3. The values for C1 and C2 are dependent upon the cystal's specified load capacitance and PCB stray capacitance. 4. R1 must be in the circuit. 5. Ground connections should be short and return to the ground plane which is connected to the processor's core ground pins. 6. Tolerance for R1, C1, C2 is 5%. PARAMETER DESCRIPTION 14.7456 MHz Crystal Tolerance Stability Aging Load Capacitance ESR (MAX.) Drive Level Recommended Part (AT-Cut) Parallel Mode 50 ppm 100 ppm 5 ppm 18 pF 40 100 W (MAX.) MTRON SX2050 or equivalent LH7A400-188 Figure 25. 14.7456 MHz External Oscillator Components and Schematic 52 Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 Printed Circuit Board Layout Practices LH7A400 POWER SUPPLY DECOUPLING The LH7A400 has separate power and ground pins for different internal circuitry sections. The VDD and VSS pins supply power to I/O buffers, while VDDC and VSSC supply power to the core logic, and VDDA/VSSA supply analog power to the PLLs. Each of the VDD and VDDC pins must be provided with a low impedance path to the corresponding board power supply. Likewise, the VSS, VSSA, and VSSC pins must be provided with a low impedance path to the board ground. Each power supply must be decoupled to ground using at least one 0.1 F high frequency capacitor located as close as possible to a VDDx, VSSx pin pair on each of the four sides of the chip. If room on the circuit board allows, add one 0.01 F high frequency capacitor near each VDDx, VSSx pair on the chip. To be effective, the capacitor leads and associated circuit board traces connecting to the chip VDDx, VSSx pins must be kept to less than half an inch (12.7 mm) per capacitor lead. There must be one bulk 10 F capacitor for each power supply placed near one side of the chip. RECOMMENDED PLL, VDDA, VSSA FILTER The VDDA pins supply power to the chip PLL circuitry. VSSA is the ground return path for the PLL circuit. SHARP recommends a low-pass filter attached as shown in Figure 26. The values of the inductor and capacitors are not critical. The low-pass filter prevents high frequency noise from adversely affecting the PLL circuits. The distance from the IC pin to the high frequency capacitor should be as short as possible. VDDC (SOURCE) UNUSED INPUT SIGNAL CONDITIONING Floating input signals can cause excessive power consumption. Unused inputs without internal pull-up or pull-down resistors should be pulled up or down externally, to tie the signal to its inactive state. Some GPIO signals default to inputs. If the pins that carry these signals are unused, software can program these signals as outputs, eliminating the need for pullups or pull-downs. Power consumption may be higher than expected until software completes programming the GPIO. Some LH7A400 inputs have internal pullups or pull-downs. If unused, these inputs do not require external conditioning. OTHER CIRCUIT BOARD LAYOUT PRACTICES All outputs have fast rise and fall times. Printed circuit trace interconnection length must therefore be reduced to minimize overshoot, undershoot and reflections caused by transmission line effects of these fast output switching times. This recommendation particularly applies to the address and data buses. When considering capacitance, calculations must consider all device loads and capacitances due to the circuit board traces. Capacitance due to the traces will depend upon a number of factors, including the trace width, dielectric material the circuit board is made from and proximity to ground and power planes. Attention to power supply decoupling and printed circuit board layout becomes more critical in systems with higher capacitive loads. As these capacitive loads increase, transient currents in the power supply and ground return paths also increase. VDDC LH7A400 10 H VDDA + 22 F 0.1 F VSSA LH7A400-189 Figure 26. VDDA, VSSA Filter Circuit Data Sheet Version 1.0 53 LH7A400 32-Bit System-on-Chip PACKAGE SPECIFICATIONS 256-BALL PBGA TOP VIEW 0.20 (4X) A 17.00 +0.70 A1 BALL PAD CORNER 15.00 -0.05 17.00 +0.70 15.00 -0.05 1.21 TYP. A1 BALL PAD INDICATOR, 1.0 DIA. 11.64 MAX. 6.00 2.90 B 6.00 AVAILABLE MARKING AREA 2.90 45 CHAMFER 4 PLACES 1.21 TYP. 11.64 MAX. 0.35 C 0.25 C BOTTOM VIEW (256 solder balls) A1 BALL PAD CORNER 0.15 C 16 14 12 10 8 6 4 2 15 13 11 9 7 5 3 1 SIDE VIEW 1.00 REF. 1.00 A B C D E F G H J K L M N P R T 1.00 REF. 30 TYP. 1.00 C +0.10 0.50 -0.10 0.30 M C A B 0.10 M C SEATING PLANE 0.80 0.05 0.50 R, 3 PLACES 1.76 0.21 0.40 0.10 0.56 0.06 NOTE: Dimensions in mm. 256PBGA Figure 27. 256-Ball PBGA Package Specification 54 Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 256-BALL CABGA 0.10 (4X) TOP VIEW 14.00 A 14.00 B A1 BALL PAD CORNER 0.10 C 0.12 C BOTTOM VIEW (256 solder balls) 16 14 12 10 8 6 4 2 15 13 11 9 7 5 3 1 SIDE VIEW 1.0 0.80 A B C D E F G H J K L M N P R T 1.0 C 5 0.46 TYP. 0.15 M C A B 0.08 M C 6 SEATING PLANE 0.36 0.04 0.80 0.70 0.05 1.70 MAX. NOTE: Dimensions in mm. 256CABGA Figure 28. 256-Ball CABGA Package Specification Data Sheet Version 1.0 55 LH7A400 32-Bit System-on-Chip CONTENT REVISIONS This document contains the following changes to content, causing it to differ from previous versions. Table 12. Record of Revisions DATE PAGE NO. 1 3-11 8-19-2003 Features 256-ball CABGA package added Table 1 CABGA Pins added; VDDA1/VDDA2 combined to VDDA; VSSA1/VSSA2 combined to VSSA 12 Table 3 Signal ordering corrected Table 4 Table title added to differentiate between PBGA and CABGA packages 18-24 Table 5 CABGA numerical pin list table added Figure 7 and Figure 8 `CSx' added to figures 39 Figures 11 and 12 PCDIR signal corrected in PCMCIA timing diagrams Table 10 and Figure 16 tOSC14 added to both table and figure; XTAL14 added to figure; tPLLL added to table Figures 19-21 and Printed Circuit Board Layout Practices Figures and text added 49 Figure 23 Figure added for CABGA package 1 Text Corrected minor text errors; added separate Commercial and Industrial temperature specification. 2 Figure 1 Updated to show ALI Interface 34 `Recommended Broke out "Commercial" and "Industrial" speed ranges. Operating Conditions' 44 45-47 39 Table 10 Minor corrections to type. 39 Table 10 Added ACI timing. 54 Figure 27 PBGA package drawing added. Table 1 Changed names of BOOTWIDTH0 and BOOTWIDTH1 to WIDTH0 and WIDTH1 for consistency with other Sharp SoCs. 11 6-21-04 53 Figure 26; text Revised text and drawing to indicate that the VSSA pin must be grounded 50 Table 11 Added table. ALL 12-07-04 Text Run current corrected to 125 mA and Halt to 25 mA 34 Table 7, Figure 6 Added table and accompanying graph for speed/temperature/voltage 36 `DC Specifications' Added IRUN, IHALT, and ISTANDBY; corrected IIN. 37 Table 8 Corrected values in Table 8. Table 10 Changed Asynchronous Memory timing to match SRAM datasheet parameter naming conventions. Corrected Synchronous Memory times; added synchronous memory Address Hold time. Figure 8 - Figure 11 Changed Asynchronous Memory timing diagrams to match renamed parameters. 51 Text and Figure 23 Clarification made to timing for cold boot power-on sequence. 36 `DC Specifications' Added IIN without pullup resistors. 41-44 56 Rolled revision to Version 1.0 1 39 12-13-04 SUMMARY OF CHANGES 12-18 41-42 11-15-03 PARAGRAPH OR ILLUSTRATION Version 1.0 Data Sheet 32-Bit System-on-Chip LH7A400 SPECIFICATIONS ARE SUBJECT TO CHANGE WITHOUT NOTICE. Suggested applications (if any) are for standard use; See Important Restrictions for limitations on special applications. See Limited Warranty for SHARP's product warranty. The Limited Warranty is in lieu, and exclusive of, all other warranties, express or implied. ALL EXPRESS AND IMPLIED WARRANTIES, INCLUDING THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR USE AND FITNESS FOR A PARTICULAR PURPOSE, ARE SPECIFICALLY EXCLUDED. In no event will SHARP be liable, or in any way responsible, for any incidental or consequential economic or property damage. NORTH AMERICA EUROPE JAPAN SHARP Microelectronics of the Americas 5700 NW Pacific Rim Blvd. Camas, WA 98607, U.S.A. Phone: (1) 360-834-2500 Fax: (1) 360-834-8903 www.sharpsma.com SHARP Microelectronics Europe Division of Sharp Electronics (Europe) GmbH Sonninstrasse 3 20097 Hamburg, Germany Phone: (49) 40-2376-2286 Fax: (49) 40-2376-2232 www.sharpsme.com SHARP Corporation Electronic Components & Devices 22-22 Nagaike-cho, Abeno-Ku Osaka 545-8522, Japan Phone: (81) 6-6621-1221 Fax: (81) 6117-725300/6117-725301 www.sharp-world.com TAIWAN SINGAPORE KOREA SHARP Electronic Components (Taiwan) Corporation 8F-A, No. 16, Sec. 4, Nanking E. Rd. Taipei, Taiwan, Republic of China Phone: (886) 2-2577-7341 Fax: (886) 2-2577-7326/2-2577-7328 SHARP Electronics (Singapore) PTE., Ltd. 438A, Alexandra Road, #05-01/02 Alexandra Technopark, Singapore 119967 Phone: (65) 271-3566 Fax: (65) 271-3855 SHARP Electronic Components (Korea) Corporation RM 501 Geosung B/D, 541 Dohwa-dong, Mapo-ku Seoul 121-701, Korea Phone: (82) 2-711-5813 ~ 8 Fax: (82) 2-711-5819 CHINA HONG KONG SHARP Microelectronics of China (Shanghai) Co., Ltd. 28 Xin Jin Qiao Road King Tower 16F Pudong Shanghai, 201206 P.R. China Phone: (86) 21-5854-7710/21-5834-6056 Fax: (86) 21-5854-4340/21-5834-6057 Head Office: No. 360, Bashen Road, Xin Development Bldg. 22 Waigaoqiao Free Trade Zone Shanghai 200131 P.R. China Email: smc@china.global.sharp.co.jp SHARP-ROXY (Hong Kong) Ltd. 3rd Business Division, 17/F, Admiralty Centre, Tower 1 18 Harcourt Road, Hong Kong Phone: (852) 28229311 Fax: (852) 28660779 www.sharp.com.hk Shenzhen Representative Office: Room 13B1, Tower C, Electronics Science & Technology Building Shen Nan Zhong Road Shenzhen, P.R. China Phone: (86) 755-3273731 Fax: (86) 755-3273735 (c)2003 -2004 by SHARP Corporation Reference Code SMA01012