X1021 Iot Application Processor: Data Sheet
X1021 Iot Application Processor: Data Sheet
X1021 Iot Application Processor: Data Sheet
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.
ii
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Overview
1 Overview
X1021 is a high performance and high integrated application processor, the application is focus on IoT
devices. And it can match the requirements of many other embedded products.
1.2 Features
1.2.1 CPU
XBurst®-1 core
– XBurst® FPU instruction set supporting both single and double floating point format
which are IEEE754 compatible
– XBurst® 9-stage pipeline micro-architecture, the operating frequency is 800MHz
MMU
– 32-entry joint-TLB
– 8 entry instruction TLB
– 8 entry data TLB
L1 Cache
– 16kB instruction cache
1
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Overview
1.2.2 ISP
Dynamic/Static Defect Pixel Correction
Green Equalization
Black Level Correction
Lens Shading Correction
3A(Auto Exposure/Auto White Balance/Auto Focus)
Support Statistical Information Output(3A)
Adaptive Dynamic Range Compression
Demosaic
Sharpen
Bayer Denoise
2D/3D Denosie
Color Noise Suppression
Lens Distortion Correction
2D Color Correction
3D Color Correction
Gamma Correction
Defog
3 Independent Image Scaler and Output
Crop, Mirror and Flip
Support Maximum Resolution:2048x2048
Flash timer
1.2.4 Display(LCD)
Basic Features
― Display size up to 800x600@60Hz,24BPP
― SLCD interface 6800(type A) and 8080(type B)
Colors Supports
― Support up to 16,777,216 (16M) colors
Panel Supports
― transmit 565 by one cycle via SLCD 16bit data interface
― transmit 666 by two cycle via SLCD 9bit data interface
― transmit 565 by two cycle via SLCD 8bit data interface
― transmit 888 by three cycle via SLCD 8bit data interface
― Supports different size of display panel
― Supports internal DMA operation and direct write register operation
1.2.6 Audio
Integrated Audio codec.
– 24 bits DAC with 93dB SNR
– 24 bits ADC with 92dB SNR
– Support signal-ended and differential microphone input and line input
– Automatic Level Control (ALC) for smooth audio recording
– Pure logic process: no need for mixed signal layers and less mask cost
– Programmable input and output analog gains
– Digital interpolation and decimation filter integrated
– Sampling rate 8K/12K/16K/24K/32/44.1K/48K/96K
3
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Overview
– Another set of source, mask and pending registers to serve for PDMA
Watchdog timer
– Generates WDT reset
– A 16-bit Data register and a 16-bit counter
– Counter clock uses the input clock selected by software
PCLK, EXTAL and RTCCLK can be used as the clock for counter
The division ratio of the clock can be set to 1, 4, 16, 64, 256 and 1024 by software
Direct memory access controllers
– Support up to 32 independent DMA channels
– Descriptor or No-Descriptor Transfer mode compatible with previous JZ SoC
– Transfer data units: 1-byte, 2-byte, 4-byte, 16-byte, 32-byte, 64-byte, 128-byte
– Transfer number of data unit: 1 ~ 224 - 1
– Independent source and destination port width: 8-bit, 16-bit, 32-bit
– Fixed three priorities of channel groups: 0~3, highest; 4~11: mid; 12~31: lowest
– An extra INTC IRQ can be bound to one programmable DMA channel
SAR A/D Controller
– 2 Channels
– Resolution: 10-bit
– Integral nonlinearity: ±1 LSB
– Differential nonlinearity: ±0.5 LSB
– Resolution/speed: up to 2MSPS
– Max Frequency: 24MHz
– Low power dissipation: 1.5mW(worst)
– Support multi-touch detect
– Support write control command by software
– Single-end and Differential Conversion Mode
– Support external touch screen controller
– Pin Description
RTC (Real Time Clock)
– Need external 32768Hz oscillator for 32k clock generation
– 32-bits second counter
– Programmable and adjustable counter to generate accurate 1 Hz clock
– Alarm interrupt, 1Hz interrupt
– Stand alone power supply, work in hibernating mode
– Power down controller
– Alarm wakeup
– External pin wakeup with up to 2s glitch filter
OTP Slave Interface
– Total 2048 bits. Lower 192bits are read only, other higher bits are read-able and
write-able
5
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Overview
1.2.9 Peripherals
General-Purpose I/O ports
– Each port can be configured as an input, an output or an alternate function port
– Each port can be configured as an interrupt source of low/high level or rising/falling edge
triggering. Every interrupt source can be masked independently
– Each port has an internal pull-up or pull-down resistor connected. The pull-up/down
resistor can be disabled
– GPIO output 3 interrupts, each interrupt corresponds to the group, to INTC
SMB Controller
– Two-wire SMB serial interface – consists of a serial data line (SDA) and a serial clock
(SCL)
– Two speeds
Standard mode (100 Kb/s)
Fast mode (400 Kb/s)
– Device clock is identical with pclk
– Programmable SCL generator
– Master or slave SMB operation
– 7-bit addressing/10-bit addressing
– 16-level transmit and receive FIFOs
– Interrupt operation
– The number of devices that you can connect to the same SMB-bus is limited only by the
maximum bus capacitance of 400pF
– APB interface
– 2 independent SMB channels (SMB0, SMB1)
7
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Overview
1.2.10 Bootrom
32kB Boot ROM memory
1.3 Characteristic
Item Characteristic
Process Technology 28nm CMOS low power
Power supply voltage General purpose I/O: 1.5~3.6V
DDR I/O: DDR2 ± 0.1V
RTC I/O: 1.5V~3.6V
EFUSE programming: 1.5V ± 10%
Analog power supply 1: 1.8V ± 10%
Analog power supply 2: 3.3V ± 10%
Core: 1.0V ± 0.1V
Package BGA152 9mm x 9mm x 1.22mm, 0.65mm pitch
Operating frequency 800MHz
9
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Packaging and Pinout Information
10
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Packaging and Pinout Information
CLK32K_OU
PWM6_SLC
BOOT_SEL0 T_PWM7_SL SFC_DR_PA SFC_CE0_P
D PLL_VDDA
_PC00
TRST VDDMEM VDDMEM VDDMEM VDDMEM
CD_TE_PC1
D_WR_PC1
24 A28 D
5
6
PWM1_FLA PWM0_FLA
SH_OUT_UA SH_STORB
RD_SMB0_S
E EXCLK_XI EXCLK_XO RTC_VDD RST_DELAY DDRVDD DDRVDD DDRVDD DDRVDD RT2_RTS_S E_IN_UART WAIT_PA22 GPIO_PA18
CK_PA13 E
LCD_D7_PC 2_CTS_SLC
18 D_D6_PC17
CS2_SMB0_ DVP_VSYNC
F OSC32_XI OSC32_XO AVDEFUSE VSSMEM VSSMEM VSSMEM VSSMEM VSSMEM VDDIO2
SDA_PA12 _PA17 F
SD5_DVP_D SD6_DVP_D
K USB_VCC33 USB_VCC18 VSS VDD VDD VDD VDD VDDIO1 VDDIO1
5_PA05 6_PA06 K
GMAC_MDC GMAC_RXD
K_SSI1_CLK 0_MAC_LED SLCD_RDY_ SD3_DVP_D SD4_DVP_D
L USB_VCC10 MICN MICBIAS
_SLCD_D4_ _LINK_SLCD PB28
MAC_TXN MAC_RXN MAC_VDDA
3_PA03 4_PA04 L
PB10 _WR_PB15
GMAC_TXD
GMAC_PHY
GMAC_RXD GMAC_RXD 1_SSI1_CE1
_CLK_MAC_
DRV_VBUS_ V_SSI1_DR_ 1_MAC_LED _MAC_LED_ PWM0_SLC MAC_EXTR SD1_DVP_D SD2_DVP_D
M MICP VCM
PB27 SLCD_D3_P _RX_SLCD_
LED_TX_SL
DUPLEX_SL D_CS_PB17
MAC_TXP MAC_RXP
ES 1_PA01 2_PA02 M
CD_D1_PB0
B09 TE_PB16 CD_D7_PB1
7
GMAC_TXD 4
GMAC_TXC
GMAC_MDI 0_SSI1_GPC GMAC_TXE
LK_MAC_LE
CODEC_AV O_SSI1_CE0 _MAC_LED_ N_SSI1_DT_ PWM1_SLC MAC_TEST_ MAC_VDDH SD0_DVP_D
N HPOUT
DD _SLCD_D5_
D_SPEED10
SPEED10_S SLCD_D2_P D_DC_PB18
GPIO_PB31
ATP V 0_PA00 N
0_SLCD_D0
PB11 LCD_D6_PB B08
_PB06
13
1 2 3 4 5 6 7 8 9 10 11 12 13
11
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Packaging and Pinout Information
2.5.2 SFC
Table 2-2 SFC Pins(6)
2.5.3 MSC0/GMAC/PWMx/UARTx/I2C1/JTAG/SLCD
Table 2-3 MSC0/GMAC/PWMx/UARTx/I2C1/JTAG/SLCD (28)
13
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Packaging and Pinout Information
14
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Packaging and Pinout Information
2.5.4 MSC1/SSI0/PWMx/I2C1/GMAC/UART2/CAMERA/SLCD
Table 2-4 MSC1/SSI0/PWMx/I2C1/GMAC/UART2/CAMERA/SLCD Pins (16)
15
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Packaging and Pinout Information
2.5.5 GPIO
Table 2-5 GPIO Pins (2)
16
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Packaging and Pinout Information
2.5.6 System
Table 2-6 System Control Pins(6)
17
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Packaging and Pinout Information
18
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Packaging and Pinout Information
19
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Packaging and Pinout Information
NOTES:
1 All GPIO are programmable with multi-voltage (1.8V, 2.5V, 2.8V. 3.0V, 3.3V) general purpose,
bi-directional I/O buffer with a selectable LVCMOS input or LVCMOS Schmitt trigger input and
programmable pull-up / pull-down. In the full-drive mode, this buffer can operate in excess of
100MHz frequency with 15pF external load and 125 MHz with 10pF load, but actual frequency is
load and system dependent. A maximum of 200 MHz can be achieved under small capacitive
loads.
2 The meaning of phases in IO cell characteristics are:
8/16mA out: The IO cell’s output driving strength is about 8/16mA.
20
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Packaging and Pinout Information
Pull-up: The IO cell contains a pull-up resistor and fixed pull up.
Pull-down: The IO cell contains a pull-down resistor and fixed pull down.
Pullup-rst: The IO cell during reset and after the pull up function is enabled.
Pulldown-rst: The IO cell during reset and after the pull down function is enabled.
Schmitt: The IO cell is Schmitt trigger input and fixed.
Schmitt-rst: The IO cell during reset and after the Schmitt trigger input function is enabled.
Slew-rate-rst: The IO cell during reset and after the slew-rate function select fast mode.
3 *: This pin has GPIO function as group A bit 30, but only input/interrupt function.
21
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Electrical Specifications
3 Electrical Specifications
3.1 Absolute Maximum Ratings
The absolute maximum ratings for the processors are listed in Table 3-1. Do not exceed these
parameters or the part may be damaged permanently. Operation at absolute maximum ratings is not
guaranteed.
23
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Electrical Specifications
MICP
VOUT
MICN
MIC
There are two microphone input channels, MICP and MICN. They can be configured as differential
inputs by the microphone PGA(MIC).
The signal of microphone output should be input to AUDIO CODEC through DC-blocking capacitor, as
shown in following figure. The capacitance and input resistance form a high pass filter. For example,
when the gain of the MIC module is 20dB, the input resistance is 45KΩ and 0.1uF DC-blocking
capacitor is used, the lower cut-off frequency is:
1 1
f 35.4 Hz
2RC 2 45 103 0.1 10 6
The capacitance of the DC-blocking capacitor should be determined by the minimum input impedance
and application requirements.
MICP
C0
AUDIO
CODEC
C1
MICN
If the output of microphone is single-ended, the AUDIO ADC input should be connected as following
figure.
MICP MICP
C0 C0
AUDIO AUDIO
CODEC CODEC
C1 C1
MICN MICN
Microphone PGA has four gains to amplify the input signal, that is, 0dB, 20dB, 30dB and 40dB.
3.3.2 ALC
Automatic Level Control (ALC) function is included to adjust the signal level, which is input into ADC.
ALC will measure the signal magnitude and compare it to defined threshold. Then it will adjust the ALC
24
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Electrical Specifications
The programmable gain range of ALC controlled PAG is from -18dB to +28.5dB. The tuning step is
1.5dB.
In the configuration using DC-blocking capacitor, shown in following figure, the headphone ground is
connected to the real ground. The capacitance and the load resistance determine the lower cut-off
frequency. For instance, if 16Ωheadphone and 100uF DC-blocking capacitor are used, the lower
cut-off frequency is
1 1
f 99.5Hz
2RC 2 16 100 10 6
The DC-blocking capacitor can be increased to lower the cut-off frequency for better bass response.
HPOUT
Audio
DAC
AGND
The headphone driver chooses DAC output as input. It has a gain rang from -39dB to +6dB with a
tuning step of 1.5dB.
For the 100BaseT receive function, the MLT-3 from the cable is fed into PHY through a low-pass-filter,
and a 6b AD samples the incoming data. A programmable gain is implemented in the ADC. Baseline
wander is corrected using a small DAC.
The receiver receives the encoded stream from the cable, and the analog signal is filtered and
checked using a squelch circuit. The receiver recovers the clock and data to recreate the NRZI stream
25
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Electrical Specifications
after confirming that the data is valid encoded data. Polarity is identified and corrected as necessary
(observable through register interface). Then stream is deserialized ascent to the MAC interface at
2.5MHz.
TXD+
TXD-
RXD-
26
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Electrical Specifications
NOTES:
The power rise time is defined as 10% to 90%.
The PPRST_ must be kept at least 100us. After PPRST_ is deasserted, the corresponding
chip reset will be extended at least 40ms.
tR_VDDRTC
VDDRTC
tD_VDD
tD_VDD
tR_VDD
VDD
tD_VDD10
tD_VDD11
tR_VDD10
VDD10
tD_AVDAUD
tD_AVDAUD
tR_AVDAUD
AVDAUD
tD_AVD
tR_AVD
AVD
tD_PPRST_
PPRST_
27
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Electrical Specifications
After reset, all GPIO shared pins are put to GPIO input function and most of their internal pull-up/down
resistor are set to on, see “2.5Pin Description” for details. The PWRON is output 1. The oscillators are
on. The USB 2.0 OTG PHY and USB 1.1 PHY, the audio CODEC DAC/ADC, the SAR-ADCs is put in
suspend mode.
3.5.3 BOOT
The boot sequence of the X1021 is controlled by boot_sel[1:0]. The configuration is shown as follow:
28
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.
Electrical Specifications
4 If it is boot from USB, a block of code will be received through USB cable connected with host
PC and be stored in cache. Then branch to this area in cache.
5 If it is boot from SPI nor/nand at SFC, its function pins SFC_CLK,SFC_CE, SFC_DR,SFC_DT,
SFC_WP,SFC_HOLD are initialized,the boot program loads the 12kB code from SPI
NAND/NOR flash to cache and jump to it.
6 If it is boot from NOR Flash, the boot program jump to nor and run directory.
When SFC boot start failure, the program in bootrom will go into MSC0 boot.
When MSC0 boot start failure, the program in bootrom will go into MSC1 boot,If it is boot from
MMC/SD card at MSC1, its function pins MSC1_D0, MSC1_CLK, MSC1_CMD are initialized, the boot
program loads the 26KB code from MMC/SD card to cache and jump to it. Only one data bus which is
MSC1_D0 is used.If MSC1 boot start failure, jump to USB boot.
Reset
N = 0
N = N +1
Enter
Y
Hibernate N> 3
mode
N
Check bootsel
01 00 10 11
MSC 0 NOR
SFC BOOT USB BOOT
BOOT BOOT
N N N N
Finish boot
29
X1021 IoT Application Processor Data Sheet
Copyright © 2005-2020 Ingenic Semiconductor Co., Ltd. All rights reserved.