Home
Documentation
Contents
1. High 2 0Vmin Low 0 8Vmax While CPU is in Power OFF mode assertion of the BATT_FLT will prohibit the wake up from the powerdown mode So Any wake up source will be masked if BATT_FLT is asserted which is protecting the system malfunction of the low battery capacity 39 Module A9M2410_1 4 Boot Concept The procedure of booting the module is as follows After power up an inital programm loader is started by the CPU This software calls the actual bootloader which is common for Linux and WinCE By the bootloader the software image of the customer can be downloaded into the target S3C2410A boot code will be executed from internal NAND flash memory In order to support NAND flash bootloader the S3C2410A is equipped with an internal SRAM buffer called Steppingstone When booting the first 4KBytes of the NAND flash memory will be loaded into Steppingstone and the boot code loaded into Steppingstone will be executed Generally the boot code will copy NAND flash content to SDRAM Using hardware ECC the NAND flash data validity will be checked Upon the completion of the copy the main program will be executed on the SDRAM 40 Module A9M2410_1 5 Software Requirements 5 1 Power Management Procedure to Enter Power_OFF mode Set the GPIO configuration adequate for Power_OFF mode Mask all interrupts in the INTMSK register Configure the wake up sources properly including RTC alarm RTC alarm c
2. board connectors with 60 pins each The size of the extended module is defined to 92 x 44mm Two holes for M2 screws catercornered are provided to enable fixing of the module at the base board Board to Board Module Connector X3 X4 Base Board Connector X3 X4 Distance h_ No of Pins Qty Supplier Order No No Of Pins Supplier Order No 5 mm 60 AMP 177984 2 Berg 61083 061009 6 mm 60 AMP 179029 2 60 2 AMP 177983 2 Berg 61083 062009 7 mm Berg 61082 061009 60 AMP 179030 2 Berg 61083 063009 8 mm 60 AMP 179031 2 Berg 61083 064009 47 Module A9M2410_1 Mechanical Drawing from TOP View 6 2 Nomenclature Pin 1 of X1 and X3 is always at the outer row of the connector and pin 1 of X2 and X4 is always at the inner row of the connector The reference names X1 X2 X3 and X4 are reserved names for the connectors at the MODARM9 modules and their corresponding base boards These names shouldn t be used for other connectors 48
3. driver The LCD controller supports monochrome 2 bit per pixel 4 level gray scale or 4 bit per pixel 16 level gray scale mode on a monochrome LCD using a time based dithering algorithm and Frame Rate Control FRC method and it can be interfaced with a color LCD panel at 8 bit per pixel 256 level color and 12 bit per pixel 4096 level color for interfacing with STN LCD It can support 1 bit per pixel 2 bit per pixel 4 bit per pixel and 8 bit per pixel for interfacing with the palettized TFT color LCD panel and 16 bit per pixel and 24 bit per pixel for non palettized true color display The LCD controller can be programmed to support different requirements on the screen related to the number of horizontal and vertical pixels data line width for the data interface interface timing and refresh rate Features Common features The LCD controller has a dedicated DMA that supports to fetch the image data from video buffer located in system memory lts features also include Dedicated interrupt functions INT_FrSyn and INT_FiCnt The system memory is used as the display memory e Supports Multiple Virtual Display Screen Supports Hardware Horizontal Vertical Scrolling Programmable timing control for different display panels e Supports little and big endian byte ordering as well as WinCE data formats e Supports SEC TFT LCD panel SAMSUNG 3 5 Portrait 256K Color Reflective a Si TFT LCD LTS350Q1 PD1 TFT LCD panel with touch pan
4. 2 and 3 m 2 MPLL UPLL Main CLK Source USB CLK Source On On Crystal Crystal Yes External Clock External Clock External Clock External Clock Note An External Clock is not used so the pin EXTCLK has to be connected to 3 3V The MPLL within the clock generator as a circuit synchronizes an output signal with a reference input signal in frequency and phase In this application it includes the following basic blocks as shown below the Voltage Controlled Oscillator VCO to generate the output frequency proportional to input DC voltage the divider P to divide the input frequency Fin by p the divider M to divide the VCO output frequency by m which is input to Phase Frequency Detector PFD the divider S to divide the VCO output frequency by s which is Mpll the output frequency from MPLL block the phase difference detector the charge pump and the loop filter The output clock frequency Mpll is related to the reference input clock frequency Fin by the following equation Mpll m Fin p 2 with m MDIV 8 p PDIV 2 s SDIV The UPLL within the clock generator is the same as the MPLL in every aspect Pads for external loop filter capacitors are provided on the module FCLK is used by ARM920T HCLK is used for AHB bus which is used by the ARM920T the memory controller the interrupt controller the LCD controller the DMA and USB host block PCLK is used for APB bus which is used by the per
5. 3 reset signals defined which are routed to the system connector e areset input to the module RSTIN e an output of the reset controller from the module PWRGOOD e areset output from the CPU RSTOUT The low active Reset input at the CPU suspends any operation in progress and places S3C2410A into a known reset state PWRGOOD system reset signal must be held to low level at least 4 CLKs to recognize the reset signal and it takes 128 CLKs between PWRGOOD and internal RESET TPS3307 from Texas Instruments is used as reset generator It supervises the incoming 3 3V with the Sense1 input while the Sense2 and Sense3 inputs are not used The MR input is used to supervise the RSTIN signal TPS3307 has push pull low and high active reset outputs with a threshold voltage of 2 93V 19 Module A9M2410_1 The reset pulse width is 200ms min The low active reset output is connected to the system reset via a 470R series resistor The high active reset output is used for the ethernet controller RSTIN signal from the base board is connected to the reset generator device on the module At the base board there could be a reset switch connected to the RSTIN signal A 10k pullup resistor is connected to the RSTIN signal on the module RSTOUT can be used for external device reset control RSTOUT is a function of Watchdog Reset and Software Reset RSTOUT PWRGOOD amp WDTRST amp SW_RESET 3 5 JTAG The standard JTAG s
6. CPU wrapper PLL On Off The PLL can only be turned off for low power consumption in slow mode If the PLL is turned off in any other mode MCU operation is not guaranteed When the processor is in SLOW mode and tries to change its state into other state with the PLL turned on then SLOW_BIT should be clear to move to another state after PLL stabilization Pull up Resistors on the Data Bus and Power_OFF Mode In Power_OFF mode the data bus D 31 0 or D 15 0 is in Hi z state But because of the characteristics of I O pad the data bus pull up resistors have to be turned on for low power consumption in Power_OFF mode D 31 0 pin pull up resistors can be controlled by the GPIO control register MISCCR 5 2 Power Consumption The power consumption of the module has been measured at all 4 power stages 103 3V 1 K4S283233F MN75 Normal Mode 120mA 3 3V 65mA VLIO Slow Mode 100mMA 3 3V 43 Module A9M2410_1 8mMA VLIO Idle Mode 50mA 3 3V 4mA VLIO Power Off Mode 13 83MA 3 3V 10uA VLIO Note 1 2x SDRAM 1Mx32x4 Samsung 44 Module A9M2410_1 6 Mechanics The module size is defined to 60 x 44mm Two holes for M2 screws catercornered are provided to enable fixing of the module at the base board Two board to board connectors are used on the module Depending on the counterpart at the base board different distances between module and base board can be
7. are used to power the RTC either from 3 3V or from the battery The state of this battery will not be supervised on the module The external RTC is the DS1337 from Dallas lt is a CMOS real time clock calendar optimized for low power consumption An interrupt output is provided All address and data are transferred serially via a two line bidirectional 12C bus Maximum bus speed is 400 kbit s The low active interrupt output CLK_INT of the RTC is connected to interrupt input EINT7 of the CPU The I2C device address of the RTC is DOH 3 9 RS232 interface At the system connector there are the signals for two RS232 interfaces provided Each interface consists of the data lines RXD TXD and the handshake lines RTS CTS The UARTS are part of the CPU If the handshake lines of the second RS232 interface RTS1 CTS1 are not used they could be used as data lines for a third RS232 interface TXD2 RXD2 21 Module A9M2410_1 The S3C2410A UART block supports also infra red IR transmission and reception which can be selected by setting the Infra red mode bit in the UART line control register ULCONn Figure below illustrates how to implement the IR mode In IR transmit mode the transmit pulse comes out at a rate of 3 16 the normal serial transmit rate when the transmit data bit is zero In IR receive mode the receiver must detect the 3 16 pulsed period to recognize a zero value Baud Rate Generation Each UART s bau
8. mode the block disconnects the internal power So there occurs no power consumption due to CPU and the internal logic except the wake up logic in this mode Activating the Power OFF mode requires two independent power sources One of the two power sources supplies the power for the wake up logic The other one supplies other internal logics including CPU and should be controlled for power on off In the Power OFF mode the second power supply source for the CPU and internal logics will be turned off The wakeup from Power OFF mode can be issued by the EINT 15 0 In Power_OFF mode only VDDi and VDDiarm will be turned off which is controlled by PWREN pin With this signal the 1 8V 2 0V regulator which provides the core voltage will be switched off This signal is also provided at the system connector In Power_OFF mode the VDDalive pin has still to be supplied by 1 8V 2 0V and it is also necessary to provide the I O voltage of 3 3V Therefore the LDO which supplies VDDAlive will not be switched off ATC Alar Power CTRL ETE Aye Block BKT 37 Module A9M2410_1 The pin state of the Power_OFF mode is as follows Pin type Pin Example Pin States in Power_OFF Mode GPIO output pin GPBO output Output GPIO data register value is used GPIO input pin GPBO input Input GPIO bi directional pin GPG6 SPIMOSI Input Function output pin nGCso Output the last output level is held Func
9. pin connector SDRAM 32MB 128MB NAND Flash 32MB 128MB External RTC connected to I C LCD interface Touch Screen interface 12S interface SD card interface 3 serial RS232 interfaces Host and device USB interface USB1 1 compliant 10Mbps Ethernet interface I C interface 100KHz and 400KHz SPI interface JTAG interface Module A9M2410_1 2 3 Functional differences to the A9M2410 0 module The A9M2410_0 modules are all marked as prototypes The functional differences are shown in the following table A9M2410_0 A9M2410_1 Reset Controller TPS3306 bidirectional TPS3307 push pull Power Off mode not supported supported SDRAM memory gaps if SDRAM no memory gaps size lt 64MByte SmartMedia supported not supported interface Boot from external supported not supported NANDFlash supported CPU S3C2410X 3C2410A 200MHz 3C2410A 266MHz Configuration no module specific configuration module specific configuration for CPU SDRAM size and CL Software newer u boot versions cannot be used because of SDRAM gaps new u boot version is necessary new entry point for initrd only at LXNETES Module A9M2410_1 2 4 Variants of A9M2410 1 Following variants of the A9M2410_1 module are available 1 VO1 0362 32MB SDRAM 32MB NAND Flash 10Mbit s Ethernet 3C2410 200MHz 2 V05 0365 32MB SDRAM 32MB NAND Flash S3C2410 200MHz w
10. Module A9M2410_1 User s Manual D 79200 Breisach Germany D 79206 Breisach Germany Fax 49 7667 908 200 http www fsforth de P O Box 1103 Kueferstrasse 8 Tel 49 7667 908 0 Forth Systeme GmbH sales fsforth de Module A9M2410_1 O Copyright 2005 FS FORTH SYSTEME GmbH Postfach 1103 D 79200 Breisach a Rh Germany Release of Document April 18 2005 Filename UM_A9M2410 doc Author Joachim Jaeger Document Version 1 0 All rights reserved No part of this document may be copied or reproduced in any form or by any means without the prior written consent of FS FORTH SYSTEME GmbH Module A9M2410_1 1 History Date 2005 04 18 Version 1 0 Responsible J Jaeger First version Description Module A9M2410_1 Table of Contents a ahi A Teal haut ebek tbat TETE 3 ZOO UC ON ci ea AA as 6 2 1 Benefits of the ModARM9 ConNCept oocccccccnnccnnccnnncnnnnnnnnnnnnnnnninnninininininos 6 2 2 COMMON Features ara Allen 7 2 3 Functional differences to the A9M2410_0 module 8 2 4 Variants Of A9M2410 To ooooococcncnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnininins 9 2 5 Block Dia AM ee nein 10 3 Detailed Module Description 04440sns0annsannnnnnennnnnnnnnnnnnnnnnnnennnnnnnne 11 3 T COMMU OPN xcs sien riet 11 3 2 POWer deceit canis A ad 14 3 3 Clock Generation 2 2 2 cece cecccccccecccceceeeeeeeeeeeeeeeeee
11. PIO GPH8 GPIO_ON For reading the module specific configuration this pin has to be at high level which is also the default state after power up After the initialization the software has to switch this port pin to a low level 13 Module A9M2410_1 Following table shows the Module configuration pins MCONFO MCONF1 MCONF2 MCONF3 GPBO GPB1 GPB2 GPF1 SDRAM Type 1Mx32x4 0 0 x x 2Mx32x4 0 1 x x 4Mx32x4 1 0 x x SDRAM CL 2 x x 0 x 3 x x 1 x CPU 200MHz x x x 0 266MHz x x x 1 x don t care 3 2 Power The common power supply for the module is 3 3VDC To use the module also in battery only supplied devices mobile devices an additional power supply pin is provided at the system connector Vuo At this pin a one cell Li lon battery can be connected If no Li lon battery is used or another type of battery within the required voltage range Vio has to be connected to 3 3V at the base board The CPU specific core voltage of 1 8V 200MHz 2 0V 266MHz and the voltage for VDDalive will be generated on the module from the Vuo input while the voltage for memory and I Os is fed direct from the 3 3V 14 Module A9M2410_1 Following requirements have to be met by the power supply Power Supply Q0MHz_ G266MHz Module Power Supply 3 3V 5 3 3V 5 3 3V Module Power Supply 2 5V 4 2V Lithium lon 2 5V 4 2V Lithium lon Vio battery batter
12. annot be used The bit of EINTMASK corresponding to the wake up source has not to be masked in order to let the corresponding bit of SRCPND or EINTPEND set Although a wake up source is issued and the corresponding bit of EINTMASK is masked the wake up will occur and the corresponding bit of SRCPND or EINTPEND will not be set Set USB pads as suspend mode MISCCR 13 12 11b Save some meaning values into GSTATUS3 4 register These register are preserved during Power_OFF mode GSTATUS3 has to content the address where the system has to start after wake up Configure MISCCR 1 0 for the pull up resisters on the data bus D 31 0 Turn on the pull up resistors Stop LCD by clearing LCDCON1 ENVID bit Read rREFRESH and rCLKCON registers in order to fill the TLB Let SDRAM enter the self refresh mode by setting the REFRESH 22 1b Wait until SDRAM self refresh is effective Set MISCCR 19 17 111b to make SDRAM signals SCLKO SCLK1 and SCKE protected during Power_OFF mode Set the Power_OFF mode bit in the CLKCON register 41 Module A9M2410_1 Procedure to Wake up from Power_OFF mode The internal reset signal will be asserted if one of the wake up sources is issued This reset duration is determined by the internal 16 bit counter logic and the reset assertion time is calculated as tRST 65535 XTAL_frequency Check GSTATUS2 2 in order to know whether or not the power up is caused by the wake up from Power_OFF mode Relea
13. card which is big enough for the driving strength of the MMC card to transfer the data and the MMC card is able to operate up to 20MHZ 3 19 Clock Output At the global pins of the system connector there is a clock signal available BCLKOUTO which is buffered by a clock buffer and can be choosen to be either MPLL CLK UPLL CLK FCLK HCLK PCLK or DCLK The source of this clock signal is the CLKOUTO port at the CPU which can be programmed to different clocks by the CLKSELO register Following table shows the bits 6 4 of the CLKSELO register CLKSELO 000 001 010 011 100 101 11x 6 4 CLKOUTO MPLL UPLL FCLK HCLK PCLK DCLKO Reserved CLK CLK 34 Module A9M2410_1 3 20 Power Management For the power control logic the S3C2410A has various power management schemes to keep optimal power consumption for a given task These schemes are related to PLL clock control logics FCLK HCLK and PCLK and wakeup signals Following figure shows the clock distribution SUSCHIL FELE detraton moje pal dadada rabo Viera mods F MA Saad POLE MPLL cos feel The power management block in the S3C2410A can activate four modes NORMAL mode SLOW mode IDLE mode and Power OFF mode e NORMAL mode the block supplies clocks to CPU as well as all peripherals in the S3C2410A In this mode the power consumption will be maximized when all peripherals are turned on It allows th
14. d device with 8 channel analog inputs It converts the analog input signal into 10 bit binary digital codes at a maximum conversion rate of 500KSPS with 2 5 MHz A D converter clock The A D converter operates with on chip sample and hold function and power down mode is supported The S3C2410A supports Touch Screen Interface which consists of a touch screen panel four external transistors an external voltage source AIN 7 and AIN 5 Touch Screen Interface controls and selects control signals YPON YMON XPON and XMON and analog pads AIN 7 AIN 5 which are connected with pads of touch screen panel and the external transistor for Xposition conversion and Y position conversion Touch Screen Interface contains an external transistor control logic and an ADC interface logic with an interrupt generation logic Feature Resolution 10 bit Differential Linearity Error 1 5 LSB Integral Linearity Error 2 0 LSB Maximum Conversion Rate 500 KSPS Low Power Consumption Power Supply Voltage 3 3V Analog Input Range 0 3 3V On chip Sample and hold Function Normal Conversion Mode Separate X Y position conversion Mode Auto Sequential X Y Position Conversion Mode Waiting for Interrupt Mode 28 Module A9M2410_1 3 15 LCD Controller STN LCD TFT LCD Displays Features The LCD controller in the S3C2410A consists of the logic for transferring LCD image data from a video buffer located in system memory to an external LCD
15. d rate generator provides the serial clock for the transmitter and the receiver The source clock for the baud rate generator can be selected with the S3C2410A s internal system clock or UCLK In other words dividend is selectable by setting Clock Selection of UCONn The baud rate clock is generated by dividing the source clock PCLK by 16 and a 16 bit divisor specified in the UART baud rate divisor register UBRDIVn The UBRDIVn can be determined by the following expression UBRDIVn int PCLK bps x 16 1 where the divisor should be from 1 to 2 1 UART baud rate generator error tolerance UART 10 bit time error should be less than 1 87 3 160 tUPCLK UBRDIVn 1 x 16 x 10 PCLK tUPCLK Real UART 10 bit time tUEXACT 10 baud rate tUEXACT Ideal UART 10 bit time UART error tUPCLK tUEXACT tUEXACT x 100 22 Module A9M2410_1 Following table shows the baudrate with the corresponding value for UBRDIV PCLK MHz Baudrate UBRDIV Error 960 0 02366864 J 50 7 19200 164 0 02366864 38400 0 6295858 50 7 115200 26 1 84142012 3 10 SPI interface The S3C2410A includes two SPl interfaces each of it has two 8 bit shift registers for transmission and receiving respectively During an SPI transfer data is simultaneously transmitted shifted out serially and received shifted in serially 8 bit serial data at a frequency is determined by its corresponding control register settings I
16. e controlled by the state machine e 5 bit dual prescaler IPSR One prescaler is used as the master clock generator of the IIS bus interface and the other is used as the external CODEC clock generator e 64 byte FIFOs TxFIFO and RxFIFO In transmit data transfer data are written to TxFIFO and in the receive data transfer data are read from RxFIFO 31 Module A9M2410_1 Master IISCLK generator SCLKG In master mode serial bit clock is generated from the master clock Channel generator and state machine CHNC IISCLK and IISLRCK are generated and controlled by the channel state machine 16 bit shift register SFTR Parallel data is shifted to serial data output in the transmit mode and serial data input is shifted to parallel data in the receive mode 32 Module A9M2410_1 3 18 SD Host Interface The S3C2410A Secure Digital Interface SDI can interface for SD memory card SDIO device and Multi Media Card MMC Feature e SD Memory Card Spec ver 1 0 MMC Spec 2 11 compatible e SDIO Card Spec ver 1 0 compatible e 16 words 64 bytes FIFO depth 16 for data Tx Rx e 40 bit Command Register SDICARG 31 0 SDICCON 7 0 e 136 bit Response Register SDIRSPn 127 0 SDICSTA 7 0 e 8 bit Prescaler logic Freq System Clock 2 P 1 e CRC7 8 CRC16 Generator e Normal and DMA Data Transfer Mode byte or word transfer e 1bit 4bit wide bus Mode 8 Block Stream Mode Switch suppo
17. e user to control the operation of peripherals by software For example if a timer is not needed the user can disconnect the clock to the timer to reduce power consumption 35 Module A9M2410_1 SLOW mode Power consumption can be reduced in the SLOW mode by applying a slow clock and excluding the power consumption from the PLL The FCLK is the frequency of divide _by_n of the input clock XTIpll or EXTCLK without PLL The divider ratio is determined by SLOW_VAL in the CLKSLOW control register and CLKDIVN control register EXTCLE or TIA a In SLOW mode PLL will be turned off to reduce the PLL power consumption When the PLL is turned off in the SLOW mode and the user changes power mode from SLOW mode to NORMAL mode then the PLL needs clock stabilization time PLL lock time This PLL stabilization time is automatically inserted by the internal logic with lock time count register The PLL stability time will take 150us after the PLL is turned on During PLL lock time the FCLK becomes SLOW clock Users can change the frequency by enabling SLOW mode bit in CLKSLOW register in PLL on state The SLOW clock is generated during the SLOW mode IDLE mode the block disconnects clocks FCLK only to the CPU core while it supplies clocks to all other peripherals The IDLE mode results in reduced power consumption due to CPU core Any interrupt request to CPU can be woken up from the Idle mode 36 Module A9M2410_1 e Power OFF
18. eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeess 16 e ar T O 19 ID JTAG NO 20 3 6 SDRAM MEMON ii td o 20 3 7 Flash memory tt iu 21 3 8 BT 21 3 9 RS232 interface wei a ane alae BA Aah AAA 21 3 10 SPliinterface it Setledaalastesdavesastesesesseresdanseenlobens 23 SAAN ZGMC MACE ea 24 3 12 USB interfaces iscsaw a aaa in 25 3 13 Ethernet interface ecccecccecccceecceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeneeeess 26 3 14 A D Converter amp Touch Screen Interface nennen 28 3 15 LCD Controller STN LCD TFT LCD Displays Features 29 TO Watchdog Finer a seinerseits 30 3 17 119 B S Interface u email 31 3 18 SP HostInterface coincida anne anna 33 3 19 Clock Output aio a nennen 34 3 20 Power Management adi adria 35 A gt Boot Concept A A E ALEA RA 40 5 Software Requirements cceccceccceecceeeceeeeeeeeeeeeeeeeeeeeeneeeeeeeeeeeeeeeeeeeeeeeeeeess 41 5 1 Power Management a u ee 41 5 2 Power Consumption ccccceccccecceeeceeceeeceeeeeeeeeeeeeeeeeeeseeeseeeseeeseeeeeeees 43 Module A9M2410_1 Di Mechanics er ehehsine 45 6 1 Extended Module i ccceccsecsseceeeeeeeceeeccececeeeceeeeneeeneeeeeeeeeeneseneneneees 47 6 2 NomMenclature 2 2 beast ccesacostactsiegucaejadaadiceageteas Aaaa aSa 48 Module A9M2410_1 2 Introduction ARM offers a wide range of 32 bit embedded RISC microprocessors cores based on a common architecture and delivering h
19. el and front light unit LTS350Q1 PD2 TFT LCD panel only STN LCD displays e Supports 3 types of LCD panels 4 bit dual scan 4 bit single scan and 8 bit single scan display type e Supports the monochrome 4 gray levels and 16 gray levels 29 Module A9M2410_1 e Supports 256 colors and 4096 colors for color STN LCD panel e Supports multiple screen size Typical actual screen size 640x480 320x240 160x160 and others Maximum virtual screen size is 4Mbytes Maximum virtual screen size in 256 color mode 4096x1024 2048x2048 1024x4096 and others TET LCD displays Supports 1 2 4 or 8 bpp bit per pixel palettized color displays for TFT Supports 16 bpp non palettized true color displays for color TFT Supports 24 bpp non palettized true color displays for color TFT Supports maximum 16M color TFT at 24bit per pixel mode Supports multiple screen size Typical actual screen size 640x480 320x240 160x160 and others Maximum virtual screen size is 4Mbytes Maximum virtual screen size in 64K color mode 2048x1024 and others 3 16 Watchdog Timer The S3C2410A watchdog timer is used to resume the controller operation whenever it is disturbed by malfunctions such as noise and system errors It can be used as a normal 16 bit interval timer to request interrupt service The watchdog timer generates the reset signal for 128 PCLK cycles Feature e 16 bit Watchdog Timer e Interrupt request or system reset at time out The prescal
20. er value and the frequency division factor are specified in the watchdog timer control WTCON register Valid prescaler values range from 0 to 2 1 The frequency division factor can be selected as 16 32 64 or 128 Use the following equation to calculate the watchdog timer clock frequency and the duration of each timer clock cycle 30 Module A9M2410_1 t_watchdog 1 PCLK Prescaler value 1 Division_factor with PCLK 50 70 MHz 3 17 IS Bus Interface Currently many digital audio systems are attracting the consumers on the market in the form of compact discs digital audio tapes digital sound processors and digital TV sound The S3C2410A Inter IC Sound IIS bus interface can be used to implement a CODEC interface to an external 8 16 bit stereo audio CODEC IC for minidisc and portable applications The IIS bus interface supports both IIS bus data format and MSB justified data format The interface provides DMA transfer mode for FIFO access instead of an interrupt It can transmit and receive data simultaneously as well as transmit or receive data alternatively at a time Feature e 1 ch IIS bus for audio interface with DMA based operation e Serial 8 16 bit per channel data transfers e 128 Bytes 64 Byte 64 Byte FIFO for Tx Rx e Supports IIS format and MSB justified data format Functional Description e Bus interface register bank and state machine BRFC Bus interface logic and FIFO access ar
21. f you only want to transmit received data can be dummy Otherwise if you only want to receive you should transmit dummy 1 data There are 4 I O pin signals associated with SPI transfers the SCK SPICLKO 1 the MISO SPIMISOO 1 data line the MOSI SPIMOSIO 1 data line and the active low SS nSS0 1 pin input Both 4 pin SPl interfaces are provided at the system connector Clock Chip Select Data In and Data Out SPIO interface is located at the general pins of the system connector while SPI1 interface shares it s pins with interrupt functions at the specific pins of the system connector Features SPI Protocol ver 2 11 compatible 8 bit Shift Register for transmit 8 bit Shift Register for receive 8 bit Prescaler logic Polling Interrupt and DMA transfer mode 23 Module A9M2410_1 3 11 I2C interface The 12C signals clock and data are provided at the system connector On the module there is a serial EEPROM connected to the I2C interface and the external RTC As the EEPROM and the RTC are supplied by 3 3V the I2C components which should be connected to I2C interface at the base board have to be supplied also by 3 3V or level shifters are needed Problem The tSDAH SDA data hold time is min Ons by the specification But the real tSDAH is 3 clock duration based on MCLK or PCLK This tSDAH may be insufficient for some IIC slave device A few slave devices may not receive the valid address some
22. igh performance together with low power consumption and system cost The ARM processor range provides solutions for e Open platforms running complex operating systems for wireless consumer and imaging applications e Embedded real time systems for mass storage automotive industrial and networking applications e Secure applications including smart cards and SIMs There are many manufacturers who have designed their own CPUs with the ARMS core to realize special features This documentation specifies the MODARM9 module based on the Samsung CPU S3C2410A 2 1 Benefits of the ModARM9 Concept The concept of the MODARM9 module is that for some standard functions common for all modules always the same pin locations at the system connectors are used These are called standard pin locations in contrast to the global pin locations Any other functions depending on the specific CPU on the module could have their pins located anywhere at the global pin locations These locations are defined in the corresponding hardware specification of the module The aim of the modules is realizing a high performance at data exchange between CPU and memory as well as supporting the power management features of each CPU as good as possible to reduce the power consumption Module A9M2410_1 2 2 Common Features Below are the common features of the A9M2410 module 16 32bit RISC CPU with ARM920T core with MMU Size 60mm x 44mm with 240
23. ignals are provided at the system connector A JTAG Multi ICE connector has to be provided at the base board for debugging and bootloader purposes The signal DEBUGEN CONFO from the base board to the module is necessary to be able to switch on and off a connection between the system reset and the JTAG reset The pull up resistors belonging to the JTAG interface are placed on the module 3 6 SDRAM memory On the module there are two banks provided for SDRAM memory Bank 1 provides one part of a 32bit SDRAM in a 90 ball FBGA package with 3 3V power supply while bank 2 is only populated for 128MByte SDRAM 2 x 64MByte Total size of memory is possible from 16MB only one bank up to 128MB 64MB each bank Both banks have to be populated with equal devices 20 Module A9M2410_1 3 7 Flash memory NAND Flash memory is provided as a single Flash device Bus size of the Flash device is 8bit in a 48pin TSOP package with 3 3V power supply The Flash memory contains the bootloader and the application software The page size of these devices has to be 512bytes Total size of memory is possible from 32MB up to 128MB 3 8 RTC The internal RTC is not used Instead of the internal RTC an external one is used This RTC is connected to the I2C bus and powered by a 3V battery which has to be mounted at the base board If no RTC is used the pin VRTC at the system connector can be left floating because two Schottky diodes
24. ipherals such as WDT IIS I2C PWM timer MMC interface ADC UART GPIO RTC and SPI 16 Module A9M2410_1 The S3C2410A supports selection of Dividing Ratio between FCLK HLCK and PCLK This ratio is determined by HDIVN and PDIVN of CLKDIVN control register The context between FCLK HCLK and PCLK is shown in the following table HDIVN1 HDIVN PDIVN FCLK HCLK PCLK Divide Ratio 0 0 0 FCLK FCLK FCLK 1 1 1 0 0 1 FCLK FCLK FCLK 2 1 1 2 0 1 0 FCLK FCLK 2 FCLK 2 1 2 2 0 1 1 FCLK FCLK 2 FCLK 4 1 2 4 1 0 0 FCLK FCLK 4 FCLK 4 1 4 4 Note Divide Ratio 1 2 4 should be used The register HDIVN1 is not available at 3C2410X After setting PMS value it is required to set CLKDIVN register The setting value of CLKDIVN will be valid after PLL lock time The value is also available for reset and changing Power Management Mode The setting value can also be valid after 1 5 HCLK Only 1HCLK can validate the value of CLKDIVN register changed from Default 1 1 1 to other Divide Ratio 1 1 2 1 2 2 1 2 4 and 1 4 4 Notes 1 CLKDIVN should be set carefully not to exceed the limit of HCLK and PCLK 2 If HDIVN is not 0 the CPU bus mode has to be changed from the fast bus mode to the asynchronous bus mode using following instructions MMU_SetAsyncBusMode mrc p15 0 r0 c1 c0 0 orr r0 r0 R1_nF OR R1_iA mcr p15 0 r0 c1 c0 0 17 Module A9M2410_1 Following table sho
25. ith USB Specification Version 1 1 Full speed 12Mbps device Integrated USB Transceiver Supports control interrupt and bulk transfer Five endpoints with FIFO Supports DMA interface for receive and transmit bulk endpoints EP1 EP2 EP3 and EP4 Independent 64byte receive and transmit FIFO to maximize throughput Supports suspend and remote wakeup function One USB interface is provided at the general pins of the system connector consisting of the data lines USBP and USBN as well as the additional signal USB_DT PW 25 Module A9M2410_1 Depending on the base board the USB interface can be realised either as host1 or deviceO the signals have the following meaning Signal USB host1 USB device0 USBP Differential data DP1 Differential data PDPO USBN Differential data DN1 Differential data PDNO USB_DT PW USB Power Enable USB Detect At the module specific pins of the system connector a second host interface host0 is provided with the differential data lines DPO and DNO 3 13 Ethernet interface The A9M2410 module has an external 10Mbit Ethernet controller with integrated MAC and PHY on board The CS8900A from Cirrus Logic will be used as single chip IEEE 802 3 Ethernet Controller It operates at 3 3V and uses a 20MHz quartz crystal DMA mode is not supported Feature e Full Duplex Operation e On Chip RAM buffers transmit and receive frames e 10Base T port with analog filters provide
26. ithout Ethernet Controller 3 V02 0366 128MB SDRAM 128MB NAND Flash 10Mbit s Ethernet 3C2410 266MHz 4 V03 0374 64MB SDRAM 64MB NAND Flash 10Mbit s Ethernet 3C2410 200MHz 5 V04 0379 64MB SDRAM 32MB NAND Flash 10Mbit s Ethernet 3C2410 266MHz Module A9M2410_1 2 5 Block Diagram RSTIN gt PWRGOOD RSTOUT JTAG Configuration COM 0 COM 1 LCD TFT 1 F Timer Out Ext INT Bus Control SPI gt USB hostl device0 USB Detect PWR Enable DC ae Ilo y we Reset q Voltage Generator Y USB host0 USB PWR Enable S3C2410 Analog In Touch Screen Timer In PWR Enable 1 8V Flash Control 10 Module A9M2410_1 3 Detailed Module Description Following demands are made by the MODARM9 module concept CPU configured to little endian 4 pins provided for software configuration which are routed to the base board at standard pin locations e 4 pins provided for hardware configuration routed to the base board at standard pin locations where one pin has the meaning of DEBUG ENABLE and one pin has the meaning of NAND Flash write protect The endianess is configured in register 1 bit 7 This bit has to be O for little endian On reset this bit is set to O automatically Therefore no software configuration is necessary There are no buffers provided a
27. realized The least possible distance is 5mm Therefore the height of the parts mounted at the bottom side of the module should not exceed 2 5mm The height of the parts mounted at the top side should not exceed 4 1mm so that the module can fit on a carrier board which is rack mounted assumes that the maximum height allowed from top of base board is 13 7mm 8 1 6 4 1 Board to Board Module Connector X1 X2 Base Board Connector X1 X2 Distance h_ No of Pins Qty Supplier Order No No Of Pins Supplier Order No 5mm 120 AMP 177984 5 Berg 61083 121000 6mm 120 AMP 179029 5 120 2 AMP 177983 5 Berg 61083 122000 7mm Berg 61082 121000 120 AMP 179030 5 Berg 61083 123000 8 mm 120 AMP 179031 5 Berg 61083 124000 45 Module A9M2410_1 Mechanical Drawing from TOP View 2 2 2x Mechanical Drawing from Side View The size of h depends on the board to board connectors The size between the board to board connectors is measured from pad to pad 46 Module A9M2410_1 6 1 Extended Module For further modules it might be necessary to have some additional hardware placed on the module which will need more signal lines connected between module and base board than actual available To meet these future requirements an extended board is defined which has two additional board to
28. rt e Supports up to 25 MHz in data transfer mode for SDI e Supports up to 10 MHz in data transfer mode for MMC At the module there are no pull up resistors provided for the SD interface To improve the data transfer of the MMC card 10MHz gt 20MHz Samsung makes a change of MMCClock Polarity from Falling to Rising Problem Description Before the revision SDMMC Host got in the status of both Driving and Sampling as Clock configures the Falling edge trigger As shown in the table below there was each margin in the parentheses to transfer data in accordance with the types of cards SD amp MMC there were 3 numbers of 0 5 cycle margins In case that Host got in the status of Driving and the cards got in the status of Sampling there were no problem since the driving strength of the Host is big enough However a problem occurred when the MMC card got in the status of Driving where the grey color is shaded in the table below The 0 5 33 Module A9M2410_1 cycle margin is not big enough for the driving strength of the MMC card to transfer the data The Revised Point In order for the MMC card to properly transfer the data we madea change of MMC clock polarity from Falling to Rising in case of the MMC card Host gets in the status of both Driving and Sampling as Clock configures the Rising edge trigger In result there is the 1 cycle margin at the MMC
29. s automatic polarity detection and correction e Programmable Transmit features Automatic retransmission on collision Automatic padding and CRC generation e Programmable Receive features Stream transfer for reduced CPU overhead Auto switch between DMA and On Chip memory Early interrupts for Frame preprocessing 26 Module A9M2410_1 Automatic rejection for Erroneous packets e LED drivers for Link status and LAN activity e Standby and Suspend Sleep modes The CS8900A is accessed by the control lines CS5 OE and WE modified by address line A24 to generate IO and memory accesses Its high active interrupt output is connected to the interrupt input EINT9 of the CPU The serial EEPROM connected to the I2C bus of the CPU will be used as storage for the MAC address At the global signals at the system connector only the signal for the Link Activity LED is used The CS8900A provides both LED signals therefore Link and Activity are combined to one signal LEDLNK The signal for the 10 100Mbit LED is not connected At the base board it is necessary to use a transformer with 1 2 5 turns ratio on TX and 1 1 on RX like the Halo TG41 2006N Following table shows the configuration for the BANKCONS register BANKCON5 CS8900 Remark Po Mr oo Tacs 00 27 Module A9M2410_1 3 14 A D Converter amp Touch Screen Interface The 10 bit CMOS analog to digital converter ADC of the S3C2410A is a recycling type
30. se the SDRAM signal protection by setting MISCCR 19 17 000b Configure the SDRAM memory controller Wait until the SDRAM self refresh is released Mostly SDRAM needs the refresh cycle of all SDRAM row The information in GSTATUS3 4 can be used for user s own purpose because the value in GSTATUS3 4 has been preserved during Power_OFF mode For EINT 3 0 check the SRCPND register For EINT 15 4 check the EINTPEND instead of SRCPND SRCPND will not be set although some bits of EINTPEND are set If there was the BATT_FLT assertion during POWER_OFF mode the corresponding bit of SRCPND has been set Signaling EINT 15 0 for Wakeup The S3C2410A can be woken up from Power_OFF mode only if the following conditions are met Level signals H or L or edge signals rising or falling or both are asserted on EINTn input pin The EINTn pin has to be configured as EINT in the GPIO control register 42 Module A9M2410_1 e BATT_FLT pin has to be H level It is important to configure the EINTn in the GPIO control register as an external interrupt pin considering the first condition above Just after the wake up the corresponding EINTn pin will not be used for wakeup This means that the pin can be used as an external interrupt request pin again Entering IDLE Mode If CLKCON 2 is set to 1 to enter the IDLE mode the S3C2410A will enter IDLE mode after some delay until the power control logic receives ACK signal from the
31. t the module for data address and control lines 3 1 Configuration There are eight configuration pins provided at the system connector four of them are provided as hardware configuration pins and the other four can be used as software configuration pins A 10k pullup resistor is provided at each signal line of the configuration pins The following pins at the connector are defined as hardware configuration pins Signal Description DEBUGEN Debug Enable FWP Write Protect of internal Flash CONF2 Hardware Configuration 2 not used yet CONF3 Hardware Configuration 3 not used yet 11 Module A9M2410_1 The following port pins are defined as software configuration pins Description CONF4 GPF2 Software Configuration 0 CONF5 GPF3 Software Configuration 1 CONF6 GPF4 Software Configuration 2 CONF7 GPF5 Software Configuration 3 The meaning of the configuration pins has to be defined by the software department The signal DEBUGEN CONFO from the base board to the module is necessary to be able to switch on and off a connection between the system reset and the JTAG reset This will be done with the analog switch MC74VHC1G66 sane Tom eos Switch is on TRST and PWRGOOD are connected default disconnected At the module a pull up resistor is provided at the DEBUGEN signal Therefore only a jumper to GND is necessary at the base board Additional configurations can be stored in the serial EEPROM
32. times due to the lack of SDA hold time and will not acknowledge in spite of a valid addressing If the SDA data hold time is insufficient the error occurs very rarely and at random time Workaround If any device needs more SDA data hold time than 3 MCLK or PCLK RC delay circuit is needed on the SDA line as follows S04 ham MCU For example R 100R and C 200pF can be one of available values We recommend implementing the RC delay circuit on SDA line for case of need Mostly it may not be needed On the module a OR resistor is fitted and the capacitor is not equipped on the SDA line to the RTC and the EEPROM If needed the workaround mentioned above could be realized 24 Module A9M2410_1 3 12 USB interface S3C2410A supports 2 port USB host interfaces as follows OHCI Rev 1 0 compatible USB Rev1 1 compatible Two down stream ports Support for both LowSpeed and HighSpeed USB devices The USB device controller is designed to provide a high performance full speed function controller solution with DMA interface USB device controller allows bulk transfer with DMA interrupt transfer and control transfer At both USB ports 22R series resistors have to be equipped at the base board USB device controller supports e Full speed USB device controller compatible with the USB specification version 1 1 DMA interface for bulk transfer Five endpoints with FIFO e Integrated USB Transceiver Feature Fully compliant w
33. tion input pin nWAIT Input The transition between the modes is not allowed freely Following figure shows the Power Management State Diagram PRANA OFF BIT 1 RTC alarm could not be used because instead of the internal RTC an external one is used 38 Module A9M2410_1 Following table shows the Clock and Power State in Each Power Mode Mode ARM920T AHB Power Management GPIO APB Modules amp Modules WDT USBH LCD NAN 1 D 2 Normal O O SEL SEL Idle x O O SEL SEL Slow O O O SEL SEL Power_Off OFF OFF Wait for wakeup event Previous OFF state NOTES 1 USB host LCD and NAND are excluded 2 WDT is excluded RTC interface for CPU access is included 3 SEL selectable O X O enable X disable OFF power is turned off A Battery Fault Signal BATT_FLT is provided at the CPU to recognize the battery state of the battery at the base board which powers the module Therefore this pin is routed to the system connector At the base board a comparator has to supervise the battery state and the output of the comparator delivers the BATT_FLT signal If no battery is used the VLIO pin has to be connected to 3 3V at the base board There are two functions in BATT_FLT pin as follows When CPU is not in Power OFF mode BATT_FLT pin will cause the interrupt request The interrupt attribute of the BATT_FLT is Low level triggered with LVCMOS Schmitt Trigger levels
34. which will be read by the bootloader at power up e g software version of the module The CPU specific configuration pins are OMO OM3 and NCON The pins OMO OM3 are not routed to the system connector On the module they are configured as follows OM1 OMO Booting ROM data width Pre configured 0 0 Nand Flash Mode Yes o 1 16bit IN o o 32bit IN 12 Module A9M2410_1 OM 3 2 MPLL UPLL Main CLK Source USB CLK Source we 00 On On Crystal Crystal 01 On On Crystal External Clock External Clock 11 On On External Clock External Clock No Although the MPLL starts just after a reset the MPLL output Mpll is not used as the system clock until the software writes valid settings to the MPLLCON register Before this valid setting the clock from external crystal or EXTCLK source will be used as the system clock directly Even if the user wants to maintain the default value of the MPLLCON register the user should write the same value into the MPLLCON register There are configuration resistors provided to give module specific information to the software These configuration resistors are connected to GPIOs via a multiplexer so these GPIOs are available again for common use after initialization of the module MCONF3 is connected direct to GPF1 without multiplexer The signal lines which are connected to the base board connector have a 10k pullup resistor each The multiplexer is switched by G
35. ws the recommended values for FCLK Input Frequency Output Frequency MDIV PDIV SDIV Fin MHz FCLK MHz 12 00MHz 11 289MHz 12 00MHz 16 934MHz 12 00MHz 22 50MHz 12 00MHz 84 75MHz 105 0x69 2 2 12 00MHz 101 25MHz 127 Ox7f 2 12 00MHz 113 00MHz 12 00MHz 118 50MHz 150 0x96 116 12 00MHz 266 00MHz 125 0x7d 12 00MHz 268 00MHz 126 0x7e 12 00MHz 270 00MHz 127 0x7f MPLL FCLK MDIV 8 Fin PDIV 2 2 The 48 00Mhz output is used for USB and the corresponding values have to be written into UPLLCON register 18 Module A9M2410_1 The 202 80MHz output is used as FCLK and the corresponding values have to be written into PLLCON register NOTE When you set MPLL amp UPLL values you have to set the UPLL value first and then the MPLL value Needs intervals approximately 7 NOP These are the resulting Clock values FCLK HCLK PCLK UCLK 202 80 MHz 101 40 MHz 50 70 MHz 48 00 MHz The Clock control logic in S3C2410A can generate the required clock signals including FCLK for CPU HCLK for the AHB bus peripherals and PCLK for the APB bus peripherals The S3C2410A has two Phase Locked Loops PLLs one for FCLK HCLK and PCLK and the other dedicated for USB block 48Mhz The clock control logic can make slow clocks without PLL and connect disconnect the clock to each peripheral block by software which will reduce the power consumption 3 4 Reset There are
36. y Core Voltage 1 8V 0 15V 2 0V 0 1V VDDalive 1 8V 0 15V ge for internal RTC 1 8V 0 15V 1 8V 0 15V Power Supply for ext 3V e g Li Battery 3V e g Li Battery RTC Vatc Analog Voltage 3 3V 5 3 3V 5 VIN at common CPU pins 3 3V 0 3V 3 3V 0 3V VIN at 5V tolerant CPU 3 0V 5 25V 3 0V 5 25V pins The voltage at pin RTCVDD has to be 1 8V even though the RTC is not used Therefore this pin is connected to the VDDalive pin on the module A further pin VRTC is defined to connect a battery at the base board for the external RTC on the module If the external RTC is not used pin VRTC doesn t need to be connected due to a Schottky diode switch over to 3 3V on the module VRTC is only used to power the external RTC on the module If a battery supplies the power for the module the pin BATT_FLT can be connected to a comparator output at the base board The comparator may supervise the battery voltage at the base board The CPU does not wake up at power off mode in case of low battery state If this feature isn t used the pin has to be left open because a 10k pullup resistor is provided at the module Analog voltage AVCC and AGND e g for a touch screen are also provided at the system connector 15 Module A9M2410_1 3 3 Clock Generation On the module a 12MHz quartz is used to generate the system clock Therefore the following configuration is needed at Operating Mode pins
Download Pdf Manuals
Related Search
Related Contents
(シフトポジションインジケータ-5Pカプラ一仕様)\ー 2,800(税込)が必要 KEY-OVERRIDE-SL V1.6.g.cdr sa - Bernard KombiSIGN 70 Patton electronic 571 User's Manual Copyright © All rights reserved.
Failed to retrieve file