Sonix SNC7001A - Spec - V1.5
Sonix SNC7001A - Spec - V1.5
16-bit Processor
2. FEATURES ................................................................................................................................................. 4
3. PIN ASSIGNMENTS.................................................................................................................................. 5
4. MEMORY ................................................................................................................................................... 6
5. SYSTEM CLOCK....................................................................................................................................... 8
6. I/O PORT..................................................................................................................................................... 8
7. TIMER/COUNTER .................................................................................................................................. 10
8. INTERRUPT ............................................................................................................................................. 11
10.1 ADC................................................................................................................................................... 12
10.2 AUDIO DAC ....................................................................................................................................... 12
AMENDENT HISTORY
Version Date Description
Ver 1.0 2011/11/11 First Issue
Ver 1.1 2011/11/21 Modify NAND flash IF function, it is “Read only” mode
Ver 1.2 2011/12/19 a. Modify CS2 mapping address from 8M to 4M bits
b. Modify SD-Audio DAC SNR from 90dB to 80dB
Ver 1.3 2012/04/16 a. Update typo at GPIO number at P4 (page 6)
b. Adds contents at Electrical Characteristics chapter
Ver 1.4 2012/06/15 a. Adds testing temperature.
b. Adds Chap 19 : Reference Schematic
Ver 1.5 2013/11/07 Add Chap 17: Absolute Maximum Rating
1. Introduction
The SNC7001A is a 16-bit DSP processor. It runs at 48MHz with 48MIPS high performance
processing speed. Therefore, the SNC7001A is applicable to process voice recognition and
picture display related algorithms. The memory includes a 32KW Program RAM and 16KW
Working RAM. The 32KW Program RAM supports re-bootable function in order to develop
more complex application programs.
Peripherals embedded in the SNC7001A include NAND FLASH with ECC controller (read
only), SD/MMC controller, USB device, LCD Interface, UART interface, MSP, SPI
master/slave interface, CMOS Image Sensor controller, PWM Output, Audio ADC and DAC,
I2S and SAR ADC.
2. Features
♦ Built-in 16-bit DSP core
♦ 48 MIPS CPU Performance under 48MHz, 1 Clock per 1 Instruction.
♦ Clock Type:
− 48MHz for system clock
− 32768Hz for system clock
♦ High Speed Clock Source (pumping from 12MHz 48MHz by PLL circuit)
− 12MHz crystal oscillator
− 12MHz IHRC
♦ Low Speed Clock Source:
− 32768Hz crystal oscillator
− 32768Hz external Rosc
♦ Operation Mode:
− Normal mode (hi-speed clock enable)
− Slow mode 1 ( hi-speed clock enable, PLL disable, slow-speed clock disable)
− Slow mode 2 (hi-speed clock disable, slow-speed clock enable)
− Watch mode (chip entry power-down mode and wake-up per 0.5/1 sec
automatically)
− Power-down mode (both hi-speed and low-speed clock disable)
♦ Three 16-bit Timers, 1 Watch Dog Timer, 1 RTC
− Timers with Individual pre-scalar and auto-reload function
− Event Counter (Combine Timer and Input Pin P0.0~P0.2)
− Watch Dog Timer (WDT) with 0.25/0.5/1/2-sec period
− RTC with 0.5/1-sec period
♦ Interrupt Sources
− 1 for ADC, 3 for Timers, 1 for RTC, 1 for SPI, 1 for AD, 1 for DA, 1 for I2S, 1 for MSP
− 3 for External (P0.0~P0.2), 1 for USB, 1 for NAND Flash, 4 for DMA
♦ 32K * 16 Internal Program RAM (need boot form external flash storage)
♦ Total 16K*16 Internal RAM memory configuration for Program and working RAM
− Mode 0: 8K*16 Program RAM + 8K*16 Working RAM
− Mode 1: 4K*16 Program RAM + 12K*16 Working RAM
− Mode 2: 12K*16 Program RAM + 4K*16 Working RAM (default)
− Mode 3: 16K*16 Working RAM
3. Pin Assignments
Symbol Descriptions No. of Pin Pin Count
VDDA_LDO Power for Regulator 1 1
VDDAL_LDO Regulator voltage output 1 2
VSSA_LDO Regulator Ground 1 3
VDD Power + for core 5 8
VSS Power - for core 5 13
VDDDP Power for IO 6 19
VSSDP GND for IO 7 26
VDD_DAC Power for Audio DAC 2 28
VSS_DAC GND for Audio DAC 2 30
VCOM Audio DAC Common mode output 1 31
DAC_VMID Audio DAC VMID output 1 32
VDDA_DRV Audio DAC Driver Power 2 34
VSSA_DRV Audio DAC Driver GND 2 36
VOUTP Audio DAC output (+) 1 37
VOUTN Audio DAC output (-) 1 38
ADC_VMID SD ADC VMID output 1 39
MICBIAS SD ADC Microphone Bias Voltage output 1 40
FMIN SD ADC FM signal input pin 1 41
AUX SD ADC AUX signal input pin 1 42
VDDA_ADC Power for SD ADC 2 44
VSSA_ADC GND for SD ADC 2 46
MIC_N SD ADC MIC difference input (-) 1 47
MIC_S SD ADC MIC single input 1 48
MIC_P SD ADC MIC difference input (+) 1 49
VDDA_SAR Power for SAR ADC 2 51
VSSA_SAR GND for SAR ADC 2 53
AVREFH Reference Voltage for SAR ADC 1 54
AIN[3:0] SAR ADC Anlong input pin 4 59
VO1 Thermal DAC Output 1 60
XIN_12M High speed clock crystal input 1 61
XOUT_12M High speed clock crystal output 1 62
XIN_32K Low speed clock crystal input 1 63
XOUT_32K Low speed clock crystal output 1 64
CKSEL Crystal/RC-type oscillator select for high 1 65
speed clock
RSTB Chip reset 1 66
TEST For test only 1 67
PHY_DM USB Data + 1 68
PHY_DP USB Data - 1 69
VDDA_PHY USB power + (3.3V) 2 71
4. Memory
There are 32KW Program Boot RAM and 16KW User RAM in SNC7001A. It boots program
code into Program Boot RAM from an external storage device and then begins to run at
program address 0x0000. The SNC7001A has 16KW RAM which has four modes of
configuration (Mode 0~Mode 3) to select the Program RAM and Working RAM size for
different application.
0x0000
Re-boot SPI
P-RAM Flash
(32KW)
NOR
0x7FFF
Arbiter Flash
0x0000
User
Mask
RAM
ROM
(16KW)
0x3FFF
Mode 0 Mode 1
0x0000 0x0000
WRAM
8KW address
WRAM
12KW
address
0x1FFF
0x200000
PRAM 0x2FFF
8KW address 0x200000
PRAM
4KW address
0x201FFF 0x200FFF
0x0000 0x0000
WRAM
4KW address
0x1FFF
0x200000
WRAM
16KW
address
PRAM
12KW address
0x201FFF 0x3FFF
Size
Address Range Usage DSP DMA
(word)
0x400000 ~ CS1 SPI Flash
8M R R/W
0xBFFFFF /CS1 NOR Flash
0xC00000~
4M CS2 NOR Flash R R/W
0xFFFFFF
5. System Clock
SNC7001A is a dual clock system that provides high-speed clock (12MHz crystal up to 48MHz)
and low-speed clock (12MHz or 32768Hz). The SNC7001A uses an internal PLL to up sample
clock speed to 48MHz.
6. I/O Port
SNC7001A provides a total of 76 I/O pins (P0.0~P4.11) and 4 inputs pins (P4.12~P4.15,
which shares with SAR ADC pins). The input pull-high resistor of each pin can be individually
programmed by port pull-high register and the direction of I/O port is selected by port direction
register. The I/O port P0.0~P0.15 and P1.0~P1.15 can wake up the chip from the standby
mode.
These 76 programmable I/O pins and 4 input pins provide not only a simply input/output
function but also can configure to be chip select pins of extension bus and multi-function
peripheral interfaces. For details please refer to the following sections. Analog input pins
(AIN0~AIN3) of SAR ADC can be selected to act as digital input only, please refer Figure-2.
The internal structure of I/O pins is showed in Figure-1.
Pull-Up
Resister
In/Out
Pull-Up Control
Select
I/O
PAD
Data Gate
to internal
bus
In/Out
Control
7. Timer/Counter
SNC7001A provides three 16-bit timer/event counters (T0/T1/T2). Each timer is 16-bit
binary up-count timer with pre-scalar and auto-reload function.
/2 (16-bit)
TnC Time Out
/4
16-bit
system clock /2 /8 MUX Up-Counter
comparator
/512
clear
Enable
Pre-scalar
Auto-reload
Figure-3
8. Interrupt
At the moment when SNC7001A enters the interrupt service routine, the GIE bit (in INTEN)
will be cleared to "0“ for blanking other interrupts. However, during this stage, other enabled
interrupt sources still can issue their requests but the requests are queued in INTRQ. GIE
will be restored to “1” while DSP exits ISR. Then the other valid interrupt can be granted and
served immediately.
10.1 ADC
In SNC7001A, we provide one set of high performance one channel Analog-to-Digital
Converter (ADC) for microphone applications with typical SNR at 90dB. This Analog-to-Digital
Converter has a built-in PGA (-12dB ~ +33dB), BOOST (0 ~ +30dB) and true AGC control. It
supports 8/12/16/22.05/24/32/44.1/48KHz sample rates.
P2.4 ED4
P2.5 ED5
P2.6 ED6
P2.7 ED7
ED8
P2.8
(note1)
P2.9 ED9
P2.10 ED10
P2.11 ED11
P2.12 ED12
P2.13 ED13
P2.14 ED14
P2.15 ED15
P3.0 EA12
P3.1 EA13
P3.2 EA14
P3.3 EA15
P3.4 EA16
P3.5 EA17
P3.6 EA18
P3.7 EA19
PORT3
P3.8 EA20
P3.9 EA21
P3.10 EA22
P3.11 NAND NFCS
P3.12 R/B
P3.13 NFALE
P3.14 NFWE CIS VSYNC
P3.15 NFRE HSYNC
PORT4 P4.0 NFWP SDCLK MCLK
P4.1 NFCLE SDCMD PCLK
P4.2 LCDC LCD0 NFD0 SDD0 CISD0
SD
P4.3 LCD1 NFD1 SDD1 CISD1
P4.4 LCD2 NFD2 SDD2 CISD2
P4.5 LCD3 NFD3 SDD3 CISD3
P4.6 LCDA NFD4 CISD4
P4.7 LCDCK NFD5 CISD5
P4.8 LCDLP NFD6 CISD6
16. Regulator
The SNC7001 built-in a linear regulator for core power (CVDD) apply. The accuracy output
voltage is 1.8V±0.18V and it can be power downed by software.
Note1: P1.1~P1.5 own two option for drive / sink current (16 or 12mA), the default is 16mA
Note2: P4.12~P4.15 (input only) are shared pin with “SAR ADC” AIN0~AIN3.
VDDDP
VDDDP
VSSDP
VSSDP
P2.13
P1.14
P0.15
P0.14
P0.13
P3.12
P3.11
P3.10
P2.12
P2.11
P2.10
P1.13
P1.12
P0.12
P0.11
P0.10
P1.11
P1.10
P1.15
VDD
VDD
P1.5
P4.8
P4.7
P1.4
P4.6
P4.5
P3.9
P3.8
P3.7
P2.9
P2.8
P2.7
VSS
VSS
117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 VSSDP
77 VDDDP
P2.14 118 76 P1.3
P2.15 119 75 P0.9
P3.13 120 74 P0.8
P3.14 121 73 P0.7
P3.15 122 72 P4.4
P4.9 123 71 P4.3
P4.10 124 70 P3.6
P4.11 125 69 P3.5
NC 68 VSS
NC 67 VDD
66 P3.4
126 65 P2.6
VSSA_DAC
64 P2.5
VSSA_DAC 127
63 P2.4
VCOM 128
129
62 P1.9
DAC_VMID
61 P1.8
VDDA_DAC 130
60 VSSDP
VDDA_DAC 131
59 VDDDP
VSSA_DRV 132
58 P1.2
VSSA_DRV 133
57 P0.6
VOUTN 134
56 P0.5
VOUTP 135
55 P0.4
VDDA_DRV 136
54 P4.2
VDDA_DRV 137
(0.00, 0.00) 53 P4.1
52 P3.3
ADC_VMID 138
51 P3.2
MICBIAS 139
50 P3.1
FMIN 140
49 P2.3
AUX 141
48 P2.2
VDDA_ADC 142
47 VSS
VDDA_ADC 143
46 VDD
MIC_N 144
45 P2.1
MIC_S 145
44 P1.7
MIC_P 146
43 P1.6
VSSA_ADC 147
42 P1.1
VSSA_ADC 148
41 VSSDP
40 VDDDP
39 P0.3
38 P0.2
VSSA_SAR 149
37 P0.1
VSSA_SAR 150
36 P4.0
AIN3 151
35 P3.0
AIN2 152
34 P2.0
AIN1 153
33 P1.0
AIN0 154
AVREFH 155
VDDA_SAR 156
VDDA_SAR 157
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
SNOIX
VDDAL_PHY
VDDAL_PHY
VDDAL_LDO
CODE_SEL
VDDA_PHY
VDDA_PHY
VSSA_PHY
XOUT_12M
VSSA_PHY
VDDA_LDO
XOUT_32K
VSSA_LDO
ICE_MOSI
ICE_MISO
ICE_SCK
ICE_CSB
PHY_DM
XIN_12M
LDO_PD
XIN_32K
PHY_DP
ICE_MS
VDDDP
VSSDP
VSSDP
CKSEL
RSTB
TEST
VDD
P0.0
VSS
VO1
SNC7001A
Note: The substrate MUST be connected to GND in PCB layout
SNC7001A CHIP 1
C1
0.1uF
2 1
C2
0.1uF
2
VDD_33V
VDD_18V
VDD_33V
VDD_18V
VDD_33V
DGND
DGND
DGND
DGND
DGND
P2_13
P1_15
P1_14
P0_15
P0_14
P0_13
P3_12
P3_11
P3_10
P2_12
P2_11
P2_10
P1_13
P1_12
P0_12
P0_11
P0_10
P1_11
P1_10
P1_5
P4_8
P4_7
P1_4
P4_6
P4_5
P3_9
P3_8
P3_7
P2_9
P2_8
P2_7
132
131
130
129
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
102
101
100
99
98
97
96
95
94
93
92
91
90
89
P2.13
P1.15
P1.5
P1.14
P0.15
P0.14
P0.13
P4.8
P4.7
P3.12
P3.11
P3.10
P2.12
P2.11
P2.10
P1.4
P1.13
P1.12
P0.12
P0.11
P0.10
P4.6
P4.5
P3.9
P3.8
P3.7
P2.9
P2.8
P2.7
P1.11
P1.10
VSSDP
VDDDP
VSS
VSSDP
VDDDP
VSS
VSSDP
VDDDP
NC
VDD
VDD
NC
NC
133 88 P1_3
134 NC P1.3 87 P0_9
135 NC P0.9 86 P0_8
136 NC P0.8 85 P0_7
137 NC P0.7 84 P4_4
P2_14 138 NC P4.4 83 P4_3
P2_15 139 P2.14 P4.3 82 P3_6
P3_13 140 P2.15 P3.6 81 P3_5
P3_14 141 P3.13 P3.5 80 DGND
P3_15 142 P3.14 VSS 79 VDD_18V
P4_9 143 P3.15 VDD 78 P3_4
P4_10 144 P4.9 P3.4 77 P2_6
P4_11 145 P4.10 P2.6 76 P2_5
VSSA 146 P4.11 P2.5 75 P2_4
VCOM 147 VSSA_DAC P2.4 74 P1_9
1
1
VSSA 162 MIC_P P2.2 59 DGND C18
VSSA 163 VSSA_ADC VSS 58 VDD_18V
AIN3 164 VSSA_SAR VDD 57 P2_1 0.1uF
2
AIN2 165 AIN3 P2.1 56 P1_7
AIN1 166 AIN2 P1.7 55 P1_6
AIN0 167 AIN1 P1.6 54 P1_1
1
168 AIN0 P1.1 53 DGND C19
VDDA 169 AVREFH VSSDP 52 VDD_33V
170 VDDA_SAR VDDDP 51 P0_3 0.1uF
2
171 NC P0.3 50 P0_2
172 NC P0.2 49 P0_1
173 NC P0.1 48 P4_0
174 NC P4.0 47 P3_0
175 NC P3.0 46 P2_0
176 NC P2.0 45 P1_0
NC P1.0
RESET
VDDAL_LDO
VDDAL_PHY
VDDA_PHY
VDDA_LDO
CODE_SEL
XOUT_12M
VSSA_LDO
VSSA_PHY
XOUT_32K
ICE_MISO
ICE_MOSI
ICE_CSB
ICE_SCK
PHY_DM
XIN_12M
PHY_DP
XIN_32K
LDO_PD
ICE_MS
VDDDP
VSSDP
VSSDP
CKSEL
RSTB
TEST
VDD
P0.0
VO1
VSS
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
VDD_33V
SNC7001A
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
R11 U1
VDDAL_LDO
XOUT_12M
ICE_MISO
ICE_MOSI
VDD_18V
VDD_33V
VDD_33V
VDD_18V
VDD_33V
ICE_CSB
ICE_SCK
XIN_12M
PHY_D+
10K
ICE_MS
PHY_D-
RESET
DGND
DGND
DGND
DGND
DGND
VDDA
VSSA
P0_0
RESET
XTAL
1
1 2 C21
C20 0.1uF
2
1
XOUT_12M
C22 S1 0.1uF Default is floating
XIN_12M
VDDAL_LDO VDD_18V
0.1uF RESET
CLK_SEL
2
0.1uF 47uF/BC
0 1
2
12M_IHRC 12M_Xtal
1
1
DGND
C25 C26
20pF 20pF
2
POWER
SAR_ADC
ICE_5V BAT_4.5V
U5 FT510Ga_SOT23 R16 0 VDD_33V For SNC7002 IC Digital 3.3V BAT_4.5V
3 2
VI VO
GND
R17
JP2 330 R18
R
1
2 C33 C34
1 D1 R19 0 VDDA For Analog ADC/DAC/PHY/SAR IP 3.3V
10uF/BC 0.1uF AIN2
2
DGND R
AIN3
R26 0 +3.3V_Peri_10mil For Peripheral 3.3V
Battery Detect
CIS MCU8080
+3.3V_Peri_10mil
+3.3V_Peri_10mil P3_11
CIS_AVDD R29 0 CIS_VDD R30 0 P3_12
1
P3_14 CIS_VSYNC
P3_15 CIS_HSYNC
GND LED_K 1
J6 P4_0 CIS_MCLK +3.3V_Peri_10mil R32 0 LED_A 2
P1_11 ECS2#
P4_8 1 2 P4_9 GND GND 3
P4_6 3 P4_8 P4_9 4 P4_7 Pin21:
P4_1 CIS_PCLK +3.3V_Peri_10mil IO VCC 4
P1_12 WR#
P4_4 5 P4_6 P4_7 6 P4_5 5
DGND 7 P4_4 P4_5 8 CIS_VDD CIS_PD# J8
P4_2 CIS_D0 6
P1_13 RD#
P4_2 9 GND VDD 10 P4_3 P1_11 /CS 7
P3_12 11 P4_2 P4_3 12 P3_11 +3.3V_Peri_10mil 1
P4_3 CIS_D1 RESET R33 0 /RESET 8 J7
P1_14 EA0
P3_14 13 P3_12 P3_11 14 P4_1 Pin21 2 P1_14 RS 9
P4_0 15 P3_14 P4_1 16 P3_15
P4_4 CIS_D2 P1_12 /WR 10
P2_0 ~ ED0 ~
P4_11 17 P4_0 P3_15 18 P4_10 P1_13 /RD 11
CIS_AVDD 19 P4_11 P4_10 20 CIS_AGND HEADER 2
P4_5 CIS_D3 P2_7 DB7 12
P2_7 ED7
Pin21 21 AVDD AGND 22 CIS_AVDD P2_6 DB6 13
P3_13 23 PD/RB2 AVDD 24 Pin24 Pin24:
P4_6 CIS_D4 P2_5 DB5 14
P3_13 RST/RB3 P2_4 DB4 15
CIS_RST# TP1
P4_7 CIS_D5 P2_3 DB3 16
HEADER 12X2 CIS Pin24 1 P2_2 DB2 17
P4_8 CIS_D6 P2_1 DB1 18
P2_0 DB0 19
P4_9 CIS_D7 GND GND 20
+3.3V_Peri_10mil
P4_10 I2C_SCLK
R34 4.7K P4_10
R35 4.7K P4_11 I2C P4_11 I2C_SDA TG144C31
1
C3
J1 C4 MICBIAS
1 VCOM 0.47uF R1 10uF
2
3 VOUTN 1 2 R2
2.2K
4 20K U2 VSSA J2 C5
2 VOUTP MIC_P 1 2
1 8 O- 1
PJK-684 2 VM O- 7 BAT_4.5V 2 1uF
VIN VDD
1
3 6 O+ C6 R3
4 GND O+ 5 JP1
+
C7 VREF CE HEADER 2 MIC 220PF 47K
2
0.47uF R4 SNAP01A
-
2
1 2 P1_6 C9
1
C8 MIC_N 1 2
20K
1uF R5 1uF R6
2
2.2K
10K
SNAP01 ON : P1_6 = 1
SNAP01 OFF : P1_6 = 0 VSSA
VSSA VSSA
C14
MX25L6445 HEADER 5X2
0.1uF
2
10 9
ICE_CSB 8 7 ICE_MOSI
ICE_SCK 6 5 ICE_MISO
ICE_5V ICE_MS 4 3 RESET
ICE_5V 2 1 DGND
P1_0 SPICS
P1_1 SPISCK J3
Standalone CODE_SEL
P1_2 SPIMISO
0
ICE_CSB
P1_3 SPIMOSI
0 CS1_SPI P1_4 SPIED2 (WP#) USB
P1_5 SPIED3 (HOLD#)
Detected USB Plug in: P0_8=1
VDD_33V USB_5V
Detected USB Not Plug in :P0_8=0
R7
N/C USB_5V
R8
ICE_CSB Default is floating 150K R9 J4
300K
1
R10 PHY_D- 2
1M P0_8 PHY_D+ 3
4 7
R13 5 8
R12 300K 6 9
300K
MINI-B
SD CARD
+3.3V_Peri_10mil X-ROM IF
12 11
10 +3.3V_Peri_10mil +3.3V +3.3V
8 U4
7
6 C27 C28 1 48
R14 R15 10uF 0.1uF 2 NC NC 47
5 10K 10K 3 NC NC 46
4 4 NC NC 45
5 NC NC 44 P4_9
3 NC I/O7
2 SD_CD P1_13 6 43 P4_8
SD_WP P1_14 FM_RB 7 NC I/O6 42 P4_7
1 FM_RE 8 RB# I/O5 41 P4_6
9 FM_CE 9 RE# I/O4 40
10 CE# NC 39
11 NC NC 38 C31
C29 C30 12 NC NC 37
10uF 0.1uF 13 VDD VDD 36 0.1uF
14 VSS VSS 35
J5 SD Card Power Down : P0_13= 0 15 NC NC 34
SD_D2 P4_4 +3.3V_Peri_10mil FM_CLE NC NC
15
14 15 DAT2
9
1 SD_D3 P4_5 SD Card Normal : P0_13 = 1 FM_ALE
16
17 CLE NC
33
32 P4_5
13 14CD/DAT3 2 SD_CMD P4_1 18 ALE I/O3 31 P4_4
13 CMD 3 19 WE# I/O2 30 P4_3
VSS 4 20 NC I/O1 29 P4_2
VDD 5 SD_CLK P4_0 Detected SD Card Plug in: P1_13= 0 21 NC I/O0 28
CLK NC NC
VSS
6
7 SD_D0 P4_2 C32
Detected SD Card Not Plug in : P1_13= 1 22
23 NC NC
27
26
DAT0 NC NC
DetLock