Ingenic JZ4780 Guide

Ingenic®JZ4780
Board Design Guide
Revision: 1.1
Date: Sept. 2013


Ingenic JZ4780
Board Design Guide
Copyright © Ingenic Semiconductor Co. Ltd 2013. All rights reserved.
Release history
Date
Revision
Change
Jan 2013
1.0
First release
Sept.2013
1.1
Change the company address and etc
Disclaimer
This documentation is provided for use with Ingenic products. No license to Ingenic property rights is
granted. Ingenic assumes no liability, provides no warranty either expressed or implied relating to
the usage, or intellectual property right infringement except as provided for by Ingenic Terms and
Conditions of Sale.
Ingenic products are not designed for and should not be used in any medical or life sustaining or
supporting equipment.
All information in this document should be treated as preliminary. Ingenic may make changes to this
document without notice. Anyone relying on this documentation should contact Ingenic for the
current documentation and errata.
Ingenic Semiconductor Co., Ltd.
Junzheng Bld, Zhongguancun Software Park 2 Dongbeiwang West Road, Haidian
District Beijing,China,100193
Tel: 86-10-56345000
Fax: 86-10-56345001
Http: //www.ingenic.cn


Content
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
i
Content
1Overview............................................................................................. 1
1.1 Introduction.........................................................................................................................1
1.2 Reference Platform.............................................................................................................2
2Platform Stack-Up and Placement...................................................... 3
2.1 General Design Considerations...........................................................................................3
2.2 Nominal 6-Layer Board Stack-Up........................................................................................3
2.3 PCB Technology Considerations.........................................................................................4
2.4 8-Layer HDI Board Stack-Up...............................................................................................6
2.5 4-Layer Board Stack-Up......................................................................................................5
3Static Memory Interface Design Guidelines ....................................... 7
3.1 Overview ............................................................................................................................7
3.2 Boot Memory......................................................................................................................7
3.3 NAND Flash Connection.....................................................................................................8
4DDR3 SDRAM.................................................................................... 9
4.1 Overview ............................................................................................................................9
4.2 Connection to two 2Gb x 16 DDR3 SDRAM device.............................................................9
4.3 Connection to four 1Gb x 8 DDR3 SDRAM device.............................................................10
4.4 Layout Guideline...............................................................................................................10
5Audio Codec Design Guidelines....................................................... 14
5.1 Overview ..........................................................................................................................14
5.2 Audio Power .....................................................................................................................14
5.3 Headphone Out ................................................................................................................14
5.4 Mic In................................................................................................................................15
5.5 Speaker............................................................................................................................16
5.6 Receiver...........................................................................................................................16
5.7 Line In...............................................................................................................................16
5.8 Ditigal Mic.........................................................................................................................17
5.9 Layout Guideline...............................................................................................................17
6USB and OTG Design Guidelines .................................................... 19
6.1 USB Overview ..................................................................................................................19
6.1.1 USB Power................................................................................................................19
6.2 OTG Overview..................................................................................................................19
6.2.1 OTG Power ...............................................................................................................19
6.3 Guidelines for the USB and OTG interface........................................................................20

Content
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
ii
7LCD....................................................................................................22
8LVDS..................................................................................................25
8.1Overview.......................................................................................................................... 25
9HDMI..................................................................................................26
9.1 HDMI Overview................................................................................................................ 26
9.1.1 HDMI Power ............................................................................................................. 26
10 Camera..............................................................................................27
10.1 Overview..........................................................................................................................27
11 MSC...................................................................................................28
11.1 Overview..........................................................................................................................28
11.1.1 MSC Power...............................................................................................................28
12 PS/2 and Keyboard ...........................................................................29
12.1 Overview..........................................................................................................................29
13 SAR A/D Controller............................................................................30
13.1 Overview..........................................................................................................................30
13.2 Touch Screen...................................................................................................................30
13.3 Battery Voltage Measurement...........................................................................................31
14 OTP EFUSE ......................................................................................32
14.1 Overview..........................................................................................................................32
15 Ethernet Design Guidelines...............................................................33
15.1 Overview..........................................................................................................................33
15.2 JZ4780 Ethernet Controller Connection............................................................................ 33
16 RTC ...................................................................................................34
16.1 Overview..........................................................................................................................34
16.2 RTC Clock........................................................................................................................ 34
16.3 Power Control ..................................................................................................................34
17 Miscellaneous Peripheral Design Guidelines....................................36
17.1 SSI Design Guideline .......................................................................................................36
17.2 UART...............................................................................................................................37
17.2.1 UART Implementation...............................................................................................37
17.3 I2C BUS........................................................................................................................ 38
17.4 PWM............................................................................................................................. 38

Content
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
iii
17.5 GPIO................................................................................................................................38
17.6 JTAG/Debug Port..............................................................................................................38
18 Platform Clock Guidelines ................................................................ 40
19 Platform Power Guidelines ............................................................... 41
19.1 Overview ..........................................................................................................................41
19.2 Power Delivery and Decoupling.........................................................................................41


Overview
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
1
1 Overview
JZ4780 is a mobile application processor targeting for multimedia rich and mobile devices like tablet
computer, smartphone, mobile digital TV, and GPS. This SOC introduces a kind of innovative
architecture to fulfill both high performance mobile computing and high quality video decoding
requirements addressed by mobile multimedia devices. JZ4780 provides high-speed CPU computing
power, good 3D experience and fluent 1080p video replay.
The memory interface supports a variety of memory types that allow flexible design requirements,
including glueless connection to SLC NAND flash memory or up to 64-bit ECC MLC/TLC NAND flash
memory and toggle NAND flash for cost sensitive applications. It provides the interface to DDR2,
DDR3, LPDDR and LPDDR2 memory chips with lower power consumption. JZ4780 also integrates
DDR ( including DDR2, DDR3, LPDDR and LPDDR2) memory controller, LCD controller (support
regular RGB, LVDS and HDMI transmitter),Audio Codec, multi-channel SAR-ADC, AC97/I2S
controller, Camera controller, PCM interface, TV encoder, TS interface, MMC/ SD/SDIO host controller,
high speed SPI, I2C, PS2 interface, USB2.0 Host, USB OTG, UART, GPIO and so on.
1.1 Introduction
This design guide provides recommendations for system designs based on the JZ4780 processor.
Design issues (e.g., thermal considerations) should be addressed using specific design guides or
application notes for the processor.
The design guidelines in this document are used to ensure maximum flexibility for board designers
while reducing the risk of board related issues. The design information provided in this document
falls into two categories:
• Design Recommendations: It is based on INGENIC‟s simulations and lab experience to date
are strongly recommended, if not necessary, to meet the timing and signal quality
specifications.
• Design Considerations: Suggestions for platform design provide one way to meet the design
recommendations. Design considerations are based on the reference platforms designed by
INGENIC. They should be used as an example, but may not be applicable to particular
designs.
Note: In this manual, processor means the JZ4780 processor if not specified.
The guidelines recommended in this manual are based on experience and simulation work
completed by INGENIC while developing systems with JZ4780. This work is ongoing, and the
recommendations and considerations are subject to change.
Platform schematics can be obtained and are intended as a reference for board designers.
While the schematics may cover a specific design, the core schematics remain the same for
most platforms. The schematic set provides a reference schematic for each platform
component, and common system board options. Additional flexibility is possible through other
permutations of these options and components.
The document can help customer span doorstep, design product using existent software and
hardware resources. Your advice is the best encourage for us.

Overview
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
2
1.2 Reference Platform
Figure 1-1 shows the JZ4780 Development Board Architecture.
Figure 1-1 JZ4780 Development Board Architecture

Platform Stack-Up and Placement
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
3
2 Platform Stack-Up and Placement
In this section, an example of a JZ4780 platform component placement and stack-up is presented
for a PMP product.
2.1 General Design Considerations
This section describes motherboard layout and routing guidelines for JZ4780 platforms. This section
does not describe the function of any bus, or the layout guidelines for an add-in device. If the
guidelines listed in this manual are not followed, it is very important that thorough signal integrity and
timing simulations are completed for each design. Even when the guidelines are followed, critical
signals are recommended to be simulated to ensure proper signal integrity and flight time. Any
deviation from the guidelines should be simulated.
The trace impedance typically noted (i.e., 50Ω ± 10%) is the nominal trace impedance for a 4-mil
wide trace. That is, the impedance of the trace when not subjected to the fields created by changing
current in neighboring traces. When calculating flight times, it is important to consider the minimum
and maximum impedance of a trace based on the switching of neighboring traces. Using wider
spaces between the traces can minimize this trace-to-trace coupling. In addition, these wider spaces
reduce settling time. Coupling between two traces is a function of the coupled length, the distance
separating the traces, the signal edge rate, and the degree of mutual capacitance and inductance.
To minimize the effects of trace-to-trace coupling, the routing guidelines documented in this section
should be followed. Additionally, these routing guidelines are created using a PCB stack-up similar
to that illustrated in Figure 2-1.
2.2 Nominal 6-Layer Board Stack-Up
The JZ4780 platform requires a board stack-up yielding a target board impedance of 50 Ω ± 10%.
Recommendations in this design guide are based on the following a 6-layer board stack-up:
Core Layer 8
Ground Layer 9
Prepreg Layer 10
Signal Layer 11
Figure 2-1 6-layer PCB Stack-Up
Prepreg Layer 6
Ground Layer 3
Signal Layer 1
Prepreg Layer 2
Core Layer 4
Power Layer 7
-----------------------------------------------------
Total Thickness 62 mils.
Signal Layer 5

Platform Stack-Up and Placement
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
4
Table 2-1 PCB Parameter
Description
Nominal Value
Tolerance
Comments
Board Impedance Z0
50Ω
±10%
With nominal 4 mil trace width
Dielectric Thickness
4.3 mils
±0.5 mils
1 x 2116 Pre-Preg
Micro-stripline Er
4.1
±0.4
@ 100 MHz
Trace Width
4.0 mils
±0.5 mils
Standard trace
Trace Thickness
2.1 mils
±0.5 mils
0.5 oz foil + 1.0 oz plate
Soldermask Er
4.0
±0.5
@ 100 MHz
Soldermask Thickness
1.0 mils
±0.5 mils
From top of trace
2.3 PCB Technology Considerations
The following recommendation aids in the design of a JZ4780 based platform. Simulations and
reference platform are based on the following technology, and we recommend that designers
adhere to these guidelines.
Figure 2-2 PCB Technologies –Stack-Up
L1 Signal
L6 Signal
L2 Ground
Copper
L4 Power
Copper
L3 Signal
L5 Ground
Copper

Platform Stack-Up and Placement
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
5
Table 2-2 PCB Parameter for Vias
Number of Layers
Stack Up
6 Layer
Cu Thickness1
0.5 oz Outer (before plating); 1 oz inner
Final Board Thickness
62 mils (- 5mils / +8mils)
Material
Fiberglass made of FR4
Signal and Power Via Stack
Via Pad
16 mils
Via Anti-Pad
20 mils
Via Finished Hole
8 mils
1. The Cu Thickness is just a reference value. It is calculated by the PCB board producers for
impedance matching.
2.4 4-Layer Board Stack-Up
The JZ4780 platform requires a board stack-up yielding a target board impedance of 50 Ω ± 10%. If
a 4-layer board is used, the stack-up should be:
Figure 2-3 4-layer PCB Stack-Up
Table 2-3 PCB Parameter
Description
Nominal Value
Tolerance
Comments
Board Impedance Z0
50Ω
±10%
With nominal 4 mil trace width
Micro-stripline Er
4.1
±0.4
@ 100 MHz
Trace Width
4.0 mils
±0.5 mils
Standard trace
Trace Thickness
2.1 mils
±0.5 mils
0.5 oz foil + 1.0 oz plate
Soldermask Er
4.0
±0.5
@ 100 MHz
Soldermask Thickness
1.0 mils
±0.5 mils
From top of trace
Signal Layer 1
-----------------------------------------------------
Total Thickness 40 mils.
Ground Layer 3
Core Layer 4
Prepreg Layer 2
Power Layer 5
Signal Layer 7
Prepreg Layer 6

Platform Stack-Up and Placement
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
6
2.5 8-Layer HDI Board Stack-Up
The JZ4780 platform requires a board stack-up yielding a target board impedance of 50 Ω ± 10%. If
a 8-layer HDI board is used, the stack-up should be:
Figure 2-4 8-layer PCB Stack-Up
Table 2-4 PCB Parameter
Description
Nominal Value
Tolerance
Comments
Board Impedance Z0
50Ω
±10%
With nominal 4 mil trace width
Micro-stripline Er
4.1
±0.4
@ 100 MHz
Trace Width
4.0 mils
±0.5 mils
Standard trace
Trace Thickness
2.1 mils
±0.5 mils
0.5 oz foil + 1.0 oz plate
Soldermask Er
4.0
±0.5
@ 100 MHz
Soldermask Thickness
1.0 mils
±0.5 mils
From top of trace
Placement Layer 1
Prepreg Layer 2
Power Layer 11
-----------------------------------------------------
Total Thickness 40 mils.
Ground Layer 5
Prepreg Layer 14
Prepreg Layer 12
Core Layer 10
Core Layer 6
Prepreg Layer 8
Signal Layer 3
Signal Layer 7
Signal Layer 13
Ground Layer 9
Ground Layer 15
Prepreg Layer 4

Static Memory Interface Design Guidelines
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
7
3 Static Memory Interface Design
Guidelines
3.1 Overview
The External NAND Memory Controller (NEMC) divides the off-chip memory space and outputs
control signals complying with specifications of various types of static memory and bus interfaces. It
enables the connection of static memory such as conventional NAND flash memory, Toggle NAND
flash memory, etc. to this processor.
This section is the design guidelines for the external memory interface.
The static memory controller provides a glueless interface to NOR Flash ,NAND Flash and Toggle
NAND flash. It supports 6 chips selection CS6~CS1 and each bank can be configured separately.
JZ4780 supports most types of NAND flashes, including SLC and MLC/TLC, 8-bit data access,
512B/2K/4K/8KB page size. It also support boot from NAND flash.
3.2 Boot Memory
BOOT_SEL[2:0] pins define the boot time configurations as listed in the following table.
Table 3-1 Boot Configuration
BOOT_SEL2
BOOT_SEL1
BOOT_SEL0
Boot From
1
1
1
usb boot
1
0
0
msc1 boot
1
0
1
msc0 boot
0
1
1
emmc boot
1
1
0
nand boot
0
0
0
spi boot
0
0
1
Reserves
0
1
0
nor boot (CS2)
The boot procedure is showed in the following flow chart:
In case of NAND/SDcard/iNAND/SPI boot, if it fails, enter MSC1 and USB boot.
In case of USB boot, if it cannot connect to USB host within 10 seconds, restart the boot
procedure.
In case of NOR boot, if it fails, restart the boot procedure.
If the boot procedure has been repeated more than 3 times, enter hibernating mode.

Static Memory Interface Design Guidelines
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
8
3.3 NAND Flash Connection
It supports on CS[6:1], sharing with static memory bank6~bank1.
The following Figure 3-1 is an example of 8-bit NAND Flash Interconnection, Figure3-2 is an
example of 8-bit Toggle NAND Flash Interconnection.
Figure 3-1 8-bit NAND Flash Interconnection Example
Figure 3-2 8-bit Toggle NAND Flash Interconnection Example
CS[n]#
SA0
SA1
SD[7:0]
JZ4780
FRE#
FWE#
FRB#
CE#
CLE
ALE
I/O [7:0]
NAND Flash
RE#
R/B#
WE#
CS[n]#
SA0
SA1
SD[7:0]
JZ4780
FRE#
FWE#
FRB#
CE#
CLE
ALE
I/O [7:0]
NAND Flash
RE#
R/B#
WE#
DQS
NDQS

DDR3 SDRAM
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
9
4 DDR3 SDRAM
4.1 Overview
JZ4780 contain a DDR Controller which is a general IP that provide an interface to DDR2, DDR3,
LPDDR and LPDDR2 memory. The following figures give examples on the connection to external
DDR3 SDRAM devices.
4.2 Connection to two 2Gb x 16 DDR3 SDRAM device
Figure 4-1 Two 16-bit DDR3 Interconnection Example
CKE
CS#
BA[2:0]
A[13:0]
ODT
RAS#
CAS#
WE#
CK, CK#
RESET#
DQ[15:0]
LDQS, LDQS#
UDQS, UDQS#
LDM
UDM
JZ4780
2Gb x 16
DDR3 SDRAM
CKE
CS0_N
BA[2:0]
DA[13:0]
ODT0
RAS_N
CAS_N
WE_N
CK, CK_N
RST_N
DQ[15:0]
DQS0, DQS0_N
DQS1, DQS1_N
DM0
DM1
DQ[31:16]
DQS2, DQS2_N
DQS3, DQS3_N
DM2
DM3
CKE
CS#
BA[2:0]
A[13:0]
ODT
RAS#
CAS#
WE#
CK, CK#
RESET#
DQ[15:0]
LDQS, LDQS#
UDQS, UDQS#
LDM
UDM

DDR3 SDRAM
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
10
4.3 Connection to four 1Gb x 8 DDR3 SDRAM device
Figure 4-2 Four 8-bit DDR3 Interconnection Example
4.4 Layout Guideline
In the classical high-speed flow, to ensure the maximum performance of the DDR3, we should
observe the following guidelines. The questions we should be noticed are: Flight time delay and
skew, Signal integrity and impedance matching, Crosstalk, Power supply bypassing.
The basic recommendations are as follows:
The minimum Stack-up required four layer stack. There must have a ground layer to
separated two signal layers. Just as describes in Figure 2-3.
Signals should be routed based on the relative tightness of the skew budgets. In order of
priority:
1) The double data rate signals, DQ, DM, and DQS/DQS# should be routed first since
these have the strictest budgets, ¼of a clock period available for set up or hold relative
to the differential strobe.
2) Differential clock, CK/CK# and single data rate signals, Address/Command/Control.
These have looser budgets with ½of a clock period for set up and hold.
3) If read and write leveling techniques are not used, make sure that the rising edges of all
differential DQS/DQS# signals are within ¼of a clock period of the rising edge of the
differential clock, CK/CK#.
4) Route all Vref and support signals (JTAG etc. if implemented)
1Gb x 8
DDR3 SDRAM
CKE
CS#
BA[2:0]
A[13:0]
ODT
RAS#
CAS#
WE#
CK, CK#
RESET#
DQ[8:0]
LDQS, LDQS#
DM
CKE
CS#
BA[2:0]
A[13:0]
ODT
RAS#
CAS#
WE#
CK, CK#
RESET#
DQ[8:0]
LDQS, LDQS#
DM
CKE
CS#
BA[2:0]
A[13:0]
ODT
RAS#
CAS#
WE#
CK, CK#
RESET#
DQ[8:0]
DQS, DQS#
DM
CKE
CS#
BA[2:0]
A[13:0]
ODT
RAS#
CAS#
WE#
CK, CK#
RESET#
DQ[8:0]
DQS, DQS#
DM
JZ4780
CKE
CS0_N
BA[2:0]
DA[13:0]
ODT0
RAS_N
CAS_N
WE_N
CK, CK_N
RST_N
DQ[8:0]
DQS0, DQS0_N
DM0
DQ[15:9]
DQS1, DQS1_N
DM1
DQ[23:16]
DQS2, DQS2_N
DM2
DQ[31:24]
DQS3, DQS3_N
DM3
1Gb x 8
DDR3 SDRAM

DDR3 SDRAM
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
11
The fundamental high-speed PCB issues are flight time delay and skew. Controlling the
maximum placement of components. All of the shorter nets in a clock domain must be
match the longest one. Therefore, flight time delay and skew are controlled by the matching
of the trace.
Assumptions are 151 ps./inch for top layer microstrip (air in cross section) and 179 ps./inch
for stripline or embedded microstrip (no air in cross section). The below table is the
recommended budgets.
Table 4-1 The Recommended Budgets
Signal integrity refers to controlling overshoot, ring back, and transition edges. These issues
are caused by the mismatch of impedance. Trace impedance is governed by the trace width
as well as the thickness and dielectric constant of the PCB insulating materials (usually
FR-4). So you should keep the impedance average in a trace, be sure the bending and via
as little as possible.
When the signal has a via in it‟s trace, there must be a GND via beside the signal via.
Crosstalk is fundamentally controlled by the PCB stack-up and minimum trace spacing. The
best approach to avoiding a crosstalk problem is to ensure all the signals have high-quality
signal return paths and to spread the signal out.
oEach signal layer should have a nearby full ground plane to provide the shortest
return current path. In order to maintain consistent characteristic impedance, it is
important that the traces be routed over solid ground planes(Figure 4-3) not
separate (Figure 4-4). A high speed signal trace should never be routed across a
plane split. This will interrupt the return currents that flow beneath the conductor
and can lead to crosstalk with neighboring traces. This will also increase emissions
from the board.
Figure 4-3 GND Joined Together

DDR3 SDRAM
Board Design Guide for JZ4780, Revision 1.1
Copyright® 2005-2013 Ingenic Semiconductor Co., Ltd. All rights reserved.
12
Figure 4-4 GND is seperate
oEach bus (D0~D8, DQS0/DQS0_N and DQM0 compose one bus, and etc.) should
not cross other buses.If routing is carried out on two layers, byte lanes should be
alternated between layers in order to reduce congestion, and crosstalk at the
DRAMs; e.g. Byte lanes 0 and 2 should be routed on one layer, and 1 and 3 on the
other.
oThe crosstalk and characteristic impedance of an array of traces are interrelated. In
order to minimize crosstalk, the characteristic impedance of a trace should be
determined predominantly by the distance to the reference plane and not the
distance to the neighboring traces. To achieve this, the space between traces
should be twice the height of the trace above the ground plane. Figure4-5 show the
recommended spacing (“H”means the height from reference plane.).
Figure 4-5 Spacing between Different Signal Groups
Precise power supply bypassing is important for high-speed PCB. Control the power supply
high-frequency impedance means controlling power supply inductance. Power supply
high-frequency impedance is beaten down by many small capacitors connected between
the power and ground plane. Using many capacitors, rather than a large one, will reduce
the inductance. The inductance of a capacitor is dependent on its size. The capacitor
DDR3
Other manuals for JZ4780
1
Table of contents
Other Ingenic Computer Hardware manuals
Popular Computer Hardware manuals by other brands

SOLIS
SOLIS DLS-W Connection guide

Cobalt Digital Inc
Cobalt Digital Inc 9922-FS-DSP product manual

Analog Devices
Analog Devices ADSP-21065L EZ-KIT Lite manual

AMX
AMX TP4-VID Specifications

Bosch
Bosch ADC 0064 A installation manual

American Megatrends
American Megatrends MegaRAC 780 Series Quick install guide