S3C6410 Circuit Design Guide Rev1.00
S3C6410 Circuit Design Guide Rev1.00
S3C6410 Circuit Design Guide Rev1.00
S3C6410X
RISC Microprocessor July 18, 2008 REV 1.00
Confidential Proprietary of Samsung Electronics Co., Ltd Copyright 2008 Samsung Electronics, Inc. All Rights Reserved
Important Notice
The information in this publication has been carefully checked and is believed to be entirely accurate at the time of publication. Samsung assumes no responsibility, however, for possible errors or omissions, or for any consequences resulting from the use of the information contained herein. Samsung reserves the right to make changes in its products or product specifications with the intent to improve function or design at any time and without notice and is not required to update this documentation to reflect such changes. This publication does not convey to a purchaser of semiconductor devices described herein any license under the patent rights of Samsung or others. Samsung makes no warranty, representation, or guarantee regarding the suitability of its products for any particular purpose, nor does Samsung assume any liability arising out of the application or use of any product or circuit and specifically disclaims any and all liability, including without limitation any consequential or incidental damages. . S3C6410X RISC Microprocessor Circuit Design Guide, Revision 1.00 Copyright 2008-2008 Samsung Electronics Co.,Ltd. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electric or mechanical, by photocopying, recording, or otherwise, without the prior written consent of Samsung Electronics Co.,Ltd. Samsung Electronics Co., Ltd. San #24 Nongseo-Dong, Giheung-Gu Yongin-City Gyeonggi-Do, Korea 446-711 "Typical" parameters can and do vary in different applications. All operating parameters, including "Typicals" must be validated for each customer application by the customer's technical experts. Samsung products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, for other applications intended to support or sustain life, or for any other application in which the failure of the Samsung product could create a situation where personal injury or death may occur. Should the Buyer purchase or use a Samsung product for any such unintended or unauthorized application, the Buyer shall indemnify and hold Samsung and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, expenses, and reasonable attorney fees arising out of, either directly or indirectly, any claim of personal injury or death that may be associated with such unintended or unauthorized use, even if such claim alleges that Samsung was negligent regarding the design or manufacture of said product
Revision History
Revision No 0.00 1.00 Description of Change - Initial Release for review - Public Release Refer to Author(s) W.J.JANG H.M.NOH Date June 2, 2008 July 18, 2008
Table of Contents
1. Overview.................................................................................................................................................... 6 1.1 S3C6410 Pin Description ............................................................................................................... 6 1.2 Pin Power Domain .......................................................................................................................... 14 1.3 Booting Option ................................................................................................................................ 15 1.4 Feature of the IROM Boot mode .................................................................................................... 16 1.5 Recommend Operating Conditions ................................................................................................ 17 1.6 Difference of S3C6410 and S3C6400 ............................................................................................ 18 2. MEMORY MAP ......................................................................................................................................... 20 2.1 Maximum Address range of the Memory Port0.............................................................................. 20 2.2 Maximum Address range of the Memory Port1.............................................................................. 20 3. Syscon....................................................................................................................................................... 21 3.1 Power.............................................................................................................................................. 21 3.1.1 Power On Sequence ................................................................................................................... 21 3.1.2 Power Off Sequence ................................................................................................................... 24 3.1.3 Power Scheme Diagram.............................................................................................................. 25 3.1.4 Circuit Guide for DVS Scheme .................................................................................................... 26 3.2 Clock............................................................................................................................................... 27 3.2.1 PLL .............................................................................................................................................. 27 3.3 Reset .............................................................................................................................................. 29 3.3.1 HardWare Reset.......................................................................................................................... 29 4. MEMORY SUBSYSTEM ........................................................................................................................... 30 5. DRAM Controller ....................................................................................................................................... 31 5.1 Memory Port0 ................................................................................................................................. 31 5.2 Memory Port1 ................................................................................................................................. 31 5.3 DRAM Initialize Sequence.............................................................................................................. 33 5.4 PCB LAYOUT GUIDELINES FOR DDR ........................................................................................ 36 6. SROM Controller ....................................................................................................................................... 39 6.1 Address Connection ....................................................................................................................... 39 6.2 SRAM/ROM Interface Examples .................................................................................................... 39 7. OneNAND Controller................................................................................................................................. 41 7.1 Overview......................................................................................................................................... 41 7.2 Signal Description........................................................................................................................... 41 7.3 Circuit Diagram Example................................................................................................................ 41 7.4 Caution .......................................................................................................................................... 42 8. NAND Flash .............................................................................................................................................. 43 8.1 Interface for Multi Chip Select NAND ............................................................................................. 43 9. CF Controller ............................................................................................................................................. 44 9.1 CF Interface .................................................................................................................................... 44 9.2 Cautions.......................................................................................................................................... 45 9.3 ATA 2 Slot operation guide............................................................................................................. 46 10. GPIO........................................................................................................................................................ 48 11. DMA Controller........................................................................................................................................ 54 12. VECTORED INTERRUPT CONTROLLER............................................................................................. 55 13. SECURITY SUB-SYSTEM...................................................................................................................... 56 14. DISPLAY CONTROLLER ....................................................................................................................... 57 15. POST PROCESSOR............................................................................................................................... 61 16. TV SCALER ............................................................................................................................................ 62 17. TV ENCODER......................................................................................................................................... 63 18. GRAPHICS 2D ........................................................................................................................................ 65 19. IMAGE ROTATOR .................................................................................................................................. 66 20. CAMERA INTERFACE............................................................................................................................ 67
20.1 CAMIF INPUT............................................................................................................................... 67 20.2 Signal Description......................................................................................................................... 67 21. MULTI-FORMAT VIDEO CODEC........................................................................................................... 69 22. JPEG CODEC ......................................................................................................................................... 70 23. MODEM INTERFACE ............................................................................................................................. 71 23.1 Pin Description ............................................................................................................................. 71 23.2 Pin Connection Example .............................................................................................................. 72 23.3 Caution ......................................................................................................................................... 72 24. HOST INTERFACE ................................................................................................................................. 73 25. USB Host................................................................................................................................................. 74 25.1 Power Domain .............................................................................................................................. 74 25.2 Circuit Diagram Example.............................................................................................................. 74 25.3 USB Host connection ................................................................................................................... 74 25.4 Caution ......................................................................................................................................... 74 26. USB 2.0 HS OTG .................................................................................................................................... 75 26.1 Power Domain .............................................................................................................................. 75 26.2 Circuit Diagram Example.............................................................................................................. 75 26.3 USB PLL Specification ................................................................................................................. 77 26.4 USB SIGNAL ROUTING .............................................................................................................. 77 27. SD/MMC HOST CONTROLLER ............................................................................................................. 79 28. MIPI HSI INTERFACE CONTROLLER................................................................................................... 82 29. SPI........................................................................................................................................................... 83 30. IIC-BUS INTERFACE.............................................................................................................................. 84 30.1 Pin Description ............................................................................................................................. 84 30.2 Equation of the pull-up resistor value ........................................................................................... 84 31. UART....................................................................................................................................................... 85 32. PWM TIMER ........................................................................................................................................... 86 33. RTC ......................................................................................................................................................... 87 34. WATCHDOG TIMER............................................................................................................................... 88 35. AC97 CONTROLLER.............................................................................................................................. 89 35.1 AC97 Signal Description............................................................................................................... 89 35.2 Audio Ports ................................................................................................................................... 89 35.3 Signal Description......................................................................................................................... 89 36. IIS BUS CONTROLLER .......................................................................................................................... 90 36.1 Signal Description......................................................................................................................... 90 36.2 Audio Port ..................................................................................................................................... 90 36.3 External Clock Source .................................................................................................................. 90 36.4 Connection Example .................................................................................................................... 90 37. PCM BUS CONTROLLER ...................................................................................................................... 92 37.1 Signal Description......................................................................................................................... 92 37.2. Audio Port .................................................................................................................................... 92 37.3 External Clock Source .................................................................................................................. 92 37.4 Connection Example .................................................................................................................... 93 38. IRDA CONTROLLER .............................................................................................................................. 94 39. ADC&TOUCH SCREEN INTERFACE .................................................................................................... 95 40. KEYPAD INTERFACE ............................................................................................................................ 96 41. IIS MULTI AUDIO INTERFACE .............................................................................................................. 97 41.1 Signal Description......................................................................................................................... 97 41.2 Audio Ports ................................................................................................................................... 97 41.3 External Clock Source .................................................................................................................. 98 41.4 Connection Example .................................................................................................................... 98 42. GRAPHIC 3D .......................................................................................................................................... 99
1. Overview
1.1 S3C6410 Pin Description
Check Items Signal Used Recommendations Unused Check
Shared Memory Port 0 (SROMC/OneNAND/NAND/ATA) Xm0BEn[1:0] Xm0CSn[5:0] GPO[5:4] Xm0ADDR[19:0] Xm0OEn Xm0WEn Xm0ADRVALID Xm0SMCLK Xm0DATA[15:0] Xm0WAITn Connect to Byte Enable of External device. Connect to Chip Select of External device. * Xm0CSn3 is not used for SROMC at OneNAND/Modem Boot Mode Using as GPIO Connect to Address lines of External device. Connect to Output Enable of External device. Connect to Write Enable of External device. Connect to Address Valid pin of OneNAND Connect to OneNAND Clock Connect to Data lines of External device. Connect to Wait signal of External device. 4.7Kohm pull-up resistor required. Connect to OneNAND Bank0 Ready Xm0RDY0_ALE Connect to NAND Flash or External device Address Latch Enable Connect to OneNAND Bank1 Ready Xm0RDY1_CLE Connect to NAND Flash or External device Command Latch Enable Connect to OneNAND Bank0 Interrupt Connect to NAND Flash Write Enable Connect to OneNAND Bank1 Interrupt Connect to NAND Flash Read Enable Connect to OneNAND Reset. Xm0RPn_RnB GPQ[6:2] Xm0INTata Xm0RESETata Connect to NAND Flash Ready/Busy. 4.7Kohm pull-up resistor required. Use as GPIO Connect to Interrupt Request pin of CF Socket (Indirect Path) Connect to CF Card Reset pin(Indirect Path) Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect
Xm0INTsm0_FWEn
Leave as a No Connect
Xm0INTsm1_FREn
Leave as a No Connect
Connect to Input Ack pin of CF Socket(Indirect Path) Connect to REG pin of CF Socket(Indirect Path) Connect to Write Enable pin of CF Socket(Indirect Path) Connect to Read Enable pin of CF Socket(Indirect Path) Connect to Card Detect pin of CF Socket Pull-up resistor is required(Indirect Path).
Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect
Shared Memory Port 1 (SROMC/DRAM1) Xm1CKE[1:0] Xm1SCLK, Xm1SCLKn Xm1CSn[1:0] Xm1ADDR[15:0] Xm1RASn Xm1CASn Xm1WEn Xm1DATA[31:0] Xm1DQM[3:0] Xm1DQS[3:0] Connect to DRAM Clock Enable Connect to DRAM Clock Connect to Chip Select of DRAM. Connect to Address and bank select of DRAM. Connect to DRAM Row Address Strobe. Connect to DRAM Column Address Strobe. Connect to DRAM Write Enable Connect to Data lines of External device. Connect to DRAM Data Mask. Connect to DRAM Data Strobe UART/IrDA/CF XuRXD[1:0] XuTXD[1:0] XuCTSn[1:0] XuRTSn[1:0] Connect to UART Rx Data Lines Connect to UART Tx Data Lines Connect to UART Clear To Send signal Connect to UART Request To Send signal Connect to UART Rx Data Line. XuRXD[2] Connect to IrDA Rx Data Line. Connect to External DMA Request Line. Connect to Address[0] of the ATA device. Connect to UART Tx Data Line. XuTXD[2] Connect to IrDA Tx Data Line. Connect to External DMA Ack Line. Connect to Address[1] of the ATA device. XuRXD[3] Connect to UART Rx Data Line. Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect
Connect to IrDA Rx Data Line. Connect to External DMA Request Line. Connect to IIC device Clock. 1Kohm pull-up resistor required Connect to Address[2] of the ATA device. Connect to UART Tx Data Line. Connect to IrDA Tx Data Line. XuTXD[3] Connect to External DMA Ack Line. Connect to IIC device Data 1Kohm pull-up resistor required. Connect to IrDA transceiver control signal CF_Data_DIR/ XirSDBW Connect to Camera Field signal. If necessary, use to control the Data Buffer Direction for ATA device IIC Bus Xi2cSCL Xi2cSDA Connect to IIC device Clock 1Kohm pull-up resistor is required. Connect to IIC device Data 1Kohm pull-up resistor is required SPI XspiMISO[0] XspiMOSI[0] XspiCLK[0] XspiCS[0] Connect to SPI device SPIMISO Connect to SPI device SPIMOSI Connect to SPI device Clock Connect to SPI device Chip Select Connect to SPI device SPIMISO XspiMISO[1] Connect to MMC2 Card Command. 10Kohm pull-up resistor to VDD_MMC is required Connect to IIS 5.1CH CODEC Data Output XspiMOSI[1] Connect to SPI device SPIMOSI Connect to SPI device Clock XspiCLK[1] Connect to MMC2 Card Clock. Connect to IIS 5.1CH CODEC Data Output XspiCS[1] Connect to SPI device Chip Select Connect to IIS 5.1CH CODEC Data Output PCM/IIS/AC97 Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect
Connect to PCM Serial Shift Clock XpcmDCLK[1:0] Connect to IIS CODEC Serial Clock Connect to AC97 Bit Clock Connect to PCM reference clock(optional)
XpcmEXTCLK[1:0]
Leave as a No Connect
Connect to IIS CODEC System Clock Connect to AC97 Codec H/W Reset pin Connect to PCM Sync indicating start of word.
Leave as a No Connect
XpcmFSYNC[1:0]
Connect to IIS CODEC channel Clock Connect to AC97 Codec SYNC pin Connect to PCM Serial Data Input
Leave as a No Connect
XpcmSIN[1:0]
Connect to IIS CODEC Data Input Connect to AC97 CODEC Data Input pin Connect to PCM Serial Data Output
Leave as a No Connect
XpcmSOUT[1:0]
Connect to IIS CODEC Data Output Connect to AC97 CODEC Data Output pin USB Host
Leave as a No Connect
XuhDN XuhDP
Connect to USB Host Data Minus. 15Kohm Pull-down resistor is required. Connect to USB Hot Data plus . 15Kohm Pull-down resistor is required. USB OTG
Connect 15Kohm series resistor to GND. Connect 15Kohm series resistor to GND.
XusbDP XusbDM
Connect to USB Data pin DATA(+) Connect to USB Data pin DATA(-) Connect to Crystal XI signal if using Crystal. Connect to GND if using Oscillator.
Leave as a No Connect Leave as a No Connect Connect to GND. Connect like left column in order to supply 48MHz clock for other IPs (USB Host, IrDA, HSMMC, SPI) Connect to GND Connect like left column in order to supply 48MHz clock for other IPs (USB Host, IrDA, HSMMC, SPI) Leave as a No Connect Connect like left column in order to supply 48MHz clock for other IPs (USB Host, IrDA, HSMMC,
XusbXTI
Connect to 1M Ohm resistor between XusbXTI and XusbXTO (case of using Crystal) Connect to Crystal/Oscillator XO signal
XusbXTO
XusbREXT
SPI) XusbVBUS XusbID Connect USB mini-receptacle VBUS Connect USB mini-receptacle Identifier Device Mode : leave as a no connect Connect to Drive Vbus for Off-Chip Charge Pump. Device Mode : leave as a no connect External Interrupts XEINT[7:0] XEINT[15:8] Connect to External Device Connect to Row signals of Keypad Connect to External Device Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect
XusbDRVVBUS
Leave as a No Connect
Host I/F / MIPI / Key I/F / ATA XhiCSn Connect to Chip Select that driven by Modem Connect to ATA Chip Enable0 Strobe Connect to Chip Select for LCD bypass main Connect to ATA Chip Enable1 Strobe Connect to Chip Select for LCD bypass sub Connect to ATA Read strobe for I/O Mode Connect to Write Enable that driven by Modem Connect to ATA Write strobe for I/O Mode Connect to Read Enable that driven by Modem Connect to ATA Wait signal Connect to Interrupt Request pin to the Modem Connect to CF Data DIR Connect to Address bus of Modem XhiADDR[7:0] Connect to Column signals of Keypad Connect to ATA Control Signal Connect to Address bus of Modem XhiADDR[12:8] Connect to ATA Control Signal Connect to Data bus of Modem XhiDATA[7:0] Connect to ATA Data[7:0] Connect to MIPI HIS I/F XhiDATA[15:8] Connect to Data bus of Modem Connect to Row signals of Keypad Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect
XhiCSn_main
Leave as a No Connect
XhiCSn_sub
Leave as a No Connect
XhiWEn
Leave as a No Connect
XhiOEn
Leave as a No Connect
XhiINTR
Leave as a No Connect
10
Connect to ATA Data[15:8] XhiDATA[17:16] Connect to Data bus for LCD bypass PWM XpwmECLK
XpwmTOUT[1:0]
Leave as a No Connect
Connect to PWM Timer External Clock Input Connect to UART External Clock Input Connect to External Device Timer Output Camera Interface
Connect to Camera Master Clock Connect to Camera Horizontal Synchronous Connect to Camera Pixel Clock Connect to Camera Vertical Synchronous Connect to Camera Software Reset Connect to Camera Pixel Data Lines
Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect
TFT LCD Display Interface XvVD[23:0] XvVCLK XvVSYNC XvHSYNC XvVDEN Connect to LCD Pixel Data Lines Connect to Pixel Clock signal Connect to Vertical synchronous signal Connect to Horizontal synchronous signal Connect to Data enable signal DAC XdacVREF XdacIREF XdacCOMP XdacOUT_0 XdacOUT_1 Connect 100nF capacitor to GND. Connect 6.49Kohm resistor to GND. Connect 100nF capacitor to VDDDAC. Connect to Video AMP Connect to Video AMP ADC Connect to Analog signal Xadc_AIN[7:4] Touch Panel Interface Connect to Analog signal PLL XpllEFILTER Connect 1.8nF capacitor to GND MMC Connect 1.8nF capacitor to GND Leave as a No Connect If not use AIN[7], tie AIN [7] to VDDA_ADC or ADCTSC register must be setting to 0xd3. Leave as a No Connect Connect 100nF capacitor to GND. Connect 6.49Kohm resistor to GND. Connect 100nF capacitor to VDDDAC. Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect Leave as a No Connect
Xadc_AIN[3:0]
11
XmmcCLK0 XmmcCMD0
Connect to MMC0 Card Clock. Connect to MMC0 Card Command. 10Kohm pull-up resistor to VDD_MMC is required Connect to MMC0 Card Data Lines. 10Kohm pull-up resistor to VDD_MMC is required Connect to MMC0 or MMC1 Card Detect 10Kohm pull-up resistor is required. Connect to MMC1 Card Clock. Connect to Column Line of the Keypad Connect to MMC1 Card Command. 10Kohm pull-up resistor to VDD_MMC is required Connect to Column Line of the Keypad Connect to MMC1 Card Data Lines. 10Kohm pull-up resistor to VDD_MMC
XmmcDAT0[3:0]
Leave as a No Connect
XmmcCDN0 XmmcCLK1
XmmcCMD1
Leave as a No Connect
XmmcDATA1[7:0]
Connect to Column Line of the Keypad Connect to I2S 5.1CH codec. Connect to ATA Address[2:0] Reset
Leave as a No Connect
XnRESET XnRSTOUT
Connect to Reset Circuit or Reset Button Connect to External Device Reset Clock Connect a 13~22pF capacitor from each signal to GND. Connect to 5M Ohm resistor between XrtcTI and XrtcTO Connect to crystal oscillator. Connect to 5M Ohm resistor between XrtcTI and XrtcTO Connect to crystal oscillator
XrtcXTO
XrtcXTI
X27mXTI
Connect to 1M Ohm resistor between X27mXTI and X27mXTO Connect to crystal oscillator
X27mXTO XXTO
Connect to 1M Ohm resistor between X27mXTI and X27mXTO Connect a 15~22pF capacitor from each
12
signal to GND. Connect to 1M Ohm resistor between XXTI and XXTO Connect to a crystal oscillator. XXTI XEXTCLK Connect to 1M Ohm resistor between XXTI and XXTO Connect to External Clock Source(Oscillator). JTAG Connect to JTAG Reset Port for Debugging. XjTRSTn 10Kohm pull-up resistor to VDD_SYS. Connect 470ohm series resistor to nRESET XjTMS Connect to JTAG Mode Select Port. 10Kohm pull-up resistor to VDD_SYS. Connect to JTAG Mode Select Port. 10Kohm pull-dn resistor to GND. Connect to JTAG Return Clock Port Connect to JTAG Mode Select Port. 10Kohm pull-up resistor to VDD_SYS. Connect to JTAG Data Input Port 10Kohm pull-dn resistor to GND for Core debugging. 10Kohm pull-up resistor to VDD_SYS for SJF. MISC XOM[4:0] XPWRRGTON Connect to VDD_SYS or GND Connect to Regulator Enable Pin (VDD_ARM, VDD_INT, VDD_xPLL ) Connect to VDD_SYS for NAND Connect to GND for OneNAND Connect to Probe Signal for Battery State. 10Kohm pull-dn resistor to GND Pull-up resistor to VDD_SYS Connect to VDD_SYS or GND. Connect to Regulator Enable Pin (VDD_ARM, VDD_INT, VDD_xPLL ) Connect to VDD_SYS or GND Connect to High.(VDD_SYS) 10Kohm pull-dn resistor to GND Pull-up resistor to VDD_SYS 10Kohm pull-dn resistor to GND. 10Kohm pull-up resistor to VDD_SYS. 10Kohm pull-dn resistor to GND. Leave as a No Connect 10Kohm pull-up resistor to VDD_SYS. Leave as a No Connect Pull-up resistor to VDD_SYS Pull-dn resistor to GND
XjDBGSEL
13
1.8V~3.3V 1.8V~2.5V
VDDEXT
1.8V~3.3V
VDDMMC
1.8V~3.3V
VDDPCM
1.8V~3.3V
VDD_LCD
1.8V~3.3V
VDDHI
1.8V~3.3V
XhiDATA[17:0], XhiADDR[12:0], XhiCSn, XhiCSn_main, XhiCSn_sub, XhiWEn, XhiOEn, XhiRQn XEINT[15:0], XnRESET, WR_TEST, XsRSTOUTn, XjTRSTn, XjTMS, XjTCK, XjRTCK, XjTDI, XjTDO, XjDBGSEL, XOM[4:0], XSELNAND, XPWRRGTON, XnBATF, X27mXTI, X27mXTO, XXTI, XXTO, XEXTCLK Xadc_AIN[7:0], XdacOUT_0, XdacOUT_1, XdacIREF, XdacVREF, XdacCOMP XuhDN, XuhDP XusbDP, XusbDM, XusbXTI, XusbXTO, XusbREXT, XusbVBUS, XusbID, XusbDRVVBUS
14
MODEM
* IROM Boot loader of the S3C6410X support boot from various memory devices such as MoviNAND, MMC, Muxed OneNAND and NAND. Its defined by OM[4:0] and GPN[15:13]
15
Address Cycle 3 4 4 5 5 -
GPN1 5 0 0 0 0 1 1 1 1
GPN1 4 0 0 1 1 0 0 1 1
GPN1 3 0 1 0 1 0 1 0 1
OM[4:0]
Note) 1. NAND : Using S/W 8bit ECC at boot page 2. SDMMC(Channel1) is supported as 4bit. But It can be changed to 8bit by BL1 3. Dont use GPN[15:13] as GPIO or EINT in IROM Boot. 4. When NAND uncorrectable ECC error is detected, GPN15 is toggled. For detail, refer to IROM Application Note
16
VDDMEM0 VDDSS VDDMEM1 VDDMMC/VDDHI/VD DLCD/VDDPCM/VDD EXT/VDDSYS VDDRTC VDDADC VDDDAC VDDOTG VDDOTGI VDDUH TA TA
DC Supply Voltage for I/O Block DC Supply Voltage for RTC DC Supply Voltage for ADC DC Supply Voltage for DAC DC Supply Voltage for USB OTG Phy 3.3V DC Supply Voltage for USB OTG Internal DC Supply Voltage for USB Host Operating Temperature
C C
17
2) The Feedback resistors should be inserted between XTAL Input and Output pad S3C6410X Main Clock (XXTI, XXTO) 27MHz(X27MXTI, X27MXTO) RTC(XrtcXTI, XrtcXTO) USBOTG(XotgTI,XotgTO) 1M Ohm 1M Ohm 5M Ohm 1M Ohm S3C6400X No need No need No need No need
3) The value of resistor on DAC and USB OTG is changed - The value of pull down resistor is changed. Signal Name XREXT XdacIREF S3C6410X 44.2 Ohm 6.49K Ohm S3C6400X 3.4K Ohm 6.24K Ohm
4) SROM Address Bus Width (In case of using the x32 data bus width in memory port1) Address Bus Width S3C6410X 20 bit S3C6400X 16 bit
18
5) DRAM Interface in Memory Port 0 DRAM I/F S3C6410X Not support S3C6400X SDR/mSDR/mDDR 16 bit
6) GPIO Muxing Function IIC IIS 5-Ch Camera Interlace Mode S3C6410X 2-Ch Support Support S3C6400X 1-Ch Not support Not support
19
2. MEMORY MAP
2.1 Maximum Address range of the Memory Port0
Data pin [26:16] of memory port 1 can be used as Address pin [26:16] of memory port 0 by configuration from system controller (MEM_SYS_CFG[7]) Address Range of the SROMC Memory Port 1: 32bit Bus width DRAM Memory Port 1: 16bit Bus width DRAM Address Width 20bit 27bit Max. Size 1MB 128MB
O -
O -
O O -
O 2
O O
O O O
2
O O -
1 2
This address range can be assigned to both SROM controller and OneNAND controller. The decision is made by System Controller. Refer to Memory sub-system chapter for details. In case of OneNAND boot mode, It is not used for SROM controller.
20
3. Syscon
3.1 Power
3.1.1 Power On Sequence
tOA
VDD_IO
tAE
VDDALIVE
tAI
After VDD_IO & VDDALIVE are turned on, XPWRRGTON is always HIGH XPWRRGTON HIGH is possible in this area
XPWRRGTON
tOSC
nRESET
Clock Disable
tPLL
VCO is adapted to new clock frequency .
VCO output
...
tRST2RUN
... FCLK MCU operates by XTIpll or EXTCLK clcok . FCLK is new frequency .
Figure 3_1) Power on sequence Note) OSCs frequency should be meet the specification which is 10Mhz ~ 20Mhz
21
EXTCLK
XTIpll
tOSC2
FCLK
tXTALCYC
1/2 VDD_SYS
1/2 VDD_SYS
NOTE:
22
1/2 VDD_SYS
VIH
Clock Timing Constants (VDDINT= 1.2V 0.05V, TA = -40 to 85C, VDDSYS = 3.3V 0.3V, 2.5V 0.25V, 1.8V 0.15V) Parameter VDDpadIO to VDDalive VDDalive to VDDi/VDDarm VDDarm to PWR_EN(PWRRGTON) VDDLOGIC/VDDarm to Oscillator stabilization Oscillator stabilization to nRESET & nTRST high External clock input high level pulse width External clock to HCLK (without PLL) HCLK (internal) to CLKOUT HCLK (internal) to SCLK Reset assert time after clock stabilization APLL&MPLL Lock Time EPLL Lock Time Sleep mode return oscillation setting time.
(2)
Symbol tOA tAI tAE tOSC tOR tEXTHIGH tEX2HC tHC2CK tHC2SCLK tRESW tPLL tOSC2 tRST2RUN
Min 0 1 1 10 1 25 5 4 2 4 24 5
Typ
Max
Unit ms us
10
ns cycle us
23
Min 0 0
TYP
Max
Units ms ms
24
Figure 3_6) Power Scheme Diagram Note 1) VDDxPLL can use same power source with VDDINT
25
26
3.2 Clock
3.2.1 PLL
E X T C L K
E x te rn a l O S C
V D D _ S Y S
E X T C L K
E X T
X T Ip ll
R fe d
X T Ip ll
E X T
X T O p ll
X T O p ll
a ) X -T A L O s c illa tio n (O M [0 ]= 0 )
b ) E x te r n a l C lo c k S o u r c e (O M [0 ]= 1 )
Usual Conditions for A/MPLL & Clock Generator PLL & Clock Generator generally uses the following conditions. Loop filter capacitance External X-tal frequency External capacitance used for X-tal Feedback resistor between XXTI with XXTO CLF CEXT Rfed Need not Loop Filter Capacitance 10 20 MHz 15 22 pF 1M Ohm
The output frequencies of APLL/MPLL can be calculated using the following equations: FOUT = MDIV X FIN / (PDIV X 2SDIV) MDIV: 64 MDIV 1023 PDIV: 1 PDIV 63 SDIV: 0 SDIV 5 FVCO =(MDIV X FIN / PDIV): 800MHz FVCO 1600MHz
27
FIN : 10MHz FIN 20MHz Dont set the value P and M to all zeros FOUT = MDIV X FIN / (PDIV X 2SDIV)
NOTE: Although there is the equation for choosing PLL value, we strongly recommend only the values in the PLL value recommendation table. If you have to use other values, please contact us. FIN (MHz) 12 12 12 12 12 12 Target FOUT (MHz) 100 200 266 400 533 667 MDIV 400 400 266 400 266 333 PDIV 3 3 3 3 3 3 SDIV 4 3 2 2 1 1
Usual Conditions for EPLL & Clock Generator PLL & Clock Generator generally uses the following conditions. Loop filter capacitance External X-tal frequency External capacitance used for X-tal CLF CEXT XpllEFILTER: 1.8nF 10 20 MHz 15 22 pF
The output frequencies of EPLL can be calculated using the following equations: FOUT = (MDIV + KDIV / 216) X FIN / (PDIV X 2SDIV) where, MDIV, PDIV, SDIV for APLL and MPLL must meet the following conditions : MDIV: 16 MDIV 255 PDIV: 1 PDIV 63 KDIV: 0 KDIV 65535 SDIV: 0 SDIV 4 FVCO (= (MDIV + KDIV / 216) X FIN / PDIV) : 300MHz FVCO 600MHz FOUT : 20MHz FOUT 600MHz FIN : 10MHz FIN 20MHz Dont set the value P and M to all zeros
NOTE: Although there is the equation for choosing PLL value, we strongly recommend only the values in the PLL value recommendation table. If you have to use other values, please contact us.
28
EPLL Value (P, M, S) FIN (MHz) 12 12 12 12 12 12 12 12 12 12 12 FOUT (MHz) 36 48 60 72 84 96 32.768 45.158 49.152 67.738 73.728 MDIV 48 32 40 48 28 32 43 30 32 45 49 PDIV 1 1 1 1 1 1 1 1 1 1 1 SDIV 4 3 3 3 2 2 4 3 3 2 3 KDIV 0 0 0 0 0 0 45264 6903 50332 10398 9961
3.3 Reset
3.3.1 HardWare Reset
The hardware reset is invoked when XnRESET pin is asserted and all units in the system (except RTC) are reset to known states. During this period, the following actions occur. All internal registers and ARM1176 core go to the pre-defined reset states. All pins get their reset state. XnRSTOUT pin is asserted when XnRESET is asserted.
Caution: An external power source, regulator, for S3C6410X must be stable prior to the deassertion of XnRESET. Otherwise, it damages to S3C6410X and its operation will not be guaranteed.
29
4. MEMORY SUBSYSTEM
4.1 USAGE OF THE MEMORY PORT0 & MEMORY PORT1
Memory Port0 Op. Voltage Device VDD_MEM0(1.7V~3.6V,typ:1.8/2.5V/3.3V) SRAM, NOR, NAND, OneNAND, CF I/F Xm0nCS[1:0] : SRAM, NOR ( NOR Booting : Xm0nCS0) Xm0nCS[3:2] : SRAM, NOR, NAND, OneNAND (OneNAND Booting: Xm0nCS2 and Xm0nCS3 cant support SROMC at OneNAND/Modem booting mode) Xm0nCS[5:4] : SRAM, NOR, CF If use x32 DRAM in Memory Port1, Memory Port0 use only Xm0ADDR[19:0] Memory Port1 VDD_MEM1(1.75V~2.7V,typ:1.8/2.5V) x16 mDDR, DDR x32 mSDR, SDR, mDDR, DDR
Chip Select
Others
Cant be connected with x16 mSDR 16bit Data Bus: Default, ADDR_EXPAND =1 32bit Data Bus: ADDR_EXPAND=0
30
5. DRAM Controller
5.1 Memory Port0
The Memory Port0 of the S3C6410 cant support DRAM.
Xm1ADDR14 and Xm1ADDR15 fixed regardless of memory size Xm1DATA[26:16] are muxed with SROMC(Memory Port0) address[26:16] signal. 15pF@133MHz, 1.8V 25pF@133MHz, 2.5V
1) Xm1DATA[26:16] are operating as address[26:16] of the memory port0, when reset state. 2) To expand data bus, set ADDR_EXPAND field to 0(In SYSCON, MEM_SYS_CFG sfr) 3) Memory Interface Example
31
Caution ) The state of the DRAM Controller can be controlled by DRAM Controller Command Register. The SFR in DRAM Controller can change in Config and Low power state.
32
33
Caution) 1. The value of the SFRs should be changed in Config state of the DRAM Controller. 2. Should be set to correct value to Memory Configuration and Memory Configuration 2 Check Point : 1) Active chips, Memory burst ( It must be matched the memory device), AP bit, Row/Column address 2) Memory type, Memory width, Read delay 3. All of external DRAM should be executed memory device initialize sequence by DIRECTCMD Sfr
MOBILE DDR SDRAM INITIALIZATION SEQUENCE Program mem_cmd in direct_cmd to 2b10, which makes DRAM Controller issue NOP memory command. Program mem_cmd in direct_cmd to 2b00, which makes DRAM Controller issue Prechargeall memory command. Program mem_cmd in direct_cmd to 2b11, which makes DRAM Controller issue Autorefresh memory command. Program mem_cmd in direct_cmd to 2b11, which makes DRAM Controller issue Autorefresh memory command. Program mem_cmd to 2b10 in direct_cmd, which makes DRAM Controller issue MRS memory command o Bank address for EMRS must be set. Program mem_cmd to 2b10 in direct_cmd, which makes DRAM Controller issue MRS memory command. o Bank address for MRS must be set.
34
DDR1 SDRAM INITIALIZATION SEQUENCE Program mem_cmd in direct_cmd to 2b10, which makes DRAM Controller issue NOP memory command. Program mem_cmd in direct_cmd to 2b00, which makes DRAM Controller issue Prechargeall memory command. Program mem_cmd to 2b10 in direct_cmd, which makes DRAM Controller issue MRS memory command o Bank address for EMRS must be set. Enable DLL should be set. Program mem_cmd to 2b10 in direct_cmd, which makes DRAM Controller issue MRS memory command. o Bank address for MRS must be set. Assert Reset DLL Program mem_cmd in direct_cmd to 2b00, which makes DRAM Controller issue Prechargeall memory command. Program mem_cmd in direct_cmd to 2b11, which makes DRAM Controller issue Autorefresh memory command. Program mem_cmd in direct_cmd to 2b11, which makes DRAM Controller issue Autorefresh memory command. Program mem_cmd to 2b10 in direct_cmd, which makes DRAM Controller issue MRS memory command. o Bank address for MRS must be set. Deassert Reset DLL
35
5.4.2 TRACE ROUTING GUIDE I. DQ, DQM, DQS signal Signals in same group have pattern length matched within 1.5mm for equalizing timing skew. If signals in same group have to be routed on different layer, impedance of the layer must be considered. Data Group DQ [7:0] DQ [15:8] DQ[23:16] DQ[31:24] Mask Signal DQM0 DQM1 DQM2 DQM3 Clock DQS0 DQS1 DQS2 DQS3
36
II. CSn, CKE, ADDR[13:0], BA[1:0], RASn, CASn, WEn, AP signal These signals are routed separating with other signal groups. III. SCLK, SCLKn signal These clock signals must have differential impedance. The length of clock signal is longer than signals in data signal group and control signal groups.
{DQ, DQM, DQS} < {CSn, CKE, ADDR, BA, RASn, CASn, WEn, AP} < {SCLK, SCLKn} The difference of pattern length between signal groups is around 10mm. IV. Others a) If termination resister is required for EMI or signal integrity, resisters may be applied. The adequate value of resister is not mentioned on this document. b) If there is another device connected on MEM0, shared signals have to be branched near AP side. c) General design rules have to be kept according to know-how of PCB design engineer.
37
[2] Xm1ADDR[15:0]
Xm1ADDR0 Xm1ADDR1 Xm1ADDR2 Xm1ADDR3 Xm1ADDR4 Xm1ADDR5 Xm1ADDR6 Xm1ADDR7 Xm1ADDR8 Xm1ADDR9 Xm1ADDR10 Xm1ADDR11 Xm1ADDR12
[2] Xm1ADDR14 [2] Xm1ADDR15
[2] [2] [2] [2] Xm1DQM0 Xm1DQM1 Xm1DQS0 Xm1DQS1
U20
J8 J9 K7 K8 K2 K3 J1 J2 J3 H1 J7 H2 H3
H8 H9
F8 F2 E8 E2
G1 G2 G3
A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10/AP A11 A12 BA0 BA1 LDM UDM LDQS UDQS CKE CK nCK VDD VDD VDD VDDQ VDDQ VDDQ VDDQ VDDQ DQ0 DQ1 DQ2 DQ3 DQ4 DQ5 DQ6 DQ7 DQ8 DQ9 DQ10 DQ11 DQ12 DQ13 DQ14 DQ15 nCS nRAS nCAS nWE NC NC VSS VSS VSS VSSQ VSSQ VSSQ VSSQ VSSQ
Xm1DATA[31:0] [2]
A8 B7 B8 C7 C8 D7 D8 E7 E3 D2 D3 C2 C3 B2 B3 A2
H7 G9 G8 G7
F3 F7
A1 F1 K1
C1 E1 A3 B9 D9
Xm1DATA0 Xm1DATA1 Xm1DATA2 Xm1DATA3 Xm1DATA4 Xm1DATA5 Xm1DATA6 Xm1DATA7 Xm1DATA8 Xm1DATA9 Xm1DATA10 Xm1DATA11 Xm1DATA12 Xm1DATA13 Xm1DATA14 Xm1DATA15
CTB28
A9 F9 K9
C9 E9 A7 B1 D1
K4X51163PE-L(F)E/GC6
[2] Xm1ADDR[15:0]
Xm1ADDR0 Xm1ADDR1 Xm1ADDR2 Xm1ADDR3 Xm1ADDR4 Xm1ADDR5 Xm1ADDR6 Xm1ADDR7 Xm1ADDR8 Xm1ADDR9 Xm1ADDR10 Xm1ADDR11 Xm1ADDR12
U22
J8 J9 K7 K8 K2 K3 J1 J2 J3 H1 J7 H2 H3
H8 H9
F8 F2 E8 E2
G1 G2 G3
A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10/AP A11 A12 BA0 BA1 LDM UDM LDQS UDQS CKE CK nCK VDD VDD VDD VDDQ VDDQ VDDQ VDDQ VDDQ DQ0 DQ1 DQ2 DQ3 DQ4 DQ5 DQ6 DQ7 DQ8 DQ9 DQ10 DQ11 DQ12 DQ13 DQ14 DQ15 nCS nRAS nCAS nWE NC NC VSS VSS VSS VSSQ VSSQ VSSQ VSSQ VSSQ
Xm1DATA[31:0] [2]
A8 B7 B8 C7 C8 D7 D8 E7 E3 D2 D3 C2 C3 B2 B3 A2
H7 G9 G8 G7
F3 F7
A1 F1 K1
C1 E1 A3 B9 D9
Xm1DATA16 Xm1DATA17 Xm1DATA18 Xm1DATA19 Xm1DATA20 Xm1DATA21 Xm1DATA22 Xm1DATA23 Xm1DATA24 Xm1DATA25 Xm1DATA26 Xm1DATA27 Xm1DATA28 Xm1DATA29 Xm1DATA30 Xm1DATA31
A9 F9 K9
C9 E9 A7 B1 D1
10uF/6.3V/T2012
K4X51163PE-L(F)E/GC6
38
6. SROM Controller
6.1 Address Connection
SRAM/ROM Addr. connection 8bit data bus 16bit data bus A0 A0 S3C6410X Xm0ADDR0 Xm0ADDR1
39
Figure 6_2) Memory Interface with 16-bit SRAM Note. 1) The Xm0CSn3 cant be used for SROM controller in OneNAND/Modem Boot mode.
40
7. OneNAND Controller
7.1 Overview
S3C6410X supports external 16-bit bus for both asynchronous and synchronous OneNAND external memory via shared memory port 0.
Signal Xm0DATA[15:0]
I/O IO
Description Xm0DATA[15:0] (Data Bus) outputs address during memory read/write address phase, inputs data during memory read data phase and outputs data during memory write data phase. Xm0CSn[3:2] (Chip Select) are activated when the address of a memory is within the address region of each bank. Xm0CSn[3:2] can be assigned to either SROMC or OneNAND controller by System Controller SFR setting. Active LOW. Xm0WEn (Write Enable) indicates that the current bus cycle is a write cycle. Active LOW. Xm0OEn (Output Enable) indicates that the current bus cycle is a read cycle. Active LOW. Interrupt inputs from OneNAND memory Bank 0, 1. If OneNAND memory is not used, these signals must be tied to zero. Address valid output. Active LOW. System reset output for OneNAND memory. Active LOW. Xm0RDY is a synchronous burst wait input that the external device uses to delay a synchronous burst transfer. Xm0RDY indicates data valid in synchronous read modes and is activated while Xm0CSn is low. Static memory clock for synchronous static memory devices. Must be less than 67MHz.
Xm0CSn[3:2]
Xm0WEn
I O O I
41
Xm0DATA[15:0] Xm0DATA0 Xm0DATA1 Xm0DATA2 Xm0DATA3 Xm0DATA4 Xm0DATA5 Xm0DATA6 Xm0DATA7 Xm0DATA8 Xm0DATA9 Xm0DATA10 Xm0DATA11 Xm0DATA12 Xm0DATA13 Xm0DATA14 Xm0DATA15 D1 A3 A6 B1 C3 C4 B5 B2 C1 D6 D5 C2 C5 E3 B3 D3 A4 A5 ADQ0 ADQ1 ADQ2 ADQ3 ADQ4 ADQ5 ADQ6 ADQ7 ADQ8 ADQ9 ADQ10 ADQ11 ADQ12 ADQ13 ADQ14 ADQ15 VSS0 VSS1
UM1
RDY INT nRP nAVD nOE nCE nWE CLK H1 G1 A2 F3 B4 E2 A1 E1 Xm0RDY 0_ALE Xm0INTsm0_FWEn Xm0RPn_RnB Xm0ADDRVALID Xm0OEn Xm0CSn2 Xm0WEn Xm0SMCLK
VCCcore VCCIO
B6 C6 C508
VDD_mem
KFN2G16Q2M-DEB6 100nF
Xm0DATA[15:0] Xm0DATA0 Xm0DATA1 Xm0DATA2 Xm0DATA3 Xm0DATA4 Xm0DATA5 Xm0DATA6 Xm0DATA7 Xm0DATA8 Xm0DATA9 Xm0DATA10 Xm0DATA11 Xm0DATA12 Xm0DATA13 Xm0DATA14 Xm0DATA15 D1 A3 A6 B1 C3 C4 B5 B2 C1 D6 D5 C2 C5 E3 B3 D3 A4 A5 ADQ0 ADQ1 ADQ2 ADQ3 ADQ4 ADQ5 ADQ6 ADQ7 ADQ8 ADQ9 ADQ10 ADQ11 ADQ12 ADQ13 ADQ14 ADQ15 VSS0 VSS1
UM1
RDY INT nRP nAVD nOE nCE nWE CLK H1 G1 A2 F3 B4 E2 A1 E1
Xm0DATA[15:0] Xm0DATA0 Xm0DATA1 Xm0DATA2 Xm0DATA3 Xm0DATA4 Xm0DATA5 Xm0DATA6 Xm0DATA7 Xm0DATA8 Xm0DATA9 Xm0DATA10 Xm0DATA11 Xm0DATA12 Xm0DATA13 Xm0DATA14 Xm0DATA15 D1 A3 A6 B1 C3 C4 B5 B2 C1 D6 D5 C2 C5 E3 B3 D3 A4 A5 ADQ0 ADQ1 ADQ2 ADQ3 ADQ4 ADQ5 ADQ6 ADQ7 ADQ8 ADQ9 ADQ10 ADQ11 ADQ12 ADQ13 ADQ14 ADQ15 VSS0 VSS1
UM2
RDY INT nRP nAVD nOE nCE nWE CLK H1 G1 A2 F3 B4 E2 A1 E1 Xm0RDY 1_CLE Xm0INTsm1_FREn Xm0RPn_RnB Xm0ADDRVALID Xm0OEn Xm0CSn3 Xm0WEn Xm0SMCLK
VCCcore VCCIO
B6 C6 C508
VDD_mem
VCCcore VCCIO
B6 C6 C508
VDD_mem
KFN2G16Q2M-DEB6 100nF
KFN2G16Q2M-DEB6 100nF
7.4 Caution
Each memory bank supports only Muxed OneNAND To use OneNAND Flash, XSELNAND pin must be connected to zero (Low level). For detail, refer to Overview Chapter. OneNand signal power domain belongs to VDD_MEM0
42
8. NAND Flash
8.1 Interface for Multi Chip Select NAND
Xm0nCS2/Xm0nCS3 are used for nand device. But large capacity NAND flash have two nCE signal. If some nand flash have 4-CE device, you can use GPIO which have external 10K pull-up resistor because the GPIO default setting is input/pulldown.
Figure 8_2) 4-CE case connection (1) Nand signal power domain belongs to VDD_MEM0. Confirm the voltage level another SRAM interface. (2) RnB signal have open-drain input, so user should add external 4.7K pull-up resistor.
43
9. CF Controller
9.1 CF Interface
There are two operational modes in CF Controller. The one is an indirect mode and the other is a direct mode. These operational modes can be selected by configuring INDEP_CF bit of MEM_SYS_CFG register(0x7E00F120) in System Controller. The host(CF controller in S3C6410X) can control device through EBI in indirect mode. If the IO voltage of external memory is not 3.3V, a level shifter is required for data bus. The Level shifter needs a direction control bit for data bus. Two pins, XhiIRQn or XirSDBW, can be selected for a direction control bit. (These two pins can be used as a control bit not only in UDMA mode but also in PC-CARD mode and PIO mode.) CF card or micro-drive can be connected directly to S3C6410X chip without being through memory port 0 in direct mode. There are multiplexed signals which refer to below table, direct mode column for direct mode. Indirect mode Xm0CSn[4] Direct mode (UDMA mode only) XhiCSn XhiADR[8] XhiCSn_main Xm0CSn[5] XhiADR[9] Xm0REGata XhiADDR[6] Xm0OEata Xm0RESETata XhiADDR[4] Xm0WEata XhiCSn_sub XhiADR[10] XhiWEn XhiADR[11] XhiADDR[0], XuRXD[2], XmmcDATA1[4] XhiADDR[1], XuTXD[2], XmmcDATA1[5] XhiADDR[2], XmmcDATA1[6], XuRXD[3] O O I/O Description Card enable strobe PC card mode : lower byte enable strobe True-IDE mode : chip selection (nCS0) Card enable strobe PC card mode : higher byte enable strobe True-IDE mode : chip selection (nCS1) Register in CF card strobe PC card mode : It is used for accessing register in CF card True-IDE mode : DMA Acknowledge Output enable strobe PC card mode : output enable strobe for memory True-IDE mode : GND. CF card reset PC card mode : active high True-IDE mode : active low Write enable strobe PC card mode : output enable strobe for memory True-IDE mode: VCC. Read strobe for I/O mode UDMA mode : host strobe Write strobe for I/O mode
Xm0REGata
Xm0OEata
Xm0RESETata
O O O O
Xm0ADDR[1]
CF card address PC card mode : full address use True-IDE mode : only ADDR[2:0] use, The other address line is connected to GND.
Xm0ADDR[2]
44
Xm0ADDR[10:3]
Xm0DATA[15:0]
Xm0CData
XhiDATA[0] XhiDATA[1] XhiDATA[2] XhiDATA[3] XhiDATA[4] XhiDATA[5] XhiDATA[6] XhiDATA[7] XhiDATA[8] (XhiDATA[16]) XhiDATA[9] (XhiDATA[17]) XhiDATA[10](XhiCSn) XhiDATA[11] (XhiCSn_main) XhiDATA[12] (XhiCSn_sub) XhiDATA[13] (XhiWE) XhiDATA[14] (XhiOEn) XhiDATA[15](XhiIRQn) Xm0CData XhiADDR[7] Xm0INTata
O B B B B B B B B B B B B B B B B I Card detect signals Interrupt request from CF card. PC card mode : active low (memory mode : level triggering, I/O mode : edge triggering) True-IDE mode : active high Wait signal from CF card UDMA mode : device strobe Input acknowledge in I/O mode PC card mode : not used True-IDE mode : DMA request CF data bus
I I
9.2 Cautions
(1) Check voltage domain of CF address and data, because addr/data shared another SRAM interface. If user use 1.8V NAND flash, you should add a level shifter. (2) S3C6410X has dedicated CF chip select signals as Xm0CSn4 = nCS_CF0, Xm0CSn5 = nCS_CF1 (3) If using CF device in direct mode, you cannot utilize some functions multiplexed with CF direct path such as Host I/F, Keypads, UART.
45
VDD_CF
10K
R1312
CON2
CE_CF0 CE_CF1 nIORD_CF nIOWR_CF IORDY _CF 7 32 34 35 42 1 37 38 39 40 41 24 43 44 45 46 9 13 33 36 26 25 8 10 11 D0 nCE1 D1 nCE2 D2 nIORD D3 nIOWR D4 nWAIT D5 GND1 D6 IREQ D7 VCC2 D8 nCSEL D9 nVS2/OPEN D10 RESET D11 WP D12 nINPACK D13 nREG D14 nSPKR D15 nSTSCHG GND2 nOE A7 VCC1 A6 nVS1/GND A5 nWE A4 CD1 A3 CD2 A2 A10 A1 A9 A0 A8 CompactFlash_1 21 22 23 2 3 4 5 6 47 48 49 27 28 29 30 31 50 12 14 15 16 17 18 19 20 P_DATA0 P_DATA1 P_DATA2 P_DATA3 P_DATA4 P_DATA5 P_DATA6 P_DATA7 P_DATA8 P_DATA9 P_DATA10 P_DATA11 P_DATA12 P_DATA13 P_DATA14 P_DATA15 B_ADDR7 B_ADDR6 B_ADDR5 B_ADDR4 B_ADDR3 P_ADDR2 P_ADDR1 P_ADDR0
P_DATA[15:0]
VDD_CF
B_ADDR[26:0]
P_ADDR[2:0]
B_ADDR[26:0]
46
47
10. GPIO
GPIO consists of two parts, alive-part and off-part. In Alive-part power is supplied on sleep mode, but in off-part it is not the same. Therefore, the registers in alive-part can keep their values during sleep mode. And registers in off-part register can keep their values by each GP(*)SLPCON and GP(*)PUDSLP register during sleep mode. Internal pull-up and pull-down register is about 50~100Kohm. Alive part GPIO register groups contain GPK, GPL, GPM and GPN ports. External Interrupt is consists of 10 groups numbered from 0 to 9. Only external interrupt group 0 is used for wakeup source in Stop and Sleep mode. And, In idle mode, all interrupts can be wake-up sources. Wakeup source GPIO is GPL[14:8], GPM[4:0] and GPN[15:0] ports. Every S3C6410X pin reset value is as below.
Pin Name
XURXD0/GPA0 XUTXD0/GPA1 XUCTSN0/GPA2 XURTSN0/GPA3 XURXD1/GPA4 XUTXD1/GPA5 XUCTSN1/GPA6 XURTSN1/GPA7 XURXD2/GPB0 XUTXD2/GPB1 XURXD3/GPB2 XUTXD3/GPB3 XIRSDBW/GPB4 XI2CSCL/GPB5 XI2CSDA/GPB6 XSPIMISO0/GPC0 XSPICLK0/GPC1 XSPIMOSI0/GPC2 XSPICS0/GPC3 XSPIMISO1/GPC4 XSPICLK1/GPC5 XSPIMOSI1/GPC6 XSPICS1/GPC7 XPCMDCLK0/GPD0 XPCMEXTCLK0/GPD1 XPCMFSYNC0/GPD2
Default Function
GPA0 GPA1 GPA2 GPA3 GPA4 GPA5 GPA6 GPA7 GPB0 GPB1 GPB2 GPB3 CF_data_dir GPB5 GPB6 GPC0 GPC1 GPC2 GPC3 GPC4 GPC5 GPC6 GPC7 GPD0 GPD1 GPD2
I/O Type hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag
I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) O(L) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down)
48
XPCMSIN0/GPD3 XPCMSOUT0/GPD4 XPCMDCLK1/GPE0 XPCMEXTCLK1/GPE1 XPCMFSYNC1/GPE2 XPCMSIN1/GPE3 XPCMSOUT1/GPE4 XCICLK/GPF0 XCIHREF/GPF1 XCIPCLK/GPF2 XCIRSTN/GPF3 XCIVSYNC/GPF4 XCIYDATA0/GPF5 XCIYDATA1/GPF6 XCIYDATA2/GPF7 XCIYDATA3/GPF8 XCIYDATA4/GPF9 XCIYDATA5/GPF10 XCIYDATA6/GPF11 XCIYDATA7/GPF12 XPWMECLK/GPF13 XPWMTOUT0/GPF14 XPWMTOUT1/GPF15 XMMCCLK0/GPG0 XMMCCMD0/GPG1 XMMCDATA0_0/GPG2 XMMCDATA0_1/GPG3 XMMCDATA0_2/GPG4 XMMCDATA0_3/GPG5 XMMCCDN0/GPG6 XMMCCLK1/GPH0 XMMCCMD1/GPH1 XMMCDATA1_0/GPH2 XMMCDATA1_1/GPH3 XMMCDATA1_2/GPH4 XMMCDATA1_3/GPH5 XMMCDATA1_4/GHP6 XMMCDATA1_5/GPH7 XMMCDATA1_6/GPH8 XMMCDATA1_7/GPH9 XVVD0/GPI0
GPD3 GPD4 GPE0 GPE1 GPE2 GPE3 GPE4 GPF0 GPF1 GPF2 GPF3 GPF4 GPF5 GPF6 GPF7 GPF8 GPF9 GPF10 GPF11 GPF12 GPF13 GPF14 GPF15 GPG0 GPG1 GPG2 GPG3 GPG4 GPG5 GPG6 GPH0 GPH1 GPH2 GPH3 GPH4 GPH5 GHP6 GPH7 GPH8 GPH9 GPI0
I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down)
hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag hag_a
49
XVVD1/GPI1 XVVD2/GPI2 XVVD3/GPI3 XVVD4/GPI4 XVVD5/GPI5 XVVD6/GPI6 XVVD7/GPI7 XVVD8/GPI8 XVVD9/GPI9 XVVD10/GPI10 XVVD11/GPI11 XVVD12/GPI12 XVVD13/GPI13 XVVD14/GPI14 XVVD15/GPI15 XVVD16/GPJ0 XVVD17/GPJ1 XVVD18/GPJ2 XVVD19/GPJ3 XVVD20/GPJ4 XVVD21/GPJ5 XVVD22/GPJ6 XVVD23/GPJ7 XVHSYNC/GPJ8 XVVSYNC/GPJ9 XVDEN/GPJ10 XVVCLK/GPJ11 XHIDATA0/GPK0 XHIDATA1/GPK1 XHIDATA2/GPK2 XHIDATA3/GPK3 XHIDATA4/GPK4 XHIDATA5/GPK5 XHIDATA6/GPK6 XHIDATA7/GPK7 XHIDATA8/GPK8 XHIDATA9/GPK9 XHIDATA10/GPK10 XHIDATA11/GPK11 XHIDATA12/GPK12 XHIDATA13/GPK13
GPI1 GPI2 GPI3 GPI4 GPI5 GPI6 GPI7 GPI8 GPI9 GPI10 GPI11 GPI12 GPI13 GPI14 GPI15 GPJ0 GPJ1 GPJ2 GPJ3 GPJ4 GPJ5 GPJ6 GPJ7 GPJ8 GPJ9 GPJ10 GPJ11 XHIDATA0 XHIDATA1 XHIDATA2 XHIDATA3 XHIDATA4 XHIDATA5 XHIDATA6 XHIDATA7 XHIDATA8 XHIDATA9 XHIDATA10 XHIDATA11 XHIDATA12 XHIDATA13
I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down)
hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a
50
XHIDATA14/GPK14 XHIDATA15/GPK15 XHIDATA16/GPL13 XHIDATA17/GPL14 XHIADR0/GPL0 XHIADR1/GPL1 XHIADR2/GPL2 XHIADR3/GPL3 XHIADR4/GPL4 XHIADR5/GPL5 XHIADR6/GPL6 XHIADR7/GPL7 XHIADR8/GPL8 XHIADR9/GPL9 XHIADR10/GPL10 XHIADR11/GPL11 XHIADR12/GPL12 XHICSN/GPM0 XHICSN_MAIN/GPM1 XHICSN_SUB/GPM2 XHIWEN/GPM3 XHIOEN/GPM4 XHIIRQN/GPM5 XEINT0/GPN0 XEINT1/GPN1 XEINT2/GPN2 XEINT3/GPN3 XEINT4/GPN4 XEINT5/GPN5 XEINT6/GPN6 XEINT7/GPN7 XEINT8/GPN8 XEINT9/GPN9 XEINT10/GPN10 XEINT11/GPN11 XEINT12/GPN12 XEINT13/GPN13 XEINT14/GPN14 XEINT15/GPN15 XM0CSN2/GPO0 XM0CSN3/GPO1
XHIDATA14 XHIDATA15 XHIDATA16 XHIDATA17 XHIADR0 XHIADR1 XHIADR2 XHIADR3 XHIADR4 XHIADR5 XHIADR6 XHIADR7 XHIADR8 XHIADR9 XHIADR10 XHIADR11 XHIADR12 XHICSN XHICSN_MAIN XHICSN_SUB XHIWEN XHIOEN XHIIRQN GPN0 GPN1 GPN2 GPN3 GPN4 GPN5 GPN6 GPN7 GPN8 GPN9 GPN10 GPN11 GPN12 GPN13 GPN14 GPN15 XM0CSN2 XM0CSN3
I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-down) I(pull-up) I(pull-up) I(pull-up) I(pull-up) I(pull-up) O(H) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) I (pull-down) O(H) O(H)
hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hag_a hbg hbg
51
XM0CSN4/GPO2 XM0CSN5/GPO3 GPO4 GPO5 XM0ADDR6/GPO6 XM0ADDR7/GPO7 XM0ADDR8/GPO8 XM0ADDR9/GPO9 XM0ADDR10/GPO10 XM0ADDR11/GPO11 XM0ADDR12/GPO12 XM0ADDR13/GPO13 XM0ADDR14/GPO14 XM0ADDR15/GPO15 XM0ADRVALID/GPP0 XM0SMCLK/GPP1 XM0WAITN/GPP2 XM0RDY0_ALE/GPP3 XM0RDY1_CLE/GPP4 XM0INTSM0_FWEN/GPP5 XM0INTSM1_FREN/GPP6 XM0RPN_RNB/GPP7 XM0INTATA/GPP8 XM0RESETATA/GPP9 XM0INPACKATA/GPP10 XM0REGATA/GPP11 XM0WEATA/GPP12 XM0OEATA/GPP13 XM0CDATA/GPP14 XM0ADDR[18]/GPQ0 XM0ADDR[19]/GPQ1 GPQ2 GPQ3 GPQ4 GPQ5 GPQ6 Xm0ADDR[17]/GPQ7 Xm0ADDR[16]/GPQ8
XM0CSN4 XM0CSN5 Reserved Reserved XM0ADDR6 XM0ADDR7 XM0ADDR8 XM0ADDR9 XM0ADDR10 XM0ADDR11 XM0ADDR12 XM0ADDR13 XM0ADDR14 XM0ADDR15 XM0ADRVALID XM0SMCLK XM0WAITN XM0RDY0_ALE XM0RDY1_CLE XM0INTSM0_FWEN XM0INTSM1_FREN XM0RPN_RNB XM0INTATA XM0RESETATA XM0INPACKATA XM0REGATA XM0WEATA XM0OEATA XM0CDATA Xm0ADDR[18] Xm0ADDR[19] Reserved Reserved Reserved Reserved Reserved Xm0ADDR[17] Xm0ADDR[16]
O(H) O(H) O(H) O(H) O(L) O(L) O(L) O(L) O(L) O(L) O(L) O(L) O(L) O(L) O(L) O(H) I I/O(L) I/O(L) I/O(H) I/O(H) O(L)/I I O(H) I O(H) O(H) O(H) I O(L) O(L) O(L) O(H) O(H) I I O(L) O(L)
hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hb_c hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg hbg
52
THE TABLE BELOW SHOWS I/O TYPES AND DESCRIPTIONS. Input (I)/Output (O) Type
hag(pvhbsudtartg) hag_a (pvhbsudtag_alv) hbg(pvhbsudtbrtg) mbg(pvmbsudtbrtg)
Descriptions
1.8V~3.3V Wide Range Bi-directional Buffer with Schmitt Trigger Input, Controllable Pull-up/down Resistor and A type Output driver 1.8V~3.3V Wide Range Bi-directional Alive Buffer with Schmitt Trigger Input, Controllable Pull-up/down Resistor and A type Output driver 1.8V~3.3V Wide Range Bi-directional Buffer with Schmitt Trigger Input, Controllable Pull-up/down Resistor and B type Output driver 1.8V~2.5V Wide Range Bi-directional Buffer with Schmitt Trigger Input, Controllable Pull-up/down Resistor and B type Output driver
Pin Condition which are configured as Input GPIO Pin Input Pin, which doesn't have internal Pull-up/dn control. Output pin, which are connected to External device Dat a Bus which are configured as Ouput If External Device doesn't always drive Pin's level.
Configuration Internal Pull-up/dn Enable or Output Low Internal Pull-up/dn Disable or Output Low External Pull-up Enable with Pull-up Resistor Output Low High or Low (It depends on External device's status) Output Low If Buffer can hold bus level, Pull-up Disable.
Output Low
If External Device's Power is Off If External Device's Power is On If Memory's Power is Off and External Buffer does Memory's Power exist is On and no External Buffer
NOTE: 1. Dont leave Floating Condition. 2. ADC should be set as Standby mode if ADC operation doesn't run. 3. XP & YP pins should not be connected to any external GND source in sleep mode. In other words, XP & YP should be floating in sleep mode. 4. USB OTG pads should be Suspend mode or Turn off the VDDOTG&VDDOTGI 5. USB Hosts DN,DP should be Pull-down as follows. - USB Hosts DN,DP pull-down with 15K Ohm resistors. (even if USB Host is not used.) * This table is just for informational use only. User should consider his own Board condition and application.
53
54
55
56
Layer
Size
57
14.2 VD SIGNAL CONNECTION Below table shows that how to connect VD signal connection each bpp mode. Parallel RGB 24BPP (888) VD[23] VD[22] VD[21] VD[20] VD[19] VD[18] VD[17] VD[16] VD[15] VD[14] VD[13] VD[12] VD[11] VD[10] VD[9] VD[8] VD[7] VD[6] VD[5] VD[4] VD[3] VD[2] VD[1] VD[0] R[7] R[6] R[5] R[4] R[3] R[2] R[1] R[0] G[7] G[6] G[5] G[4] G[3] G[2] G[1] G[0] B[7] B[6] B[5] B[4] B[3] B[2] B[1] B[0] 18BPP (666) R[5] R[4] R[3] R[2] R[1] R[0] G[5] G[4] G[3] G[2] G[1] G[0] B[5] B[4] B[3] B[2] B[1] B[0] 16BPP (565) R[4] R[3] R[2] R[1] R[0] G[5] G[4] G[3] G[2] G[1] G[0] B[4] B[3] B[2] B[1] B[0] Serial RGB 24BPP (888) D[7] D[6] D[5] D[4] D[3] D[2] D[1] D[0] 18BPP (666) D[5] D[4] D[3] D[2] D[1] D[0] VEN_DATA[7] VEN_DATA[6] VEN_DATA[5] VEN_DATA[4] VEN_DATA[3] VEN_DATA[2] VEN_DATA[1] VEN_DATA[0] 601
58
I80 CPU I/F (Parallel) 16BPP(565) Lx_DATA1 6 VD[23] VD[22] VD[21] VD[20] VD[19] VD[18] VD[17] VD[16] VD[15] VD[14] VD[13] VD[12] VD[11] VD[10] VD[9] VD[8] VD[7] VD[6] VD[5] VD[4] VD[3] VD[2] VD[1] VD[0] 000 1st R[4] R[3] R[2] R[1] R[0] G[5] G[4] G[3] G[2] G[1] G[0] B[4] B[3] B[2] B[1] B[0] R[5] R[4] R[3] R[2] R[1] R[0] G[5] G[4] G[3] G[2] G[1] G[0] B[5] B[4] B[3] B[2] 18BPP(666) 001 2nd B[1] B[0] 1st R[5] R[4] R[3] R[2] R[1] R[0] G[5] G[4] G[3] 18BPP(666) 010 2nd G[2] G[1] G[0] B[5] B[4] B[3] B[2] B[1] B[0] 1st R[7] R[6] R[5] R[4] R[3] R[2] R[1] R[0] G[7] G[6] G[5] G[4] G[3] G[2] G[1] G[0] 24BPP (888) 011 2nd B[7] B[6] B[5] B[4] B[3] B[2] B[1] B[0] R[5] R[4] R[3] R[2] R[1] R[0] G[5] G[4] G[3] G[2] G[1] G[0] B[5] B[4] B[3] B[2] B[1] B[0] 18BPP(666) 100 1st R[4] R[3] R[2] R[1] R[0] G[5] G[4] G[3] 16BPP(565) 101 2nd G[2] G[1] G[0] B[4] B[3] B[2] B[1] B[0]
When S3C6410X display controller output interface is parallel RGB(RGB16bpp), you want to connect parallel RGB(RGB18bpp) to LDI. Check example as below.
59
60
61
16. TV SCALER
This Chapter is for internal Logic.
62
17. TV ENCODER
VDDDAC XdacCOMP XdacIREF XdacVREF XdacOUT[1:0] External X-tal frequency External capacitance used for X-tal Feedback resistor between X27mXTI with X27mXTO CEXT V 3.3V ( 0.3V) Connect 0.1uF ceramic capacitor to VDDDAC Connect 0.1uF ceramic capacitor to GND Connect 6.49K to GND Connect 150 to GND 27MHz, 10ppm 25pF@CL=12.5 Note. This value depends on the board design. 1M Ohms
VDD3.3V
C176 100nF
R322 4.7K
R323 XdacOUT_0 0
C178
5 4
NJM2561
VDD3.3V
C181 100nF
R328 4.7K
R329 XdacOUT_1 0
C183
5 4
R330
CN1 3 Y 4 C
NJM2561
75 2 Yn Cn 1
CONN_SVIDEO_12P
63
DACVREF TP9
VDD_DAC
C2
XdacIREF
XdacVREF
CB5
R26
100nF
100nF
XdacCOMP
6.49K/R1005
64
18. GRAPHICS 2D
This Chapter is for internal Logic.
65
66
User check interface signal mapping properly. Note) S3C6410X have some restriction about video timing. User should be check following items 1. HREF should be valid after VSYNC pulse at capture start.
67
- PROGRESSIVE INPUT In progressive mode, all the input data is stored in four buffers (pingpong memory which is designated by SFR) sequentially by the unit of frame. - INTERACED INPUT In interlace mode, the input data is stored in four buffers(pingpong memory which is designated by SFR). In this mode, even field frame data and odd field frame data is stored in turn. Therefore even field frame data is stored in 1st and 3rd pingpong memory while odd field frame data is stored 2nd and 4th pingpong memory. In case of image capture, start frame is always even field frame. In 601 interlaced input mode GPIO B[4] port is used field signal. GPIO B[4] port is used IrDA SDBW , CAM FIELD, input, output, CF Data DIR and EINT1[12].
Camera Interface
VDD_CAM
VDD_CAM
R204 10K
J7
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40
B_XciY DATA[7:0]
B_XciY DATA1 B_XciY DATA3 B_XciY DATA5 B_XciY DATA7
B_XciPCLK B_XciVSY NC
Xi2cSCL
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39
B_XciY DATA[7:0]
B_XciY DATA0 B_XciY DATA2 B_XciY DATA4 B_XciY DATA6
B_XciCLK B_XirSDBW B_XciHREF Xi2cSDA
B_XciRSTn
68
69
70
I/O I I I O I I
Description Chip select, driven by the Modem chip Write enable, driven by the Modem chip Read enable, driven by the Modem chip Interrupt request to the Modem chip Address bus, driven by the Modem chip External interrupts
71
23.3 Caution
(1) Voltage level is same between MODEM(memory bus and EXINT) and AP(MODEM I/F). Confirm the datasheet what you want to use. (2) There is only one interrupt request pin from AP to MODEM(XhiINTR). Any other extra interrupt request pin needs not between AP and modem because interrupt requests from modem to AP are delivered through Xhi_A[12:0] and Xhi_D[16:0] by writing some value to INT2AP register of DPSRAM in AP. (3) If you use AP booing function, you must connect the CS(Chip Select) which is used to boot-up your device to S3C6410s CS(XhiCSn). (4) Refer the datasheets timing specification. (5) Address connection between MODEM and AP follows the memory controlling policy of MODEM.
72
73
CON7A
1 2 3 4
VBUS DD+ GND
USB(HOST) SOCKET
XuhDN XuhDP
R703 33
R704 15K
25.4 Caution
The S3C6410X USB system can be configured as following 1. USB 1.1 Host 1 Port & USB 2.0 OTG 1 Port 2. USB 1.1 Host 2 Ports For detail, refer to S3C6410X Users Manual.
74
RA09
C_PWR_5V
USB20_EN
10K
Vout=0.8(1+R2/R1)
UA04
4 1 2 CTA07 10uF/16V + SHDN IN IN POK OUT OUT SET GND MAX1806EUA15 3 8 7 6 5 RA10 100K JA06 1
VDD_OTGI
42.2K 1%
(1.1V) 2
CTA08 +
OTGI
10uF/16V
C_PWR_5V
UA05
4 1 2 SHDN IN IN POK OUT OUT SET GND MAX1806EUA33 3 8 7 6 5
Vout=0.8(1+R2/R1)
RA13 100K JA07 1
VDD_OTG
RA14
75.0K, 1%
(3.3V) 2
CTA10 +
OTG
CTA09 10uF/16V
RA15 24.3K 1%
10uF/16V
75
C_PWR_5V
XVBUS
U701 R707 0 1 XotgDRV_VBUS R708 110K 2 3 C706 1uF 4 nSKIP nSHDN IN GND OUT CXP CXN PGND 8 7 6 5 0.47uF 2.2uF C707 C708
MAX682
CON8
XVBUS XotgDM XotgDP XotgID C705 100nF CT701 + 10uF 1 2 3 4 5 VBUS DD+ ID GND
USB_MINI-AB
VDD_D
X701
1M ohm XotgTO
OSC2
4 1 VDD OE OUT GND 3 2 XotgTO
R723 44.2ohm 1%
C703 15pF
C704 15pF
OSCILLATOR 48Mhz
76
External capacitance used for X-tal Feedback Resistor between XusbTI and XusbTO
CEXT
26.4.2 PCB layout guidelines Routing and placement When an engineer lays out a new design, the excellent signal quality and minimized EMI problem must be required. That is based on four layer board. The first layer is for signal layer. The second layer is for ground. The third layer is for power and the fourth layer is for signal layer again. We should basically consider the following instruction.
I.
HS clock and HS USB different pairs should be first routed with minimum trace length. Route high-speed USB signals not using vias and stubs with using two 45 degree turns or an arc instead of making a single 90 degree trun. This reduces signal reflections and impedance changes that affect signal quality. Do not route usb traces under crystals, oscillators, clock synthesizers, magnetic devices or ICs that use and/or duplicate clocks. Route all traces over continuous planes(VCC and GND), with no interruptions. Avoid crossing over anti-etch if at all possible. Ther parallelism between USB differential signals with the trace spacing should be maintained. The deviation should be minimized.
77
The minimized length of high speed clock and periodic signal traces is highly recommended. The suggested spacing to clock signal is 50mils ( 1mils = 0.0254mm) VIII. To prevent crosstalk, you should 20-mil minimum spacing between HS usb signal pairs. For example, IX. Max trace length mismatch between HS usb signal pairs such as DM and DP should be under 150mils.
VII.
78
(1) Voltage level is same between device and SD/MMC GPIO whether VDD_MMC or not. Confirm the datasheet what you want to use. (2) Confirm the pull-up resistor value chosen by specification. Refer the datasheet. (3) MMC Channel 2 and SPI Channel 1 are cant use at the same time. Refer to below table. Function Function 5 6 GPC4 SPI MOSI[1] MMC CMD2 I2S_V40 DO[0] EINT Input Output GPC5 SPI CLK[1] MMC CLK2 I2S_V40 DO[1] EINT Input Output (4) MMC channel 0 and MMC channel 1 is shared same card detection pin. If one channel assign card detection pin, the other channel should assign external GPIO for card detection pin. (5) MMC channel 2 hasnt card detection pin. So should assign one external GPIO for card detection. (6) DAT[3] card detection method didnt recommend. GPIO Name Function 1 Function 2 Function3 Function4
79
VDD_MMC
VDD_MMC
NC NC DAT2 DAT3 DAT4 NC CMD NC DAT5 NC VSS NC NC VDD NC NC CLK NC DAT6 NC VSS NC DAT7 NC DAT0 DAT1 SD_CD SD_WP
XmmcDATA0_2 XmmcDATA0_3
XmmcCLK0/ADDR_CF0
16 17 18 19 20 21 22 23 24 25 26 27 28
SD Socket [Taisol]
29
P29/GND
P30/GND
CON1
30
80
VDD_MMC
VDD_MMC
NC NC DAT2 DAT3 DAT4 NC CMD NC DAT5 NC VSS NC NC VDD NC NC CLK NC DAT6 NC VSS NC DAT7 NC DAT0 DAT1 SD_CD SD_WP
XmmcDATA1_2 XmmcDATA1_3
XmmcDATA1_0 XmmcDATA1_1
R16
SD Socket [Taisol]
29
P29/GND
P30/GND
CON2
30
81
Cellular Modem
rxDATA rxFLAG rxWAKE rxREADY
R e c e iv e r
T r a n s m itt e r
82
29. SPI
29.1 EXTERNAL LOADING CAPACITANCE S3C6410X has two SPI controllers. Both controllers should follow the external loading capacitance below. Output capacitance must be lower than 10pF at the channel 0, channel1.
29.2 SPI MAXIMUM SPEED The maximum frequency Master Tx/Master Rx/Slave Rx/Slave Tx(CPHA=0) is up to 50MHz. The maximum frequency Slave Tx is up to 20MHz(CPHA=1).
29.3 SUPPORTED VOLTAGE RANGE SPI interface voltage range is 2.5V~3.6V. SPI channel 0 voltage follow by VDD_EXT and channel 1 voltage follow by VDD_MMC.
29.4 MUXED PIN LIMITATION MMC Channel 2, I2S and SPI Channel 1 are cant use at the same time. Refer to below table. GPIO Name GPC4 GPC5 Function 1 SPI MOSI[1] SPI CLK[1] Function 2 MMC CMD2 MMC CLK2 Function3 I2S_V40 DO[0] I2S_V40 DO[1] Function4 EINT EINT Function 5 Input Input Function 6 Output Output
83
Figure 30_1) Definition of timing for High-Speed mode devices on the IIC bus 1) tr (Rising time) which depends on Pull- up resistance and bus capacitance affects SCL frequency change ( Higher tr makes slower SCL), especially when it is High-Speed mode (400kHz) 2) tr (Rising time) maximum is 300 ns , minimum is 20 + 0.1 Cb (bus capacitance) 3) When tr (Rising time) is 300ns, SCL might be maximum 13% slower than original setting value 4) To make real SCL within 1% variation of setting value(400kHz) , tr (Rising time) should be less than 80nsec 5) User can use this fomula to determine Rp , Cb and tr Rp(Pull-up resistance) Max is a function of the rise time minimum (tr) and the estimated bus capacitance(Cb) RBpB x CBbB = tBrB / 1.2039
84
31. UART
Figure 31_1) UART connection with COM port example User must use EPLL or MPLL as a UART source clock to use High-Speed (upto 4Mbps) User must use EPLL or MPLL as a UART source clock which is higher than baudrate * 16 for high-speed Max High speed baudrate is changeable depends on PCLK (System bus clock) which is Baudrate * 16 PCLK * ( 5.5 / 3 ) Also S3C6410Xs Target Max High speed is 4Mbps, We dont guarantee above 4Mbps even though a above formula is satisfied Max speed table (under using EPLL or MPLL as a UART source clock circumstance) PCLK 25MHz 33MHz 50MHz 66MHz Max Baudrate 2.7Mbps 3.6Mbps 4.0Mbps 4.0Mbps Error tolerance rate 2% 2% 1.8% 1.8%
Therefore user must make PCLK (System bus clock) higher than 33MHz to use Bluetooth 2.0 (3Mbps baudrate) Channel #0,1 supports Auto Flow Control with RTS & CTS signal.
85
86
33. RTC
VDDRTC RTC X-tal frequency X-tal capacitance used for X-tal Feedback resistor V CEXT 1.8~3.0V 32.768KHz 15pF 5M Ohm
87
88
89
90
91
92
Figure 37_1) Internal clocks(ex:EPLL) for PCM master clock (with WM8753)
Figure 37_2) External clocks(ex:16.9344MHz) for PCM master clock (with WM8753)
93
94
Note) If not use AIN[7](XP), tie AIN [7] to VDDA_ADC or ADCTSC register must be setting to 0xd3.
95
96
Port No
GPIO Group
Audio Port 0
GPD
Audio Port 1
GPE
XpcmFSYNC[1], XpcmSIN[1], XpcmSOUT[1] XspiMISO[1], XspiCLK[1], XspiCS[1], XmmcData1[4], XmmcData1[5], XmmcData1[6], XmmcData1[7],
Audio Port 2
GPC, GPH
*Note : When I2S Multi Channel use GPC and GPH, SPI Channel 1 and 8bit MMC1 channel dose not operate.
97
98
42. GRAPHIC 3D
This Chapter is for internal Logic.
99