SPEAR-09-B042 [STMICROELECTRONICS]
SPEAr㈢ BASIC ARM 926EJ-S core, customizable logic, large IP portfolio SoC; SPEAr㈢基本臂926EJ -S核心,可定制的逻辑,大量的IP组合的SoC型号: | SPEAR-09-B042 |
厂家: | ST |
描述: | SPEAr㈢ BASIC ARM 926EJ-S core, customizable logic, large IP portfolio SoC |
文件: | 总66页 (文件大小:923K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
SPEAR-09-B042
SPEAr® BASIC
ARM 926EJ-S core, customizable logic, large IP portfolio SoC
Preliminary Data
Features
■ ARM926EJ-S core @333 MHz
– 16 Kbyte instructions/data cache
■ Reconfigurable logic array:
– 300 Kgate (100% utilization rate)
– 102 I/O lines
– No clock domain limitation
LFBGA289
– 64 Kbyte + 8 Kbyte configurable memory
pool
■ Multilayer AMBA 2.0 compliant bus with f
MAX
■ 6 legacy GPIO bidirectional signals with
166 MHz
interrupt capability
■ 32-Kbyte boot ROM
■ ADC 10-bit, 1 Msps 8 inputs
■ 8 Kbyte common static RAM
– Hw supporting up to 13.5 bits at 8 KSPS by
oversampling and accumulation
– Shared with reconfigurable array
■ JPEG codec accelerator (1 clock/pixel)
■ C3 crypto accelerator
■ Dynamic power saving features
■ High performance DMA
– 8 channels
■ 3 pairs of 16-bit general purpose timers with
programmable prescaler
■ Ethernet 10/100 MAC with MII interface.
(IEEE-802.3)
■ Real-time clock
■ Watchdog
■ USB 2.0 device with integrated PHY
■ 2 USB 2.0 host with integrated PHY
■ System controller
■ External DRAM memory interface:
– 8/16-bit (LPDDR@166 MHz)
– 8/16-bit (DDR2@333 MHz)
– 2 banks available
■ Miscellaneous internal control registers
– SOC parameter configuration
■ JTAG (IEEE1149.1) interface
■ ETM9 interface
■ Flash interface:
■ Operating temperature: - 40 to 85 °C
■ Low power consumption technology
– SPI serial (up to 50 Mbps)
■ SPI master/slave up to 50 Mbps
– Compliant with Motorola, Texas
Description
instruments and National semiconductor
protocols
SPEAr BASIC is a powerful digital engine
belonging to SPEAr family, the innovative
customizable system-on-chip. The device
integrates an ARM 926 core with an extensive set
of proven IPs and a large configurable logic block
that allows very fast customization of unique
and/or proprietary solutions.
2
■ I C master/slave mode – high, fast and slow
speed
■ UARTs (up to 460.8 Kbps)
■ IrDA (FIR/MIR/SIR) compliant serial link from
9.6 Kbps to 4 Mbps speed-rate
May 2008
Rev 1
1/66
This is preliminary information on a new product now in development or undergoing evaluation. Details are subject to
change without notice.
www.st.com
1
Contents
SPEAR-09-B042
Contents
1
2
3
4
5
Reference documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Product overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Architecture properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5.1
Core architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
6
Pins description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6.1
6.2
Functional pin group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Special I/Os . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.2.1
6.2.2
USB 2.0 transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
SSTL_2/SSTL_18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7
8
Memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Main blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.1
CPU subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.1.1
8.1.2
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
CPU ARM 926EJ-S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
8.2
8.3
Clock and reset system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Main oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
8.3.1
8.3.2
Crystal connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Crystal equivalent model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
8.4
RTC oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
8.4.1
8.4.2
Crystal connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Crystal equivalent model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
8.5
8.6
8.7
8.8
Ethernet controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
USB2 host controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
USB2 device controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
32-Kbyte boot ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2/66
SPEAR-09-B042
Contents
8.9
Serial memory interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.10 JPEG (codec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8.11 Cryptographic co-processor (C3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.12 Low jitter PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.13 Main PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8.13.1 PLL block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.13.2 Normal mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.13.3 Fractional mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.13.4 Double side dithering mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.13.5 Single side dithering mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.14 ADC controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.15 UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.16 IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.17 SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.18 I2C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.19 DDR memory controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.20 Reconfigurable logic array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.20.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.20.2 Custom project development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8.20.3 Customization process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
9
Standard customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
9.1
9.2
9.3
9.4
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Standard customization memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
PL_GPIO sharing scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
9.4.1
9.4.2
9.4.3
9.4.4
9.4.5
9.4.6
9.4.7
9.4.8
9.4.9
LCD controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
SD card controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Flexible static memory controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Keyboard interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
TDM interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
I2S interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
SPI_I2C cell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
GPIO_IT cell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
One bit DAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
3/66
Contents
SPEAR-09-B042
9.4.10 ADC enhanced control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
9.4.11 Camera interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
9.4.12 Interrupt and DMA request management . . . . . . . . . . . . . . . . . . . . . . . 55
9.5
TDM timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
9.5.1
I2S interface timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
10
Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
10.1 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
10.2 DC electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
10.3 General purpose I/O characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
10.4 LPDDR and DDR2 pad electrical characteristics . . . . . . . . . . . . . . . . . . . 62
10.5 Power up sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
10.6 PowerGood . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
11
12
13
Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Order code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
4/66
SPEAR-09-B042
List of tables
List of tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
Table 7.
Table 8.
Pin description by functional group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Main memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
ICM1 – Low speed connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
ICM4 – High speed connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
ML1 – Multi layer CPU subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
ICM3 – Basic subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Equivalent values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Equivalent values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Endpoint assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Reconfigurable logic array interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
RAS_M – communication subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
PL_CLK mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
PL_GPIO mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
KBREG coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
TDM block pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
I2S interface pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
DAC performances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Maximum picture size according data format and buffer size. . . . . . . . . . . . . . . . . . . . . . . 53
Camera interface pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Camera interface timing specification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
TDM timing specification (1024 TS = 65536 kHz = 15.26 ns). . . . . . . . . . . . . . . . . . . . . . . 58
I2S timing specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Absolute maximum rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Recommended operating condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Table 9.
Table 10.
Table 11.
Table 12.
Table 13.
Table 14.
Table 15.
Table 16.
Table 17.
Table 18.
Table 19.
Table 20.
Table 21.
Table 22.
Table 23.
Table 24.
Table 25.
Table 26.
Table 27.
Table 28.
Table 29.
Table 30.
Table 31.
Table 32.
Table 33.
Table 34.
Low voltage TTL DC input specification (3V< V <3.6V) . . . . . . . . . . . . . . . . . . . . . . . . . 61
DD
Low voltage TTL DC output specification (3V< V <3.6V) . . . . . . . . . . . . . . . . . . . . . . . . 61
DD
Pull-up and pull-down characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
DC characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Driver characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
On die termination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Reference voltage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
5/66
List of figures
SPEAR-09-B042
List of figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
SPEAr BASIC functional interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Crystal connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Crystal equivalent model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Crystal connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Crystal equivalent model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
PLL block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
SPEAr BASIC standard block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Pre-defined frame sync shapes (slave or master) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Figure 10. Switching constant delay between TSy and TSx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Figure 11. Type of data carried by the TDM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Figure 12. External HSYNC synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Figure 13. External VSYNC synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Figure 14. ITU656 embedded synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Figure 15. CSI2 embedded synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Figure 16. Camera interface waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Figure 17. Interrupt and DMA block for telecom peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Figure 18. TDM signals description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Figure 19. TDM signals description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Figure 20. LFBGA289 mechanical data and package dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6/66
SPEAR-09-B042
Reference documentation
1
Reference documentation
1. ARM926EJ-S - technical reference manual
2. AMBA 2.0 specification
3. EIA/JESD8-9 specification
4. EIA/JESD8-15 specification
5. USB2.0 specification
6. OHCI specification
7. EHCI specification
8. IRPHY version1.3
9. IRLAP version 1.1
10. IEEE 1149.1
11. IEEE 802.3 – 2002
2
12. I C - bus specification version 2.1
7/66
Product overview
SPEAR-09-B042
2
Product overview
An outline diagram of the main SPEAr BASIC functional interfaces is shown in Figure 1.
Figure 1.
SPEAr BASIC functional interfaces
System I/O
102 GPIOs
300Kgate
user logic
Memory
6 x 16bit timer
SPI Flash
Watchdog timer
8 x DMA
LPDDR/DDR2
64 + 8 KByte
SRAM
Interrupt control
RTC
Connectivity
10/100
Ethernet MAC
ARM926EJ-s
333MHz
HSB
PHY
Double
(HS-FS)
USB
Analog i/f
8 x 10b
1Msps ADC
16K + 16K
I/D CACHE
HSB
PHY
Host
32 Kbyte boot ROM
HS USB
HSB
Device
PHY
System
USBs PLL
UART
System SSGC
ETM-9
Accelerator
IrDA
JPEG
SPI
2
JTAG
Crypto (C3)
I C
8/66
SPEAR-09-B042
Features
3
Features
The main functionalities implemented in the SPEAr BASIC SoC device are as follows:
●
ARM926EJ-S core @333 MHz, 16+16 KB-I/D cache, configurable TMC-I/D size, MMU,
TLB, JTAG and ETM trace module (multiplexed interfaces)
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
300 KGate reconfigurable logic array (100% utilization rate, 4 metal and 4 vias masks)
64 + 8 Kbyte configurable internal memory pool (single and dual memory port)
32 Kbyte boot ROM (code customizable)
Dynamic power save features
High performance linked list 8 channels DMA
Ethernet MAC 10/100 Mbps (MII PHY interface)
USB2.0 device (high-full speed), integrated PHY transceiver
2 USB2.0 host (high-full-low speed), integrated PHY transceiver
External memory interface: 8/16-bit mobile LPDDR@166 MHz/DDR2@333 MHz
Flash interface: SPI serial (up to 50 Mbps)
SPI master/slave (Motorola, Texas instruments, National semiconductor) up to 50 Mbps
I2C (high-fast-slow speed) master/slave
UART (speed rate up to 460.8 Kbps)
IrDA (FIR/MIR/SIR) 9.6 Kbps to 4 Mbps speed-rate
6 legacy GPIOs bidirectional signals with interrupt capability
102 RAS GPIOs. (User customizable bidirectional signals with no clock domain
limitations)
●
ADC (1µs/1Msps) with 8 analog input channels, 10-bit approximation (supporting up to
13.5 bits at 8 KSPS by oversampling and accumulation)
●
●
JPEG codec accelerator 1clock/pixel
ST C3 (channel controller co-processor) flexible engine is a configurable array of
Macro-Functions (channels) controlled by instruction dispatchers allowing symmetric or
public key cryptography
●
●
●
●
3 pairs of 16-bits general purpose timers with programmable prescaler
RTC – WDOG – SYSCTR – MISC internal control registers
JTAG (IEEE1149.1) interface
ETM9 interface and EmbeddedICE-RT
9/66
Architecture properties
SPEAR-09-B042
4
Architecture properties
●
Power save features:
–
–
–
–
Operating frequency SW programmable
Clock gating functionality
Low frequency operating mode
Automatic power saving controlled from application activity demands
●
Customizable logic to embed the customer's application:
–
–
–
–
–
300 Kgate standard cell array
Internal memory pool (64 + 8 Kbyte) fully configurable
Up to 10 internal source clocks (some of these are programmable)
No clock domain limits (every PL_GPIO can clock the customizable logic)
Three memory paths toward the DRAM controller to ensure for optimal bandwidth
●
●
Easily extendable architecture
External memory bandwidth of each master tuneable to meet the target performance of
different applications
10/66
SPEAR-09-B042
Block diagram
5
Block diagram
Figure 2.
Block diagram
SPEArBASIC
CPU
ARM Subsystem
Configurable Cell Array Subsystem
ARM926EJ-S
Cache: 16kI 16kD
Coprocessor i/f
SRAM
16KB
Tmr
Int.
SRAM
16KB
Ctr
APB
Tcm-I/D
I
D
Cell Array
(Applic. configurable)
1
6
Multi-layer Interconnection Matrix
SDRAM
Controller
-DDR2
6-78
1-123
D
2-12(4)
3-12
3
4
4-12
A
7
8
7
4
6
-DDRmob
B
C
Tmr
1-2
Eth.
Mac
Uart
SPI
DMA
JPEG
(8-chan.)
(Codec)
WDG
USB2.0
Dev
ROM
(32KB)
RAM
(8KB)
RTC
I2C
C3
USB2.0
hub-
2host
Gpio
Flash
Serial
ADC
IrDA
Sys
Ctr
SRAM
16KB
SRAM
16KB
Misc
HS Subsystem
Basic Subsystem
Applic Subsys.
Common Subsystems
Low Speed Subsystem
5.1
Core architecture
The SoC internal architecture is based on several shared subsystem logic blocks
interconnected through a multilayer interconnection matrix as detailed in Figure 2.
The switch matrix structure allows different subsystem dataflows to be executed in parallel
improving the core platform efficiency.
High performance master agents are directly interconnected with the memory controller
reducing the memory access latency. Three different memory paths (two of them shared
with other masters) are reserved for the programmable logic to enhance the user application
throughput. The overall memory bandwidth assigned to each master port can be
programmed and optimized through an internal efficient weighted round-robin arbitration
mechanism.
The internal memory pool is completely configurable to improve the performance of the user
application custom logic.
11/66
Pins description
SPEAR-09-B042
6
Pins description
6.1
Functional pin group
Table 1 shows the pin list with functional pins grouped by IP, and power pins (including
grounds) grouped seperately. Please refer also to Section 11.
Table 1.
Group
Pin description by functional group
Signal name
Ball
Direction
Function
Pin type
Analog buffer
2.5V tolerant
ADC
AIN_0
AIN_1
AIN_2
AIN_3
AIN_4
AIN_5
AIN_6
AIN_7
N16
N15
P17
P16
P15
R17
R16
R15
Input
ADC analog input
channel
ADC negative voltage
reference
ADC_VREFN
ADC_VREFP
N14
P14
ADC positive voltage
reference
DEBUG
TEST_0
TEST_1
K16
K15
K14
K13
J15
J14
Input
Test configuration ports. TTL input buffer, 3.3 V
For functional mode
they must be set to
zero.
tolerant, PD
TEST_2
TEST_3
TEST_4
BOOT_SEL
Input
Test reset input
Test data output
TTL Schmitt trigger input
buffer, 3.3 V tolerant, PU
nTRST
TDO
L16
L15
Output
TTL output buffer, 3.3 V
capable,4 mA
TCK
L17
L14
L13
F3
Input
Input
Input
I/O
Test clock
TTL Schmitt trigger input
buffer, 3.3 V tolerant, PU
TDI
Test data input
Test mode select
Shared I/O
TMS
PL_I/O
PL_GPIO_0
PL_GPIO_1
PL_GPIO_2
PL_GPIO_3
TTL BIDIR buffer, 3.3 V
capable, 4mA 3.3 V tolerant,
PU
E3
E4
D1
12/66
SPEAR-09-B042
Pins description
Pin type
Table 1.
Group
Pin description by functional group (continued)
Signal name
Ball
Direction
Function
PL_GPIO_4
PL_GPIO_5
PL_GPIO_6
PL_GPIO_7
PL_GPIO_8
PL_GPIO_9
PL_GPIO_10
PL_GPIO_11
PL_GPIO_12
PL_GPIO_13
PL_GPIO_14
PL_GPIO_15
PL_GPIO_16
PL_GPIO_17
PL_GPIO_18
PL_GPIO_19
PL_GPIO_20
PL_GPIO_21
PL_GPIO_22
PL_GPIO_23
PL_GPIO_24
PL_GPIO_25
PL_GPIO_26
PL_GPIO_27
PL_GPIO_28
PL_GPIO_29
PL_GPIO_30
PL_GPIO_31
PL_GPIO_32
PL_GPIO_33
PL_GPIO_34
PL_GPIO_35
PL_GPIO_36
PL_GPIO_37
PL_GPIO_38
C1
D2
B1
D3
C2
B2
C3
E5
D4
A1
A2
B3
E6
C4
D5
A3
B4
C5
D6
A4
B5
C6
A5
B6
A6
A7
B7
C7
D7
E7
E8
D8
C8
B8
A8
PL_I/O
I/O
Shared I/O
TTL BIDIR buffer, 3.3 V
capable, 4mA 3.3 V tolerant,
PU
13/66
Pins description
SPEAR-09-B042
Pin type
Table 1.
Group
Pin description by functional group (continued)
Signal name
Ball
Direction
Function
PL_GPIO_39
PL_GPIO_40
PL_GPIO_41
PL_GPIO_42
PL_GPIO_43
PL_GPIO_44
PL_GPIO_45
PL_GPIO_46
PL_GPIO_47
PL_GPIO_48
PL_GPIO_49
PL_GPIO_50
PL_GPIO_51
PL_GPIO_52
PL_GPIO_53
PL_GPIO_54
PL_GPIO_55
PL_GPIO_56
PL_GPIO_57
PL_GPIO_58
PL_GPIO_59
PL_GPIO_60
PL_GPIO_61
PL_GPIO_62
PL_GPIO_63
PL_GPIO_64
PL_GPIO_65
PL_GPIO_66
PL_GPIO_67
PL_GPIO_68
PL_GPIO_69
PL_GPIO_70
PL_GPIO_71
PL_GPIO_72
PL_GPIO_73
A9
B9
C9
D9
E9
A10
B10
A11
C10
B11
C11
A12
D10
B12
D11
E10
A13
C12
E11
D12
B13
A14
E12
A15
C13
D13
B14
E13
C14
B15
A16
C15
D14
B16
A17
14/66
SPEAR-09-B042
Pins description
Pin type
Table 1.
Group
Pin description by functional group (continued)
Signal name
Ball
Direction
Function
PL_GPIO_74
PL_GPIO_75
PL_GPIO_76
PL_GPIO_77
PL_GPIO_78
PL_GPIO_79
PL_GPIO_80
PL_GPIO_81
PL_GPIO_82
PL_GPIO_83
PL_GPIO_84
PL_GPIO_85
PL_GPIO_86
PL_GPIO_87
PL_GPIO_88
PL_GPIO_89
PL_GPIO_90
PL_GPIO_91
PL_GPIO_92
PL_GPIO_93
PL_GPIO_94
PL_GPIO_95
PL_GPIO_96
PL_GPIO_97
PL_CLK_1
C16
E14
F13
B17
D15
F14
D16
C17
E15
E16
D17
F15
E17
G13
F16
F17
G14
G15
G16
G17
H13
H14
H15
H16
K17
J17
J16
H17
T2
PL_CLK
DDR I/F
I/O
Shared external clock
TTL BIDIR buffer,
3.3 V capable,
PL_CLK_2
8mA 3.3 V tolerant, PU
PL_CLK_3
PL_CLK_4
DDR_ADD_0
DDR_ADD_1
DDR_ADD_2
DDR_ADD_3
DDR_ADD_4
DDR_ADD_5
DDR_ADD_6
Output
Address line
SSTL_2/SSTL_18
T1
U1
U2
U3
U4
U5
15/66
Pins description
SPEAR-09-B042
Pin type
Table 1.
Group
Pin description by functional group (continued)
Signal name
Ball
Direction
Function
DDR_ADD_7
DDR_ADD_8
DDR_ADD_9
DDR_ADD_10
DDR_ADD_11
DDR_ADD_12
DDR_ADD_13
DDR_ADD_14
DDR_BA_0
T5
R5
P5
P6
R6
T6
U6
R7
P7
Output
Bank select
SSTL_2/SSTL_18
DDR_BA_1
P8
DDR_BA_2
R8
DDR_RAS
U8
Output
Output
Output
Output
Output
Row add. strobe
Col. add. strobe
Write enable
SSTL_2/SSTL_18
DDR_CAS
T8
SSTL_2/SSTL_18
DDR_WE
T7
SSTL_2/SSTL_18
DDR_CLKEN
DDR_CLK_P
DDR_CLK_N
DDR_CS_0
U7
Clock enable
SSTL_2/SSTL_18
T9
Differential clock
Differential SSTL_2/SSTL_18
U9
P9
Output
I/O
Chip select
SSTL_2/SSTL_18
SSTL_2/SSTL_18
SSTL_2/SSTL_18
DDR_CS_1
R9
DDR_ODT_0
DDR_ODT_1
DDR_DATA_0
DDR_DATA_1
DDR_DATA_2
DDR_DATA_3
DDR_DATA_4
DDR_DATA_5
DDR_DATA_6
DDR_DATA_7
DDR_DQS_0
DDR_nDQS_0
DDR_DM_0
DDR_GATE_0
T3
On-die termination
enable lines
T4
P11
R11
T11
U11
T12
R12
P12
P13
U10
T10
U12
R10
I/O
Data lines
(lower byte)
Output
Lower data strobe
Differential SSTL_2/SSTL_18
Output
I/O
Lower data mask
Lower gate open
SSTL_2/SSTL_18
SSTL_2/SSTL_18
SSTL_2/SSTL_18
I/O
Data lines
DDR_DATA_8
T17
(upper byte)
16/66
SPEAR-09-B042
Pins description
Pin type
Table 1.
Group
Pin description by functional group (continued)
Signal name
Ball
Direction
Function
DDR_DATA_9
DDR_DATA_10
DDR_DATA_11
DDR_DATA_12
DDR_DATA_13
DDR_DATA_14
DDR_DATA_15
DDR_DQS_1
DDR_nDQS_1
DDR_DM_1
T16
U17
U16
U14
U13
T13
R13
U15
T15
T14
R14
P10
I/O
Upper data strobe
Differential
SSTL_2/SSTL_18
I/O
I/O
Upper data mask
Upper gate open
Reference voltage
SSTL_2/SSTL_18
SSTL_2/SSTL_18
Analog
DDR_GATE_1
DDR_VREF
Input
Power
Return for external
resistors
Power
DDR_COMP_GND
DDR_COMP_1V8
DDR2_EN
R4
P4
Power
Input
External resistor 1.8V
Configuration
Analog
TTL input buffer 3.3 V
tolerant, PU
J13
USB
DEV_DP
DEV_DM
M1
M2
I/O
USB device D+
USB device D-
USB device VBUS
Bidirectional analog buffer 5V
tolerant
Input
I/O
TTL Input buffer 3.3 V
tolerant, PD
DEV_VBUS
G3
HOST1_DP
HOST1_DM
H1
H2
USB HOST1 D+
USB HOST1 D-
USB HOST1 VBUS
Bidirectional analog buffer 5V
tolerant
Output
Input
I/O
TTL output buffer 3.3 V
capable, 4mA
HOST1_VBUS
HOST1_OVRC
H3
J4
USB host1 over-current TTL input buffer 3.3 V
tolerant, PD
HOST0_DP
HOST0_DM
K1
K2
USB HOST0 D+
USB HOST0 D-
USB HOST0 VBUS
Bidirectional analog
buffer 5v tolerant
Output
Input
TTL Output Buffer 3.3 V
capable, 4mA
HOST0_VBUS
J3
USB host0 over-current TTL input buffer 3.3 V
tolerant, PD
HOST0_OVRC
USB_TXRTUNE
H4
K5
L4
Output
Output
Reference resistor
Analog test output
Analog
Analog
USB_ANALOG_TE
ST
Master
Clock
MCLK_XI
P1
P2
Input
24 MHz crystal I
24 MHz crystal O
Oscillator 2.5V capable
Output
MCLK_XO
17/66
Pins description
SPEAR-09-B042
Pin type
Table 1.
Group
Pin description by functional group (continued)
Signal name
Ball
Direction
Function
RTC
RTC_XI
E2
E1
Input
Output
I/O
32KHz crystal I
Oscillator 1V capable
RTC_XO
32 KHz crystal O
SMI
Serial Flash input data TTL input buffer 3.3 V
tolerant, PU
SMI_DATAIN
M13
SMI_DATAOUT
SMI_CLK
M14
N17
I/O
I/O
Serial Flash output data TTL output buffer 3.3 V
capable, 4mA
Serial Flash clock
Output
Serial Flash
chip select
SMI_CS_0
SMI_CS_1
M15
M16
M17
G4
Reset
3.3 V
Input
Main reset
TTL Schmitt trigger input
buffer, 3.3 V tolerant, PU
MRESET
DIGITAL_REXT
Output
Power
Configuration
Power
Analog, 3.3 V capable
Power
Com-
pens.
DIGITAL_GND_RE
XT
F4
Note:
PU means Pull Up and PD means pull down
18/66
SPEAR-09-B042
Pins description
Value
Table 2.
Power supply
Signal name
Ball
G6 G7 G8 G9 G10 G11 H6 H7 H8 H9 H10 H11 J6 J7 J8 J9 J10
J11 K6 K7 K8 K9 K10 K11 L6 L7 L8 L9 L10 M8 M9 M10
GND
0 V
AGND
VDD3
VDD
F2, G1, J2, L1, L3, L5, N2, N4, P3, R3
0 V
F5 F6 F7 F10 F11 F12 G5 J12 K12 L12 M12
3.3 V
1.2 V
2.5 V
3.3 V
2.5 V
3.3 V
2.5 V
1.2 V
3.3 V
1.2 V
2.5 V
2.5 V
1.8 V
0V
F8 F9 G12 H5 H12 J5 L11 M6 M7 M11
HOST0_VDDbc
HOST0_VDDb3
HOST1_VDDbc
HOST1_VDDb3
L2
K4
K3
J1
DEVICE_VDDbc N1
USB_VDDbs M3
DEVICE_VDDb3 N3
MCLK_VDD
MCLK_VDD2v5
DITH1_AVDD
SSTL_VDDe
ADC_AGND
ADC_AVDD
DITH2_AVDD
RTC_VDD
R1
R2
G2
M5 N5 N6 N7 N8 N9 N10 N11
N12
N13
M4
2.5 V
2.5 V
1.5 V
F1
6.2
Special I/Os
6.2.1
USB 2.0 transceiver
SPEAr BASIC has three USB 2.0 transceivers. One transceiver is used by the USB device
controller, and two are used by the hosts. The transceivers are all integrated into a single
USB three-PHY macro.
6.2.2
SSTL_2/SSTL_18
Fully complaint with JEDEC specification with programmable integrated terminations.
19/66
Memory map
SPEAR-09-B042
7
Memory map
Table 3.
Main memory map
Start address
End address
Peripheral
Notes
Low power DDR or
DDR2
0x0000.0000
0x4000.0000
0x3FFF.FFFF
External DRAM
Customizable logic
array
0xBFFF.FFFF
RAS_M
0xC000.0000
0xD000.0000
0xD800.0000
0xE000.0000
0xE800.0000
0xCFFF.FFFF
0xD7FF.FFFF
0xDFFF.FFFF
0xE7FF.FFFF
0xEFFF.FFFF
-
Reserved
Low speed connection
Reserved
ICM1
-
ICM4
-
High speed connection
Reserved
Multi layer CPU
subsystem
0xF000.0000
0xF800.0000
0xF7FF.FFFF
0xFFFF.FFFF
ML1
ICM3
Basic subsystem
Table 4.
Start address
0xD000.0000
ICM1 – Low speed connection
End address
Peripheral
Notes
Bus
0xD007.FFFF
0xD00F.FFFF
0xD017.FFFF
0xD01F.FFFF
0xD07F.FFFF
0xD0FF.FFFF
0xD17F.FFFF
0xD1FF.FFFF
UART
APB
APB
APB
APB
APB
AHB
AHB
AHB
0xD008.0000
0xD010.0000
0xD018.0000
0xD020.0000
0xD080.0000
0xD100.0000
0xD180.0000
ADC
SPI
I2C
-
Reserved
Reserved
JPEG codec
IrDA
-
Static RAM shared
memory (8 Kbyte)
0xD280.0000
0xD300.0000
0xD2FF.FFFF
0xD7FF.FFFF
SRAM
-
AHB
AHB
Reserved
20/66
SPEAR-09-B042
Memory map
Notes Bus
Table 5.
Start address
0xE000.0000
ICM4 – High speed connection
End address
Peripheral
0xE07F.FFFF
0xE0FF.FFFF
0xE10F.FFFF
-
Reserved
MAC
APB
AHB
AHB
0xE080.0000
0xE100.0000
Ethernet ctrl
USB2.0 device
FIFO
Configuration
registers
0xE110.0000
0xE11F.FFFF
USB2.0 device
AHB
0xE120.0000
0xE130.0000
0xE180.0000
0xE190.0000
0xE1A0.0000
0xE210.0000
0xE220.0000
0xE12F.FFFF
0xE17F.FFFF
0xE18F.FFFF
0xE19F.FFFF
0xE20F.FFFF
0xE21F.FFFF
0xE2FF.FFFF
USB2.0 device
Plug detect
Reserved
AHB
AHB
AHB
AHB
AHB
AHB
AHB
-
USB2.0 EHCI 0-1
USB2.0 OHCI 0
-
Reserved
Reserved
USB2.0 OHCI 1
-
Configuration
register
0xE280.0000
0xE290.0000
0xE280.FFFF
0xE7FF.FFFF
ML USB ARB
-
AHB
AHB
Reserved
Table 6.
Start address
0xF000.0000
ML1 – Multi layer CPU subsystem
End address
Peripheral
Notes
Bus
0xF00F.FFFF
0xF0FF.FFFF
0xF10F.FFFF
0xF11F.FFFF
0xF7FF.FFFF
Timer
APB
APB
AHB
AHB
AHB
0xF010.0000
0xF100.0000
0xF110.0000
0xF120.0000
-
Reserved
Reserved
-
ITC Primary
-
Reserved
21/66
Memory map
SPEAR-09-B042
Table 7.
ICM3 – Basic subsystem
Start address
End address
Peripheral
Notes
Bus
Serial Flash
memory
0xF800.0000
0xFBFF.FFFF
AHB
Serial Flash
controller
0xFC00.0000
0xFC1F.FFFF
AHB
0xFC20.0000
0xFC40.0000
0xFC60.0000
0xFC80.0000
0xFC88.0000
0xFC90.0000
0xFC98.0000
0xFCA0.0000
0xFC3F.FFFF
0xFC5F.FFFF
0xFC7F.FFFF
0xFC87.FFFF
0xFC8F.FFFF
0xFC97.FFFF
0xFC9F.FFFF
0xFCA7.FFFF
Reserved
DMA controller
DRAM controller
Timer 1
AHB
AHB
AHB
APB
APB
APB
APB
APB
Watch dog timer
Real-time clock
General purpose I/O
System controller
Miscellaneous
registers
0xFCA8.0000
0xFCAF.FFFF
APB
0xFCB0.0000
0xFCB8.0000
0xFDB8.0000
0xFF00.0000
0xFCB7.FFFF
0xFCFF.FFFF
0xFEFF.FFFF
0xFFFF.FFFF
Timer 2
APB
APB
AHB
AHB
-
Reserved
Reserved
Boot
-
Internal ROM
22/66
SPEAR-09-B042
Main blocks
8
Main blocks
8.1
CPU subsystem
8.1.1
Overview
The CPU sub-system includes the following blocks:
●
●
●
ARM 926EJS
Two timer channels
Interrupt controller (32 IRQ lines)
8.1.2
CPU ARM 926EJ-S
The ARM926EJ-S processor is used, which is targeted for multi-tasking applications.
Belonging to ARM9 family of general-purpose microprocessors, it contains a memory
management unit, which provides virtual memory features, making it compliant with
WindowsCE, Linux and SymbianOS operating systems.
The ARM926EJ-S supports the 32-bit ARM and 16-bit Thumb instruction sets, enabling the
user to trade off between high performance and high code density and includes features for
efficient execution of Java byte codes.
It also uses the ARM debug architecture and includes logic to assist in software debug.
Its main features are:
●
●
●
●
●
●
CORE f
333 MHz independent programmable for each CPU
MAX
Memory management unit
16 Kbyte of instruction CACHE
16 Kbyte of data CACHE
Configurable tightly coupled memory (I/D) size through the configurable logic array
ARM-V5TEJ instructions set architecture:
–
–
–
ARM (32-bit), Thumb® (16-bit)
DSP extensions
TM
JAVA (8-bit) instructions
●
●
●
AMBA bus interface
Embedded ICE-RT
ETM9 (embedded trace macro-cell)
23/66
Main blocks
SPEAR-09-B042
8.2
Clock and reset system
The clock system is a fully programmable block that generates all the clocks necessary to
the chip.
The default operating clock frequencies are:
●
Clock @ 333 MHz for the CPU. (Note 1)
●
●
●
Clock @ 166 MHz for AHB bus and AHB peripherals. (Note 1)
Clock @ 83 MHz for, APB bus and APB peripherals. (Note 1)
Clock @ 333 MHz for DDR memory interface. (Note 2)
The default values give the maximum allowed clock frequencies. The user can modify the
clock frequencies by programming dedicated registers.
The clock system consists of 2 main parts: a multiclock generator block and two internal
PLLs.
The multiclock generator block, takes a reference signal (which is usually delivered by the
PLL), generates all clocks for the IPs of SPEAr BASIC according to dedicated
programmable registers.
Each PLL, uses an oscillator input of 24 MHz, to generate a clock signal at a frequency
corresponding at the highest of the group. This is the reference signal used by the multiclock
generator block to obtain all the other requested clocks for the group. Its main feature is
electromagnetic interference reduction capability. The user can set up the PLL has a to
modulate the VCO with a triangular wave. The resulting signal has a spectrum (and power)
spread over a small programmable range of frequencies centered on F0 (the VCO
frequency), obtaining minimum electromagnetic emissions. This method replaces all the
other traditional methods of E.M.I. reduction, such as filtering, ferrite beads, chokes, adding
power layers and ground planes to PCBs, metal shielding and so on. This gives the
customer appreciable cost savings.
In sleep mode the SoC runs with the PLL disabled so the available frequency is 24 MHz or a
sub-multiple (/2, /4, /8).
Note:
1
2
This frequency is based on the PLL1.
This frequency is based on the PLL2.
24/66
SPEAR-09-B042
Main blocks
8.3
Main oscillator
8.3.1
Crystal connection
Figure 3. Crystal connection
Xi
Xo
24 MHz
33 pF
33 pF
VDD2V5
8.3.2
Crystal equivalent model
Figure 4.
Crystal equivalent model
Xo
Xi
Co
Cm
Lm
Rm
Cl
1
Cl
2
VDD2V5
Note:
Co is the parasitic capacitance of the crystal package
Cl1 and Cl2 are the capacitance on each resonator PAD
Table 8.
Equivalent values
Supplier Rm (Ohms) Lm (mH)
Cm (fF)
Co (pF)
Q (K)
Epson (E31821)
Raltron (M3000)
KSS (KSS3KF)
9.3
9.6
5
5.9
2.6
3.2
4.8
10.8
8.7
1.7
3.5
2.7
120
45
121
25/66
Main blocks
SPEAR-09-B042
8.4
RTC oscillator
8.4.1
Crystal connection
Figure 5.
Crystal connection
Xi
Xo
32.768 kHz
27 pF
27 pF
GND
8.4.2
Crystal equivalent model
Figure 6.
Crystal equivalent model
Xo
Xi
Co
Cm
Lm
Rm
Cl
1
Cl
2
GND
Note:
Co is the parasitic capacitance of the crystal package
Cl1 and Cl2 are the capacitance on each resonator PAD
Table 9.
Equivalent values
Supplier Rm (KOhms)
Ecliptek <65
Lm (mH)
Cm (fF)
Co (pF)
10
1.9
0.85
26/66
SPEAR-09-B042
Main blocks
8.5
Ethernet controller
The Ethernet MAC controller provides the following features:
●
●
●
●
●
Compliant with the IEEE 802.3-2002 standard
MII interface to the external PHY
Supports 10/100 Mbps data transfer rates
Local FIFO available (4 Kbyte RX, 2 Kbyte TX)
Supports both half-duplex and full-duplex operation. In half-duplex operation,
CSMA/CD protocol is provided for, as well as packet bursting and frame extension at
100 Mbps
●
Programmable frame length to support both standard and jumbo ethernet frames with
size up to 16 Kbyte
●
●
●
A variety of flexible addresses filtering modes are supported
A set of control and status registers (CSRs) to control GMAC core operation
Native DMA with single-channel transmit and receive engines, providing 32/64/128-bit
data transfers
●
●
DMA implements dual-buffer (ring) or linked-list (chained) descriptor chaining
An AHB slave acting as programming interface to access all CSRs, for both DMA and
GMAC core subsystems
●
●
An AHB master for data transfer to system memory
32-bit AHB master bus width, supporting 32, 64, and 128-bit wide data transactions
8.6
USB2 host controller
SPEAr BASIC has two fully independent USB 2.0 hosts and each one is constituted with 5
major blocks:
●
●
●
●
●
EHCI capable of managing high-speed transfers (HS mode, 480 Mbps)
OHCI that manages the full and the low speed transfers (12 and 1.5 Mbps)
Local 2-Kbyte FIFO
Local DMA
Integrated USB2 transceiver (PHY)
Both hosts can manage an external power switch, providing a control line to enable or
disable the power, and an input line to sense any over-current condition detected by the
external switch.
One host controller at time can perform high speed transfer.
27/66
Main blocks
SPEAR-09-B042
8.7
USB2 device controller
The USB2 device controller provides the following features:
●
Supports the 480 Mbps high-speed mode (HS) for USB 2.0, as well as the 12 Mbps
full-speed (FS) and the low-speed (LS modes) for USB 1.1
●
●
●
●
●
Supports 16 physical endpoints and configurations to achieve logical endpoints
Integrated USB transceiver (PHY)
Local FIFO having size of 4 Kbyte shared among all the endpoints
DMA mode and slave-only mode are supported
In DMA mode, the UDC supports descriptor-based memory structures in application
memory
●
●
●
In both modes, an AHB slave is provided by UDC-AHB, acting as programming
interface to access to memory-mapped control and status registers (CSRs)
An AHB master for data transfer to system memory is provided, supporting 8, 16, and
32-bit wide data transactions on the AHB bus
A USB plug detect (UPD) which detects the connection of a cable
Table 10. Endpoint assignments
EP0
Control (IN/OUT).
EP1
EP3
EP5
Software configurable to:
EP7
EP9
– Bulk in
– Interrupt in
– Isochronous
EP11
EP13
EP15
EP2
EP4
Software configurable to:
– Bulk out
EP6
EP8
– Interrupt out
EP10
EP12
EP14
– Isochronous
8.8
32-Kbyte boot ROM
The code contained in this ROM is executed at the boot time. It initializes the system and
can then boot from the serial Flash trough the SMI or from the USB device interface. To use
the latter possibility a suitable driver should be installed on the host platform.
28/66
SPEAR-09-B042
Main blocks
8.9
Serial memory interface
The main features of SMI are listed below:
●
supports the following SPI-compatible Flash and EEPROM devices:
–
–
–
–
–
STMicroelectronics M25Pxxx, M45Pxxx
STMicroelectronics M95xxx, except M95040, M95020 and M95010
ATMEL AT25Fxx
YMC Y25Fxx
SST SST25LFxx
●
●
●
acts always as a SPI master and up to 2 SPI slave memory devices are supported
(through as many chip select signals), with up to 16 MB address space each
the SMI clock signal (SMICLK) is generated by SMI (and input to all slaves) using a
clock provided by the AHB bus
SMICLK can be up to 50 MHz in fast read mode (or 20 MHz in normal mode). It can be
controlled by 7 programmable bits.
8.10
JPEG (codec)
The main features of the JPEG codec are:
●
●
●
●
●
●
●
●
●
●
compliance with the baseline JPEG standard (ISO/IEC 10918-1)
single-clock per pixel encoding/decoding
support for up to four channels of component color
8-bit/channel pixel depths
programmable quantization tables (up to four)
programmable Huffman tables (two AC and two DC)
programmable minimum coded unit (MCU)
configurable JPEG headers processing
support for restart marker insertion
use of two DMA channels and of two 8 x 32-bits FIFO’s (local to the JPEG) for efficient
transferring and buffering of encoded/decoded data from/to the codec core.
29/66
Main blocks
SPEAR-09-B042
8.11
Cryptographic co-processor (C3)
SPEAr BASIC has an hardware cryptographic co-processor with the following features:
Supported cryptographic algorithms:
●
–
–
–
Advanced encryption standard (AES) cipher in ECB, CBC, CTR modes.
Data encryption standard (DES) cipher in ECB and CBC modes.
SHA-1, HMAC-SHA-1, MD5, HMAC-MD5 digests.
●
●
●
●
Instruction driven DMA based programmable engine.
AHB master port for data access from/to system memory.
AHB slave port for co-processor register accesses and initial engine-setup.
The co-processor is fully autonomous (DMA input reading, cryptographic operation
execution, DMA output writing) after being set up by the host processor.
●
●
The co-processor executes programs written by the host in memory, it can execute an
unlimited list of programs.
The co-processor supports hardware chaining of cryptographic blocks for optimized
execution of data-flow requiring multiple algorithms processing over the same set of
data (for example encryption + hashing on the fly).
8.12
8.13
Low jitter PLL
Within the USB Hosts and device a local low jitter PLL is provided to meet the USB2.0
specification requirements.
Main PLL
Two PLLs are provided so that the external memory bus can run at a different frequency to
the internal AHB. To reduce the system emission both the PLL are offering four operational
modes:
●
●
●
●
Normal mode
Fractional mode
Double side dithering mode
Single side dithering mode
30/66
SPEAR-09-B042
Main blocks
8.13.1
PLL block diagram
Figure 7.
PLL block diagram
Phase
Comparator
Input Clock
PRE
Output clock
Divider
Post
Divider
VCO
Feedback
Divider
8.13.2
8.13.3
8.13.4
Normal mode
In this mode, an 8-bit feedback divider is used. The PLL output frequency is always a
multiple of the input frequency.
Fractional mode
In this mode, a 16-bit feedback divider and a more sophisticated control logic is used. The
output frequency can have any value.
Double side dithering mode
This mode is based on the fractional mode. Frequency modulation (triangular shape) is
applied to reduce the EMI. For example, if the fundamental frequency is 300 MHz and the
modulation is set to 5% the output frequency varies from 285 MHz to 315 MHz.
8.13.5
Single side dithering mode
This mode is similar to the double side dithering mode, but it takes the fundamental
frequency as the maximum value allowing a simplified calculation of all the system
frequencies (DDR timing). For example, setting the fundamental frequency to 300 MHz and
the modulation set to 5%, the output frequency varies from 270 MHz to 300 MHz.
31/66
Main blocks
SPEAR-09-B042
8.14
ADC controller
The ADC controller provides the following features:
●
Successive approximation ADC
10-bit resolution @ 1 Msps
●
●
Hardware supporting up to 13.5 bits resolution at 8 KSPS by oversampling and
accumulation
●
●
●
●
●
Eight analog input (AIN) channels, ranging from 0 to 2.5 V
INL 1 LSB, DNL 1 LSB
Programmable conversion speed, (min. conversion time is 1 µs)
Programmable average results from 1 (No average) up to 128
Programmable auto scan for all the eight channels.
8.15
UART
One SW flow control UART (one of these having IrDA features)
●
Separate 16x8 (16 location deep x 8-bit wide) transmit and 16x12 receive FIFOs to
reduce CPU interrupts
●
Speed up to 460.8 Kbps.
8.16
8.17
IrDA
IrDA compliant serial link (FIR/MIR/SIR) from 9.6Kbps to 4 Mbps speed-rate.
SPI
An SPI interface is provided. The main features are:
●
Maximum speed of 50 Mbps
●
Programmable choice of interface operation:
–
–
–
SPI,
Microwire
TI synchronous serial
●
●
●
Programmable data frame size from 4 to 16-bit.
Master and slave mode capability.
A connection to general purpose DMA is provided to reduce the CPU load.
32/66
SPEAR-09-B042
Main blocks
8.18
I2C
2
An I C interface is provided. The main features are:
2
●
I C v2.0 compatible.
●
Supports three modes:
–
–
–
Standard (100 Kbps)
Fast (400 Kbps)
High-speed (3.4 Mbps)
●
●
●
Master and slave mode configuration possible.
Bulk data transfer capability.
Connection with general purpose DMA is provided to reduce the CPU load.
8.19
DDR memory controller
SPEAr BASIC-STD integrates a high performance multi-channel memory controller that
supports low power DDR and DDR2 double data rate memory devices. The multi-port
architecture ensures that memory is shared efficiently among different high-bandwidth client
modules.
8.20
Reconfigurable logic array
8.20.1
Overview
The configurable logic array consists of an embedded macro where a custom project can be
implemented by mapping up to 300 K equivalent gates.
This macro is interfaced with the rest of the system by some AHB bus, some memory
channels and it has a direct connection to the ARM processor internal bus. In this way is
also possible to customize the TCM memory or add a coprocessor using this macro.
Table 11 shows the memory cuts are available to this block:
Table 11. Reconfigurable logic array interfaces
Instances
Type
Word
Bit
Notes
One port hard-wired to the AMBA bus for
NAND boot phase
1
dual port
2048
32
2
8
2
4
8
2
4
dual port
dual port
dual port
dual port
dual port
dual port
single port
96
128
8
Typically used for hardware accelerators
Typically used for hardware accelerators
Generic dual port memory cuts
Generic dual port memory cuts
Generic dual port memory cuts
Generic dual port memory cuts
Generic single port memory cuts
128
2048
1024
2048
1024
512
32
32
8
32
32
The array is also connected to 102 I/O (3.3 V capable/tolerant and 4 mA sink/source).
33/66
Main blocks
The following clocks can be used in the integrated logic:
SPEAR-09-B042
●
Up to 5 external clocks provided through the device pins
4 separate clocks from the integrated frequency synthesizer
PLL1 frequency
●
●
●
●
●
●
●
●
●
PLL2 frequency
48 MHz (USB PLL)
24 MHz (Main oscillator)
32.768 KHz (RTC oscillator)
APB clock (programmable)
AHB clock (programmable)
Any of the GPIOs
8.20.2
Custom project development
The flow to develop a custom project to embed in the SPEAr BASIC device is similar to the
standard ASIC flow.
The configurable logic is an empty module of the whole system-on-chip. The pinout and the
maximum number of gates are fixed. The HDL project is synthesized using a dedicated
library and post synthesis simulation is possible to verify the custom net-list.
The verification procedure, after place and route phase, is the same as standard ASIC back
end flow.
8.20.3
Customization process
The layers used for the IP configuration range from 2 metal layers with 1 via, up to 4 metal
layers with 4 vias. Diffusion and remaining metal/vias are invariant across multiple custom
designs. Density and performance scale with the number of customization layers.
The configurable logic included in the SPEAr BASIC chip is a 300 Kgate equivalent array
when customized using 4 metals – 4 vias.
34/66
SPEAR-09-B042
Standard customization
9
Standard customization
9.1
Features
The following functionalities are implemented in the SPEAr BASIC standard customization:
●
●
●
●
8/16-bits parallel Flash interface allowing connection of NOR or NAND Flash
Possible NAND Flash booting
Up to 1024*768, 24-bits per pixel LCD controller, TFT and STN panels
SDIO interface supporting SPI, SD1, SD4 and SD8 mode with card detect, write
protect, LED control and interrupt capability.
●
●
●
9*9 keyboard controller
8 GPIOs with interrupt capability
Up to 1024 timeslots, master or slave TDM. Any input timeslot can be switched to any
output timeslot, and/or can be buffered for computation (up to 16 channels of 1 to 4
timeslots buffered during 30 ms). Up to 16 buffers can be played in output timeslots.
●
●
18 GPIOs for direct (up to 8) CODEC and/or (up to 8) SLIC management
I2S interface based on Philips protocol (data delayed by one bit only) allowing up to
64 ms data-buffer both for left and right channels. The I2S interface uses the same
memory than SDIO interface and usage is exclusive.
●
●
Second-order noise shaper with *32 to *256 over-sampling for binary or two’s
complement data. Outputs are complementary with 4 mA capability. DAC uses the
same memory then TDM bufferization leading to some limitations to work
simultaneously.
Camera interface ITU-601 with external or embedded synchronization (ITU-656 or
CSI2). Picture limit is given by the line length that must be stored in a 2048*32 buffer.
35/66
Standard customization
SPEAR-09-B042
9.2
Block diagram
Figure 8.
SPEAr BASIC standard block diagram
SPEArBASIC
CPU
ARM Subsystem
ARM926EJ-S
Communication
GPIO
Tmr
Int.
Cache: 16kI 16kD
Coprocessor i/f
Ctr
APB
Tcm-I/D
I
D
SDIO
CTRL
PARALLEL
FLASH
I/F
P
A
D
TDM
CODEC/SLIC
I2S I/F
1
6
I/
F
Multi-layer Interconnection Matrix
SDRAM
Controller
-DDR2
1 bit DAC
6-78
1-123
D
2-12(4)
3-12
3
4
4-12
A
7
8
7
4
6
-DDRmob
CAMERA
I/F
B
C
Tmr
1-2
Eth.
Mac
Uart
SPI
DMA
JPEG
(8-chan.)
Human Interface
(Codec)
WDG
LCD
CTRL
USB2.0
Dev
ROM
(32KB)
RAM
(8KB)
RTC
I2C
C3
USB2.0
hub-
2host
Gpio
KEYBOARD
CTRL
Flash
Serial
ADC
IrDA
Sys
Ctr
Misc
HS Subsystem
Basic Subsystem
Applic Subsys.
Common Subsystems
Low Speed Subsystem
36/66
SPEAR-09-B042
Standard customization
9.3
Standard customization memory map
Table 12. RAS_M – communication subsystem
Start address
End address
Peripheral
Notes
Bus
0x4000.0000
0x5000.0000
0x5001_0000
0x5003_0000
0x5004_0000
0x5005_0000
0x5005_1000
0x6000.0000
0x7000.0000
0x8000.0000
0x8400.0000
0x8800.0000
0x8C00.0000
0x9000.0000
0x9100.0000
0x9200.0000
0x9300.0000
0x9400.0000
0x9900.0000
0xA000.0000
0xA900.0000
0xB000.0000
0x4FFF.FFFF
0x5000.FFFF
0x5001_0FFF
0x5003_7FFF
0x5004_0FFF
0x5005_0FFF
0x5005_1FFF
0x6FFF.FFFF
0x7FFF.FFFF
0x83FF.FFFF
0x87FF.FFFF
0x8BFF.FFFF
0x8FFF.FFFF
0x90FF.FFFF
0x91FF.FFFF
0x92FF.FFFF
0x93FF.FFFF
0x98FF.FFFF
0x9FFF.FFFF
0xA8FF.FFFF
0xAFFF.FFFF
0xBFFF.FFFF
C3
AHB
AHB
AHB
AHB
AHB
Telecom register
TDM
Action memory
Buffer memory
Sync memory
TDM
TDM
I2S
I2S memory bank 1 AHB
I2S
I2S memory bank 2 AHB
CLCD
AHB
AHB
SDIO
Static memory controller
Static memory controller
Static memory controller
Static memory controller
Static memory controller
Static memory controller
Static memory controller
Static memory controller
Static memory controller
Registers
NAND Bank0
NAND Bank1
NAND Bank2
NAND Bank3
NOR Bank0
NOR Bank1
NOR Bank2
NOR Bank3
Register
AHB
AHB
AHB
AHB
AHB
AHB
AHB
AHB
AHB
AHB
APB
APB
Keyboard
GPIO
-
Reserved
37/66
Standard customization
SPEAR-09-B042
9.4
PL_GPIO sharing scheme
Table 13. PL_CLK mapping
PL_CLK
Mode 1
Mode 2
Mode 3
Mode 4
Mode 5
Mode 6
0
1
2
3
25 MHz
TDM_CLK
TDM_nCLK
TDM_CLK2K
25 MHz
TDM_CLK
TDM_nCLK
TDM_CLK2K
25 MHz
TDM_CLK
TDM_nCLK
TDM_CLK2K
25 MHz
TDM_CLK
TDM_nCLK
TDM_CLK2K
25 MHz
TDM_CLK
TDM_nCLK
TDM_CLK2K
25 MHz
TDM_CLK
TDM_nCLK
TDM_CLK2K
Table 14. PL_GPIO mapping
PL_GPIO
Mode 1
Mode 2
Mode 3
Mode 4
Mode 5
Mode 6
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
FSMC_nCS1
FSMC_D0
FSMC_D1
FSMC_D2
FSMC_D3
FSMC_D4
FSMC_D5
FSMC_D6
FSMC_D7
FSMC_D8
FSMC_D9
FSMC_D10
FSMC_D11
FSMC_D12
FSMC_D13
FSMC_D14
FSMC_D15
CLCD_D0
CLCD_D1
CLCD_D2
CLCD_D3
CLCD_D4
CLCD_D5
CLCD_D6
CLCD_D7
not used
KBD_C0
KBD_C1
KBD_C2
KBD_C3
KBD_C4
KBD_C5
KBD_C6
KBD_C7
KBD_C8
KBD_R0
KBD_R1
KBD_R2
KBD_R3
KBD_R4
KBD_R5
KBD_R6
not used
not used
not used
not used
not used
not used
not used
not used
not used
KBD_C0
KBD_C1
KBD_C2
KBD_C3
KBD_C4
KBD_C5
KBD_C6
KBD_C7
KBD_C8
KBD_R0
KBD_R1
KBD_R2
KBD_R3
KBD_R4
KBD_R5
KBD_R6
not used
not used
not used
not used
not used
not used
not used
not used
not used
KBD_C0
KBD_C1
KBD_C2
KBD_C3
KBD_C4
KBD_C5
KBD_C6
KBD_C7
KBD_C8
KBD_R0
KBD_R1
KBD_R2
KBD_R3
KBD_R4
KBD_R5
KBD_R6
CLCD_D0
CLCD_D1
CLCD_D2
CLCD_D3
CLCD_D4
CLCD_D5
CLCD_D6
CLCD_D7
FSMC_nCS1
FSMC_D0
FSMC_D1
FSMC_D2
FSMC_D3
FSMC_D4
FSMC_D5
FSMC_D6
FSMC_D7
GPIO_8_0
GPIO_8_1
GPIO_8_2
GPIO_8_3
GPIO_8_4
GPIO_8_5
GPIO_8_6
GPIO_8_7
FSMC_A0
FSMC_A1
FSMC_A2
FSMC_A3
FSMC_A4
FSMC_A5
FSMC_A6
FSMC_A7
not used
KBD_C0
KBD_C1
KBD_C2
KBD_C3
KBD_C4
DIO_D0
DIO_D1
DIO_D2
DIO_D3
KBD_R0
KBD_R1
KBD_R2
KBD_R3
KBD_R4
KBD_R5
KBD_R6
CLCD_D0
CLCD_D1
CLCD_D2
CLCD_D3
CLCD_D4
CLCD_D5
CLCD_D6
CLCD_D7
38/66
SPEAR-09-B042
Standard customization
Table 14. PL_GPIO mapping (continued)
PL_GPIO
Mode 1
Mode 2
Mode 3
Mode 4
Mode 5
Mode 6
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
CLCD_D8
CLCD_D9
CLCD_D10
CLCD_D11
CLCD_D12
CLCD_D13
CLCD_D14
CLCD_D15
CLCD_D16
CLCD_D17
CLCD_D18
CLCD_D19
CLCD_D20
CLCD_D21
FSMC_CL
FSMC_AL
FSMC_nW
FSMC_nR
CLCD_AC
CLCD_CP
CLCD_FP
CLCD_LP
CLCD_LE
CLCD_PWR
CLCD_D22
CLCD_D23
GPIO7
IT_D0
IT_D1
IT_D0
IT_D1
CLCD_D8
CLCD_D9
CLCD_D10
CLCD_D11
CLCD_D12
CLCD_D13
CLCD_D14
CLCD_D15
CLCD_D16
CLCD_D17
CLCD_D18
CLCD_D19
CLCD_D20
CLCD_D21
CLCD_D22
CLCD_D23
KBD_R7
IT_D0
IT_D1
CLCD_D8
CLCD_D9
CLCD_D10
CLCD_D11
CLCD_D12
CLCD_D13
CLCD_D14
CLCD_D15
CLCD_D16
CLCD_D17
CLCD_D18
CLCD_D19
CLCD_D20
CLCD_D21
CLCD_D22
CLCD_D23
DIO_HSYNC
DIO_VSYNC
CLCD_AC
CLCD_CP
CLCD_FP
CLCD_LP
CLCD_LE
CLCD_PWR
DIO_D4
IT_D2
IT_D2
IT_D2
IT_D3
IT_D3
IT_D3
IT_D4
IT_D4
IT_D4
IT_D5
IT_D5
IT_D5
IT_D6
IT_D6
IT_D6
IT_D7
IT_D7
IT_D7
IT_SPI_I2C4
IT_SPI_I2C5
IT_SPI_I2C6
IT_SPI_I2C7
TDM_SYNC4
TDM_SYNC5
TDM_SYNC6
TDM_SYNC7
KBD_R7
IT_SPI_I2C4
IT_SPI_I2C5
IT_SPI_I2C6
IT_SPI_I2C7
TDM_SYNC4
TDM_SYNC5
TDM_SYNC6
TDM_SYNC7
KBD_R7
IT_SPI_I2C4
IT_SPI_I2C5
IT_SPI_I2C6
IT_SPI_I2C7
TDM_SYNC4
TDM_SYNC5
FSMC_CL
FSMC_AL
FSMC_nW
FSMC_nR
GPIO_10_9
GPIO_10_8
GPIO_10_7
GPIO_10_6
GPIO_10_5
GPIO_10_4
IT_SPI_I2C0
IT_SPI_I2C1
IT_SPI_I2C2
IT_SPI_I2C3
DAC_O0
KBD_R8
KBD_R8
KBD_R8
GPIO_10_9
GPIO_10_8
GPIO_10_7
GPIO_10_6
GPIO_10_5
GPIO_10_4
IT_SPI_I2C0
IT_SPI_I2C1
IT_SPI_I2C2
IT_SPI_I2C3
DAC_O0
GPIO_10_9
GPIO_10_8
GPIO_10_7
GPIO_10_6
GPIO_10_5
GPIO_10_4
IT_SPI_I2C0
IT_SPI_I2C1
IT_SPI_I2C2
IT_SPI_I2C3
DAC_O0
CLCD_AC
CLCD_CP
CLCD_FP
CLCD_LP
CLCD_LE
CLCD_PWR
IT_SPI_I2C0
IT_SPI_I2C1
IT_SPI_I2C2
IT_SPI_I2C3
DAC_O0
DIO_D5
DIO_D6
GPIO6
DIO_D7
GPIO5
DAC_O0
GPIO4
DAC_O1
DAC_O1
DAC_O1
DAC_O1
DAC_O1
GPIO3
I2S_DIN
I2S_DIN
I2S_DIN
I2S_DIN
I2S_DIN
GPIO2
I2S_LRCK
I2S_CLK
I2S_LRCK
I2S_CLK
I2S_LRCK
I2S_CLK
I2S_LRCK
I2S_CLK
I2S_LRCK
I2S_CLK
GPIO1
GPIO0
I2S_DOUT
TDM_SYNC1
I2S_DOUT
TDM_SYNC1
I2S_DOUT
TDM_SYNC1
I2S_DOUT
TDM_SYNC1
I2S_DOUT
TDM_SYNC1
TDM_SYNC1
39/66
Standard customization
SPEAR-09-B042
Mode 6
Table 14. PL_GPIO mapping (continued)
PL_GPIO
Mode 1
Mode 2
Mode 3
Mode 4
Mode 5
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
TDM_DOUT
TDM_SYNC0
TDM_CLK
TDM_DIN
SD_CMD
SD_CLK
TDM_DOUT
TDM_SYNC0
TDM_CLK
TDM_DIN
SD_CMD
SD_CLK
TDM_DOUT
TDM_SYNC0
TDM_CLK
TDM_DIN
SD_CMD
SD_CLK
TDM_DOUT
TDM_SYNC0
TDM_CLK
TDM_DIN
SD_CMD
SD_CLK
TDM_DOUT
TDM_SYNC0
TDM_CLK
TDM_DIN
SD_CMD
TDM_DOUT
TDM_SYNC0
TDM_CLK
TDM_DIN
SD_CMD
SD_CLK
SD_CLK
SD_D0
SD_D0
SD_D0
SD_D0
SD_D0
SD_D0
SD_D1
SD_D1
SD_D1
SD_D1
SD_D1
SD_D1
SD_D2
SD_D2
SD_D2
SD_D2
SD_D2
SD_D2
SD_CD_D3
MII_TXCLK
MII_TXD0
MII_TXD1
MII_TXD2
MII_TXD2
MII_TXEN
MII_TXER
MII_RXCLK
MII_RXDV
MII_RXER
MII_RXD0
MII_RXD1
MII_RXD2
MII_RXD3
MII_COL
SD_CD_D3
MII_TXCLK
MII_TXD0
MII_TXD1
MII_TXD2
MII_TXD2
MII_TXEN
MII_TXER
MII_RXCLK
MII_RXDV
MII_RXER
MII_RXD0
MII_RXD1
MII_RXD2
MII_RXD3
MII_COL
SD_CD_D3
SD_D4
SD_CD_D3
SD_D4
SD_CD_D3
GPIO_8_0
GPIO_8_1
GPIO_8_2
GPIO_8_3
GPIO_8_4
GPIO_8_5
GPIO_8_6
GPIO_8_7
GPIO_10_0
GPIO_10_1
GPIO_10_2
GPIO_10_3
GPIO_10_4
GPIO_10_5
GPIO_10_6
GPIO_10_7
GPIO_10_8
GPIO_10_9
SSP_MOSI
SSP_CLK
SSP_SS0
SSP_MISO
I2C_SDA
SD_CD_D3
SD_D4
SD_D5
SD_D5
SD_D5
SD_D6
SD_D6
SD_D6
SD_D7
SD_D7
SD_D7
GPIO_8_4
GPIO_8_5
GPIO_8_6
GPIO_8_7
GPIO_10_0
GPIO_10_1
GPIO_10_2
GPIO_10_3
GPIO_10_4
GPIO_10_5
GPIO_10_6
GPIO_10_7
GPIO_10_8
GPIO_10_9
SSP_MOSI
SSP_CLK
SSP_SS0
SSP_MISO
I2C_SDA
GPIO_8_4
GPIO_8_5
GPIO_8_6
GPIO_8_7
GPIO_10_0
GPIO_10_1
GPIO_10_2
GPIO_10_3
GPIO_10_4
GPIO_10_5
GPIO_10_6
GPIO_10_7
GPIO_10_8
GPIO_10_9
SSP_MOSI
SSP_CLK
SSP_SS0
SSP_MISO
I2C_SDA
GPIO_8_4
GPIO_8_5
DIO_D8
DIO_D9
DIO_D10
DIO_D11
DIO_D12
DIO_D13
GPIO_10_4
GPIO_10_5
GPIO_10_6
GPIO_10_7
GPIO_10_8
GPIO_10_9
SSP_MOSI
SSP_CLK
SSP_SS0
SSP_MISO
I2C_SDA
I2C_SCL
UART_RX
MII_CRS
MII_CRS
MII_MDC
MII_MDIO
SSP_MOSI
SSP_CLK
SSP_SS0
SSP_MISO
I2C_SDA
I2C_SCL
MII_MDC
MII_MDIO
SSP_MOSI
SSP_CLK
SSP_SS0
SSP_MISO
I2C_SDA
I2C_SCL
8
7
6
5
4
I2C_SCL
I2C_SCL
I2C_SCL
3
UART_RX
UART_RX
UART_RX
UART_RX
UART_RX
40/66
SPEAR-09-B042
Standard customization
Table 14. PL_GPIO mapping (continued)
PL_GPIO
Mode 1
Mode 2
Mode 3
Mode 4
Mode 5
Mode 6
2
1
0
UART_TX
FSMC_nCS2
FSMC_RnB
UART_TX
IRDA_RX
IRDA_TX
UART_TX
IRDA_RX
IRDA_TX
UART_TX
IRDA_RX
IRDA_TX
UART_TX
IRDA_RX
IRDA_TX
UART_TX
IRDA_RX
IRDA_TX
9.4.1
LCD controller
Main features
●
Compliance to the AMBA specification (Rev 2.0) onwards for easy integration into SoC
implementation
●
●
Dual 16-deep programmable 32-bit wide FIFOs for buffering incoming display data
Supports single and dual panel mono super twisted nematic (STN) displays with 4 or 8-
bit interfaces
●
●
●
●
●
●
●
●
●
●
Supports single and dual-panel color and monochrome STN displays
Supports thin film transistor (TFT) color displays
Resolution programmable up to 1024 x 768
15 gray-level mono, 3375 color STN, and 32 K color TFT support
1, 2, or 4 bits per pixel (bpp) palettized displays for mono STN
1, 2, 4 or 8 bpp palettized color displays for color STN and TFT
16 bpp true-color non-palettized, for color STN and TFT
24 bpp true-color non-palettized, for color TFT
Programmable timing for different display panels
256 entry, 16-bit palette RAM, arranged as a 128 x 32-bit RAM physically frame, line
and pixel clock signals
●
●
AC bias signal for STN and data enable signal for TFT panels patented gray scale
algorithm
Supports little and big-endian as well as WinCE data formats.
41/66
Standard customization
SPEAR-09-B042
Programmable parameters
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
Horizontal front and back porch
Horizontal synchronization pulse width
Number of pixels per line
Vertical front and back porch
Vertical synchronization pulse width
Number of lines per panel
Number of panel clocks per line
Signal polarity, active high or low
AC panel bias
Panel clock frequency
Bits per pixel
Display type, STN mono/color or TFT
STN 4 or 8-bit interface mode
STN dual or single panel mode
WinCE mode
Interrupt generation event.
LCD panel resolutions
●
●
●
●
320x200, 320x240
640x200, 640x240, 640x480
800x600
1024x768.
Types of LCD panel supported
●
●
●
Active matrix TFT panels with up to 24-bit bus interface
Single-panel monochrome STN panels (4-bit and 8-bit bus interface)
Dual-panel monochrome STN panels (4-bit and 8-bit bus interface per panel)
9.4.2
SD card controller
This controller conforms to the SD host controller standard specification version 2.0. It
handles SDIO/SD protocol at transmission level, packing data, adding cyclic redundancy
check (CRC), start/end bit, and checking for transaction format correctness.
The SD card controller provides programmed IO method and DMA data transfer method.
In the programmed IO method, the ARM processor transfers data using the buffer data port
register. Host controller support for DMA can be determined by checking the DMA support
in the capabilities register. DMA allows a peripheral to read or write memory without the
intervention from the CPU.
The system address register points to the first data address, and data is then accessed
sequentially from that address.
42/66
SPEAR-09-B042
Standard customization
Key features
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
Meets SD host controller standard specification version 2.0
Meets SDIO card specification version 2.0
Meets SD memory card specification draft version 2.0
Meets SD memory card security specification version 1.01
Meets MMC specification version 3.31 and 4.2
Supports both DMA and Non-DMA mode of operation
Supports MMC plus and MMC mobile
Card detection (insertion/removal)
Password protection of cards
Host clock rate variable between 0 and 52 MHz
Supports 1-bit, 4-bit and 8-bit SD modes and SPI mode
Supports MultiMediaCard interrupt mode
Allows card to interrupt host in 1-bit, 4-bit, 8-bit SD modes and SPI mode.
Up to 100 Mbit/s data rate using 4 parallel data lines (sd4-bit mode)
Up to 416 Mbit/s data rate using 8-bit parallel data lines (sd8-bit mode)
Cyclic redundancy check CRC7 for command and CRC16 for data integrity
Designed to work with I/O cards, read-only cards and read/write cards
Error correction code (ECC) support for MMC4.2 cards
Supports read wait control, suspend/resume operation
Supports FIFO overrun and Under run condition by stopping the SD clock
9.4.3
Flexible static memory controller
Main features of the FSMC are listed below:
●
Provides an interface between AHB system bus and external parallel memory devices.
●
Interfaces static memory-mapped devices including RAM, ROM and synchronous burst
Flash.
●
For SRAM, ROM and Flash 8/16-bit wide, external memory and data paths are
provided.
●
●
●
●
●
FSMC performs only one access at a time and only one external device is accessed.
Little-endian and big-endian memory architectures.
AHB burst transfer handling to reduce access time to external devices.
Supplies an independent configuration for each memory bank.
Programmable timings to support a wide range of devices.
–
–
–
Programmable wait states (up to 31).
Programmable bus turnaround cycles (up to 15).
Programmable output enable and write enable delays (up to 15).
●
●
●
●
●
Independent chip select control for each memory bank.
Shares the address bus and the data bus with all the external peripherals.
Only chips selects are unique for each peripheral.
External asynchronous wait control.
Configurable size at reset for boot memory bank using external control pins.
43/66
Standard customization
SPEAR-09-B042
9.4.4
Keyboard interface
The keyboard interface uses 18 pins. These pins can be either used as standard GPIOs or
to drive a 9*9 keyboard (81 keys). The keyboard scan period can be adjusted between 10
ms and 80 ms.
When in keyboard mode, pressing a key generates an interrupt when enabled through the
IT_DMA block.
Two successive scan must be validated with the same key pressed before a key press is
detected. After detection, two “no key pressed” cycles must be observed before allowing a
new keypress detection.
Any new keypress event latches the data into the KBREG register and sets the interrupt bit,
even if the previously pressed key has not been read and the interrupt register cleared.
If several keys are pressed, only the first detected one is registered.
The pressed key value can be read through in the KBREG register. The interrupt is cleared
in the interrupt handler by clearing the STATUSREG register.
Table 15 shows the KBREG values.
Table 15. KBREG coding
COL8
COL7
COL6
COL5
COL4
COL3
COL2
COL1
COL0
ROW8
ROW7
ROW6
ROW5
ROW4
ROW3
ROW2
ROW1
ROW0
80
71
62
53
44
35
26
17
8
79
70
61
52
43
34
25
16
7
78
69
60
51
42
33
24
15
6
77
68
59
50
41
32
23
14
5
76
67
58
49
40
31
22
13
4
75
66
57
48
39
30
21
12
3
74
65
56
47
38
29
20
11
2
73
64
55
46
37
28
19
10
1
72
63
54
45
36
27
18
9
0
44/66
SPEAR-09-B042
Standard customization
9.4.5
TDM interface
The TDM block implements time division multiplexing with up to 1024 time slots. It uses 11
pins.
Table 16. TDM block pins
Pins
Description
SYNC7-0
CLK
Dedicated frame synchro for CODECs without timeslot recognition
TDM clock
DIN
TDM input
DOUT
TDM output (tri-state)
The TDM interface can be the master or a slave of the CLK or SYNC0 signals.
It is a master when generating SYNC1 to SYNC7, which are seven additional sync signals
for devices that do not recognize time slots, or which need a special synchronization
waveform.
DIN receives the data.
DOUT transmits the data. This line can be high impedance on timeslot not used.
Timeslots can be used in two ways: switching or bufferization. The information about
timeslot usage is written in a 1024*32 memory, termed the 'action memory'. Switching and
bufferization can be used concurrently for different timeslots on the same TDM. The only
limitation is that an output timeslot can not be switched and bufferized at the same time.
Clock signal: device can be master or slave.
In master mode the CLK signal can be generated from different sources:
●
●
●
ClkR_Osci1: MCLK clock from external MCLK crystal
ClkR_Gpio4: external oscillator from PL_CLK4 pin.
ClkR_Synt_3: From frequency synthetiser (source is AHB frequency).
All three signals can be divided by the TDM_CLK block in order to obtain the correct
frequency.
In slave mode, the clock is received on the TDM_CLK pin.
The clock used internally is present on the PL_CLK pins.
Sync signal: device can be master or slave.
SYNC0 can be master or slave. SYNC1 to SYNC7 are additional generated synchro
dedicated to devices that does not recognize the timeslots orwhich need special waveforms.
SYNC1 to SYNC3 are built from SYNC0.
Sync0 in slave and master mode and Sync1 to Sync3 support several pre-defined wave
shapes.
SYNC4 to SYNC7 are generated using the SYNC memory (1024*32) where each bit is set
to 0 or 1 to generate the right pattern on the pin during a frame.
45/66
Standard customization
The following pre-defined shapes are available:
SPEAR-09-B042
●
●
●
short frame narrow-band delayed and non delayed
short frame wide-band delayed and non delayed
I2S or serial aligned long frame.
Figure 9.
Pre-defined frame sync shapes (slave or master)
SYN4 to SYNC7 are generated from the sync memory. The sync memory has 1024 words
per four bytes. Byte0 of each location is used to generate SYNC4. Byte1 for SYNC5, Byte2
for SYNC6 and Byte3 for SYNC7. The MSB of each byte is issued first. The LSB is issued
the last. This covers the 1024 possible time slots for the four sync signals.
TDM timeslot switching
Any of the output time slots can receive any input timeslot of the previous frame. The
connection memory is part of the action memory, informing which timeslot has to be output.
The data memory contains two banks. One storing the actual frame from the DIN pin (if
switching has been validated for this timeslot in the action memory), the other outputting the
data from the previous frame on DOUT (if the switching has been validated and high
impedance bit is not set in the action memory).
The delay between out_TSy receiving IN_TSx for a TDM containing N+1 timeslots is
constant:
Delay(TS)= y + (N+1- x)
with x and y between 0 and N.
Figure 10 shows an example with N+1 = 32.
46/66
SPEAR-09-B042
Figure 10. Switching constant delay between TSy and TSx
Standard customization
Note:
The last timeslot of a frame can be played in the first timeslot of the next frame.
TDM timeslot bufferization
Bufferization means that data from DIN is stored in an input buffer and data from an output
buffer is played on DOUT. When the number of sample stored/played reaches the buffer
size, the processor is interrupted in order to read the input buffer and prepare a new output
buffer (or a DMA request is raised).
Up to 16 channels can be stored or played. It is not mandatory that an input-bufferized
channel is also output bufferized (it can be switched or high impedance).
Channels can contain one byte (timeslot) when the data is companded, two bytes when the
data is either stereo companded or mono linear (16-bits) or four bytes when the data is
stereo linear. The timeslots need not be successive, but must be byte aligned.
When using 16 channels, 512 ms buffers can be used for stereo linear mode. Using 8, 4, 2
or 1 channel increases the buffer size to 1024, 2048, 4096 or 8192 ms (always for stereo
linear mode). If data is on two bytes per frame, the values are doubled. If data is mono
companded the data are multiplied by four.
All the channels must have the same buffer size. Thus if a vocoder for one channel requires
30 ms packets, and another channel requires 20 ms, a 10 ms buffer must be created, and
DMA used to generate the voice packet in the DDR.
Oherwise, if all the channels require the same packet size, the data can be directly
computed inside the buffer and do not need to be transferred to DDR. The only constraint is
to maintain operation the real time.
47/66
Standard customization
Figure 11. Type of data carried by the TDM
SPEAR-09-B042
frame
Half frame
Narrowband companded
Narrowband linear
Wideband companded
Wideband linear
Two banks are used to exchange the samples with the processor. The number of sample
stored in a buffer is programmable.
When the TDM reads and stores the data in one bank, the processor is owner of the other
bank, allowing it to read the received data before writing a new buffer to be played.
The processor can compute the data directly in the buffer.
When the two banks are switched, this can generate either an interrupt or a DMA transfer.
When this event occurs, if the processor has not finished to compute the previous input
buffer and to store the new output buffer, the computation is out of real time. The software
must to check that operations are done in real time.
To avoid synchronization issues, the MSB of the buffer address can be managed by the
device itself, the processor always accessing the right bank at addresses 0x0000 to 0x3FFF.
9.4.6
I2S interface
The I2S block is very similar to TDM block, but the frame sync is limited to Philips I2S
definition.
The I2S block can be master or slave for the clock.
The I2S block can be master or slave for the sync signal.
Bufferization is limited to 1024 samples (512 left and 512 right samples representing 64 ms
of voice). Data is stored always on 32-bits. Left and right channels are stored in two different
buffers. Two banks are used to exchange data with the processor.
The I2S interface is composed of 4 signals which are shown in Table 17.
48/66
SPEAR-09-B042
Standard customization
Table 17. I2S interface pins
Pins
Description
I2S_LRCK
I2S_CLK
I2S_DIN
Left and right channels synchronization (master/slave)
I2S clock (master/slave)
I2S input
I2S_DOUT
I2S output (tri-state)
●
●
●
I2S_LRCK in master mode can be adjusted for duration of 8, 16 or 32-bits low or high.
The data width can be smaller than I2S_LRCK width.
I2S_DIN receives the data. Data can be 8, 16 or 32-bits wide, and is always stored as
32-bit words. A shift left operation to left-align the data is possible.
DOUT transmits the data. Data can be 8, 16 or 32-bits, anyway data must be always
stored in 32-bits wide in the buffer. A shift left operation is possible to left align the data.
The DOUT line can be high impedance when out of the samples bits.
●
CLK signal In master mode can be generated from different sources:
–
–
–
–
ClkR_Osci1: MCLK clock from external MCLK crystal
ClkR_Gpio4: external oscillator from PL_CLK4 pin.
ClkR_Synt_2: from frequency synthesizer (source is AHB frequency),
TDM_CLK: I2S and TDM interfaces use the same clock.
The three first signals can be divided by the I2S_CLK block in order to reach the correct
frequency.
In slave mode, the clock is received on the I2S_CLK pin (same pin used in master or slave
mode).
Two banks are used to exchange the samples with the processor. The number of sample
stored in a buffer is programmable.
When the I2S interface reads and stores the data in one bank, the processor is owner of the
other bank, allowing it to read the received data before writing a buffer to be played.
The processor can compute the data directly in the buffer.
When the two banks are switched, this can generate an interrupt or DMA transfer. When this
event occurs, if the processor has not finished computing the previous input buffer and
storing the new output buffer, the computation is out of real time. The software must check
that operations are done in real time.
To avoid synchronization issues. The MSB of the buffers address can be managed by the
device itself. The processor always accesses the right bank between addresses 0x0000 and
0xFFFF.
9.4.7
SPI_I2C cell
The SPI interface has only one slave select signal, SS0.
2
The I C interface does not allow control of several devices with the same address what is
frequent for CODECs.
2
This IP allows management extension of up to 8 SPI devices, or 8 I C devices at the same
2
address (total SPI+I C devices=8).
49/66
Standard customization
SPEAR-09-B042
The SPI extension is made by generating three more slave select signals SS1, SS2 and
SS3.
2
The I C extension is done by repeating the I2C_SCL signal if the considered pin is set
active.
Otherwise the pin remains low, so that the start condition is not met.
2
Each of the 8 pins can reproduce either the SPI SS0 signal, or the I C I2C_SCL signal. The
selection is made through a register.
9.4.8
GPIO_IT cell
GPIO_IT is an 8-bit supervised input bus. It can be programmed to generate a change
interrupt (ITch) when a change is detected on any of the eight bus signals. If it is important
that the change persists for more than a determined time before an interrupt is generated, a
'persist' interrupt (ITp) can be programmed.
The signal is latched twice, and the two latched signals are compared. If they are different,
an ITch interrupt is generated if the line is programmed to generate a change interrupt (and
it is not masked). The programmer can then read both the first and the second latch
registers.
The number of clocks before validating a persistent change is programmable. An ITp
interrupt is generated if the line is programmed to generate a persist interrupt (and it is not
masked). When the persistency counter reaches the persistence time, the data is latched
and the programmer can read the latched data.
This interface is principally intended for supervision of the hook detection of up to 8 SLICs.
However it is also useful for switch debouncing and simple interrupt generation when a
signal toggles.
The GPIO_IT interface is clocked by the TDM clock.
9.4.9
One bit DAC
The one-bit DAC is a second-order noise shaper based on the TDM hardware. The action
memory determines whether a new sample needs to be sent to the DAC during the next
byte. Samples are read from the buffer memory.
Input data must be 32-bits wide, either in 2’s complement or binary form.
Optionally, the order of the noise shaper can be set to 1.
Operation without using the TDM
DAC cell is capable of operating without using the TDM. In this case, the input data can be
over sampled by the processor then over sampled by the DAC by a factor between 32 and
256. For example, 64 kHz over sampled data leads to a 2048 kHz output waveform when
the DAC over sampling factor is set to 32.
Operation in conjunction with the TDM
When used in conjunction with the TDM, a bufferization channel must be reserved for the
DAC. In this case the input sampling frequency must be either 8 kHz (standard TDM) or 16
kHz (when connecting wide-band CODECs for instance). The number of bits in a frame
must be fixed between 32 and 256, leading to an over-sampling factor of 32 to 256. For
example an 8 kHz input and a 256-bit frame generates a 2048 kHz output.
50/66
SPEAR-09-B042
Standard customization
DAC performances
Table 18. DAC performances
Symbol
Min
Typ
Max
Input bits
oversampling
S/N ratio
THD
32
32
256
82 dB (1)
72 dB (1)
dynamic
80% of full scale
1. Measured on a 1 kHz sine wave *64 over sampled by the processor and *32 by the DAC.
9.4.10
ADC enhanced control
The ADC is a 10-bit, 8 channel cell described in Section 8.14.
In order to synchronize the TDM or the DAC and the ADC, there is a mechanism allowing
channel 0 to be controlled by the TDM clock.
The ADC sampling rate can be adjusted from the sync frequency (generally 8 kHz), up to
TDM CLK frequency. For example, if the SYNC signal is at 8 kHz and the CLK signal is at
2048, the ADC sampling can be requested every 2-bits, leading to an over sampling of 128.
In this case the resolution of the ADC is increased to 13.5-bits.
9.4.11
Camera interface
The camera interface recieves data from a sensor in parallel mode (8 to 14-bits) by storing a
full line in a buffer memory, then requesting a DMA transfer or interrupting the processor.
When all the lines of a frame are transferred, a frame sync interrupt is generated.
The camera interface accepts both hardware synchronization (HSYNC and VSYNC signals)
or embedded synchros (ITU656 or CSI2).
Figure 12, Figure 13, Figure 14, Figure 15 shows the three possible synchronizations:
Figure 12. External HSYNC synchronization
51/66
Standard customization
Figure 13. External VSYNC synchronization
SPEAR-09-B042
Figure 14. ITU656 embedded synchronization
52/66
SPEAR-09-B042
Figure 15. CSI2 embedded synchronization
Standard customization
The data carried by the bus can be either raw Bayer, JPEG compressed or one of several
other common data formats. See Table 19.
Data is stored in a 2048*32 buffer memory. The incoming format, as well as the number of
banks inside the buffer memory impacts the maximum image size.
One or two banks can be used. The only constraint is that the processor or the DMA read
the memory before a new line is stored.
Table 19. Maximum picture size according data format and buffer size
Format of
Incoming data
Incoming data
size
Max 4/3 pict size Max 4/3 pict size
Storage size
(buf=2048)
(buf=1024)
Raw bayer10
Raw bayer8
RGB888
10 -14 bits/pixel
8 bits/pixel
2 bytes
1 byte
12.58 Mpix
50.33 Mpix
3.14 Mpix
3.14 Mpix
12.58 Mpix
0.79 Mpix
3.14 Mpix
3.14 Mpix
0.79 Mpix
3.14 Mpix
12.58 Mpix
>> 100 Mpix
3 byte/pixel
2 bytes/pixel
2 byte/pixel
3 bytes/pixel
4 bytes/2pixel
1 byte/pixel
/Squeeze
4 bytes
2 bytes
2 bytes
4 bytes
2*2 bytes
1 byte
RGB565
12.58 Mpix
12.58 Mpix
3.14 Mpix
RGB444
YCbCr444
YCbCr422
YCbCr400
MPEG
12.58 Mpix
50.33 Mpix
>>100 Mpix
raw
53/66
Standard customization
SPEAR-09-B042
The camera interface can be assigned to two different set of pins. When using data greater
than 8-bits, it is not possible to use the MII interface.
Table 20. Camera interface pinout
Pinout
Description
HSYNC
VSYNC
PixCLK
DIO0
Horizontal synchro (line)
Vertical synchro (frame)
Pixel clock
Data0
DIO1
Data1
DIO2
Data2
DIO3
Data3
DIO4
Data4
DIO5
Data5
DIO6
Data6
DIO7
Data7
DIO8
Data8 extension
Data9 extension
Data10 extension
Data11 extension
Data12 extension
Data13 extension
DIO9
DIO10
DIO11
DIO12
DIO13
Figure 16. Camera interface waveforms
54/66
SPEAR-09-B042
Standard customization
Table 21. Camera interface timing specification
Symbol
Description
PCLK frequency
Min
Max
Unit
fPCLK
tPCLKL
tPCLKH
tDV
100
1/fPCLK + 3
1/fPCLK + 3
3
MHz
ns
PCLK low width
PCLK high width
PCLK to data
1/fPCLK - 3
1/fPCLK - 3
-3
ns
ns
9.4.12
Interrupt and DMA request management
This IP collects the interrupt request of several IPs in order to merge them on the intrrupt0
line of the interrupt controller. The interrupt handler that must determine the root of the
interrupt.
The IPs using interrupt0 line are the following:
●
●
●
●
●
●
Keyboard,
Legacy GPIOs,
GPIO_IT bus,
I2S,
TDM,
Camera interface.
The IP is also connected on DMA_REQ channels 2 to 4 and transmits the request from the
following IPs:
●
●
●
I2S,
TDM,
Camera interface.
DMA requests can be DMA burst request and/or DMA single request.
Events of the different IPs able to generate an interrupt are the following:
●
●
●
●
●
●
●
●
●
Keyboard,
Legacy GPIOs,
IT_GPIO persistent change supervision,
IT_GPIO change supervision,
I2S buffer bank switching,
TDM buffer bank switching,
Camera interface new line available,
Camera interface end of frame,
Camera interface vertical sync appears active.
The following types of IP DMA requests are supported:
●
●
●
I2S buffer bank switching,
TDM buffer bank switching,
Camera interface new line available.
55/66
Standard customization
SPEAR-09-B042
Keyboard and Legacy GPIOs can only generate interrupts (no DMA requests). These
interrupts are cleared by writing inside the keyboard or legacy GPIOs registers. They are
masked in this block.
All other features managed by this block can generate interrupts. These interrupts are
cleared by a dummy byte access in the 0x5006xxxx area from the interrupt handler, and
masked by the mask register of this block.
I2S, TDM and end of line from camera interface can launch a DMA transfer. DMA transfer
are masked by the mask register of this block and cleared by the DMA controller (DMA_CLR
and DMA_TC signals).
56/66
SPEAR-09-B042
Figure 17. Interrupt and DMA block for telecom peripherals
Standard customization
KeyB
LegGPIO
Int_ITp
ITp
Set
Clr
Set
Clr
Set
Clr
Set
Clr
Set
Clr
Set
Clr
Set
clr
Dummy read byte @40060000
Int_ITch
ITch
Dummy read byte @40060001
Int_ITi2s
ITi2s
Dummy read byte @40060002
Int_ITtdm
To interrupt
ch0
ITtdm
ITcaml
ITcamf
ITcamv
Dummy read byte @40060003
Int_ITcaml
Dummy read byte @40060004
Int_ITcamf
Dummy read byte @40060005
Int_ITcamv
Dummy read byte @40060006
Interrupt & DMA
mask
Int_DMAi2s
Int_DMAtdm
Int_DMAcaml
i2s_BREQ
i2s_SREQ
i2s_CLR
Int_DMAi2s
Set
Dummy read byte @40060007
Clr
}
}
}
i2s_TC
tdm_BREQ
tdm_SREQ
tdm_CLR
tdm_TC
Int_DMAtd
Set
Clr
Dummy read byte @40060008
To DMA ch3
To DMA ch4
caml_BREQ
caml_SREQ
caml_CLR
caml_TC
Int_DMAcaml
Set
Clr
Dummy read byte @40060009
57/66
Standard customization
SPEAR-09-B042
9.5
TDM timing
Figure 18. TDM signals description
tr tf
50%
tT
T
CLK slave
tMS
tFs
CLK Master
tFh
Frame synchro
tOd
tOd
DIN
tIs
tIh
Table 22. TDM timing specification (1024 TS = 65536 kHz = 15.26 ns)
Symbol
Description
Clock frequency
Min
Typ
Max
Unit
t
tTh/tTl
tr, tf
tMS
tFs
15.26
75
ns
ns
ns
ns
ns
ns
ns
ns
ns
High to low clock ratio
Clock rising and falling time
Clock slave to master delay
Frame synchro setup time
Frame synchro hold time
Output data delay/clock
Input data setup time
100
125
3
3
3
3
t – 3
tFh
Frame - t - 3
3 (5pF)
tOd
tIs
3
3
tIh
Input data hold time
58/66
SPEAR-09-B042
Standard customization
9.5.1
I2S interface timings
Figure 19. TDM signals description
thsck tlsck
Tpsck1
I2S_CLK slave
tMS
_
I2S CLK Master
Td1sck
Tdlr
Td2sck
_
I2S LRCK
tplrc
tdlr
tdlr
_
I2S DOUT
_
I2S DIN
tssdi
thsdi
Table 23. I2S timing specification
Symbol
Description
Clock frequency
Min
Typ
Max
Unit
tpsck1
50
20
20
40
-10
20
ns
ns
µs
%
thscl tlsck
High or low clock time
lrck period
tplrck
127
60
lrckDC
td1sck
td2sck
tdlr
lrck duty cycle
slave lrck to clk falling
clk rising to lrck rising
clk falling to lrck edge
Setup or hold time data in
600
ns
ns
ns
ns
10
t
ssdi, thsdi
10
59/66
Electrical characteristics
SPEAR-09-B042
10
Electrical characteristics
10.1
Absolute maximum ratings
This product contains devices to protect the inputs against damage due to high static
voltages. However it is advisable to take normal precaution to avoid application of any
voltage higher than the specified maximum rated voltages.
Table 24. Absolute maximum rating
Symbol
Description
Supply voltage core
Value
Unit
VDD core
1.6
4.8
V
V
VDD I/O
Supply voltage I/O
VDD PLL
VDD DDR
Supply voltage PLL
V
Supply voltage DRAM interface
Supply voltage RTC
Junction temperature
Storage temperature
4.8
V
VDD RTC
2.4
V
TJ
-40 to 125
-55 to 150
°C
°C
TSTG
The average chip-junction temperature, T , can be calculated using the following equation:
j
T = T + (P • Θ )
j
A
D
JA
where:
●
●
●
T is the ambient temperature in °C
A
Θ
is the package junction-to-ambient thermal resistance, which is 34 °C/W
JA
P = P
+ P
PORT
D
INT
INT
–
–
P
P
is the chip internal power
is the power dissipation on Input and Output pins, user determined
PORT
If P
is neglected, an approximate relationship between P is:
D
PORT
P = K / (T + 273 °C)
D
j
And, solving first equations:
2
K = P • (T + 273 °C) + Θ x P
D
D
A
JA
K is a constant for the particular case, which can be determined through last equation by
measuring P at equilibrium, for a known T
D
A.
Using this value of K, the value of P and T can be obtained by solving first and second
D
J
equation, iteratively for any value of T .
A
60/66
SPEAR-09-B042
Electrical characteristics
10.2
DC electrical characteristics
Supply voltage specifications.
The recommended operating conditions are listed in the Table 25:
Table 25. Recommended operating condition
Symbol
Description
Supply voltage core
Min
Typ
Max
Unit
V
DD core
VDD I/O
VDD PLL
1.14
3
1.2
3.3
2.5
2.5
1.8
1.5
1.26
3.6
V
V
Supply voltage I/O
Supply voltage PLL
2.25
2.25
1.7
1.2
-40
2.75
2.75
1.9
V
V
DD OSC
VDD DDR
VDD RTC
TOP
Supply voltage oscillator
Supply voltage DRAM interface
Supply voltage RTC
V
V
1.8
V
Operating temperature
85
°C
10.3
General purpose I/O characteristics
The 3.3 V I/Os are compliant with JEDEC standard JESD8b
Table 26. Low voltage TTL DC input specification (3V< V <3.6V)
DD
Symbol
Description
Test condition
Min
Max
Unit
Vil
Vih
Low level input voltage
High level input voltage
Schmitt trigger hysteresis
0.8
V
V
2
Vhyst
300
800
mV
Table 27. Low voltage TTL DC output specification (3V< V <3.6V)
DD
Symbol
Description
Test condition
Min
Max
Unit
Vol
Low level output voltage
High level output voltage
Iol= XmA (1)
0.3
V
V
Voh
Ioh= -XmA (1)
VDD - 0.3
1. For the max current value (XmA) refer to Section 6: Pins description.
Table 28. Pull-up and pull-down characteristics
Symbol
Description
Test condition
Min
Max
Unit
Rpu
Rpd
Equivalent pull-up resistance
Equivalent pull-down resistance
Vi = 0V
29
29
67
KO
KO
Vi = Vdde3V3
103
61/66
Electrical characteristics
SPEAR-09-B042
10.4
LPDDR and DDR2 pad electrical characteristics
Table 29. DC characteristics
Symbol
Description
Test condition
Min
Max
Unit
Vil
Vih
Low level input voltage
High level input voltage
Input voltage hysteresis
SSTL18
SSTL18
-0.3
Vref-0.125
V
V
Vref+0.125 Vdde1V8+0.3
200
Vhyst
mV
Table 30. Driver characteristics
Symbol
Description
Output impedance
Test condition
Test condition
Min
Min
Typ
Max
Max
Unit
Ro
45
Ω
Table 31. On die termination
Symbol
Description
Typ
Unit
Termination value of resistance for
on die termination
RT1
75
Ω
Termination value of resistance for
on die termination
RT2
150
Ω
Table 32. Reference voltage
Test
condition
Symbol
Description
Min
Typ
Max
Unit
0.49
0.500
* Vdde
0.51
VREFIN
Voltage applied at core/pad
V
* Vdde
* Vdde
10.5
10.6
Power up sequence
The only requirement is that the various power supplies reach the correct range in less than
10 ms.
PowerGood
The PowerGood signal should remain active for at least 10 ms after all the power supplies
are in the correct range and should become active within 10 µs of any of the power supplies
going out of the correct range.
62/66
SPEAR-09-B042
Package information
11
Package information
In order to meet environmental requirements, ST offers these devices in ECOPACK®
packages. These packages have a lead-free second level interconnect. The category of
second level interconnect is marked on the package and on the inner box label, in
compliance with JEDEC standard JESD97. The maximum ratings related to soldering
conditions are also marked on the inner box label.
ECOPACK is an ST trademark. ECOPACK specifications are available at: www.st.com.
Figure 20. LFBGA289 mechanical data and package dimensions
mm
inch
DIM.
OUTLINE AND
MECHANICAL DATA
MIN.
TYP. MAX. MIN.
TYP. MAX.
0.0669
A
A1
A2
A3
A4
b
1.700
0.0106
0.985
0.270
0.0387
0.0078
0.0315
0.200
0.800
0.350 0.400 0.450 0.0137 0.0157 0.0177
14.850 15.000 15.150 0.5846 0.5906 0.5965
D
D1
E
12.800
0.5039
14.850 15.000 15.150 0.5846 0.5906 0.5965
E1
e
12.800
0.800
1.100
0.5039
0.0315
0.0433
Body: 15 x 15 x 1.7mm
F
ddd
eee
fff
0.120
0.150
0.080
0.0047
0.0059
0.0031
LFBGA289
Low profile Fine Pitch Ball Grid Array
8077927 B
63/66
Order code
SPEAR-09-B042
12
Order code
Table 33. Ordering information
Order code
Package
Packing
SPEAR-09-B042
LFBGA289 (15x15mm)
Tray
64/66
SPEAR-09-B042
Revision history
13
Revision history
Table 34. Document revision history
Date
Revision
Changes
20-May-2008
1
Initial release.
65/66
SPEAR-09-B042
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
© 2008 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan -
Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com
66/66
相关型号:
SPEAR-09-H022
SPEAr Head ARM 926, 200K customizable eASIC gates, large IP portfolio SoC
STMICROELECTR
SPEAR-09-H022_06
SPEAr Head200 ARM 926, 200K customizable eASIC gates, large IP portfolio SoC
STMICROELECTR
SPEAR-09-H042
SPEAr⑩ Head200, ARM 926, 200 K customizable eASIC⑩ gates, large IP portfolio SoC
STMICROELECTR
©2020 ICPDF网 联系我们和版权申明