Sign In
Upload
Manuals
Brands
Samsung Manuals
Computer Hardware
S3C2416
Samsung S3C2416 Manuals
Manuals and User Guides for Samsung S3C2416. We have
1
Samsung S3C2416 manual available for free PDF download: User Manual
Samsung S3C2416 User Manual (672 pages)
16/32-Bit RISC
Brand:
Samsung
| Category:
Computer Hardware
| Size: 3.63 MB
Table of Contents
Important Notice
2
Revision History
3
Table of Contents
5
Chapter 1 Product Overview
29
Introduction
29
Features
30
Block Diagram
33
Pin Assignments
34
Signal Descriptions
51
S3C2416 Operation Mode Description
57
Memory Map
58
Base Address of Special Registers
59
Chapter 2 System Controller
79
Overview
79
Feature
79
Block Diagram
80
Functional Descriptions
81
Reset Management and Types
81
Hardware Reset
81
Watchdog Reset
82
Software Reset
83
Wakeup Reset
83
Clock Management
84
Clock Generation Overview
84
Clock Source Selection
84
Main Oscillator Circuit Examples
85
PLL (Phase-Locked-Loop)
86
Change PLL Settings in Normal Operation
86
System Clock Control
87
ARM & BUS Clock Divide Ratio
88
Examples for Configuring Clock Regiter to Produce Specific Frequency of AMBA Clocks
89
ESYSCLK Control
90
Power Management
91
Power Mode State Diagram
91
Power Saving Modes
92
Entering STOP Mode and Exiting STOP Mode (Wake-Up)
95
Entering SLEEP Mode and Exiting SLEEP Mode (Wake-Up)
96
Wake-Up Event
97
Output Port State and STOP and SLEEP Mode
97
Power Saving Mode Entering/Exiting Condition
98
Register Descriptions
99
Address Map
99
Individual Register Descriptions
100
Clock Source Control Registers (LOCKCON0, LOCKCON1, OSCSET, MPLLCON, and EPLLCON)
100
Clock Control Register (CLKSRC, CLKDIV, HCLKCON, PCLKCON, and SCLKCON)
103
Power Management Registers (PWRMODE and PWRCFG)
109
Reset Control Registers (SWRST and RSTCON)
111
Control of Retention PAD(I/O) When Normal Mode and Wake-Up from Sleep Mode
112
System Controller Status Registers (WKUPSTAT and RSTSTAT)
113
Bus Configuration Register (BUSPRI0, BUSPRI1, and BUSMISC)
114
Information Register 0,1,2,3
115
USB PHY Control Register (PHYCTRL)
116
USB PHY Power Control Register (PHYPWR)
117
USB Reset Control Register (URSTCON)
117
USB Clock Control Register (UCLKCON)
118
Chapter 3 Bus Matrix & EBI
119
Overview
119
Special Function Registers
120
Matrix Core 0 Priority Register (Bpriority0)
120
Matrix Core 1 Priority Register (Bpriority1)
120
EBI Control Register (EBICON)
121
Chapter 4 Bus Priorities
123
Overview
123
Bus Priority MAP
123
Overview
125
Feature
126
Block Diagram
127
Asynchronous Read
128
Chapter 5 Static Memory Controller (SMC)
125
Read Timing Diagram (Drncs = 1, Drnowe = 1)
129
Asynchronous Burst Read
130
Synchronous Read/Synchronous Burst Read
131
Asynchronous Write
132
Write Timing Diagram (Drncs = 1, Drnowe = 0)
133
Synchronous Write/ Synchronous Burst Write
134
Bus Turnaround
135
Memory Interface with 8-Bit SRAM (2MB)
137
Special Registers
138
Bank Idle Cycle Control Registers 0-5
138
Bank Read Wait State Control Registers 0-5
138
Bank Write Wait State Control Registers 0-5
139
Bank Output Enable Assertion Delay Control Registers 0-5
139
Bank Write Enable Assertion Delay Control Registers 0-5
140
Bank Control Registers 0-5
141
Bank Onenand Type Selection Register
143
SMC Status Register
143
SMC Control Register
144
Overview
145
Block Diagram
146
Mobile DRAM Initialization Sequence
147
Mobile DRAM(SDRAM or Mobile DDR) Initialization Sequence
147
DDR2 Initialization Sequence
147
Chapter 6 Mobile DRAM Controller
145
Memory Interface with 16-Bit SDRAM (4Mx16, 4Banks)
148
Memory Interface with 16-Bit Mobile DDR and DDR2
149
DRAM Timing Diagram
150
T ARFC Timing Diagram
151
Mobile DRAM Configuration Register
152
Mobile DRAM Control Register
153
Mobile DRAM Timming Control Register
154
Mobile DRAM (Extended ) Mode Register Set Register
155
Mobile DRAM Refresh Control Register
158
Mobile DRAM Write Buffer Time out Register
158
Chapter 7 NAND Flash Controller
159
Overview
159
Features
159
Block Diagram
160
Boot Loader Function
160
GPC5/6/7 Pin Configuration Table in IROM Boot Mode
161
NAND Flash Memory Timing
161
NAND Flash Access
162
Data Register Configuration
163
Steppingstone (8KB in 64KB SRAM)
163
1Bit / 4Bit / 8Bit ECC (Error Correction Code)
163
ECC Module Features
163
1-Bit ECC Programming Encoding and Decoding
165
4-Bit ECC Programming Guide (ENCODING)
165
4-Bit ECC Programming Guide (DECODING)
166
8-Bit ECC Programming Guide (ENCODING)
166
8-Bit ECC Programming Guide (DECODING)
167
Memory Mapping(NAND Boot and Other Boot)
168
NAND Flash Memory Configuration
169
NAND Flash Controller Special Registers
170
NAND Flash Controller Register Map
170
Nand Flash Configuration Register
171
Control Register
173
Command Register
175
Address Register
175
Data Register
175
Main Data Area ECC Register
176
Spare Area ECC Register
176
Progrmmable Block Address Register
177
Softlock and Lock-Tight
178
NFCON Status Register
179
ECC0/1 Error Status Register
180
Main Data Area ECC0 Status Register
182
Spare Area ECC Status Register
183
4-Bit ECC Error Patten Register
183
ECC 0/1/2 for 8Bit ECC Status Register
184
8Bit ECC Main Data ECC 0/1/2/3 Status Register
185
8Bit ECC Error Pattern Register
186
Overview
187
DMA Request Sources
188
DMA Operation
189
External DMA Dreq/Dack Protocol
190
Chapter 8 DMA Controller
187
Demand/Handshake Mode Comparison
191
Burst 4 Transfer Size
192
Examples of Possible Cases
193
DMA Special Registers
194
DMA Initial Source Register (DISRC)
194
DMA Initial Source Control Register (DISRCC)
195
DMA Initial Destination Register (DIDST)
196
DMA Initial Destination Control Register (DIDSTC)
197
DMA Control Register (DCON)
198
DMA Status Register (DSTAT)
200
DMA Current Source Register (DCSRC)
201
Current Destination Register (DCDST)
201
DMA Mask Trigger Register (DMASKTRIG)
202
DMA Requeset Selection Register (DMAREQSEL)
203
Overview
205
Chapter 9 Interrupt Controller
205
Interrupt Group Multiplexing Diagram
206
Interrupt Controller Operation
207
Interrupt Sources
208
Interrupt Priority Generating Block
210
Interrupt Priority
211
Interrupt Controller Special Registers
212
Source Pending (SRCPND) Register
214
Interrupt Mode (INTMOD) Register
216
Interrupt Mask (INTMSK) Register
218
Interrupt Pending (INTPND) Register
220
Interrupt Offset (INTOFFSET) Register
222
Sub Source Pending (SUBSRCPND) Register
224
Interrupt Sub Mask (INTSUBMSK) Register
226
Priority Mode Register (Priority_Mode)
228
Priority Update Register (Priority_Update)
233
Chapter 10 I/O Ports
235
Overview
235
Port Control Descriptions
242
Port Configuration Register (GPACON-GPMCON)
242
Port Data Register (GPADAT-GPMDAT)
242
Port Pull-Up/Down Register (GPBUDP-GPMUDP)
242
Miscellaneous Control Register
242
External Interrupt Control Register
242
O Port Control Register
243
PORT a Control Registers (GPACON, GPADAT)
243
PORT B Control Registers (GPBCON, GPBDAT, GPBUDP, GPBSEL)
245
PORT C Control Registers (GPCCON, GPCDAT, GPCUDP)
247
PORT D Control Registers (GPDCON, GPDDAT, GPDUDP)
249
PORT E Control Registers (GPECON, GPEDAT, GPEUDP, GPESEL)
251
PORT F Control Registers (GPFCON, GPFDAT, GPFUDP)
253
PORT G Control Registers (GPGCON, GPGDAT, GPGUDP)
254
PORT H Control Registers (GPHCON, GPHDAT, GPHUDP)
256
PORT K Control Registers (GPKCON, GPKDAT, GPKUDP)
258
PORT L Control Registers (GPLCON, GPLDAT, GPLUDP, GPLSEL)
260
PORT M Control Registers (GPMCON, GPMDAT, GPMUDP)
262
Miscellaneous Control Register (MISCCR)
263
DCLK Control Registers (DCLKCON)
264
Extintn (External Interrupt Control Register N)
265
EINTMASK (External Interrupt Mask Register)
268
EINTPEND (External Interrupt Pending Register)
269
Gstatusn (General Status Registers)
270
Dscn (Drive Strength Control)
271
PDDMCON (Power down SDRAM Control Register)
275
PDSMCON (Power down SRAM Control Register)
276
GPIO Alive & Sleep Part
278
Chapter 11 Watchdog Timer
279
Overview
279
Features
279
Watchdog Timer Operation
280
Block Diagram
280
Wtdat & Wtcnt
280
Consideration of Debugging Environment
281
Watchdog Timer Special Registers
282
Watchdog Timer Control (WTCON) Register
282
Watchdog Timer Data (WTDAT) Register
283
Watchdog Timer Count (WTCNT) Register
283
Chapter 12 PWM Timer
285
Overview
285
Feature
285
Bit PWM Timer Block Diagram
286
PWM Timer Operation
287
Prescaler & Divider
287
Basic Timer Operation
288
Auto Reload & Double Buffering
289
Timer Initialization Using Manual Update Bit and Inverter Bit
290
Timer Operation
291
Pulse Width Modulation (PWM)
292
Output Level Control
293
DEAD Zone Generator
294
DMA Request Mode
295
PWM Timer Control Registers
296
Timer Configuration Register0 (TCFG0)
296
Timer Configuration Register1 (TCFG1)
297
Timer Control (TCON) Register
298
Timer 0 Count Buffer Register & Compare Buffer Register (TCNTB0/TCMPB0)
300
Timer 0 Count Observation Register (TCNTO0)
300
Timer 1 Count Buffer Register & Compare Buffer Register (TCNTB1/TCMPB1)
301
Timer 1 Count Observation Register (TCNTO1)
301
Timer 2 Count Buffer Register & Compare Buffer Register (TCNTB2/TCMPB2)
302
Timer 2 Count Observation Register (TCNTO2)
302
Timer 3 Count Buffer Register & Compare Buffer Register (TCNTB3/TCMPB3)
303
Timer 3 Count Observation Register (TCNTO3)
303
Timer 4 Count Buffer Register (TCNTB4)
304
Timer 4 Count Observation Register (TCNTO4)
304
Chapter 13 Real Time Clock (RTC)
305
Overview
305
Features
305
Real Time Clock Operation Description
306
RTC Tick Interrupt Clock Scheme
309
External Interface
310
Register Description
311
Individual Register Descriptions
312
Chapter 14 UART
321
Overview
321
Features
321
Block Diagram
322
UART Operation
323
UART AFC Interface
324
Interrupts in Connection with FIFO
326
Example Showing UART Receiving 5 Characters with 2 Errors
327
Irda Function Block Diagram
328
Serial I/O Frame Timing Diagram (Normal UART)
329
Clock, EPLL Speed Guide
331
UART Special Registers
332
UART Line Control Register
332
UART Control Register
333
UART FIFO Control Register
335
UART Modem Control Register
336
UART Tx/Rx Status Register
337
UART Error Status Register
338
UART FIFO Status Register
339
UART Modem Status Register
340
UART Transmit Buffer Register (Holding Register & FIFO Register)
341
UART Receive Buffer Register (Holding Register & FIFO Register)
341
UART Baud RATE Divisor Register
342
UART Dividing Slot Register
343
Chapter 15 USB Host Controller
345
Overview
345
USB Host Controller Block Diagram
345
USB Host Controller Special Registers
346
Chapter 16 USB 2.0 Function
347
Overview
347
Feature
347
Block Diagram
348
To Activate USB Port1 for USB 2.0 Function
349
SIE (Serial Interface Engine)
350
UPH (Universal Protocol Handler)
350
UTMI (USB 2.0 Transceiver Macrocell Interface)
350
USB 2.0 Function Controller Special Registers
351
Indexed Registers
352
Registers
353
Index Register (IR)
353
Endpoint Interrupt Register (EIR)
354
Endpoint Interrupt Enable Register (EIER)
355
Function Address Register (FAR)
356
Endpoint Direction Register (EDR)
357
Test Register (TR)
358
System Status Register (SSR)
359
System Control Register (SCR)
361
EP0 Status Register (EP0SR)
362
EP0 Control Register (EP0CR)
363
Endpoint# Buffer Register (EP#BR)
364
Endpoint Status Register (ESR)
365
Endpoint Control Register (ECR)
367
Byte Read Count Register (BRCR)
368
Byte Write Count Register (BWCR)
369
MAX Packet Register (MPR)
370
DMA Control Register (DCR)
371
DMA Transfer Counter Register (DTCR)
372
DMA FIFO Counter Register (DFCR)
373
DMA Total Transfer Counter Register 1/2 (DTTCR 1/2)
374
DMA Interface Control Register (DICR)
375
Memory Base Address Register (MBAR)
376
Memory Current Address Register (MCAR)
377
Burst FIFO Control Register(FCON)
377
Burst FIFO Status Register(FSTAT)
377
AHB Master(DMA) Operation Flow Chart
378
IN Transfer Operation Flow
379
Chapter 17 IIC-Bus Interface
381
Overview
381
IIC-Bus Interface
381
IIC-Bus Block Diagram
382
Start and Stop Conditions
383
IIC-Bus Interface
383
Data Transfer Format
384
ACK Signal Transmission
385
Read-Write Operation
386
Bus Arbitration Procedures
386
Abort Conditions
386
Configuring IIC-Bus
386
Flowcharts of Operations in each Mode
387
Operations for Master/Receiver Mode
388
Operations for Slave/Transmitter Mode
389
Operations for Slave/Receiver Mode
390
IIC-Bus Interface Special Registers
391
Multi-Master IIC-Bus Control (IICCON) Register
391
Multi-Master IIC-Bus Control/Status (IICSTAT) Register
392
Multi-Master IIC-Bus Address (IICADD) Register
393
Multi-Master IIC-Bus Transmit/Receive Data Shift (IICDS) Register
393
Multi-Master IIC-Bus Line Control(IICLC) Register
394
Chapter 18 1 Introduction
395
Features
395
Color Format Conversion
396
Command FIFO
397
Rendering Pipeline
398
Primitive Drawing
398
Transparent Mode
400
Color Expansion
402
Rotation
403
Rotation Example
404
Clipping
405
Stencil Test
405
Raster Operation
405
Alpha Blending
407
Register Descriptions
408
General Registers
410
Command Registers
413
Parameter Setting Registers
415
Chapter 19 HS_SPI Controller
433
Overview
433
Features
433
Signal Descriptions
434
Operation
434
Operation Mode
435
FIFO Access
435
Trailing Bytes in the Rx FIFO
435
Packet Number Control
435
NCS Control
435
HS_SPI Transfer Format
436
Special Function Register Descriptions
437
Setting Sequence of Special Function Register
437
Special Function Register
438
Chapter 20 SD/MMC Host Controller
447
Overview
447
Features
447
Block Diagram
448
Sequence
449
SD Card Detection Sequence
449
SD Clock Supply Sequence
450
SD Clock Stop Sequence
451
SD Clock Frequency Change Sequence
451
SD Bus Power Control Sequence
452
Change Bus Width Sequence
453
Timeout Setting for DAT Line
454
SD Transaction Generation
454
SD Command Issue Sequence
455
Command Complete Sequence
456
Command Complete Sequence
457
Transaction Control with Data Transfer Using DAT Line
458
Transaction Control with Data Transfer Using DAT Line Sequence (Using DMA)
461
Abort Transaction
462
SDI Special Registers
463
Configuration Register Types
463
SDMA System Address Register
464
Block Size Register
465
Block Count Register
467
Argument Register
468
Transfer Mode Register
469
Determination of Transfer Type
470
Command Register
471
Relation between Parameters and the Name of Response Type
472
Response Register
473
Buffer Data Port Register
475
Present State Register
476
Card Detect State
480
Timing of Command Inhibit (DAT) and Command Inhibit (CMD) with Data Transfer
481
Host Control Register
482
Power Control Register
483
Block Gap Control Register
484
Wakeup Control Register
486
Clock Control Register
487
Timeout Control Register
489
Software Reset Register
490
Normal Interrupt Status Register
492
Error Interrupt Status Register
496
The Relation between Command CRC Error and Command Timeout Error
498
Normal Interrupt Status Enable Register
499
Error Interrupt Status Enable Register
501
Normal Interrupt Signal Enable Register
502
Error Interrupt Signal Enable Register
504
Autocmd12 Error Status Register
505
The Relation between Command CRC Error and Command Timeout Error
506
Capabilities Register
507
Maximum Current Capabilities Register
509
Control Register 2
510
Control Register 3
514
Debug Register
514
Control Register 4
514
Force Event Register for Auto CMD12 Error Status
515
Force Event Register for Error Interrupt Status
516
ADMA Error Status Register
517
ADMA System Address Register
519
HOST Controller Version Register
520
Overview
521
Chapter 21 LCD Controller
522
Features
522
Functional Description
523
Brief of the Sub-Block
523
Data Flow
523
Interface
524
Overview of the Color Data
525
BPP(1+5:5:5, BSWP/HWSWP=0) Display Types
532
BPP(5:6:5, BSWP/HWSWP=0) Display Types
533
VD Signal Connection
538
Palette Usage
540
BPP (A:6:6:6) Palette Data Format
541
Window Blending
542
Overview
542
Blending Diagram/Details
543
Color Key Block Diagram
544
Color Key Function Configurations
545
Vtime Controller Operation
546
RGB Interface
546
I80-System Interface
546
Virtual Display
547
RGB Interface I/O
548
LCD CPU Interface I/O (I80-System I/F)
549
LCD Signal Muxing Table (RGB and I-80 I/F)
550
Programmer's Model
551
Overview
551
Overview
573
Features
573
ADC & Touch Screen Interface Operation
574
Block Diagram
574
Function Descriptions
575
Chapter 22 ADC & Touch Screen Interface
573
Timing Diagram in Auto (Sequential) X/Y Position Conversion Mode
576
ADC and Touch Screen Interface Special Registers
577
ADC Control (ADCCON) Register
577
ADC Touch Screen Control (ADCTSC) Register
578
ADC Start Delay (ADCDLY) Register
579
ADC Conversion Data (ADCDAT0) Register
580
ADC Conversion Data (ADCDAT1) Register
581
ADC Touch Screen Up-Down Int Check Register (ADCUPDN)
581
ADC Channel Mux Register (ADCMUX)
582
Overview
583
Signals
583
Block Diagram
584
Functional Descriptions
584
Master/Slave Mode
585
DMA Transfer
586
Audio Serial Data Format
587
IIS-Bus Format
587
MSB (Left) Justified
587
LSB (Right) Justified
587
Chapter 23 IIS Multi Audio Interface
583
IIS Audio Serial Data Formats
588
Sampling Frequency and Master Clock
589
IIS Clock Mapping Table
589
Programming Guide
590
Initialization
590
Play Mode (TX Mode) with DMA
590
Recording Mode (RX Mode) with DMA
590
Example Code
591
TX FIF0 Structure for BLC = 10 (24-Bits/Channel)
593
RX FIF0 Structure for BLC = 10 (24-Bits/Channel)
596
IIS-BUS Interface Special Registers
597
IIS Control Register (IISCON)
598
IIS Mode Register (IISMOD)
600
IIS FIFO Control Register (IISFIC)
602
IIS Prescaler Control Register (IISPSR)
602
IIS Transmit Register (IISTXD)
603
IIS Receive Register (IISRXD)
603
Chapter 24 AC97 Controller
605
Overview
605
Feature
605
Signals
605
AC97 Controller Operation
606
Block Diagram
606
Internal Data Path
607
Operation Flow Chart
608
AC-Link Digital Interface Protocol
609
AC-Link Output Frame (SDATA_OUT)
610
AC-Link Input Frame (SDATA_IN)
611
AC-Link Input Frame
612
AC97 Power-Down
613
Codec Reset
614
AC97 Controller State Diagram
615
AC97 Controller Special Registers
616
AC97 Special Funcion Register Summary
616
AC97 Global Control Register (AC_GLBCTRL)
617
AC97 Global Status Register (AC_GLBSTAT)
618
AC97 Codec Command Register (AC_CODEC_CMD)
618
AC97 Codec Status Register (AC_CODEC_STAT)
619
AC97 PCM Out/In Channel Fifo Address Register (AC_PCMADDR)
619
AC97 MIC in Channel FIFO Address Register (AC_MICADDR)
620
AC97 PCM Out/In Channel FIFO Data Register (AC_PCMDATA)
620
AC97 MIC in Channel FIFO Data Register (AC_MICDATA)
620
Chapter 25 PCM Audio Interface
621
Overview
621
Feature
621
Signals
621
PCM Audio Interface
621
PCM Timing
623
PCM Input Clock Diagram
624
PCM Registers
625
PCM Register Summary
625
PCM Control Register
626
PCM CLK Control Register
628
The PCM Tx FIFO Register
629
PCM Rx FIFO Register
630
PCM Interrupt Control Register
631
PCM Interrupt Status Register
634
PCM FIFO Status Register
636
PCM Interrupt Clear Register
637
Chapter 26 Electrical Data
639
Absolute Maximum Ratings
639
Recommended Operating Conditions
640
C. Electrical Characteristics
642
Special Memory DDR I/O PAD DC Electrical Characteristics
643
USB DC Electrical Characteristics
644
C. Electrical Characteristics
645
HCLK/CLKOUT/SCLK in Case that EXTCLK Is Used
646
Power-On Oscillation Setting Timing
647
Sleep Mode Return Oscillation Setting Timing
648
SMC Synchronous Read Timing
649
SMC Asynchronous Write Timing
650
SMC Wait Timing
651
Nand Flash Timing
652
SDRAM READ / WRITE Timing (Trp = 2, Trcd = 2, Tcl = 2, DW = 16-Bit)
653
DDR2 Timing
654
SDRAM MRS Timing
655
SDRAM Auto Refresh Timing (Trp = 2, Trc = 4)
656
External DMA Timing (Handshake, Single Transfer)
657
IIS Interface Timing (I2S Master Mode Only)
658
High Speed SDMMC Interface Timing
659
USB Timing (Data Signal Rise/Fall Time)
660
Clock Timing Constants
661
SMC Timing Constants
662
Memory Interface Timing Constants (SDRAM)
663
DMA Controller Module Signal Timing Constants
664
IIS Controller Module Signal Timing Constants(I2S Slave Mode Only)
665
High Speed SPI Interface Transmit/Receive Timing Constants
666
USB Electrical Specifications
667
USB Full Speed Output Buffer Electrical Characteristics
668
PCM Interface Timing
669
Chapter 27 Mechanical Data
671
Package Dimensions
671
Advertisement
Advertisement
Related Products
Samsung S3C80A5B
Samsung S3C2501X
Samsung S3C6400
Samsung S3C2450
Samsung S3C2500B
Samsung S3C6400X
Samsung S3C2451X
Samsung S3C2410
Samsung S3F80JB
Samsung S3F84A5
Samsung Categories
Cell Phone
Monitor
Microwave Oven
LCD TV
Air Conditioner
More Samsung Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL