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.
"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 No Description of Change Refer toAuthor(s) Date
1.00 Initial release - AP app part. August 27, 2008
1.10 Overview, System controller, DMA controller,
I/O ports, LCD controller are updated.
- AP app part. October 06, 2008
REVISION DESCRIPTIONS FOR REVISION 1.10
Chapter
Chapter Name Page
1. Overview 1-2
2. System controller 2-1,6,8,9
8. DMA controller 8-2
8. DMA controller 8-16,17
10. I/O ports 10-37
21. LCD controller 21-23
Subjects (Major changes comparing with last version)
Way number of Cache Memory is corrected.
Camera related explanation is removed.
DMA request sources are corrected.
Referred Register name, bit and pages are corrected.
CF related description is removed.
Camera related explanation is removed.
5.4 Change PLL Settings In Normal Operation.....................................................................................2-8
5.5 System Clock Control......................................................................................................................2-9
5.6 ARM & BUS Clock Divide Ratio ......................................................................................................2-10
5.7 Examples for configuring clock regiter to produce specific frequency of AMBA clocks..................2-11
5.8 ESYSCLK Control ...........................................................................................................................2-12
6 Power Management..................................................................................................................................2-13
6.1 Power Mode State Diagram............................................................................................................2-13
6.2 Power Saving Modes.......................................................................................................................2-14
6.3 Wake-Up Event
6.4 Output Port State and STOP and SLEEP Mode.............................................................................2-19
6.5 Power Saving Mode Entering/Exiting Condition..............................................................................2-20
2 Special Function Registers .......................................................................................................................3-2
3.6 Bus Turnaround...............................................................................................................................5-11
4 Special Registers......................................................................................................................................5-14
4.1 Bank Idle Cycle Control Registers 0-5 ............................................................................................5-14
4.2 Bank Read Wait State Control Registers 0-5..................................................................................5-14
4.3 Bank Write Wait State Control Registers 0-5..................................................................................5-15
4.4 Bank Output Enable Assertion Delay Control Registers 0-5...........................................................5-15
4.5 Bank Write Enable Assertion Delay Control Registers 0-5.............................................................5-16
4.6 Bank Control Registers 0-5 .............................................................................................................5-17
4.7 Bank Onenand Type Selection Register.........................................................................................5-19
4.8 SMC Status Register.......................................................................................................................5-19
4.9 SMC Control Register......................................................................................................................5-20
2 Features ....................................................................................................................................................7-1
13.6 Data Register.................................................................................................................................7-17
13.7 Main Data area ECC Register.......................................................................................................7-18
13.8 Spare area ECC Register..............................................................................................................7-18
3.2 Examples of Possible Cases...........................................................................................................8-7
4 DMA Special Registers.............................................................................................................................8-8
2 Port Control Descriptions ..........................................................................................................................10-9
2.1 Port Configuration Register (GPACON-GPMCON).........................................................................10-9
2.2 Port Data Register (GPADAT-GPMDAT) ........................................................................................10-9
2.3 Port Pull-Up/Down Register (GPBUDP-GPMUDP).........................................................................10-9
2.4 Miscellaneous Control Register.......................................................................................................10-9
2.5 External Interrupt Control Register..................................................................................................10-9
3 I/O Port Control Register...........................................................................................................................10-10
3.1 PORT A Control Registers (GPACON, GPADAT)...........................................................................10-10
3.2 PORT B Control Registers (GPBCON, GPBDAT, GPBUDP, GPBSEL).........................................10-12
3.3 PORT C Control Registers (GPCCON, GPCDAT, GPCUDP) ........................................................10-14
3.4 PORT D Control Registers (GPDCON, GPDDAT, GPDUDP) ........................................................10-16
3.5 PORT E Control Registers (GPECON, GPEDAT, GPEUDP, GPESEL).........................................10-18
3.6 PORT F Control Registers (GPFCON, GPFDAT, GPFUDP)..........................................................10-20
3.7 PORT G Control Registers (GPGCON, GPGDAT, GPGUDP)........................................................10-21
3.8 PORT H Control Registers (GPHCON, GPHDAT, GPHUDP) ........................................................10-23
3.9 PORT J Control Registers (GPJCON, GPJDAT, GPJUDP, GPJSEL)............................................10-25
3.10 PORT K Control Registers (GPKCON, GPKDAT, GPKUDP).......................................................10-27
3.11 PORT L Control Registers (GPLCON, GPLDAT, GPLUDP, GPLSEL).........................................10-29
3.12 PORT M Control Registers (GPMCON, GPMDAT, GPMUDP).....................................................10-31
3.13 Miscellaneous Control Register (MISCCR)...................................................................................10-32
3.14 DCLK Control Regis
3.15 EXTINTn (External Interrupt Control Register n)...........................................................................10-35
3 UART Special Registers ...........................................................................................................................14-12
3.1 UART Line Control Register............................................................................................................14-12
3.2 UART Control Register....................................................................................................................14-13
3.3 UART FIFO Control Register...........................................................................................................14-15
3.4 UART Modem Control Register.......................................................................................................14-16
3.5 UART Tx/Rx Status Register...........................................................................................................14-17
3.6 UART Error Status Register ............................................................................................................14-18
3.7 UART FIFO Status Register ............................................................................................................14-19
3.8 UART Modem Status Register ........................................................................................................14-20
2 Color Format Conversion..........................................................................................................................18-2
3 Signal Descriptions...................................................................................................................................19-2
4.3 Trailing Bytes in the Rx FIFO ..........................................................................................................19-3
4.4 Packet Number Control...................................................................................................................19-3
4.5 NCS Control ....................................................................................................................................19-3
4.6 HS_SPI Transfer Format.................................................................................................................19-4
5 Special Function Register Descriptions....................................................................................................19-5
5.1 Setting Sequence of Special Function Register..............................................................................19-5
5.2 Special Function Register ...............................................................................................................19-6
5 SDI Special Registers...............................................................................................................................20-17
2.1 Brief of the sub-block.......................................................................................................................21-3
2.2 Data Flow.........................................................................................................................................21-3
5.2 DMA Transfer ..................................................................................................................................23-4
6 Audio Serial Data Format..........................................................................................................................23-5
6.1 IIS-Bus Format ................................................................................................................................23-5
4 A.C. Electrical Characteristics ..................................................................................................................26-6
This user’s manual describes SAMSUNG's S3C2416X 16/32-bit RISC microprocessor. SAMSUNG’s S3C2416X
is designed to provide hand-held devices and general applications with low-power, and high-performance microcontroller solution in small die size. To reduce total system cost, the S3C2416X includes the following
components.
The S3C2416X is developed with ARM926EJ core, 65nm CMOS standard cells and a memory complier. Its lowpower, simple, elegant and fully static design is particularly suitable for cost- and power-sensitive applications. It
adopts a new bus architecture known as Advanced Micro controller Bus Architecture (AMBA).
The S3C2416X offers outstanding features with its CPU core, a 16/32-bit ARM926EJ RISC processor designed
by Advanced RISC Machines, Ltd. The ARM926EJ implements MMU, AMBA BUS, and Harvard cache
architecture with separate 16KB instruction and 16KB data caches, each with an 8-word line length.
By providing a complete set of common system peripherals, the S3C2416X minimizes overall system costs and
eliminates the need to configure additional components. The integrated on-chip functions that are described in
this document include:
• Power control: Normal, Idle, Stop, Deep Stop and Sleep mode
• On-chip clock generator with PLL
1-1
PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR
2 FEATURES
2.1.1 Architecture
•Integrated system for hand-held devices and
general embedded applications.
•16/32-Bit RISC architecture and powerful
instruction set with ARM926EJ CPU core.
•Enhanced ARM architecture MMU to support
WinCE, EPOC 32 and Linux.
•Instruction cache, data cache, write buffer and
Physical address TAG RAM to reduce the effect
of main memory bandwidth and latency on
performance.
•ARM926EJ CPU core supports the ARM debug
architecture.
•Internal Advanced Microcontroller Bus
Architecture (AMBA) (AMBA2.0, AHB/APB).
2.1.2 System Manager
• Little/Big Endian support.
• Two independent memory bus - one for the
ROM/SRAM bus (ROM Bank0~Bank5) and one
for the DRAM bus (mSDR/mDDR/DDR2
SDRAM Bank0~Bank1)
•Address space: 64M bytes for Rom bank0 ~
bank5, 128M bytes for SDRAM bank0 ~ bank1.
•Supports programmable 8/16-bit data bus width
for ROM/SRAM bank and programmable 16/32bit data bus width for SDRAM bank
•Fixed bank start address from Rom bank 0 to
bank 5 and SDRAM bank 0 to bank1.
•Eight memory banks:
– Six memory banks for ROM, SRAM, and
others (NAND etc.).
– Two memory banks for Synchronous DRAM.
•Complete Programmable access cycles for all
memory banks.
•Supports external wait signals to expand the bus
cycle.
•Supports self-refresh mode in SDRAM for
power-down.
•Supports various types of ROM for booting
(NOR Flash, EEPROM, OneNAND, IROM and
others).
2.1.3 NAND Flash
•Supports booting from NAND flash memory by
selecting OM as IROM boot mode. (Only 8bit
Nand and 8ECC is supported when it boots)
•64KB for internal SRAM Buffer(8KB internal
buffer for booting)
•Supports storage memory for NAND flash
memory after booting.
•Supports Advanced NAND flash
2.1.4 Cache Memory
•4-way set-associative cache with I-Cache
(16KB) and D-Cache (16KB).
•8words length per line with one valid bit and two
dirty bits per line.
•Pseudo random or round robin replacement
algorithm.
•Write-through or write-back cache operation to
update the main memory.
•The write buffer can hold 16 words of data and
four addresses.
2.1.5 Clock & Power Manager
•On-chip MPLL and EPLL:
EPLL generates the clock to operate USB Host,
IIS, UART, etc.
MPLL generates the clock to operate MCU at
maximum 400MHz @ 1.3 V.
•Clock can be fed selectively to each function
block by software.
•Power mode: Normal, Idle, Stop, Deep Stop and
Sleep mode
Normal mode: Normal operating mode
Idle mode: The clock for only CPU is stopped.
Stop mode: All clocks are stopped.
Deep Stop mode: CPU power is gated and all
clocks are stopped.
Sleep mode: The Core power including all
peripherals is shut down.
•Woken up by EINT[15:0] or RTC alarm & tick
interrupt from Sleep mode and (Deep)STOP
mode.
•4-ch 16-bit Timer with PWM / 1-ch 16-bit internal
timer with DMA-based or interrupt-based
operation
•Programmable duty cycle, frequency, and
polarity
• Dead-zone generation
• Supports external clock sources
2.1.8 RTC (Real Time Clock)
•Full clock feature: msec, second, minute, hour,
date, day, month, and year
• 32.768 KHz operation
• Alarm interrupt
• Time tick interrupt
2.1.9 General Purpose Input/Output Ports
• 16 external interrupt ports
• 138 Multiplexed input/output ports
• Supports memory to memory, IO to memory,
memory to IO, and IO to IO transfers
•Burst transfer mode to enhance the transfer rate
2.1.11 LCD Controller
•Supports 1, 2, 4 or 8 bpp (bit-per-pixel) palette
color displays for color
•Supports 16, 24 bpp non-palette true-color
displays for color
• Supports maximum 16M color at 24 bpp mode
• Supports multiple screen size
– Typical actual screen size: 640x480, 320x240,
160x160, and others.
– Maximum frame buffer size is 4Mbytes.
– Maximum virtual screen size in 64K color
mode: 2048x2048, and others
•Support 2 overlay windows for LCD
2.1.12 UART
•4-channel UART with DMA-based or interrupt-
based operation
•Supports 5-bit, 6-bit, 7-bit, or 8-bit serial data
transmit/receive (Tx/Rx)
•Supports external clocks for the UART operation
(EXTUARTCLK)
• Programmable baud rate upto 3Mbps
• Supports IrDA 1.0
• Loopback mode for testing
• Each channel has internal 64-byte Tx FIFO and
64-byte Rx FIFO.
2.1.10 DMA Controller
• 6-ch DMA controller
1-3
PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR
2 FEATURES (Continued)
2.1.13 A/D Converter & Touch Screen Interface
• 10-ch multiplexed ADC
• Max. 500KSPS and 12-bit Resolution
• Internal FET for direct Touch screen interface
2.1.14 Watchdog Timer
• 16-bit Watchdog Timer
• Interrupt request or system reset at time-out
2.1.15 IIC-Bus Interface
• 1-ch Multi-Master IIC-Bus
• Serial, 8-bit oriented and bi-directional data
transfers can be made at up to 100 Kbit/s in
Standard mode or up to 400 Kbit/s in Fast mode.
2.1.16 2D
• Line/Point Drawing
• BitBLT, Color Expansion.
• Maximum 2040*2040 image size
• Window clipping
• 90°/180°/270°/X-flip/Y-flip Rotation
• Totally 256 3-operand Raster Operation (ROP)
• Alpha Blending
• 16/24/32-bpp color format support
• YUV input support (4:2:2, 2-planar)
2.1.17 IIS Multi Audio Interface
•1 ports audio interface with DMA-based
operation.
•Up to 5.1ch, three 32bit 16depth Tx FIFOs, One
32bit 16depth Rx FIFO
• Serial, 8-/16-/24- bit per channel data transfers
• Supports IIS format and MSB-justified data
format
2.1.18 AC97 Audio Interface
•1port AC97 for audio interface with DMA-based
operation
•16-bit Stereo Audio
2.1.19 PCM Audio Interface
• Mono, 16bit PCM, 1 ports audio interface.
• Master mode only, this block always sources the
main shift clock
•Input (16bit 32depth) and output(16bit 32depth)
FIFOs to buffer data
2.1.20 USB Host
• 2-port USB Host
• Complies with OHCI Rev. 1.0
• Compatible with USB Specification version 1.1
2.1.21 USB Device
• 1-port USB Device
• 9 Endpoints for USB Device
• Compatible with USB Specification version 2.0
2.1.22 SD/MMC Host Interface
• SD Standard Host Spec(ver2.0) compatible
• Dedicated DMA access support
• Compatible with SD Memory Card Protocol
version 2.1
• Compatible with SDIO Card Protocol version 1.0
• Compatible with HS-MMC Protocol version 4.2
• 512 Bytes FIFO for Tx/Rx
• CE-ATA mode support
2.1.23 SPI Interface
•Compatible with 1-ch Serial Peripheral Interface
Protocol version 2.11 (1ch. High speed SPI
interface)
•2x8 bits Shift register for Tx/Rx
DMA-based or interrupt-based operation
•
2.1.24 Operating Voltage Range
•Core: 1.3V for 400MHz
TBD for 266MHz
ROM/SRAM: 1.8V/ 2.5V/ 3.0V/ 3.3V
SDRAM: 1.8V/ 2.5V
•I/O: 1.8V/2.5V/3.3V(refer to electrical data)
2.1.25 Operating Frequency
• FCLK Up to 400(266)MHz
• HCLK Up to 133MHz
• PCLK Up to 67MHz
2.1.26 Package
• 330 FBGA 14x14
1-4
S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW
3 BLOCK DIAGRAM
Figure 1-1. S3C2416X Block Diagram
1-5
PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR
4 PIN ASSIGNMENTS
Figure 1-2. S3C2416X Pin Assignments (330-FBGA, 0.65mm pitch) Top view
1-6
S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW
Table 1-1. 400-Pin FBGA Pin Assignments − Pin Number Order (1/3)
Pin Pin Name Ball Pin Pin Name BallPinPin Name Ball
1. The @BUS REQ. shows the pin state at the external bus, which is used by the other bus master.
2. ' – ‘ mark indicates the unchanged pin state at Bus Request mode.
3. Hi-z or Pre means Hi-z or early state and it is determined by the setting of MISCCR register.
4. AI/AO means analog input/analog output.
5. P, I, and O mean power, input and output respectively.
6. The I/O state @nRESET shows the pin status in the @nRESET duration below.
@nRESET > 10 cycle4 OSC in
nRESET
EXTCLK
1-21
PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR
Table 1-3. I/O Cell Types and Descriptions
Cell Name Ftn.
Interface
Voltage
CMOS
/Schmitt
Retention
IO
Pull-up
/Control
Pull-down
/Control
Driver Strength
Pvhbdc Bi 1.8/2.5/3.3V analog - - - -
Pvhbr Bi 1.8/2.5/3.3V analog - - - -
pvhbsudtart Bi 1.8/2.5/3.3V Schmit Y Y Y 2.6/5.2/7.8/10.5mA
pvhbsudtart_alv Bi 1.8/2.5/3.3V Schmit N Y Y 2.6/5.2/7.8/10.5mA
pvhbsudtbrt Bi 1.8/2.5/3.3V Schmit Y Y Y 3.3/6.6/9.9/13.2mA
pvhckdsrt I 1.8/2.5/3.3V Schmit - N N -
pvhsosca OSC 1.8/2.5/3.3V Schmit - N N X1(2.5/3.3),X2(1.8)
pvhsoscbrt OSC 1.8/2.5/3.3V schmit Y N N X1/X2/X3/X4
Pvhtbr Bi 1.8/2.5/3.3V analog - - - -
pvhtbr00_efuse Bi 1.8/2.5/3.3V analog - - - -
pvmbsudtbrt Bi 1.8/2.5V schmit Y Y Y 4.9/9.8/14.8/19.7mA
usb6002x1_t Bi 1.8/2.5/3.3V
vddicvlh_alv PWR 1.3V
vddivh_alv PWR 1.3V
vddivh_usb_alv PWR 1.2V
vddrtcvh_alv PWR 1.8/2.5/3.3V
vddtvh_alv PWR 1.8/2.5/3.3V
vddtvlh_alv PWR 1.3V
vddtvm_alv PWR 1.8V
vssicvlh_alv GND 0V
vssipvh_alv GND 0V
vssipvh_usb_al
v
GND 0V
vsstvh_alv GND 0V
vsstvlh_alv
vsstvm_alv
GND 0V
GND 0V
1-22
S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW
4.1 SIGNAL DESCRIPTIONS
Table 1-4. S3C2416X Signal Descriptions
Signal In/Out Description
Reset, Clock & Power
XTIpll AI Crystal input signals for internal osc circuit.
When OM[0] = 0, XTIpll is used for MPLL CLK source and EPLL CLK
source.
If it isn't used, it has to be Low (0V)
XTOpll AO Crystal output signals for internal osc circuit.
When OM[0] = 0, XTIpll is used for MPLL CLK source and EPLL CLK
source. If it isn't used, it has to be float
NC AI Not connected.
EPLLCAP AI Loop filter capacitor for Extra PLL
XTIrtc AI 32.768 kHz crystal input for RTC. If it isn’t used, it has to be High
(VDD_RTC=3.3V).
XTOrtc AO 32.768 kHz crystal output for RTC. If it isn’t used, it has to be float.
CLKOUT[1:0] O Clock output signal. The CLKSEL of MISCCR(GPIO register) register
configures the clock output mode among the MPLL_CLK, EPLL CLK,
ARMCLK, HCLK, PCLK.
nRESET ST nRESET suspends any operation in progress and places S3C2416X into
a known reset state. For a reset, nRESET must be held to L level for at
least 4 OSCin after the processor power has been stabilized.
nRSTOUT O For external device reset control (nRSTOUT = nRESET & nWDTRST &
SW_RESET) *SW_RESET = nRSTCON of GPIO MISCCR
PWREN O core power on-off control signal
nBATT_FLT I Probe for battery state (Does not wake up at Sleep mode in case of low
battery state). If it isn’t used, it has to be High (3.3V).
OM[4:0] I OM[4:0] set operating modes of S3C2416X
Refer to “S3C2416X Operation Mode Description Table”
EXTCLK I External clock source.
When OM[0] = 1, EXTCLK is used for MPLL and EPLL CLK source.
If it isn't used, it has to be Low (0V).
Memory Interface (ROM/SRAM/NAND)
RADDR[25:0] O RADDR[25:0] (Address Bus) outputs the memory address of the
corresponding bank .
RDATA[15:0] IO RDATA[15:0] (Data Bus) inputs data during memory read and outputs
data during memory write. The bus width is programmable among 8/16-
bit.
nRCS[5:0] O nRCS[5:0] (Chip Select) are activated when the address of a memory is
within the address region of each bank. The number of access cycles and
the bank size can be programmed.
nRWE O nRWE (Write Enable) indicates that the current bus cycle is a write cycle.
nROE O nOE (Output Enable) indicates that the current bus cycle is a read cycle.
1-23
PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR
Signal In/Out Description
nRBE[1:0] O Upper byte/lower byte enable (In case of 16-bit SRAM)
nWAIT I nWAIT requests to prolong a current bus cycle. As long as nWAIT is L,
the current bus cycle cannot be completed. If nWAIT signal isn’t used in
your system, nWAIT signal must be tied on pull-up resistor.
SDRAM I/F
SADDR[15:0] O SDRAM Address bus
SDATA[31:0] IO SDRAM Data Bus
nSRAS O SDRAM row address strobe
nSCAS O SDRAM column address strobe
nSWE O SDRAM write enable
nSCS[1:0] O SDRAM chip select
DQM[3:0] O SDRAM data mask
DQS[1:0] O mDDR/DDR2 Data Strobe
SCLK O SDRAM clock
nSCLK O mDDR/DDR2 Conversion clock
SCKE O SDRAM clock enable
NAND Flash
FCLE O Command latch enable
FALE O Address latch enable
nFCE O Nand flash chip enable
nFRE O Nand flash read enable
nFWE O Nand flash write enable
FRnB I Nand flash ready/busy
SMC/OneNAND
RSMCLK I/O SMC Clock
RSMVAD O SMC Address Valid
RSMBWAIT O SMC Burst Wait
LCD Control Unit
RGB_VD/SYS_VD[23:0] O RGB I/F Video Data: RGB_VD[23:0]
i80 I/F Video DataSYS_VD[17:0]
RGB_VCLK/SYS_WR O RGB I/F LCD Clock
i80 I/F Write Enable
RGB_VSYNC/SYS_CS1 O RGB I/F Vertical Sync. Signal
i80 I/F Sub LCD Select
RGB_HSYNC/SYS_CS0 O RGB I/F Horizontal Sync. Signal
i80 I/F Main LCD Select
RGB_VDEN/SYS_RS O RGB I/F Data Enable
i80 I/F Register/ State select
1-24
S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW
Signal In/Out Description
RGB_LEND/SYS_OE O RGB I/F Line End Signal
i80 I/F Output Enable
Interrupt Control Unit
EINT[15:0] I External interrupt request
External I/F
nXDREQ[1:0] I External DMA request
nXDACK[1:0] O External DMA acknowledge
nXBREQ I nXBREQ (Bus Hold Request) allows another bus master to request
control of the local bus. nXBACK active indicates that bus control has
been granted.
nXBACK O nXBACK (Bus Hold Acknowledge) indicates that the S3C2416X has
surrendered control of the local bus to another bus master.
UART
RXD[3:0] I UART receives data input (ch. 0/1/2)
TXD[3:0] O UART transmits data output (ch. 0/1/2)
nCTS[2:0] I UART clear to send input signal (ch. 0/1)
nRTS[2:0] O UART request to send output signal (ch. 0/1)
EXTUARTCLK I External clock input for UART
TSADC
AIN[9:0] AI ADC input [9:0]. If do not use ADC function, AIN [9] and AIN [7] pins are
tied to VDDA_ADC. Others are tied to GND.
When touch screen device is used, A[6], A[7] , A[8] and A[9] are used as
YM, YP, XM and XP, respectively.
Vref AI ADC reference voltage
IIC-Bus
IICSDA IO IIC-bus data
IICSCL IO IIC-bus clock
IIS-Multi Audio Interface
I2SLRCK IO IIS-bus channel select clock
I2SSCLK IO IIS-bus serial clock
I2SCDCLK IO CODEC system clock
I2SSDI I IIS-bus serial data input
I2SSDO O IIS-bus serial data output(Front Left, Right)
I2SSDO_1 O IIS-bus serial data output(Front Center, LFE)
I2SSDO_2 O IIS-bus serial data output(Rear Left, Right)
AC’97
AC_nRESET IO AC’97 Master H/W Reset
AC_SYNC IO 12.288MHz serial data clock
AC_BIT_CLK0 O 48kHz fixed rate sample sync
1-25
PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR
Signal In/Out Description
AC_SDI0 I Serial, time division multiplexed, AC’97 input stream
AC_SDO0 O Serial, time division multiplexed, AC’97 output stream
PCM
PCM0_SCLK O Serial shift clock
PCM0_FSYNC O Serial data indicator and synchronizer
PCM0_SDI I Serial PCM input data
PCM0_SDO O Serial PCM output data
PCM0_CDCLK I Optional External Clock source
USB Host
DN IO
DP IO
DATA(–) from USB host. (Need to 15kΩ pull-down)
DATA(+) from USB host. (Need to 15kΩ pull-down)
USB Device
DM_UDEV IO DATA(–) for USB peripheral.
DP_UDEV IO DATA(+) for USB peripheral.
REXT O External Resistor ( 44.2ohm +/- 1%)
XO_UDEV OSC Crystal output
XI_UDEV OSC Crystal input
SPI
SPIMISO IO SPIMISO is the master data input line, when SPI is configured as a
master.
When SPI is configured as a slave, these pins reverse its role.
SPIMOSI IO SPIMOSI is the master data output line, when SPI is configured as a
master.
When SPI is configured as a slave, these pins reverse its role.
SPICLK IO SPI clock
nSS I SPI chip select (only for slave mode)
SDMMC Interface
SD1_DAT[3:0] IO SD1 receive/transmit data
SD1_CMD IO SD1 receive response/ transmit command
SD1_CLK O SD1 clock
SD0_DAT[3:0] IO SD0 receive/transmit data
SD0_CMD IO SD0 receive response/ transmit command
SD0_CLK O SD0 clock
General Port
GPn[137:0] IO General input/output ports, which are multiplexed with other function pins
(some ports are output only).
TIMMER/PWM
TOUT[3:0] O Timer output[3:0]
TCLK I External timer clock input
1-26
S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW
Signal In/Out Description
JTAG TEST LOGIC
nTRST I nTRST (TAP Controller Reset) resets the TAP controller at start.
If debugger is used, A 10K pull-up resistor has to be connected.
If debugger (black ICE) is not used, nTRST pin must be issued by a low
active pulse (Typically connected to nRESET).
TMS I TMS (TAP Controller Mode Select) controls the sequence of the TAP
controller's states.
TCK I TCK (TAP Controller Clock) provides the clock input for the JTAG logic.
TDI I TDI (TAP Controller Data Input) is the serial input for test instructions and
data.
TDO O TDO (TAP Controller Data Output) is the serial output for test instructions
and data.
RTCK O Returned Clock
Power
VDDalive P S3C2416X reset block and port status register VDD.
It should be always supplied whether in normal mode or in Sleep mode.
VDDiarm P S3C2416X core logic VDD for ARM core.
VDDi P S3C2416X core logic VDD for Internal block.
VDDA_MPLL P S3C2416X MPLL analog and digital VDD.
VDDA_EPLL P S3C2416X EPLL analog and digital VDD
VDD_SDRAM P S3C2416X SDRAM I/O Power (1.8V/ 2.5V)
VDD_SRAM P S3C2416X ROM/SRAM I/O Power
VDD_OP1 P S3C2416X System I/O Power 1 (1.8 ~ 3.3V)
VDD_OP2 P S3C2416X System I/O Power 2 ( 1.8 ~ 3.3V)
VDD_OP3 P S3C2416X System I/O Power 3 ( 1.8 ~ 3.3V)
VDD_LCD P S3C2416X LCD I/O Power (1.8 ~ 3.3V)
VDD_SD P S3C2416X SD/MMC I/O Power (1.8 ~ 3.3V)
VDD_RTC P RTC VDD (3.0V, Input range: 1.8 ~ 3.6V)
This pin must be connected to power properly if RTC isn't used.
VDDA_ADC P S3C2416X ADC VDD(3.3V)
VSSi/VSSiarm G S3C2416X core logic VSS
VSSA_MPLL G S3C2416X MPLL analog and digital VSS.
VSSA_EPLL G S3C2416X EPLL analog and digital VSS
VSS_SDRAM G S3C2416X SDRAM I/O Ground
VSS_SRAM G S3C2416X ROM/SRAM I/O Ground
VSS_OP1 G S3C2416X System I/O Ground
VSS_OP2 G S3C2416X System I/O Ground
VSS_OP3 G S3C2416X System I/O Ground
VSS_LCD G S3C2416X LCD I/O Ground
VSS_SD G S3C2416X SD/MMC I/O Ground
1-27
PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR
Signal In/Out Description
VSSA_ADC G S3C2416X ADC VSS
VDD_USBOSC P USB 2.0 Oscillator Power(1.8 ~ 3.3V)
VDDI_UDEV P USB 2.0 PHY Power ( 1.2V)
VSSI_UDEV G USB 2.0 PHY Ground
VDDA33C/VDDA33T1 P USB 2.0 PHY Power ( 3.3V)
VSSA33C/VSSA33T2 G USB 2.0 PHY Ground
NOTE: I/O : Input/Output. AI/AO : Analog I/O. ST : Schmitt-trigger. P : Power. G : Ground.
BANKCFG 0x48000000 0x00099F0DWR/W Mobile DRAM configuration register
BANKCON1 0x48000004 0x00000008WR/W Mobile DRAM control register
BANKCON2 0x48000008 0x00000008WR/W Mobile DRAM timing control register
BANKCON3 0x4800000C 0x00000008WR/W Mobile DRAM (E)MRS Register
REFRESH 0x48000010 0x00000020WR/W Mobile DRAM refresh control register
TIMEOUT 0x48000014 0x00000000WR/W Write Buffer Time out control register
MATRIX & EBI
BPRIORITY0 0X4E800000 0x0000_0004WR/W Matrix Core 0 priority control register
BPRIORITY1 0X4E800004 0x0000_0004WR/W Matrix Core 1 priority control register
EBICON 0X4E800008 0x0000_0004WR/W EBI control register
Memory Controllers ( SSMC )
SMBIDCYR0 0x4F000000 0x0000000FWR/W Bank0 idle cycle control register
SMBIDCYR1 0x4F000020 0x0000000FWR/W Bank1 idle cycle control register
SMBIDCYR2 0x4F000040 0x0000000FWR/W Bank2 idle cycle control register
SMBIDCYR3 0x4F000060 0x0000000FWR/W Bank3 idle cycle control register
SMBIDCYR4 0x4F000080 0x0000000FWR/W Bank4 idle cycle control register
SMBIDCYR5 0x4F0000A0 0x0000000FWR/W Bank5 idle cycle control register
SMBWSTRDR0 0x4F000004 0x0000001WR/W Bank0 read wait state control register
SMBWSTRDR1 0x4F000024 0x0000001FWR/W Bank1 read wait state control register
SMBWSTRDR2 0x4F000044 0x0000001FWR/W Bank2 read wait state control register
SMBWSTRDR3 0x4F000064 0x0000001FWR/W Bank3 read wait state control register
SMBWSTRDR4 0x4F000084 0x0000001FWR/W Bank4 read wait state control register
SMBWSTRDR5 0x4F0000A4 0x0000001FWR/W Bank5 read wait state control register
SMBWSTWRR0 0x4F000008 0x0000001FWR/W Bank0 write wait state control register
SMBWSTWRR1 0x4F000028 0x0000001FWR/W Bank1 write wait state control register
SMBWSTWRR2 0x4F000048 0x0000001FWR/W Bank2 write wait state control register
SMBWSTWRR3 0x4F000068 0x0000001FWR/W Bank3 write wait state control register
SMBWSTWRR4 0x4F000088 0x0000001FWR/W Bank4 write wait state control register
SMBWSTWRR5 0x4F0000A8 0x0000001FWR/W Bank5 write wait state control register
SMBWSTOENR0 0x4F00000C 0x00000002WR/W Bank0 output enable assertion delay
HcRevision 0x49000000 WR/W Control and status group
HcControl 0x49000004 R/W
HcCommonStatus 0x49000008 R/W
HcInterruptStatus 0x4900000C R/W
HcInterruptEnable 0x49000010 R/W
HcInterruptDisable 0x49000014 R/W
HcHCCA 0x49000018 R/W Memory pointer group
HcPeriodCuttentED 0x4900001C R/W
HcControlHeadED 0x49000020 R/W
HcControlCurrentED 0x49000024 R/W
HcBulkHeadED 0x49000028 R/W
HcBulkCurrentED 0x4900002C R/W
HcDoneHead 0x49000030 R/W Frame counter group
HcRmInterval 0x49000034 R/W
HcFmRemaining 0x49000038 R/W
HcFmNumber 0x4900003C R/W
HcPeriodicStart 0x49000040 R/W
HcLSThreshold 0x49000044 R/W
HcRhDescriptorA 0x49000048 R/W Root hub group
Unit
Read/
Write
Function
1-34
S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW
A
cc.
Register Name Address Reset Value
HcRhDescriptorB 0x4900004C R/W
HcRhStatus 0x49000050 R/W
HcRhPortStatus1 0x49000054 R/W
HcRhPortStatus2 0x49000058 R/W
DMA
DISRC0 0x4B000000 WR/W DMA 0 initial source
DISRCC0 0x4B000004 R/W DMA 0 initial source control
DIDST0 0x4B000008 R/W DMA 0 initial destination
DIDSTC0 0x4B00000C R/W DMA 0 initial destination control
DCON0 0x4B000010 R/W DMA 0 control
DSTAT0 0x4B000014 R DMA 0 count
DCSRC0 0x4B000018 R DMA 0 current source
DCDST0 0x4B00001C R DMA 0 current destination
DMASKTRIG0 0x4B000020 R/W DMA 0 mask trigger
DMAREQSEL0 0x4B000024 R/W DMA0 Request Selection Register
DISRC1 0x4B000100 WR/W DMA 1 initial source
DISRCC1 0x4B000104 R/W DMA 1 initial source control
DIDST1 0x4B000108 R/W DMA 1 initial destination
DIDSTC1 0x4B00010C R/W DMA 1 initial destination control
DCON1 0x4B000110 R/W DMA 1 control
DSTAT1 0x4B000114 R DMA 1 count
DCSRC1 0x4B000118 R DMA 1 current source
DCDST1 0x4B00011C R DMA 1 current destination
DMASKTRIG1 0x4B000120 R/W DMA 1 mask trigger
DMAREQSEL1 0x4B000124 R/W DMA1 Request Selection Register
DISRC2 0x4B000200 WR/W DMA 2 initial source
DISRCC2 0x4B000204 R/W DMA 2 initial source control
DIDST2 0x4B000208 R/W DMA 2 initial destination
DIDSTC2 0x4B00020C R/W DMA 2 initial destination control
DCON2 0x4B000210 R/W DMA 2 control
DSTAT2 0x4B000214 R DMA 2 count
DCSRC2 0x4B000218 R DMA 2 current source
DCDST2 0x4B00021C R DMA 2 current destination
DMASKTRIG2 0x4B000220 R/W DMA 2 mask trigger
DMAREQSEL2 0x4B000224 R/W DMA2 Request Selection Register
DISRC3 0x4B000300 WR/W DMA 3 initial source
DISRCC3 0x4B000304 R/W DMA 3 initial source control
Unit
Read/
Write
Function
1-35
PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR
A
cc.
Register Name Address Reset Value
DIDST3 0x4B000308 R/W DMA 3 initial destination
DIDSTC3 0x4B00030C R/W DMA 3 initial destination control
DCON3 0x4B000310 R/W DMA 3 control
DSTAT3 0x4B000314 R DMA 3 count
DCSRC3 0x4B000318 R DMA 3 current source
DCDST3 0x4B00031C R DMA 3 current destination
DMASKTRIG3 0x4B000320 R/W DMA 3 mask trigger
DMAREQSEL3 0x4B000324 R/W DMA3 Request Selection Register
DISRC4 0x4B000400 WR/W DMA 4 initial source
DISRCC4 0x4B000404 R/W DMA 4 initial source control
DIDST4 0x4B000408 R/W DMA 4 initial destination
DIDSTC4 0x4B00040C R/W DMA 4 initial destination control
DCON4 0x4B000410 R/W DMA 4 control
DSTAT4 0x4B000414 R DMA 4 count
DCSRC4 0x4B000418 R DMA 4 current source
DCDST4 0x4B00041C R DMA 4 current destination
DMASKTRIG4 0x4B000420 R/W DMA 4 mask trigger
DMAREQSEL4 0x4B000424 R/W DMA4 Request Selection Register
DISRC5 0x4B000500 WR/W DMA 5 initial source
DISRCC5 0x4B000504 R/W DMA 5 initial source control
DIDST5 0x4B000508 R/W DMA 5 initial destination
DIDSTC5 0x4B00050C R/W DMA 5 initial destination control
DCON5 0x4B000510 R/W DMA 5 control
DSTAT5 0x4B000514 R DMA 5 count
DCSRC5 0x4B000518 R DMA 5 current source
DCDST5 0x4B00051C R DMA 5 current destination
DMASKTRIG5 0x4B000520 R/W DMA 5 mask trigger
DMAREQSEL5 0x4B000524 R/W DMA5 Request Selection Register
System Controller
LOCKCON0 0x4C00_0000 0x0000_FFFF WR/W MPLL lock time count register
LOCKCON1 0x4C00_0004 0x0000_FFFF EPLL lock time count register
OSCSET 0x4C00_0008 0x0000_8000 Oscillator stabilization control register
MPLLCON 0x4C00_0010 0x0185_40C0 MPLL configuration register
EPLLCON 0x4C00_0018 0x0120_0102 EPLL configuration register
EPLLCON_K 0x4C00_001C 0x0000_0000 EPLL configuration register
CLKSRC 0x4C00_0020 0x0000_0000Clock source control register
Unit
Read/
Write
Function
for K Value
1-36
S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW
A
cc.
Register Name Address Reset Value
CLKDIV0 0x4C00_0024 0x0000_000CClock divider ratio control register0
CLKDIV1 0x4C00_0028 0x0000_0000Clock divider ratio control register1
CLKDIV2 0x4C00_002C 0x0000_0000Clock divider ratio control register2
HCLKCON 0x4C00_0030 0xFFFF_FFFFHCLK enable register
PCLKCON 0x4C00_0034 0xFFFF_FFFFPCLK enable register
SCLKCON 0x4C00_0038 0xFFFF_DFFFSpecial clock enable register
PWRMODE 0x4C00_0040 0x0000_0000Power mode control register
SWRST 0x4C00_0044 0x0000_0000Software reset control register
BUSPRI0 0x4C00_0050 0x0000_0000Bus priority control register 0
PWRCFG 0x4C00_0060 0x0000_0000 Power management configuration register
RSTCON 0x4C00_0064 0x0006_0101R Reset control register
RSTSTAT 0x4C00_0068 0x0000_0001 R/W Reset status register
WKUPSTAT 0x4C00_006C 0x0000_0000Wake-up status register
INFORM0 0x4C00_0070 0x0000_0000R SLEEP mode information register 0
INFORM1 0x4C00_0074 0x0000_0000R/W SLEEP mode information register 1
INFORM2 0x4C00_0078 0x0000_0000SLEEP mode information register 2
INFORM3 0x4C00_007C 0x0000_0000SLEEP mode information register 3
PHYCTRL 0x4C00_0080 0x0000_0000USB PHY control register
PHYPWR 0x4C00_0084 0x0000_0000USB PHY power control register
URSTCON 0x4C00_0088 0x0000_0000USB PHY Reset control register
UCLKCON 0x4C00_008C 0x0000_0000USB PHY clock control register
LCD Controller
VIDCON0 0x4C80_0000 0x0000_0000WR/W Video control 0 register
VIDCON1 0x4C80_0004 0x0000_0000WR/W Video control 1 register
VIDTCON0 0x4C80_0008 0x0000_0000WR/W Video time control 0 register
VIDTCON1 0x4C80_000C 0x0000_0000WR/W Video time control 1 register
VIDTCON2 0x4C80_0010 0x0000_0000WR/W Video time control 2 register
WINCON0 0x4C80_0014 0x0000_0000WR/W Window control 0 register
WINCON1 0x4C80_0018 0x0000_0000WR/W Window control 1 register
VIDOSD0A 0x4C80_0028 0x0000_0000WR/W Video Window 0’s position control register
VIDOSD0B 0x4C80_002C 0x0000_0000WR/W Video Window 0’s position control register
VIDOSD1A 0x4C80_0034 0x0000_0000WR/W Video Window 1’s position control register
VIDOSD1B 0x4C80_0038 0x0000_0000WR/W Video Window 1’s position control register
VIDOSD1C 0x4C80_003C 0x0000_0000WR/W Video Window 1’s alpha value register
VIDW00ADD0B0 0x4C80_0064 0x0000_0000WR/W Window 0’s buffer start address register,
VIDW00ADD1B1 0x4C80_0080 0x0000_0000WR/W Window 0’s buffer end address register,
VIDW01ADD1 0x4C80_0084 0x0000_0000WR/W Window 1’s buffer end address register
VIDW00ADD2B0 0x4C80_0094 0x0000_0000WR/W Window 0’s buffer size register, buffer 0
VIDW00ADD2B1 0x4C80_0098 0x0000_0000WR/W Window 0’s buffer size register, buffer 1
VIDW01ADD2 0x4C80_009C 0x0000_0000WR/W Window 1’s buffer size register
VIDINTCON 0x4C80_00AC 0x03F0_0000WR/W Indicate the Video interrupt control register
W1KEYCON0 0x4C80_00B0 0x0000_0000WR/W Color key control register
W1KEYCON1 0x4C80_00B4 0x0000_0000WR/W Color key value (transparent value) register
W2KEYCON0 0x4C80_00B8 0x0000_0000WR/W Color key control register
W2KEYCON1 0x4C80_00BC 0x0000_0000 WR/W Color key value (transparent value) register
W3KEYCON0 0x4C80_00C0 0x0000_0000WR/W Color key control register
W3KEYCON1 0x4C80_00C4 0x0000_0000 WR/W Color key value (transparent value) register
W4KEYCON0 0x4C80_00C8 0x0000_0000WR/W Color key control register
W4KEYCON1 0x4C80_00CC 0x0000_0000 WR/W Color key value (transparent value) register
WIN0MAP 0x4C80_00D0 0x0000_0000WR/W Window color control
WIN1MAP 0x4C80_00D4 0x0000_0000WR/W Window color control
WPALCON 0x4C80_00E4 0x0000_0000WR/W Window Palette control register
SYSIFCON0 0x4C80_0130 0x0000_0000 WR/W System Interface control for Main LDI
SYSIFCON1 0x4C80_0134 0x0000_0000 WR/W System Interface control for Sub LDI
DITHMODE 0x4C80_0138 0x0000_0000WR/W Dithering mode register.
SIFCCON0 0x4C80_013C 0x0000_0000WR/W System interface command control
SIFCCON1 0x4C80_0140 0x0000_0000WR/W SYS IF command data write control
SIFCCON2 0x4C80_0144 0x0000_0000WR SYS IF command data read control
CPUTRIGCON2 0x4C80_0160 0x0000_0000WR/W CPU trigger source mask
WIN0 Palette RAM 0x4C80_0400~
ESR 0x4980_002C 0x0 R/W Endpoints Status Register
ECR 0x4980_0030 0x0 R/W Endpoints Control Register
BRCR 0x4980_0034 0x0 R Byte Read Count Register
BWCR 0x4980_0038 0x0 R/W Byte Write Count Register
MPR 0x4980_003C 0x0 R/W Max Packet Register
DCR 0x4980_0040 0x0 R/W DMA Control Register
DTCR 0x4980_0044 0x0 R/W DMA Transfer Counter Register
DFCR 0x4980_0048 0x0 R/W DMA FIFO Counter Register
DTTCR1 0x4980_004C 0x0 R/W DMA Total Transfer Counter1 Register
DTTCR2 0x4980_0050 0x0 R/W DMA Total Transfer Counter2 Register
MICR 0x4980_0084 0x0 R/W Master Interface Control Register
MBAR 0x4980_0088 0x0 R/W Memory Base Address Register
MCAR 0x4980_008C 0x0 R Memory Current Address Register
Watchdog Timer
WTCON 0x53000000 0x0000_8021WR/W Watchdog timer mode
WTDAT 0x53000004 0x0000_8000Watchdog timer data
WTCNT 0x53000008 0x0000_8000Watchdog timer count
IIC
IICCON0 0x54000000 WR/W IIC0 control
IICSTAT0 0x54000004 IIC0 status
IICADD0 0x54000008 IIC0 address
IICDS0 0x5400000C IIC0 data shift
IICLC0 0x54000010 IIC0 multi-master line control
IIS Multi Audio Interface
IISCON 0x55000000 0xC600 WR/W IIS control
IISMOD 0x55000004 0x0 IIS mode
I2SFIC 0x55000008 0x0 I2S interface FIFO control register
I2SPSR 0x5500000C 0x0 I2S interface clock divider control register
I2STXD 0x55000010 0x0 W I2S interface transmit data register
I2SRXD 0x55000014 0x0 R I2S interface receive data register
I/O port
GPACON 0x56000000 0xFFFFFF WR/W Port A control
GPADAT 0x56000004 0x0 WR/W Port A data
GPBCON 0x56000010 0x0 WR/W Port B control
GPBDAT 0x56000014 0x0 WR/W Port B data
GPBUDP 0x56000018 0x00155555WR/W Pull-up/down control B
GPBSEL 0x5600001c 0x1 WR/W Selects the function of port B
Unit
Read/
Write
Function
1-42
S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW
A
cc.
Register Name Address Reset Value
GPCCON 0x56000020 0x0 WR/W Port C control
GPCDAT 0x56000024 0x0 WR/W Port C data
GPCUDP 0x56000028 0x55555555WR/W Pull-up/down control C
GPDCON 0x56000030 0x0 WR/W Port D control
GPDDAT 0x56000034 0x0 WR/W Port D data
GPDUDP 0x56000038 0x55555555WR/W Pull-up/down control D
GPECON 0x56000040 0x0 WR/W Port E control
GPEDAT 0x56000044 0x0 WR/W Port E data
GPEUDP 0x56000048 0x55555555WR/W Pull-up/down control E
GPESEL 0x5600004c 0x0 WR/W Selects the function of port E
GPFCON 0x56000050 0x0 WR/W Port F control
GPFDAT 0x56000054 0x0 WR/W Port F data
GPFUDP 0x56000058 0x5555 WR/W Pull-up/down control F
GPGCON 0x56000060 0x0 WR/W Port G control
GPGDAT 0x56000064 0x0 WR/W Port G data
GPGUDP 0x56000068 0x55555555WR/W Pull-up/down control G
GPHCON 0x56000070 0x0 WR/W Port H control
GPHDAT 0x56000074 0x0 WR/W Port H data
GPHUDP 0x56000078 0x15555555WR/W Pull-up/down control H
GPJCON 0x560000D0 0x0 WR/W Port J control
GPJDAT 0x560000D4 0x0 WR/W Port J data
GPJUDP 0x560000D8 0x55555555WR/W Pull-up/down control J
GPJSEL 0x560000dc 0x0 WR/W Selects the function of port J
GPKCON 0x560000E0 0xAAAAAAAA WR/W Port K control
GPKDAT 0x560000E4 0x0 WR/W Port K data
GPKUDP 0x560000E8 0x55555555WR/W Pull-up/down control K
GPLCON 0x560000F0 0x0 WR/W Port L control
GPLDAT 0x560000F4 0x0 WR/W Port L data
GPLUDP 0x560000F8 0x15555555WR/W Pull-up/down control L
GPLSEL 0x560000F C 0x0 WR/W Selects the function of port L
GPMCON 0x56000100 0xA WR/W Port M control
GPMDAT 0x56000104 0x0 RR Port M data
GPMUDP 0x56000108 0x0 WR/W Pull-up/down control M
MISCCR 0x56000080 0xD0010020WR/W Miscellaneous control
DCLKCON 0x56000084 0x0 WR/W DCLK0/1 control
EXTINT0 0x56000088 0x000000 WR/W External interrupt control register 0
EXTINT1 0x5600008C 0x000000 WR/W External interrupt control register 1
Unit
Read/
Write
Function
1-43
PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR
A
cc.
Register Name Address Reset Value
EXTINT2 0x56000090 0x000000 WR/W External interrupt control register 2
EINTFLT2 0x5600009c 0x000000 WR/W External interrupt control register 2
EINTFLT3 0x560000a0 0x000000 WR/W External interrupt control register 3
EINTMASK 0x560000a4 0x00FFFFF0WR/W External interrupt mask register
EINTPEND 0x560000a8 0x00 WR/W External interrupt pending register
GSTATUS0 0x560000ac - WR External pin status
GSTATUS1 0x560000b0 0x32440001WR Chip ID
DSC0 0x560000c0 0x2AAAAAAA WR/W Strength control register 0
DSC1 0x560000c4 0xAAAAAAAWR/W Strength control register 1
DSC2 0x560000c8 0xAAAAAAAWR/W Strength control register 2
DSC3 0x56000010 0x2AA WR/W Strength control register 3
PDDMCON 0x56000114 0x00411540WR/W Memory I/F control register
PDSMCON 0x56000118 0x05451500WR/W Memory I/F control register
RTC
RTCCON 0x57000040 0x00 HWR/W RTC control
TICNT0 0x57000044 0x0 BR/W Tick time count register 0
TICNT1 0x57000048 0x0 BR/W Tick time count register 1
TICNT2 0x5700004C 0x0 WR/W Tick time count register 2
RTCALM 0x57000050 0x0 BR/W RTC alarm control
ALMSEC 0x57000054 0x0 BR/W Alarm second
ALMMIN 0x57000058 0x00 BR/W Alarm minute
ALMHOUR 0x5700005C 0x0 BR/W Alarm hour
ALMDATE 0x57000060 0x01 BR/W Alarm day
ALMMON 0x57000064 0x01 BR/W Alarm month
ALMYEAR 0x57000068 0x0 BR/W Alarm year
BCDSEC 0x57000070 BR/W BCD second
BCDMIN 0x57000074 BR/W BCD minute
BCDHOUR 0x57000078 BR/W BCD hour
BCDDATE 0x5700007C BR/W BCD day
BCDDAY 0x57000080 BR/W BCD date
BCDMON 0x57000084 BR/W BCD month
BCDYEAR 0x57000088 BR/W BCD year
TICKCNT 0x57000090 0x0 WR Internal tick time counter
A/D Converter
ADCCON 0x58000000 WR/W ADC control
ADCTSC 0x58000004 ADC touch screen control
ADCDLY 0x58000008 ADC start or interval delay
Unit
Read/
Write
Function
1-44
S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW
A
cc.
Register Name Address Reset Value
ADCDAT0 0x5800000C R ADC conversion data
ADCDAT1 0x58000010 ADC conversion data
ADCUPDN 0x58000014 R/W Stylus up or down interrupt status
ADCMUX 0x58000018 R/W Analog input channel select
HSSPI(SPI Channel 0)
CH_CFG 0x52000000 0x40 R/W SPI configuration register
Clk_CFG 0x52000004 0x0 R/W Clock configuration register
MODE_CFG 0x52000008 0x0 R/W SPI FIFO control register
Slave_slection_reg 0x5200000C 0x1 R/W Slave selection signal
SPI_INT_EN 0x52000010 0x0 R/W SPI Interrupt Enable register
SPI_STATUS 0x52000014 0x0 R SPI status register
SPI_TX_DATA 0x52000018 0x0 W SPI TX DATA register
SPI_RX_DATA 0x5200001C 0x0 R SPI RX DATA register
Packet_Count_reg 0x52000020 0x0 R/W Count how many data master gets
Pending_clr_reg 0x52000024 0x0 R/W Pending clear register
SWAP_CFG 0x52000028 0x0 R/W SWAP config register
FB_Clk_sel 0x5200002C 0x3 R/W Feedback clock selecting register.
HSMMC Channel 0
SYSAD 0x4AC00000 0x00000000WR/W SDI control register
BLKSIZE 0x4AC00004 0x00000000 HWR/W Host DMA Buffer Boundary and Transfer
BLKCNT 0x4AC00006 0x00000000 HWR/W Blocks Count For Current Transfer
ARGUMENT 0x4AC00008 0x00000000 HWR/W Command Argument Register
TRNMOD 0x4AC0000C 0x00000000 HWR/W Transfer Mode Setting Register
CMDREG 0x4AC0000E 0x00000000 HWR/W Command Register
RSPREG0 0x4AC00010 0x00000000WROC Response Register 0
RSPREG1 0x4AC00014 0x00000000WROC Response Register 1
RSPREG2 0x4AC00018 0x00000000WROC Response Register 2
RSPREG3 0x4AC0001C 0x00000000WROC Response Register 3
BDATA 0x4AC00020 Not fixed WROC Buffer Data Register
PRNSTS 0x4AC00024 0x00000000WROC Present State Register
HOSTCTL 0x4AC00028 0x00000000BR/W Present State Register
PWRCON 0x4AC00029 0x00000000BR/W Present State Register
BLKGAP 0x4AC0002A 0x00000000BR/W Block Gap Control Register
WAKCON 0x4AC0002B 0x00000000BR/W Wakeup Control Register
CLKCON 0x4AC0002C 0x00000000 HWR/W Command Register
TIMEOUTCON 0x4AC0002E 0x00000000BR/W Timeout Control Register
NORINTSTSEN 0x4AC00034 0x00000000 HWR/W Normal Interrupt Status Enable Register
ERRINTSTSEN 0x4AC00036 0x00000000 HWR/W Error Interrupt Status Enable Register
NORINTSIGEN 0x4AC00038 0x00000000 HWR/W Normal Interrupt Signal Enable Register
ERRINTSIGEN 0x4AC0003A 0x00000000 HWR/W Error Interrupt Signal Enable Register
ACMD12ERRSTS 0x4AC0003C 0x00000000 HWROC Auto CMD12 Error Status Register
CAPAREG 0x4AC00040 0x05E80080WHWInit Capabilities Register
MAXCURR 0x4AC00048 0x00000000WHWInit Maximum Current Capabilities Register
FEAER 0x4AC00050 0x00000000 HWWO Force Event Auto CMD12 Error Interrupt
FEERR 0x4AC00052 0x00000000 HWWO Force Event Error Interrupt Register Error
ADMAERR 0x4AC00054 0x00000000WR/W ADMA Error Status Register
ADMASYSADDR 0x4AC00058 0x00000000WR/W ADMA System Address Register
CONTROL2 0x4AC00080 0x00000000WR/W Control register 2
CONTROL3 0x4AC00084 0x7F5F3F1FWR/W FIFO Interrupt Control
DEBUG 0x4AC00088 Not fixed WR/W Debug register
CONTROL4 0x4AC0008C 0x00000000WR/W
HCVER 0x4AC000FE 0x00000401 HW HWInit Host Controller Version Register
HSMMC Channel 1
SYSAD 0x4A800000 0x00000000WR/W SDI control register
BLKSIZE 0x4A800004 0x00000000 HWR/W Host DMA Buffer Boundary and Transfer
BLKCNT 0x4A800006 0x00000000 HWR/W Blocks Count For Current Transfer
ARGUMENT 0x4A800008 0x00000000 HWR/W Command Argument Register
TRNMOD 0x4A80000C 0x00000000 HWR/W Transfer Mode Setting Register
CMDREG 0x4A80000E 0x00000000 HWR/W Command Register
RSPREG0 0x4A800010 0x00000000WROC Response Register 0
RSPREG1 0x4A800014 0x00000000WROC Response Register 1
RSPREG2 0x4A800018 0x00000000WROC Response Register 2
RSPREG3 0x4A80001C 0x00000000WROC Response Register 3
BDATA 0x4A800020 Not fixed WROC Buffer Data Register
PRNSTS 0x4A800024 0x00000000WROC Present State Register
HOSTCTL 0x4A800028 0x00000000BR/W Present State Register
Unit
Read/
Write
RW1C
RW1C
Function
Normal Interrupt Status Register
Error Interrupt Status Register
Register Error Interrupt
Interrupt
(Control Register 3)
Block Size Register
1-46
S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW
A
cc.
Register Name Address Reset Value
PWRCON 0x4A800029 0x00000000BR/W Present State Register
BLKGAP 0x4A80002A 0x00000000BR/W Block Gap Control Register
WAKCON 0x4A80002B 0x00000000BR/W Wakeup Control Register
CLKCON 0x4A80002C 0x00000000 HWR/W Command Register
TIMEOUTCON 0x4A80002E 0x00000000BR/W Timeout Control Register
SWRST 0x4A80002F 0x00000000BR/W Software Reset Register
NORINTSTS 0x4A800030 0x00000000 HWROC/
ERRINTSTS 0x4A800032 0x00000000 HWROC/
NORINTSTSEN 0x4A800034 0x00000000 HWR/W Normal Interrupt Status Enable Register
ERRINTSTSEN 0x4A800036 0x00000000 HWR/W Error Interrupt Status Enable Register
NORINTSIGEN 0x4A800038 0x00000000 HWR/W Normal Interrupt Signal Enable Register
ERRINTSIGEN 0x4A80003A 0x00000000 HWR/W Error Interrupt Signal Enable Register
ACMD12ERRSTS 0x4A80003C 0x00000000 HWROC Auto CMD12 Error Status Register
CAPAREG 0x4A800040 0x05E80080WHWInit Capabilities Register
MAXCURR 0x4A800048 0x00000000WHWInit Maximum Current Capabilities Register
FEAER 0x4A800050 0x00000000 HWWO Force Event Auto CMD12 Error Interrupt
FEERR 0x4A800052 0x00000000 HWWO Force Event Error Interrupt Register Error
ADMAERR 0x4A800054 0x00000000WR/W ADMA Error Status Register
ADMASYSADDR 0x4A800058 0x00000000WR/W ADMA System Address Register
CONTROL2 0x4A800080 0x00000000WR/W Control register 2
CONTROL3 0x4A800084 0x7F5F3F1FWR/W FIFO Interrupt Control
DEBUG 0x4A800088 Not fixed WR/W Debug register
CONTROL4 0x4A80008C 0x00000000WR/W
HCVER 0x4A8000FE 0x00000401 HW HWInit Host Controller Version Register
AC97 Audio-CODEC Interface
AC_GLBCTRL 0x5B000000 0x0 WR/W AC97 global control register
AC_GLBSTAT 0x5B000004 0x1 R AC97 global status register
AC_CODEC_CMD 0x5B000008 0x0 R/W AC97 codec command register
AC_CODEC_STAT 0x5B00000C 0x0 R AC97 codec status register
AC_PCMADDR 0x5B000010 0x0 R AC97 PCM out/in channel FIFO address
AC_MICADDR 0x5B000014 0x0 R AC97 mic in channel FIFO address register
AC_PCMDATA 0x5B000018 0x0 R/W AC97 PCM out/in channel FIFO data
Unit
Read/
Write
RW1C
RW1C
Function
Normal Interrupt Status Register
Error Interrupt Status Register
Register Error Interrupt
Interrupt
(Control Register 3)
register
register
1-47
PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR
A
cc.
Register Name Address Reset Value
AC_MICDATA 0x5B00001C 0x0 R AC97 MIC in channel FIFO data register
PCM Audio Interface
PCM_CTL0 0x5C000000 0x0 WR/W PCM0 Main Control
PCM_CLKCTL0 0x5C000004 0x0 R/W PCM0 Clock and Shift control
PCM_TXFIFO0 0x5C000008 0x0 R/W PCM0 TxFIFO write port
PCM_RXFIFO0 0x5C00000C 0x0 R/W PCM0 RxFIFO read port
PCM_IRQ_CTL0 0x5C000010 0x0 R/W PCM0 Interrupt Control
PCM_IRQ_STAT0 0x5C000014 0x0 R PCM0 Interrupt Status
PCM_FIFO_STAT0 0x5C000018 0x0 R PCM0 Tx Default Value
PCM_CLRINT0 0x5C000020 0x0 W PCM0 INTERRUPT CLEAR
2D
CONTROL_REG 0x4D408000 0x0000_0000WW Control register.
INTEN_REG 0x4D408004 0x0000_0000 R/W Interrupt Enable register.
FIFO_INTC_REG 0x4D408008 0x0000_0018 R/W Interrupt Control register.
INTC_PEND_REG 0x4D40800C 0x0000_0000 R/W Interrupt Control Pending register.
FIFO_STAT_REG 0x4D408010 0x0000_0600R Command FIF O Status reg
CMD0_REG 0x4D408100 - W Command register for Line/Point drawing.
CMD1_REG 0x4D408104 - W Command register for BitBLT.
CMD2_REG 0x4D408108 - W Command register for Host to Screen Bitblt
CMD3_REG 0x4D40810C - W Command register for Host to Screen Bitblt
CMD4_REG 0x4D408110 - W Command register for Color Expansion.
CMD5_REG 0x4D408114 - W Command register for Color Expansion.
CMD6_REG 0x4D408118 - W Reserved
CMD7_REG 0x4D40811C - W Command register for Color Expansion.
SRC_ RES_REG 0x4D408200 0x0000_0000R/W Source Image Resolution
SRC_HORI_RES_REG 0x4D408204 0x0000_0000 R/W Source Image Horizontal Resolution
SRC_VERT_RES_REG 0x4D408208 0x0000_0000R/W Source Image Vertical Resolution
SC_RES_REG 0x4D408210 0x0000_0000 R/W Screen Resolution
SC_HORI_RES _REG 0x4D408214 0x0000_0000R/W Screen Horizontal Resolution
SC_VERT_RES _REG 0x4D408218 0x0000_0000R/W Screen Vertical Resolution
CW_LT_REG 0x4D408200 0x0000_0000R/W LeftTop coordinates of Clip Window.
CW_LT_X_REG 0x4D408204 0x0000_0000 R/W Left X coordinate of Clip Window.
CW_LT_Y_REG 0x4D408228 0x0000_0000R/W Top Y coordinate of Clip Window.
Unit
Read/
Write
Function
transfer start.
transfer continue.
(Host to Screen, Font Start)
(Host to Screen, Font Continue)
(Memory to Screen)
1-48
S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW
A
cc.
Register Name Address Reset Value
CW_RB_REG 0x4D408230 0x0000_0000 R/W RightBottom coordinate of Clip Window.
CW_RB_X_REG 0x4D408234 0x0000_0000 R/W Right X coordinate of Clip Window.
CW_RB_Y_REG 0x4D408238 0x0000_0000R/W Bottom Y coordinate of Clip Window.
COORD0_REG 0x4D408300 0x0000_0000 R/W Coordinates 0 register.
COORD0_X_REG 0x4D408304 0x0000_0000 R/W X coordinate of Coordinates 0.
COORD0_Y_REG 0x4D408308 0x0000_0000 R/W Y coordinate of Coordinates 0.
COORD1_REG 0x4D408310 0x0000_0000 R/W Coordinates 1 register.
COORD1_X_REG 0x4D408314 0x0000_0000 R/W X coordinate of Coordinates 1.
COORD1_Y_REG 0x4D408318 0x0000_0000 R/W Y coordinate of Coordinates 1.
COORD2_REG 0x4D408320 0x0000_0000 R/W Coordinates 2 register.
COORD2_X_REG 0x4D408324 0x0000_0000 R/W X coordinate of Coordinates 2.
COORD2_Y_REG 0x4D408328 0x0000_0000 R/W Y coordinate of Coordinates 2.
COORD3_REG 0x4D408330 0x0000_0000 R/W Coordinates 3 register.
COORD3_X_REG 0x4D408334 0x0000_0000 R/W X coordinate of Coordinates 3.
COORD3_Y_REG 0x4D408338 0x0000_0000 R/W Y coordinate of Coordinates 3.
ROT_OC_REG 0x4D408340 0x0000_0000R/W Rotation Origin Coordinates.
ROT_OC_X_REG 0x4D408344 0x0000_0000 R/W X coordinate of Rotation Origin
ROT_OC_Y_REG 0x4D408348 0x0000_0000R/W Y coordinate of Rotation Origin
ROTATE_REG 0x4D40834C 0x0000_0001 R/W Rotation Mode register.
X_INCR_REG 0x4D408400 0x0000_0000 R/W X Increment register.
Y_INCR_REG 0x4D408404 0x0000_0000 R/W Y Increment register.
ROP_REG 0x4D408410 0x0000_0000 R/W Raster Operation register.
ALPHA_REG 0x4D408420 0x0000_0000R/W Alpha value, Fading offset.
FG_COLOR_REG 0x4D408500 0x0000_0000 R/W Foreground Color / Alpha register.
BG_COLOR_REG 0x4D408504 0x0000_0000R/W Background Color register
BS_COLOR_REG 0x4D408508 0x0000_0000 R/W Blue Screen Color register
SRC_COLOR_MODE_REG 0x4D408510 0x0000_0000R/W Src Image Color Mode register.
DEST_COLOR_MODE_REG 0x4D408514 0x0000_0000 R/W Dest Image Color Mode register
PATTERN_REG[0:31] 0x4D408600 ~
0x4D80867C
PATOFF_REG 0x4D408700 0x0000_0000R/W Pattern Offset XY register.
PATOFF_X_REG 0x4D408704 0x0000_0000R/W Pattern Offset X register.
PATOFF_Y_REG 0x4D408708 0x0000_0000R/W Pattern Offset Y register.
STENCIL_CNTL_REG 0x4D408720 0x0000_0000 R/W Stencil control register
STENCIL_DR_MIN_REG 0x4D408724 0x0000_0000 W Stencil decision reference MIN register
STENCIL_DR_MAX_REG 0x4D408728 0xFFFF_FFFF W Stencil decision reference MAX register
0x0000_0000 R/W Pattern memory.
Unit
Read/
Write
Function
Coordinates.
Coordinates.
1-49
PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR
A
cc.
Register Name Address Reset Value
SRC_BASE_ADDR_REG 0x4D408730 0x0000_0000 R/W Source Image Base Address register
DEST_BASE_ADDR_REG 0x4D408734 0x0000_0000 R/W Dest Image Base Address register (in most
Unit
Read/
Write
Function
cases, frame buffer address)
Cautions on S3C2416X Special Registers
1. S3C2416X does not support the big endian mode.
2. The special registers have to be accessed for each recommended access unit.
3. All registers except ADC registers, RTC registers and UART registers must be read/write in word unit (32-bit).
4. Make sure that the ADC registers, RTC registers and UART registers be read/write by the specified access
unit and the specified address.
5. W : 32-bit register, which must be accessed by LDR/STR or int type pointer (int *).
HW : 16-bit register, which must be accessed by LDRH/STRH or short int type pointer (short int *).
B : 8-bit register, which must be accessed by LDRB/STRB or char type pointer (char int *).
1-50
S3C2416X RISC MICROPROCESSOR SYSTEM CONTROLLER
2 SYSTEM CONTROLLER
1 OVERVIEW
The system controller consists of three parts; reset control, system clock control, and system power-management
control. The system clock control logic in S3C2461 can generate the required system clock signals which are the
inputs of ARM926EJ, several AHB blocks, and APB blocks. There are two PLLs in S3C2416 to generate internal
clocks. One is for general functional blocks, which include ARM, AHB, and APB. The other is for the special
functional clocks which are the USB, I2S. Software program control the operating frequency of the PLLs, internal
clock sources and enabled or disabled the clocks to reduce the power consumption.
S3C2416 has various power-down modes to keep optimal power consumption for a given task. The power-down
modes consists of four modes; NORMAL mode, IDLE mode, STOP mode, and SLEEP mode. In NORMAL mode,
the input clock of each block is enabled or disabled according to the software to eliminate the power consumption
of unused blocks for a certain application. For example, if an UART is not needed, the software can disable the
input clock independently. The major power dissipation of S3C2416 is due to ARM core, since the operating
speed is relative higher than that of the other blocks. Typically, the operating frequency of the ARM core is
400MHz, while the AHB blocks and the APB blocks operate on 133MHz and 66MHz, respectively. Thus, the
power control of the ARM core is major issue to reduce the overall power dissipation in S3C2416, and IDLE mode
is supported for this purpose. In IDLE mode, the ARM core is not operated until the external interrupts or internal
interrupts. The STOP mode freezes all clocks to all peripherals as well as the ARM core by disabling PLLs. The
power consumption is only due to the leakage current and the minimized alive block in S3C2416. SLEEP mode is
intended to disconnect the internal power. So, the power consumption due to the ARM core and the internal logic
except the wake-up logic will be nearly zero in the SLEEP mode. In order to use the SLEEP mode two
indenpendent power sources are required. One of the two power soruces supp lies the power for the wake-up
logic. The other one supplies the normal functional blocks including the ARM core. It should be controlled in order
to turn ON/OFF with a special pin in S3C2416. The detailed description of the power-saving modes such as the
entering sequence to the specific power-down mode or the wake-up sequence from a power-down mode is given
in the following Power Management section.
2 FEATURE
• Include two on-chip PLLs called main PLL(MPLL), extra PLL(EPLL)
• MPLL generates the system reference clock
• EPLL generates the clocks for the special functional blocks
• Independent clock ON/OFF control to reduce power consumption
• Support three power-down modes, IDLE, STOP, and SLEEP, to optimize the power dissipation
• Wake-up by one of external Interrupt, RTC alarm, Tick interrupt and BATT_FLT.(Stop and Sleep mode)
• Control internal bus arbitration priority
2-1
SYSTEM CONTROLLER S3C2416X RISC MICROPROCESSOR
3 BLOCK DIAGRAM
off-partalive-part
Clocks
Clock
Generator
AHB
Glue
Power Management
Register
Signal
Masking
Glue
Power Management
Register
Reset
Control
Reset
Power
ON/OFF
Figure 2-1. System Controller Block Diagram
Figure 2-1 shows the system controller block diagram. The system controller is divided into two blocks, which are
the OFF block and the ON block. Since the system controller must be alive when the external power supply is
disabled. The ALIVE-part is supplied by an auxiliary power source and waits until external/internal interrupts.
However, the OFF-part is disabled when the power-down mode is SLEEP. The clock generator makes all internal
clocks, which include ARMCLK for the ARM core, HCLK for the AHB blocks, PCLK for the APB block, and other
special clocks. The special functional registers (SFR) are located at the register blocks, and their values are
configured through AHB interface. If a software want to change into a power-down mode, then the power
management blocks detect the values within the SFR and change the mode. In addition, they assert the external
power ON/OFF signal if required. All reset signals are generated at the reset control block.
The detailed explanations for each block will be described in the following sections.
2-2
S3C2416X RISC MICROPROCESSOR SYSTEM CONTROLLER
4 FUNCTIONAL DESCRIPTIONS
The system controller for S3C2416 has three functions, which in clude the reset management, the clock
generation, and the power management. In this section, the behavior will be described.
4.1 RESET MANAGEMENT AND TYPES
S3C2416 has four types of resets and reset controller in system controller can place the sy stem into the
predefined states with one of the following four resets.
• Hardware Reset − It is generated when nRESET pin is asserted. It is an uncompromised, unmaskable, and
complete reset, which is used when you need no information in system any more.
• Watchdog Reset − The watchdog timer monitors the device state and generates the watchdog reset when the
state is abnormal.
• Software Reset − Software can initialize the internal state by writing the special control register (SWRST).
• Wakeup Reset − When the system wakes up from SLEEP mode, it generates reset signals. And When the
system wakes up from Deep-STOP mode, it generates ARM reset only.
4.2 HARDWARE RESET
When S3C2416 is power-ON, the external device must assert nRESET to initialize internal states.
Hardware reset is invoked when the nRESET pin is asserted and all units in the system (except RTC) are
initialized to known states. During the hardware reset, the following actions will occur:
• All internal registers and ARM926EJ core goes into their pre-defined initial state.
• All pins get their reset state, and BATT_FLT pin is ignored.
• The nRSTOUT pin is asserted while the reset is progressed.
When the unmaskable nRESET pin is asserted as low, the internal hardware reset signal is generated. Upon
assertion of nRESET, S3C2416 enters reset state regardless of the previous state. To enter hardware reset state,
nRESET must be held long enough to allow internal stabilization and propagation of the reset state.
Caution: An external power source, regulator, for S3C2416 must be stable prior to the deassertion of nRESET.
Otherwise, it damages to S3C2416 and its operation will not be guaranteed.
Figure 2-2 shows the clock behavior during the power-on reset sequence. The crystal oscillator begins oscillation
within several milliseconds after the power source supplies enough power-level to S3C2416. Initially, two internal
PLLs (MPLL and EPLL) stop. The nRESET pin should be released after the fully settle-down of the power supplylevel. S3C2416 requires a hazard-free system clock (SYSCLK, ARMCLK, HCLK, and PCLK) to operate properly
when the system reset is released. Since the PLL does not work initially, the PLL input clock (F
SYSCLK instead of the PLL output clock (F
). Software must configure MPLLCON and EPLLCON register to
OUT
) is directly fed to
IN
use each PLL. The PLL begins the lockup sequence toward the new frequency only after the S/W configures the
PLL with a new frequency-value. The PLL output is immediately fed to SYSCLK after lock time.
You should be aware that the crystal oscillator settle-down time is not explicitly added by the hardware during the
power-up sequence and the crystal oscillation must be settle-down during this period. However, S3C2416 will
explicitly add the crystal oscillator settle-down time (OSCWAIT) when it wakes up from the STOP mode.
The EPLL output clock is directly fed to some special clocks for TFT Controller, I2S, HS-MMC, USB host and
UART. Since the EPLL input clock is initially fed to the input clocks for them, software must configure EPLLCON
register to use the EPLL.
2-3
SYSTEM CONTROLLER S3C2416X RISC MICROPROCESSOR
POWER
nRESET
EXTCLK
or XTIpll
PLL is configured by S/W first time
Clock
disable
Lock time
VCO is adapte to new clock frequency
.
VCO
output
SYSCLK
The logic is operarted by
EXTCLK or XTIpll
SYSCLK is FOUT
Figure 2-2. Power-On Reset Sequence
4.3 WATCHDOG RESET
Watchdog reset is invoked when software fails to prevent the watchdog timer from timing out.
During the watchdog reset, the following actions occur :
• All units(except some blocks listed in table 2-1 ) go into their pre-defined reset state.
• All pins get their reset state, and BATT_FLT pin is ignored.
• The nRSTOUT pin is asserted during watchdog reset.
Watchdog reset can be activated in normal and idle mode because watchdog timer can expire with clock.
Watchdog reset is invoked when watchdog timer and reset are enabled (WTCON[5] = 1, WT CON[0]=1) and
watchdog timer is expired. Watchdog reset is invoked then, the following sequence occurs. :
1. Watchdog reset source asserts.
2. Internal reset signals and nRSTOUT are asserted and reset counter is activated.
3. Reset counter is expired then, internal reset signals and nRSTOUT are deasserted.
2-4
S3C2416X RISC MICROPROCESSOR SYSTEM CONTROLLER
4.4 SOFTWARE RESET
Software can initialize the device state itself when it writes “0x533C_2416” to SWRST register.
During the software reset, the following actions occur :
• All units(except some blocks listed in table 2-1 ) go into their pre-defined reset state.
• All pins get their reset state, and BATT_FLT pin is ignored.
• The nRSTOUT pin is asserted during software reset.
Software reset is invoked then, the following sequence occurs. :
1. User write “0x533C_2416” to SWRST register.
2. System controller request bus controller to finish current transactions.
3. Bus controller send acknowledge to system controller after completed bus transactions.
4. System controller request memory controller to enter into self refresh mode.
5. System controller wait for self refresh acknowledge from memory controller.
6. Internal reset signals and nRSTOUT are asserted and reset counter is activated.
7. Reset counter is expired then, internal reset signals and nRSTOUT are deasserted.
4.5 WAKEUP RESET
When S3C2416 is woken up from SLEEP mode by wakeup event, the wakeup reset is invoked. The detail
description will be explained in the power management mode section.
Table 2-1 lists alive registers which are not influenced various reset sources except nRESET. With the exception
of below registers (in table 2-1), All S3C2416’s internal registers are reset by above-mentioned reset sources.
Table 2-1. Registers & GPIO Status in RESET (R: reset, S: sustain previous value)
Figure 2-3 shows the block diagram of the clock generation module. The main clock source comes from an
external crystal (XTI) or external clock (EXTCLK). EPLL’s input clock is one of the XTI or EXTCLK. Clock selectio n
can be done by configuring MUX selection signal. When both XTI and EXTCLK are running, GFM(Glitch Free
Mux)’s output can be configured easily without generating glitch. But if you change or select EPLL input clock
when either XTI or EXTCLK is running, disabled clock should be have logic LOW.
XTI clock source can be reference of PLL after oscillated at PAD. User can configure stabilization time by setting
OSCSET register and ON/OFF when power-down mode by setting PWRCFG register. The clock generator
consists of two PLLs (Phase-Locked-Loop) which generate the high-frequency clock sig nals required in S3C2416.
Figure 2-3. Clock Generator Block Diagram
5.2 CLOCK SOURCE SELECTION
Table 2-2 and 2-3 show the relationship between the combination of mode control pins OM[0] and the selection of
source clock for S3C2416.
Table 2-2. Clock source selection for the main PLL and clock generation logic
The PLL (Phase-Locked Loop) frequency synthesizer is constructed in CMOS on single monolithic structure. The
PLL provides frequency multiplication capabilities.
MPLL generates the clock sources for ARMCLK, HCLK, PCLK, DDRCLK and SSMCCLK and EPLL generates
clock sources for USBHOSTCLK and so forth.
The following sections describe the operation of the PLL, that includes the phase difference detector, charge
pump, VCO (Voltage controlled oscillator), and loop filter.
Refer to MPLLCON and EPLLCON registers to change PLL output frequency.
Off-chip loop filter
FinPre-Divider
PFD
Charge
Pump
Main
Divider
VCO
Post
Scaler
Fout
Figure 2-5. PLL(Phase-Locked Loop) Block Diagram
5.4 CHANGE PLL SETTINGS IN NORMAL OPERATION
During the operation of S3C2416 in NORMAL mode, if the user wants to change the frequency by writing the PMS
value, the PLL lock time is automatically inserted. During the lock time, the clock is not supplied to the internal
blocks in S3C2416. The timing diagram is as follow.
MPLL_clk
PMS setting
PLL Locktime
SYSCLK
It changes to LOW value during
lock time automatically
It changes to new PLL clock
after lock time automatically
Figure 2-6. The Case that Changes Slow Clock by Setting PMS Value
2-8
S3C2416X RISC MICROPROCESSOR SYSTEM CONTROLLER
5.5 SYSTEM CLOCK CONTROL
The ARMCLK is used for ARM926EJ core, the main CPU of S3C2416. The HCLK is the reference clock for
internal AHB bus and peripherals such as the memory controller, the interrupt controller, LCD controller, the DMA,
USB host block, System Controller, Power down controller and etc. The PCLK is used for internal APB bus and
peripherals such as WDT, IIS, I2C, PWM timer, ADC, UART, GPIO, RTC and SPI etc. DDRCLK is the data strobe
clock for mDDR/DDR2 memories. HCLKCON and PCLKCON registers are use d for clock gating of HCLK, PCLK
respectively. SCLKCON register is responsible for EPLLclk clock gating on related modules.
Figure 2-7. The Clock Distribution Block Diagram
Figure 2-8 shows MPLL Based clock domain.
Figure 2-8. MPLL Based Clock Domain
2-9
SYSTEM CONTROLLER S3C2416X RISC MICROPROCESSOR
5.6 ARM & BUS CLOCK DIVIDE RATIO
The MSysClk is the base clock for S3C2416 system clock, such as ARMCLK, HCLK, PCLK, DDRCLK, etc.
The Table 2-5 shows the clock division ratios between ARMCLK, HLCK and PCLK. This ratio is determined by
ARMDIV, PREDIV, HCLKDIV and PCLKDIV bits of CLKDIV0 control register.
ARMCLK has to faster or equal with HCLK and synchronous. The Table 2-5 shows that DDRCLK, PCLK,
ARMCLK divide ratio with regard HCLK ratio.
The fraction in the cell is ratio to MSysClk and the value in the round bracket means maximum frequency value.
Table 2-5. Clock Division Ratio of MPLL Region
MSysClk
(800MHz)
HCLK
(133MHz)
DDRCLK
(266MHz)
PCLK, SSMC
(133MHz)
ARMCLK (400MHz)
1/1 1/1 1/1 or 1/2 1/1
1/2 1/1 1/2 or 1/4 1/1 or 1/2
1/3 1/1 1/3 or 1/6 1/1 or 1/3
1/4 1/2 1/4 or 1/8 1/1 or 1/2 or 1/4
1/6 1/3 1/6 or 1/12 1/1 or 1/2 or 1/3 or 1/6
1/8 1/4 1/8 or 1/16 1/1 or 1/2 or 1/4 or 1/8
1/12 1/6 1/12 or 1/24 1/1 or 1/2 or 1/3 or 1/4 or 1/6
1/16 1/8 1/16 or 1/32 1/1 or 1/2 or 1/4 or 1/8
2-10
S3C2416X RISC MICROPROCESSOR SYSTEM CONTROLLER
5.7 EXAMPLES FOR CONFIGURING CLOCK REGITER TO PRODUCE SPECIFIC FREQUENCY OF AMBA
CLOCKS.
When PLL output frequency = 800MHz
Target frqeuency
ARMCLK = 400MHz, HCLK = 133MHz, PCLK = 66MHz, DDRCLK = 266MHz
Figure 2-9 shows EPLL and special clocks for various peripherals
Figure 2-9. EPLL Based Clock Domain
5.8 ESYSCLK CONTROL
Clocks of the EPLL can be used for various peripherals. Each divider value is configured in CLKDIV1 register and
all clocks are enabled or disabled by accessing SCLKCON register. According to USB host interface, If you want
to get the clock with exact 50% duty cycle, then make EPLL generate 96MHz and divide the clock.
EPLL will be turned off during STOP and SLEEP mode automatically. Also, EPLL will be generated clock to
ESYSCLK, after exiting STOP and SLEEP mode if corresponding bits are enabled in SCLKCON register.
Table 2-6. ESYSCLK Control
Condition ESYSCLK state EPLL state
After reset EPLL reference clock off
After configuring EPLL
During PLL lock time: LOW
After PLL lock time: EPLL output
on
2-12
S3C2416X RISC MICROPROCESSOR SYSTEM CONTROLLER
6 POWER MANAGEMENT
The power management block controls the system clocks by software for the reduction of power consumption in
S3C2416. These schemes are related to PLL, clock control logic(ARMCLK, HCLK, PCLK) and wake-up signal.
S3C2416 has four power-down modes. The following section describes each power management mode.
Related registers are PWRMODE, PWRCFG and WKUPSTAT.
6.1 POWER MODE STATE DIAGRAM
Figure 2-10 shows that Power Saving mode state and Entering or Exiting condition. In general, the entering
conditions are set by the main CPU.
Normal
(General Clock
STANDBYWFICMD
Gating Mode)
ID L E
One of
wakeup
source
CMD
One of
wakeup
source
Reset
or
restricted
wakeup
evants.
or DEEP-STOP
SLEEP
Figure 2-10. Power Mode State Diagram
STOP
2-13
SYSTEM CONTROLLER S3C2416X RISC MICROPROCESSOR
6.2 POWER SAVING MODES
S3C2416 can support various power saving modes. These are Normal mode, idle mode, Stop mode, De ep-stop
mode and Sleep mode.
6.2.1 Normal Mode (General Clock Gating Mode)
In General Clock Gating mode, the On/Off clock gating of the individual clock source of each IP block is performed
by controlling of each corresponding clock source enable bit. The Clock Gating is applied instantly whenever the
corresponding bit (or bits) is changed. (these bits are set or cleared by the main CPU.)
6.2.2 IDLE Mode
In IDLE mode, the clock to CPU core is stopped. To enter the idle mode, User must use ARM926EJ CP15
command (MCR p15, 0, Rd, c7, c0, 4). If user order this command, ARM core prepare to enter into power down
mode. These are draining write buffer, letting memory system is in a quiescent state and confirming all external
interface(AHB interface) is in idle state. After completing above operation, ARM asserted STANBYWFI signal. So,
System Controller of S3C2416 check STANDBYWFI signal is asserted and disabe ARM clock. By doing that,
System can go into idle mode safely. To exit the idle mode, All interrupt sources, RTC ALARM, RTC Tick Counter,
Battery Fault signal should be activated.
6.2.3 STOP mode (Normal and Deep-stop)
In STOP mode, all clocks are stopped for minimum power consumption. Therefore, the PLL and oscillator circuit
are also stopped(oscillator circuit is stopped optionally, see PWRCFG register). The STOP Mode is activated after
the execution of the STORE instruction that enables the STOP Mode bit. The STOP Mode bit should be cleared
after the wake-up from the STOP state for the entering of next STOP Mode. The H/W logic only detects the lowto-high triggering of the STOP Mode bit.
In Deep-STOP mode ARM core’s power is off by using internal power gating. By this way, the static current will be
reduced remarkably compared with STOP mode. To enter the Deep-STOP mode, PWRMODE[18] register should
be configured before entering STOP mode. After waking up from Deep-STOP mode, System controller resets
ARM core only.
To exit from STOP mode, External interrupt, RTC alarm, RTC Tick, or nRESET has to be activated. During the
wake-up sequences, the crystal oscillator and PLL may begin to operate. The crystal-oscillator settle-down-time
and the PLL locking-time is required to provide stabilized ARMCLK. Those time-waits are automatically inserted
by the hardware of S3C2416. During these time-waits, the clock is not supplied to the internal logic circuitry.
STOP mode Entering sequence is as follows
1. Set the STOP Mode bit (by the main CPU)
2. System controller requests bus controller to finish bus transactions of ARM Core.
3. System controller disable ARM clock after getting ARM Down acknowledge.
4. System controller requests bus controller to finish current transactions.
5. Bus controller send acknowledge to system controller after completed bus transactions.
2-14
S3C2416X RISC MICROPROCESSOR SYSTEM CONTROLLER
6. System controller request memory controller to enter self refresh mode. It is for preserving contents in
SDRAM.
7. System controller wait for self refresh acknowledge from memory controller.
8. After receiving the self-refresh acknowledge, system controller disables system clocks, and switches
SYSCLK’s source to MPLL reference clock.
9. Disables PLLs and Crystal(XTI) oscillation. If OSC_EN_STOP bit in PWRCFG register is ‘high’ then system
controller doesn’t disable crystal oscillation.
10. When PWRMODE[18] register is configured as ‘1’ (Deep-STOP Enabled), ARM_PWRENn signal change to
enable ARM power gating. ARM Core is reset state during STOP mode.
STOP mode Exiting sequence is as follows
1. Enable X-tal Oscillator if it is used, and wait the OSC settle down (around 1ms).
2. After the Oscillator settle-down, the System Clock is fed using the PLL input clock and also enable the PLLs
and waits the PLL locking time
3. Switching the clock source, now the PLL is the clock source.
4. When waking up from Deep-STOP mode, ARM_PWRENn is restored to release ARM power gating. After
producing SYSCLK ARM_RESETn will be released to let ARM work normally.
NOTE
DRAM has to be in self-refresh mode during STOP and SLEEP mode to retain valid memory data. LCD
must be stopped before STOP and SLEEP mode, because DRAM can't be accessed when it is in selfrefresh mode.
2-15
SYSTEM CONTROLLER S3C2416X RISC MICROPROCESSOR
6.2.4 SLEEP MODE
In the SLEEP Mode, all the clock sources are off and also the internal logic-power is not supplied except for the
wake-up logic circuitry. In this mode, the static power-dissipation of internal logic can be minimized.
SLEEP Mode Entering sequence is as follows.
1. User writes command into the system controller’s PWRMODE[15:0] register to let system enter into the
SLEEP Mode.
2. System controller requests bus controller to finish bus transactions of ARM Core.
3. System controller disable ARM clock after getting ARM Down acknowledge.
4. System controller requests bus controller to finish current transactions.
5. Bus controller send acknowledge to system controller after completed bus transactions.
6. System controller request memory controller to enter self refresh mode. It is for preserving contents in
SDRAM.
7. System controller wait for self refresh acknowledge from memory controller.
8. After receiving the self-refresh acknowledge, System controller disable system clocks(HCLK, PCLK and so
on).
9. System controller asserts control signals to mask unknown state of ALIVE logics and to preserve data of
retention Pads.
10. System controller asserts PWR_EN pin and disables the X-tal and PLL oscillation. PWR_EN pin is used to
indicate the readiness for external power OFF and to enable and disable of of the power regulator which
produces internal-logic power.
SLEEP Mode Exiting sequence is as follows.
1. System controller enable external power source by deactivation of the PWR_EN pin and wait power settle
down time (it is programmable by a register in the PWRSETCNT field of RSTCON register).
2. System controller asserts HRESETn and consequently all bus down, self refresh requests and acknowledge
signals will be their reset state.
3. System controller release the HRESETn(synchronously, relatively to the system clock) after the power supply
is stabilized.
2-16
S3C2416X RISC MICROPROCESSOR SYSTEM CONTROLLER
a
Figure 2-11. Entering STOP Mode and Exiting STOP Mode (wake-up)
2-17
SYSTEM CONTROLLER S3C2416X RISC MICROPROCESSOR
ARM Down Req. & Ack.
ARMCLK
BUS Down Req. & Ack.
DRAM Self Refresh
Req. & Ack.
CKE (DRAM)
SYSCLK
PWR_EN
Figure 2-12. Entering SLEEP Mode and Exiting SLEEP Mode (wake-up)
SLEEP mode is initiated
Wake-up event
2-18
S3C2416X RISC MICROPROCESSOR SYSTEM CONTROLLER
6.3 WAKE-UP EVENT
When S3C2416 wakes up from the STOP Mode by an External Interrupt, a RTC alarm interrupt and other
interrupts, the PLL is turned on automatically. The initial-state of S3C2416 after wake-up from the SLEEP Mode is
almost the same as the Power-On-Reset state except for the contents of the external DRAM is preserved. In
contrast, S3C2416 automatically recovers the previous working state after wake-up from the STOP Mode. The
following table shows the states of PLLs and internal clocks after wake-ups from the power-saving modes.
Table 2-7. The Status of PLL and ARMCLK After Wake-up
Mode before
wake-up
PLL on/off after
wake-up
SYSCLK after wake-up
and before the lock time
SYSCLK after the lock
time by internal logic
IDLE Unchanged PLL output PLL output
STOP
PLL state ahead of
entering STOP mode
(PLL ON or not)
PLL reference clock
SYSCLK ahead of entering
STOP mode
(PLL output or not)
SLEEP Off PLL reference clock PLL reference(input) clock
6.4 OUTPUT PORT STATE AND STOP AND SLEEP MODE
Refer to GPIO chapter.
2-19
SYSTEM CONTROLLER S3C2416X RISC MICROPROCESSOR
6.5 POWER SAVING MODE ENTERING/EXITING CONDITION
Table 2-8 shows that Power Saving mode state and Entering or Exiting condition. In general, the entering
conditions are set by the main CPU.
Pleas refer to power-related registers(PWRMODE, PWRCFG and WKUPSTAT) before adopting power sav i ng
scheme on your system.
In dealing with sleep mode, It is good for you to know following two restrictions. To enter sleep mode by
BATT_FLT, you have to configure BATF_CFG bits of PWRCFG register. Not to exit from sleep mode when
BATT_FLT is LOW, you have to configure SLEEP_CFG bit of PWRCFG register.
Table 2-8. Power Saving Mode Entering/Exiting Condition
Power down mode Enter Exit
Clock Gating at NORMAL
Clear a respective clock
on/off bit for each IP to save
power.
Set a respective clock on/off bit for each IP to
operate normally
1. All interrupt sources
IDLE STANDBYWFI
2. RTC alarm
3. RTC Tick
4. BATT_FLT
1. EINT[15:0] (External Interrupt)
STOP CMD
2. RTC alarm
3. RTC Tick
4. BATT_FLT
1. EINT[15:0] (External Interrupt)
SLEEP CMD
2. RTC alarm
3. RTC Tick
4. BATT_FLT
2-20
S3C2416X RISC MICROPROCESSOR SYSTEM CONTROLLER
7 REGISTER DESCRIPTIONS
The system controller registers are divided into seven categories; clock source control, clo ck control, power
management, reset control, system controller status, bus configuration, and misc. The following section will
describe the behavior of the system controller.
7.1 ADDRESS MAP
Table 2-9 summarizes the address map of the system controller.
Table 2-9. System Controller Address Map
Register Address R/W Description Alive Reset Value
LOCKCON0 0x4C00_0000 R/W MPLL lock time count register X 0x0000_FFFF
LOCKCON1 0x4C00_0004 R/W EPLL lock time count register X 0x0000_FFFF
OSCSET 0x4C00_0008 R/W Oscillator stabilization control register O 0x0000_8000
MPLLCON 0x4C00_0010 R/W MPLL configuration register X 0x0185_40C0
EPLLCON 0x4C00_0018 R/W EPLL configuration register X 0x0120_0102
EPLLCON_K 0x4C00_001C R/W EPLL configuration register for K value X 0x0000_0000
CLKSRC 0x4C00_0020 R/W Clock source control register X 0x0000_0000
CLKDIV0 0x4C00_0024 R/W Clock divider ratio control register0 X 0x0000_000C
CLKDIV1 0x4C00_0028 R/W Clock divider ratio control register1 X 0x0000_0000
CLKDIV2 0x4C00_002C R/W Clock divider ratio control register2 X 0x0000_0000
HCLKCON 0x4C00_0030 R/W HCLK enable register X 0xFFFF_FFFF
PCLKCON 0x4C00_0034 R/W PCLK enable register X 0xFFFF_FFFF
SCLKCON 0x4C00_0038 R/W Special clock enable register X 0xFFFF_DFFF
PWRMODE 0x4C00_0040 R/W Power mode control register X 0x0000_0000
SWRST 0x4C00_0044 R/W Software reset control register X 0x0000_0000
BUSPRI0 0x4C00_0050 R/W Bus priority control register 0 X 0x0000_0000
PWRCFG 0x4C00_0060 R/W
RSTCON 0x4C00_0064 R/W Reset control register O 0x0006_0101
RSTSTAT 0x4C00_0068 R Reset status register O 0x0000_0001
WKUPSTAT 0x4C00_006C R/W Wake-up status re gister O 0x0000_0000
INFORM0 0x4C00_0070 R/W SLEEP mode information register 0 O 0x0000_0000
INFORM1 0x4C00_0074 R/W SLEEP mode information register 1 O 0x0000_0000
INFORM2 0x4C00_0078 R/W SLEEP mode information register 2 O 0x0000_0000
INFORM3 0x4C00_007C R/W SLEEP mode information register 3 O 0x0000_0000
USB_PHYCTRL 0x4C00_0080 R/W USB PHY control register X 0x0000_0000
USB_PHYPWR 0x4C00_0084 R/W USB PHY power control register X 0x0000_0000
USB_RSTCON 0x4C00_0088 R/W USB PHY reset control register X 0x0000_0000
USB_CLKCON 0x4C00_008C R/W USB PHY clock control register X 0x0000_0000
Power management configuration
register
O 0x0000_0000
2-21
SYSTEM CONTROLLER S3C2416X RISC MICROPROCESSOR
8 INDIVIDUAL REGISTER DESCRIPTIONS
8.1 CLOCK SOURCE CONTROL REGISTERS
(LOCKCON0, LOCKCON1, OSCSET, MPLLCON, AND EPLLCON)
The six registers control two internal PLLs and an external oscillator. The output frequency of the PLL is
determined by the divider values of MPLLCON and EPLLCON. The stabilization time for PLLs and the oscillator is
controlled by LOCKCON0/1 and OSCSET, respectively.
Register Address R/W Description Reset Value
LOCKCON0 0x4C00_0000 R/W MPLL lock time count register 0x0000_FFFF
LOCKCON1 0x4C00_0004 R/W EPLL lock time count register 0x0000_FFFF
OSCSET 0x4C00_0008 R/W Oscillator stabilization control register 0x0000_8000
EPLLCON_K 0x4C00_001C R/W EPLL configuration register for K value 0x0000_0000
Conventional PLL requires stabilization duration after the PLL is ON. The duration can be varied according to the
device variation. Thus, software must adjust these fields with appropriate values in the LOCKCON0/1 register
whose values mean the number of the external reference clock.
LOCKCON0 Bit Description Initial Value
RESERVED [31:16]RESERVED 0x0000
M_LTIME [15:0]
MPLL lock time count value for ARMCLK, HCLK, and PCLK
Typically, M_LTIME must be longer than 300 usec.
0xFFFF
LOCKCON1 Bit Description Initial Value
RESERVED [31:16]RESERVED 0x0000
E_LTIME [15:0]
EPLL lock time count value for UARTCLK, SPICLK and etc.
Typically, E_LTIME must be longer than 300 usec.
0xFFFF
In general, an oscillator requires stabilization time. This register specifies the duration based on the reference
clock.
OSCSET Bit Description Initial Value
RESERVED [31:0] RESERVED 0x0000
XTALWAIT [15:0]
Crystal oscillator settle-down wait time, this value is valid
when s3c2416 is wakeup by stop mode
0x8000
2-22
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.