Datasheet
APM32F103xCxDxE
-M3
32
V 1.0.0
1.
DMA
12
DMA
ADC
2
IS
-
32
ARM Cortex -M3
-
96MHz
2
SPI
IC
USART
SWD
JTAG
- Cortex-M3
4
Bank
Bank
4
-
CF
NAND
16
I/O
LCD
-
I/O
I/O
-
SRAM PSRAM SDRAM NOR
I/O
51/80/112
-
EMMC
(ETM)
112
-
128 Kbytes SRAM
-
SDIO
-
- 512 Kbytes
DAC
5V
11
8080/6800
4
-
16
4
PWM
2.0~3.6V
/
-
- 2
(POR/PDR)
(PVD)
24
-
8MHz RC
-
- 2
RC
32KHz RTC
-
PWM
- 2
- 4MHz~16MHz
- 40KHz
16
16
DAC
13
I2C
2
-
(
7
10
)
- VBAT
LIN
12
1us
21
-
2
12
ISO7816
IrDA
)
SPI
- CAN
0~3.6V
-
(
(18Mbps)
2
I2S
FPU
3
USART
3
-
FPU
-
5
-
RTC
D/A
www.apexmic.com
2.0B
- USB2.0
A/D
- SDIO
12bit
CRC
ECOPACK
96
- LQFP64/LQFP100/LQFP144
Page 2
*
1.
................................................................................................................................................2
2.
........................................................................................................................................................9
3.
............................................................................................................................................. 10
3.1.
ORTEX
-M3
SRAM ....................................................................................... 10
3.2.
................................................................................................................................................. 11
3.2.1.
EMMC
................................................................................................... 11
3.3.
............................................................................................................................................. 11
3.3.1.
............................................................................................................................................. 11
3.3.2.
.......................................................................................................................................... 12
3.3.3.
.......................................................................................................................................... 12
3.3.4.
.......................................................................................................................................... 12
3.4.
.......................................................................................................................................... 13
3.5.
RTC
............................................................................................................................... 13
3.6.
3.7.
............................................................................................................................................. 13
CRC
3.8.
...................................................................................................................................... 13
IO
....................................................................................................................................... 13
3.9.
.......................................................................................................................................... 14
3.9.1.
(NVIC).......................................................................................................... 14
3.9.2.
/
3.10.
(EINT) ............................................................................................................... 14
(FPU) ............................................................................................................................. 14
3.11. DMA .................................................................................................................................................... 14
3.12.
................................................................................................................................................. 15
3.13.
WDT
.................................................................................................................................. 16
3.14.
............................................................................................................................................. 16
3.14.1. I2C
............................................................................................................................................... 16
3.14.2. I2S
............................................................................................................................................... 16
3.14.3.
/
(USART) ............................................................................................................ 16
3.14.4.
(SPI) .............................................................................................................................. 17
3.14.5.
(CAN) ......................................................................................................................... 17
3.14.6.
(USBD) ................................................................................................................... 17
3.14.7. USB
CAN
3.14.8.
....................................................................................................... 17
LCD
www.apexmic.com
............................................................................................................. 17
Page 3
*
3.14.9.
SDIO
3.14.10.
........................................................................................................ 17
(GPIO) ............................................................................................................ 18
3.15.
................................................................................................................................................. 18
3.15.1.
/
ADC
................................................................................................................... 18
3.15.2.
/
DAC
................................................................................................................... 18
3.16.
(SWJ-DP) .............................................................................................................................. 19
3.17.
ETM
........................................................................................................................ 19
4.
............................................................................................................................................. 20
4.1.
............................................................................................................................................. 20
4.1.1. APM32F103XCXDXE
LQFP144 ..................................................................................................... 20
4.1.2. APM32F103XCXDXE
LQFP100 ..................................................................................................... 21
4.1.3. APM32F103XCXDXE
LQFP64 ....................................................................................................... 22
4.2.
............................................................................................................................................. 23
4.3.
............................................................................................................................................. 30
4.4.
................................................................................................................................................. 31
4.5.
............................................................................................................................................. 32
4.6.
............................................................................................................................................. 33
5.
............................................................................................................................................. 34
5.1.
............................................................................................................................................. 34
5.1.1.
................................................................................................................................... 34
5.1.2.
................................................................................................................................................. 34
5.1.3.
............................................................................................................................................. 34
5.1.4.
............................................................................................................................................. 34
5.2.
................................................................................................................................... 35
5.2.1.
............................................................................................................................... 35
5.2.2.
............................................................................................................................... 36
5.2.3.
...................................................................................................................................... 36
5.3.
........................................................................................................................ 36
5.3.1.
...................................................................................................... 37
5.3.2.
........................................................................................................................ 38
5.3.3.
...................................................................................................................................... 38
5.3.4.
................................................................................................................................... 44
5.3.5.
................................................................................................................................... 46
5.3.6. PLL
.............................................................................................................................................. 47
www.apexmic.com
Page 4
*
5.3.7.
.......................................................................................................................................... 47
5.3.8. EMC
............................................................................................................................................ 48
5.3.9.
(
5.3.10. I/O
) .................................................................................................................. 49
....................................................................................................................................... 50
5.3.11. NRST
................................................................................................................................... 53
5.3.12.
............................................................................................................................................. 53
5.3.13. 12
ADC
5.3.14. DAC
5.3.15.
................................................................................................................................... 57
...................................................................................................................................... 59
................................................................................................................................... 60
6.
............................................................................................................................................. 61
6.1.
LQFP144
................................................................................................................................. 61
6.2.
LQFP100
................................................................................................................................. 64
6.3.
LQFP64
................................................................................................................................... 67
7.
............................................................................................................................................. 70
8.
............................................................................................................................................. 72
9.
............................................................................................................................... 74
10.
............................................................................................................................................. 75
www.apexmic.com
Page 5
*
1
APM32F103XCXDXE
................................................................................................. 10
2
.......................................................................................................................................... 11
3
............................................................................................................................................. 11
4
........................................................................................................................ 12
5
.......................................................................................................................................... 12
6
................................................................................................................................... 15
7
................................................................................................................................................. 16
8
APM32F103XCXDXE
............................................................................................................ 23
9
............................................................................................................................... 35
10
............................................................................................................................... 36
11
............................................................................................................................................. 36
12
...................................................................................................................................... 36
13
(-
A
........................................................................... 37
14
................................................................................................................................... 38
15
.......................................................... 39
16
RAM
17
FLASH
RAM
........................................................ 39
............................................................. 40
18
...................................................................................................... 41
19
....................................................... 42
20
RAM
21
FLASH
22
RAM
..................................................... 43
.......................................................... 43
.................................................................................................. 44
23
HSE 4~16MHZ
................................................................................................................. 44
24
LSE
(FLSE=32.768KHZ) ...................................................................................................... 45
25
HSI
(1)
26
LSI
(1)
................................................................................................................................ 46
................................................................................................................................. 46
27
........................................................................................................................ 46
28
PLL
.............................................................................................................................................. 47
29
FLASH
30
EMC
............................................................................................................................................ 48
31
EMI
.............................................................................................................................................. 49
32
ESD
........................................................................................................................... 49
.............................................................................................................................. 47
www.apexmic.com
Page 6
*
33
34
............................................................................................................................................. 49
I/O
(
35
........................................................................ 50
VCC=2.7-3.6V,TA = -
) ........................................................................ 51
(
36
37
VCC=2.7-3.6V, TA = -
............................................................................................................................... 52
NRST
VCC=3.3V,TA = -
2
VDD = 3.3V
38
IC
39
SPI
40
USB
41
ADC
42
FADC=14MHZ
43
ADC
............................................................................................................................................. 58
44
DAC
............................................................................................................................................. 59
(VDD= 3.3V
45
TA
............................................................................... 53
............................................................................................................ 54
(VDD = 3.0-3.6V
(VDD= 2.4-3.6V
TA
....................................................................... 53
T A =-
TA
................................................................................. 56
.......................................................................................... 57
RAIN .................................................................................................................. 58
................................................................................................................................... 60
46
LQFP144
.............................................................................................................................. 62
47
LQFP100
.............................................................................................................................. 65
48
LQFP64
................................................................................................................................ 68
49
...................................................................................................................................... 71
50
........................................................................................................................... 73
51
............................................................................................................................... 74
52
............................................................................................................................... 75
www.apexmic.com
Page 7
*
1
LQFP144
.......................................................................................................................... 20
2
LQFP100
.......................................................................................................................... 21
3
LQFP64
............................................................................................................................ 22
4
APM32F103XCXDXE
..................................................................................................... 30
5
APM32F103XCXDXE
........................................................................................................ 31
6
APM32F103XCXDXE
................................................................................................. 32
7
............................................................................................................................................. 33
8
................................................................................................................ 34
9
........................................................................................................................ 35
10
............................................................................................................................... 35
11
........................................................................................................................ 52
12
.................................................................................................................... 54
13
SPI
CPHA=0 ....................................................................................................... 55
14
SPI
CPHA=1 ....................................................................................................... 55
15
SPI
......................................................................................................................... 56
16
USBD
18
LQFP144
19
LQFP144-144
20 X 20 MM
20
LQFP144 -144
20 X20 MM
21
LQFP100
22
LQFP100 - 100
14 X 14MM
23
LQFP100 - 100
14 X 14MM
24
LQFP64
25
LQFP64 - 64
10 X 10MM
26
LQFP64 - 64
10 X 10MM
27
.................................................................................... 56
................................................................................................................................. 61
LAYOUT
........................................................................ 63
............................................................................................ 63
................................................................................................................................. 64
LAYOUT
....................................................................... 66
....................................................................................... 66
................................................................................................................................... 67
LAYOUT
........................................................................... 69
........................................................................................... 69
................................................................................................................................... 72
www.apexmic.com
Page 8
*
2.
APM32F103xCxDxE
-M3
32
96MHz,
(
2
512Kbytes
128Kbytes
APB
12
ADC 4
2
SDIO
5
USART
1
USB
APM32F103xCxDxE
APM32F103xCxDxE
www.apexmic.com
I/O
FPU
3
1
SRAM)
16
2
I 2C
1
CAN
3
-40 ~+105
64
144
2
SPI
PWM
2
I2S
2.0V ~ 3.6V
3
Page 9
*
3.
APM32F103xCxDxE
1 APM32F103xCxDxE
APM32F103Rx
Flash Kbytes
SRAM (Kbytes)
APM32F103Vx
APM32F103Zx
RC
RD
RE
VC
VD
VE
ZC
ZD
ZE
256
384
512
256
384
512
256
384
512
64
128
64
128
64
128
(EMMC)
4
2
2
SPI I2S
3
2
2
IC
2
USART
5
USBD
1
CAN
1
SDIO
1
GPIOs
12-bit ADC
51
80
112
3
3
3
16
16
21
12-bit DAC
2
2
CPU
96MHz
FPU
1
2.0 ~ 3.6 V
LQFP64
3.1.
LQFP100
-M3
SRAM
Cortex -M3
ARM
Cortex -M3
32
LQFP144
RISC
MCU
8
16
ARM
APM32F103xCxDxE
ARM
ARM
4
www.apexmic.com
Page 10
*
3.2.
512Kbytes
2
512 Kbytes
128 Kbytes
CPU
3.2.1.
0
( / )
EMMC
APM32F103xCxDxE
EMMC
4
PC
/CF
SRAM SDRAM PSRAM NOR
EMMC
NAND
NVIC
FIFO
NAND
fCMU
PC
HCMU/2
72MHz
48MHz
36MHz
24MHz
3.3.
3.3.1.
3
VDD
2.0
3.6V
VDD
IO
VDD
ADC DAC
VSSA/VDDA
2.0
3.6V
ADC
2.4V VDDA
VBAT
RC
1.8V 3.6V
VDD
VSSA
DAC
PLL
VDDA
VDD
VSS
RTC
32KHz
7
www.apexmic.com
Page 11
*
3.3.2.
MCU
4
(MR)
(LPR)
CPU
SRAM
3.3.3.
(POR)/
2V
PVD
(PDR)
VDD
VPOR/PDR
VDD/VDDA
VPVD
VDD
VPVD
PVD
VPOR/PDR
VPVD
3.3.4.
5
CPU
/
CPU
SRAM
1.6V
PLL HSI
RC
HSE
EINT
16
EINT
I/O
PVD
1.6V
RTC
PLL HSI
USBD
RC
HSE
SRAM
NRST
IWDT
WKUP
RTC
RTC IWDT
www.apexmic.com
Page 12
*
3.4.
8MHz
RC
4~16MHz
RC
PLL
(
)
AHB
96MHz
3.5.
APB(APB2)
APB(APB1)
AHB
APB
5
RTC
RTC
VDD
(42
16
VDD
)
VDD
VBAT
84bytes
RTC
32.768KHz
40KHz
RC
128
512Hz
RTC
RTC
32
20
1
32.768KHz
3.6.
SRAM
(Boot loader)
USART1
3.7.
CRC
CRC(
)
32
CRC
CRC
EN/IEC 60335-1
CRC
3.8.
IO
51/80/112
I/O
www.apexmic.com
I/O
I/O
16
5V
Page 13
*
3.9.
3.9.1.
(NVIC)
APM32F103xCxDxE
(
16
60
Cortex-M3
)
16
NVIC
NVIC
3.9.2.
/
(EINT)
/
19
/
/
(
)
EINT
112
I/O
3.10.
APB2
16
(FPU)
FPU
IEEE754
3.11. DMA
12
DMA DMA1
7
DMA2
2
5
DMA
DMA
SPI I2C USART
DMA
DAC I2S SDIO
www.apexmic.com
TMRx
ADC
Page 14
*
3.12.
APM32F103xCxDxE
2
2
2
(TMR1 TMR8) 4
1
6
Sys Tick TMRer
TRM6
24
TRM7
TMR2 TMR3 TRM4
16
TMR5
TMR1
TRM8
16
16
/
1~65536
/
1~65536
1~65536
DMA
/
0
4
4
-
-
-
-
-
0
-
-
DAC
16
-
-
16
TMRx
-
PWM
-
DMA
-
16
PWM
(0~100%)
-
-
PWM
1
www.apexmic.com
PWM
3
-
Page 15
*
3.13.
WDT
APM32FxCxDxE
(
)
(
)
7
-
40KHz
RC
RC
-
1~256
12
-
7
-
-
-
3.14.
3.14.1. I2C
2
I 2C
10
I2C
7
CRC
DMA
SMBus
2.0
7
/
/ PMBus
I2C3/4
SDA
SCL
3.14.2. I2S
I2S
2
(
SPI2
SPI3
32
)
2
8KHz
256
3.14.3.
/
CODEC(
)
(USART)
APM32F103xCxDxE
www.apexmic.com
I2S
48KHz
DAC
16
3
/
USART1
Page 16
*
USART2
USART3
UART4
5
UART5
IrDA SIR ENDEC
LIN
/
USART1
4.5Mbit/s
USART1 USART2
2.25Mbit/s
USART3
SPI
CTS
RTS
ISO7816
UART5
3.14.4.
DMA
(SPI)
3
SPI
18
8
8
16
CRC
/
3
/
SD
MMC
SPI
DMA
3.14.5.
(CAN)
CAN
2.0A
2.0B(
1Mbit/s
11
29
FIFO 3
3
2
14
3.14.6.
(USBD)
1
USB
/
HSE
USBD
USB
(12
48MHz
/ )
PLL
(
)
3.14.7. USB
CAN
USB
CAN
USBD
USBD
PA11
0x1000
PA12
USBD
3.14.8.
0x00000001.
CAN
LCD
EMMC
LCD
Intel 8080
LCD
3.14.9.
Motorola 6800
LCD
SDIO
SD/SDIO/MMC
(
) 4
MMC
8
4.2
3
8
1
48MHz
SD
2.0
SDIO
2.0
1
(
SD/SDIO/MMC 4.2
www.apexmic.com
)
4
MMC 4.1
Page 17
*
SD/SDIO/MMC
CE-ATA
3.14.10.
1.1
(GPIO)
112
GPIO
(
(
)
)
GPIO
GPIO
I/O
I/O
3.15.
3.15.1.
/
ADC
3
12
/
ADC
21
ADC
ADC
DMA
(TMRx)
(TMR1
TMR8)
ADC
AD
2V~3.6V
ADC12_IN16
3.15.2.
/
DAC
12
DAC
2
2
DAC
8
12
12
DAC
www.apexmic.com
DMA
Page 18
*
VREF+
APM32F103xCxDxE
8
DAC
DAC
DMA
3.16.
(SWJ-DP)
ARM
SWJ-DP
JTAG
JTAG
JTAG
TMS
TMS
TCK
JTAG-DP
3.17.
SWDIO
SWCLK
SW-DP
ETM
ARM
(ETM) APM32F103xCxDxE
(TPA)
ETM
CPU
TPA
USB
TPA
www.apexmic.com
Page 19
*
4.
4.1.
4.1.1. APM32F103xCxDxE
LQFP144
LQFP144
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
VDD_3
VSS_3
PE1
PE0
PB9
PB8
BOOT0
PB7
PB6
PB5
PB4
PB3
PG15
VDD_11
VSS_11
PG14
PG13
PG12
PG11
PG10
PG9
PD7
PD6
VDD_10
VSS_10
PD5
PD4
PD3
PD2
PD1
PD0
PC12
PC11
PC10
PA15
PA14
1
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
LQFP144
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
77
76
75
74
73
VDD_2
VSS_2
NC
PA13
PA12
PA11
PA10
PA9
PA8
PC9
PC8
PC7
PC6
VDD_9
VSS_9
PG8
PG7
PG6
PG5
PG4
PG3
PG2
PD15
PD14
VDD_8
VSS_8
PD13
PD12
PD11
PD10
PD9
PD8
PB15
PB14
PB13
PB12
PA3
VSS_4
VDD_4
PA4
PA5
PA6
PA7
PC4
PC5
PB0
PB1
PB2
PF11
PF12
VSS_6
VDD_6
PF13
PF14
PF15
PG0
PG1
PE7
PE8
PE9
VSS_7
VDD_7
PE10
PE11
PE12
PE13
PE14
PE15
PB10
PB11
VSS_1
VDD_1
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
PE2
PE3
PE4
PE5
PE6
VBAT
PC13-TAMPER-RTC
PC14-OSC32_IN
PC15-OSC32_OUT
PF0
PF1
PF2
PF3
PF4
PF5
VSS_5
VDD_5
PF6
PF7
PF8
PF9
PF10
OSC_IN
OSC_OUT
NRST
PC0
PC1
PC2
PC3
VSSA
VREFVREF+
VDDA
PA0-WKUP
PA1
PA2
www.apexmic.com
Page 20
*
4.1.2. APM32F103xCxDxE
LQFP100
LQFP100
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
VDD_3
VSS_3
PE1
PE0
PB9
PB8
BOOT0
PB7
PB6
PB5
PB4
PB3
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
PC12
PC11
PC10
PA15
PA14
2
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
LQFP100
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
VDD_2
VSS_2
NC
PA13
PA12
PA11
PA10
PA9
PA8
PC9
PC8
PC7
PC6
PD15
PD14
PD13
PD12
PD11
PD10
PD9
PD8
PB15
PB14
PB13
PB12
PA3
VSS_4
VDD_4
PA4
PA5
PA6
PA7
PC4
PC5
PB0
PB1
PB2
PE7
PE8
PE9
PE10
PE11
PE12
PE13
PE14
PE15
PB10
PB11
VSS_1
VDD_1
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
PE2
PE3
PE4
PE5
PE6
VBAT
PC13-TAMPER-RTC
PC14-OSC32_IN
PC15-OSC32_OUT
VSS_5
VDD_5
OSC_IN
OSC_OUT
NRST
PC0
PC1
PC2
PC3
VSSA
VREFVREF+
VDDA
PA0-WKUP
PA1
PA2
www.apexmic.com
Page 21
*
4.1.3. APM32F103xCxDxE
LQFP64
LQFP64
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
VDD_3
VSS_3
PB9
PB8
BOOT0
PB7
PB6
PB5
PB4
PB3
PD2
PC12
PC11
PC10
PA15
PA14
3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
LQFP64
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
VDD_2
VSS_2
PA13
PA12
PA11
PA10
PA9
PA8
PC9
PC8
PC7
PC6
PB15
PB14
PB13
PB12
PA3
VSS_4
VDD_4
PA4
PA5
PA6
PA7
PC4
PC5
PB0
PB1
PB2
PB10
PB11
VSS_1
VDD_1
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
VBAT
PC13-TAMPER-RTC
PC14-OSC32_IN
PC15-OSC32_OUT
PD0-OSC_IN
PD1-OSC_OUT
NRST
PC0
PC1
PC2
PC3
VSSA
VDDA
PA0-WKUP
PA1
PA2
www.apexmic.com
Page 22
*
4.2.
8 APM32F103xCxDxE
LQFP64
LQFP100
LQFP144
(2)
(3)
PE2
-
1
1
I/O
FT
PE2
TRACECK/EMMC_A23
-
PE3
-
2
2
I/O
FT
PE3
TRACED0/EMMC_A19
-
PE4
-
3
3
I/O
FT
PE4
TRACED1/EMMC_A20
-
PE5
-
4
4
I/O
FT
PE5
TRACED2/EMMC_A21
-
PE6
-
5
5
I/O
FT
PE6
TRACED3/EMMC_A22
-
VBAT
1
6
6
S
-
VBAT
-
-
2
7
7
I/O
-
PC13(5)
TAMPER-RTC
-
3
8
8
I/O
-
PC14(5)
OSC32_IN
-
4
9
9
I/O
-
PC15(5)
OSC32_OUT
-
PF0
-
-
10
I/O
FT
PF0
EMMC_A0
-
PF1
-
-
11
I/O
FT
PF1
EMMC_A1
-
PF2
-
-
12
I/O
FT
PF2
EMMC_A2
-
PF3
-
-
13
I/O
FT
PF3
EMMC_A3
-
PF4
-
-
14
I/O
FT
PF4
EMMC_A4
-
PF5
-
-
15
I/O
FT
PF5
EMMC_A5
-
VSS_5
-
10
16
S
-
VSS_5
-
-
VDD_5
-
11
17
S
-
VDD_5
-
-
PF6
-
-
18
I/O
-
PF6
PF7
-
-
19
I/O
-
PF7
PF8
-
-
20
I/O
-
PF8
PF9
-
-
21
I/O
-
PF9
ADC3_IN7/EMMC_CD
-
PF10
-
-
22
I/O
-
PF10
ADC3_IN8/EMMC_INTR
-
OSC_IN
5
12
23
I
-
OSC_IN
-
PD0(7)
OSC_OUT
6
13
24
O
-
OSC_OUT
-
PD1(7)
NRST
7
14
25
I/O
-
NRST
-
-
PC13(4)
TAMPER-RTC
PC14-
OSC32_IN(4)
PC15OSC32_OUT(4)
www.apexmic.com
I/O
(1)
(
)
ADC3_IN4/
EMMC_NIORD
ADC3_IN5/
EMMC_NREG
ADC3_IN6/
EMMC_NIOWR
-
Page 23
*
LQFP64
LQFP100
LQFP144
(2)
(3)
PC0
8
15
26
I/O
-
PC0
ADC123_IN10
-
PC1
9
16
27
I/O
-
PC1
ADC123_IN11
-
PC2
10
17
28
I/O
-
PC2
ADC123_IN12
-
PC3
11
18
29
I/O
-
PC3
ADC123_IN13
-
VSSA
12
19
30
S
-
VSSA
-
-
VREF-
-
20
31
S
-
VREF-
-
-
VREF+
-
21
32
S
-
VREF+
-
-
VDDA
13
22
33
S
-
VDDA
-
I/O
(1)
(
)
(6)
WKUP/USART2_CTS /
PA0-WKUP
14
23
34
I/O
-
PA0
ADC123_IN0/TMR2_CH1
_ETR(6)/TMR5_CH1/
-
TMR_ETR
USART2_RTS(6)/
PA1
15
24
35
I/O
-
PA1
ADC123_IN1/
-
TMR2_CH2(6)/TMR5_CH2
USART2_TX(6)/
PA2
16
25
36
I/O
-
PA2
ADC123_IN2/
TMR5_CH3TMR2_CH3
(6)
USART2_RX(6)/
PA3
17
26
37
I/O
-
PA3
ADC12_IN3/TMR5_CH4
-
TMR2_CH4(6)
VSS_4
18
27
38
S
-
VSS_4
-
-
VDD_4
19
28
39
S
-
VDD_4
-
-
SPI1_NSS(6)/
PA4
20
29
40
I/O
-
PA4
USART2_CK(6)/
-
DAC_OUT1/ADC12_IN4
PA5
21
30
41
I/O
-
PA5
SPI1_SCK(6)/ADC12_IN5
/DAC_OUT1
-
SPI1_MISO(7)/
PA6
22
31
42
I/O
-
PA6
ADC12_IN6/TMR8_BKIN
/TMR3_CH1
TMR1_BKIN
(7)
SPI1_MOSI(7)/
PA7
23
32
43
I/O
-
PA7
ADC12_IN7/TMR8_CH1N
/TMR3_CH2
www.apexmic.com
TMR1_CH1N
(7)
Page 24
*
LQFP64
LQFP100
LQFP144
(2)
(3)
PC4
24
33
44
I/O
-
PC4
ADC12_IN14
-
PC5
25
34
45
I/O
-
PC5
ADC12_IN15
-
PB0
26
35
46
I/O
-
PB0
PB1
27
36
47
I/O
-
PB1
PB2
28
37
48
I/O
FT
PF11
-
-
49
I/O
FT
PF12
-
-
50
I/O
VSS_6
-
-
51
VDD_7
-
-
PF13
-
PF14
I/O
(1)
(
)
PB2/
ADC12_IN8/TMR8_CH2N
/TMR3_CH3(6)
ADC12_IN9/ MR8_CH3N/
TMR3_CH4(6)
TMR1_CH2N
TMR1_CH3N
-
-
PF11
-
-
FT
PF12
EMMC_NIOS16
-
S
-
VSS_6
EMMC_A6
-
52
S
-
VDD_6
-
-
-
53
I/O
FT
PF13
EMMC_A7
-
-
-
54
I/O
FT
PF14
EMMC_A8
-
PF15
-
-
55
I/O
FT
PF15
EMMC_A9
-
PG0
-
-
56
I/O
FT
PG0
EMMC_A10
-
PG1
-
-
57
I/O
FT
PG1
EMMC_A11
-
PE7
-
38
58
I/O
FT
PE7
EMMC_D4
TMR1_ETR
PE8
-
39
59
I/O
FT
PE8
EMMC_D5
TMR1_CH1N
PE9
-
40
60
I/O
FT
PE9
EMMC_D6
TMR1_CH1
VSS_7
-
-
61
S
-
VSS_7
-
-
VDD-7
-
-
62
S
-
VDD-7
-
-
PE10
-
41
63
I/O
FT
PE10
EMMC_D7
TMR1_CH2N
PE11
-
42
64
I/O
FT
PE11
EMMC_D8
TMR1_CH2
PE12
-
43
65
I/O
FT
PE12
EMMC_D9
TMR1_CH3N
PE13
-
44
66
I/O
FT
PE13
EMMC_D10
TMR1_CH3
PE14
-
45
67
I/O
FT
PE14
EMMC_D11
TMR1_CH4
PE15
-
46
68
I/O
FT
PE15
EMMC_D12
TMR1_BKIN
PB10
29
47
69
I/O
FT
PB10
PB11
30
48
70
I/O
FT
PB11
VSS_1
31
49
71
S
-
VSS_1
-
-
VDD_1
32
50
72
S
-
VDD_1
-
-
www.apexmic.com
BOOT1
I2C2_SCL/I2C4_SCL/
USART3_TX(6)
I2C2_SDA/I2C4_SDA/
USART3_RX(6)
TMR2_CH3
TMR2_CH4
Page 25
*
LQFP144
(1)
I/O
LQFP100
LQFP64
(2)
(3)
(
)
SPI2_NSS/I2C2_SMBAI/
PB12
33
51
73
I/O
FT
USART3_CK(6)/
PB12
2
I S2_WS/TMR1_BKIN
(6)
SPI2_SCK/ I2S2_CK/
PB13
34
52
74
I/O
FT
PB13
USART3_CTS(6)/
TMR1_CH1N
-
(7)
SPI2_MISO/
PB14
35
53
75
I/O
FT
PB14
TMR1_CH2N(7) /
-
USART3_RTS(6)
SPI2_MOSI/
PB15
36
54
76
I/O
FT
PB15
PD8
-
55
77
I/O
FT
PD8
EMMC_D13
USART3_TX
PD9
-
56
78
I/O
FT
PD9
EMMC_D14
USART3_RX
PD10
-
57
79
I/O
FT
PD10
EMMC_D15
USART3_CK
PD11
-
58
80
I/O
FT
PD11
PD12
-
59
81
I/O
FT
PD12
PD13
-
60
82
I/O
FT
VSS_8
-
-
83
S
VDD_8
-
-
84
PD14
-
61
PD15
-
PG2
I2S2_SD/TMR1_CH3N(6)/
EMMC_A16/
EMMC_BANK0
-
USART3_CTS
EMMC_A17/
TMR4_CH1/
EMMC_BANK1
USART3_RTS
PD13
EMMC_A18
TMR4_CH2
-
VSS_8
-
-
S
-
VDD_8
-
-
85
I/O
FT
PD14
EMMC_D0
TMR4_CH3
62
86
I/O
FT
PD15
EMMC_D1
TMR4_CH4
-
-
87
I/O
FT
PG2
EMMC_A12
-
PG3
-
-
88
I/O
FT
PG3
EMMC_A13
-
PG4
-
-
89
I/O
FT
PG4
EMMC_A14
-
PG5
-
-
90
I/O
FT
PG5
EMMC_A15
-
PG6
-
-
91
I/O
FT
PG6
EMMC_INT2
-
PG7
-
-
92
I/O
FT
PG7
EMMC_INT3
-
PG8
-
-
93
I/O
FT
PG8
-
-
VSS_9
-
-
94
S
-
VSS_9
-
-
VDD_9
-
-
95
S
-
VDD_9
-
-
2
PC6
37
63
www.apexmic.com
96
I/O
FT
PC6
I S2_MCK/
TMR8_CH1/SDIO_D6
TMR3_CH1
Page 26
*
LQFP64
LQFP100
LQFP144
(2)
(3)
PC7
38
64
97
I/O
FT
PC7
TMR8_CH2/SDIO_D7
TMR3_CH2
PC8
39
65
98
I/O
FT
PC8
TMR8_CH3/SDIO_D0
TMR3_CH3
PC9
40
66
99
I/O
FT
PC9
TMR8_CH4/SDIO_D1
TMR3_CH4
PA8
41
67
100
I/O
FT
PA8
PA9
42
68
101
I/O
FT
PA9
PA10
43
69
102
I/O
FT
PA10
I/O
(1)
(
)
USART1_CK/
TMR1_CH1(6)/MCO
USART1_TX(6)/
TMR1_CH2(6)
USART1_RX(6)/
TMR1_CH3(6)
-
USART1_CTS/USBDDM/
PA11
44
70
103
I/O
FT
PA11
USBD2DM/CAN_RX(6)/
TMR1_CH4
-
(6)
USART1_RTS/USBDDP
PA12
45
71
104
I/O
FT
PA12
USBD2DP/CAN_TX(6)/
-
TMR1_ETR(6)
PA13
JTMS/
46
72
105
I/O
FT
-
73
106
-
-
-
VSS_2
47
74
107
S
-
VSS_2
-
-
VDD_2
48
75
108
S
-
VDD_2
-
-
PA14
49
76
109
I/O
FT
-
PA14
PA15
50
77
110
I/O
FT
JTDI
SPI3_NSS
PC10
51
78
111
I/O
FT
PC10
UART4_TX/SDIO_D2
USART3_TX
PC11
52
79
112
I/O
FT
PC11
UART4_RX/SDIO_D3
USART3_RX
PC12
53
80
113
I/O
FT
PC12
UART5_TX/SDIO_CK
USART3_CK
PD0
-
81
114
I/O
FT
OSC_IN
EMMC_D2
CAN_RX
PD1
-
82
115
I/O
FT
OSC_OUT
EMMC_D3
CAN_TX
PD2
54
83
116
I/O
FT
PD2
PD3
-
84
117
I/O
FT
PD3
www.apexmic.com
SWDIO
JTCK/
SWCLK
-
PA13
-
TMR3_ETR/ UART5_RX
/SDIO_CMD
EMMC_CLK
TMR2_CH1_ETR/
A15/SPI1_NSS
USART2_CTS
Page 27
*
LQFP64
LQFP100
LQFP144
(2)
(3)
PD4
-
85
118
I/O
FT
PD4
EMMC_NOE
USART2_RTS
PD5
-
86
119
I/O
FT
PD5
EMMC_NWE
USART2_TX
VSS_10
-
-
120
S
-
VSS_10
-
-
VDD_10
-
-
121
S
-
VDD_10
-
-
PD6
-
87
122
I/O
FT
PD6
EMMC_NWAIT
USART2_RX
PD7
-
88
123
I/O
FT
PD7
PG9
-
-
124
I/O
FT
PG9
PG10
-
-
125
I/O
FT
PG10
PG11
-
-
126
I/O
FT
PG11
EMMC_NCE4_2
-
PG12
-
-
127
I/O
FT
PG12
EMMC_NE4
-
PG13
-
-
128
I/O
FT
PG13
EMMC_A24
-
PG14
-
-
129
I/O
FT
PG14
EMMC_A25
-
VSS_11
-
-
130
S
-
VSS_11
-
-
VDD_11
-
-
131
S
-
VDD_11
-
-
PG15
-
-
132
I/O
FT
PG15
I/O
(1)
(
)
EMMC_NE1/
RMMC_NCE2
EMMC_NE2/
EMMC_NCE3
EMMC_NCE4_1/
EMMC_NE3
USART2_CK
-
PB3/
PB3
55
89
133
I/O
FT
JTDO
SPI3_SCK
TRACESWO
TMR2_CH2/
SPI1_SCK
PB4
PB5
56
57
90
91
134
135
I/O
I/O
FT
-
NJTRST
PB5
SPI3_MISO/
SPI3_MOSI
PB4/
TMR3_CH1/
SPI1_MISO
I2C1_SMBAI/
TMR3_CH2/
TIM4_CH1
SPI1_MOSI
I2C1_SCL(6) /
PB6
58
92
136
I/O
FT
PB6
I2C3_SCL/
TMR4_CH1
USART1_TX
(7)
I2C1_SDA(6)/I2C3_SDA/
PB7
59
93
137
I/O
FT
PB7
TMR4_CH2(6)/
USART1_RX
EMMC_NADV
BOOT0
60
94
138
www.apexmic.com
I
-
BOOT0
-
Page 28
*
LQFP144
(1)
(
I/O
LQFP100
LQFP64
(2)
(3)
)
I2C1_SCL/
PB8
61
95
139
I/O
FT
PB8
TMR4_CH3(6)/ SDIO_D4
I2C3_SCL/
CAN_RX
I2C1_SDA/
PB9
62
96
140
I/O
FT
PB9
TMR4_CH4(6)/ SDIO_D5
I2C3_SDA/
CAN_TX
PE0
-
97
141
I/O
FT
PE0
TMR4_ETR/EMMC_NBL0
-
PE1
-
98
142
I/O
FT
PE1
EMMC_NBL1
-
VSS_3
63
99
143
S
-
VSS_3
-
-
VDD_3
64
100 144
S
-
VDD_3
-
-
(1) I =
O=
(2) FT
5V
S=
HiZ =
(3)
1
SPI
2
USART
SPI1
USART1
USART2
(4) PC13 PC14
PC15
(3mA)
2MHz
30pF
(
LED)
(5)
IO
BAKR
(6)
(
)
I/O
(7) LQFP64
5
6
PD0
I/O
www.apexmic.com
OSC_IN
PD1
LQFP100
PD0
PD1
OSC_OUT
PD0
PD1
50MHz
Page 29
*
4.3.
pbus
Cortex-M3 CPU
Dbus
Fmax:96MHz
System
@ VDDA
A H B : F ma x
= 9 6 MH z
SRAM 128KB
GP DMA1
7channels
Reset&
CLOCK
control
VDD
@ VDD
IWDT
Stand by
interface
VBAT=1.8V to 3.6V
@ VBAT
AHB2
APB2
PD[15:0]
GPIO port D
PE[15:0]
GPIO port E
TMR2
TMR3
PG[15:0]
GPIO port G
VREFVREF+
(1)
4 Channels ETR as AF
4 Channels ETR as AF
4 Channels as AF
TMR1
TMR8
SPI1
USART1
TMR5
USART2
RX,TX,CTS,RTS,CK as AF
RX,TX,CTS,RTS,CK as AF
USART3
UART4
RX,TX as AF
UART5
RX,TX as AF
MOSI/SD,MISO
SCK/CK,MCK,NSS/WS as AF
MOSI/SD,MISO
SCK/CK,MCK,NSS/WS as AF
SCL,SDA,SMBA as AF
SCL,SDA,SMBA as AF
SPI2/I2S2
SPI3/I2S3
I2C1
Temp sensor
8 ADC123_INS
Common to the 3 ADCs
8 ADC12_Ins common
to ADC1&ADC2
5 ADC3_Ins on ADC3
4 Channels ETR as AF
TMR4
APB1:Fmax=32/48MHz
GPIO port F
NRST
VDDA
VSSA
PVD
GPIO port C
PF[15:0]
vss
Supply
supervisio
nPOR/PDR
POR
Reset
Int
EXT.IT
WKUP
GPIO port B
TAMPER-RTC
ALARM/SECOND OUT
@ VDDA
AHB2
APB1
SDIO
PB[15:0]
PC[15:0]
Backup
reg
Backup interface
FPU
GPIO port A
OSC32_IN
OSC32_OUT
XTAL 32 KHz
RTC
WAKEUP
EMMC
112AF
OSC_IN
OSC_OU
T
XTAL OSC
4-16MHz
PCLK1
PCLK2
HCLK
FCLK
@ VDD
Power
Volt.reg.
3.3V to 1.8V
GP DMA2
5channels
PA[15:0]
Flash 512 kB
64 bit
Trace
Controller
RC 8MHz
RC 40kHz
PLL
NVIC
D[7:0]
CMD
CK as AF
4 Channels
3 compl.Channels
BKIN,ETR as AF
4 Channels
3 compl.Channels
BKIN,ETR as AF
MOSI,MISO,
SCK,NSS as AF
RX,TX,CTS,
RTS,CK as AF
lbus
Trace/trig
APB2:Fmax=64/96MHz
A[25:0]
D[15:0]
CLK
NOE
NWE
NE[4:1]
NBL[1:0]
NWAIT
NL(or NADV)
as AF
TPIU
SW/JTAG
Bus Matrix
NJTRST
JTDI
JTCK/SWCLK
JTMS/SWDIO
JTDO
as AF
interface
TRACECLK
TRACED[0:3]
as AS
APM32F103xCxDxE
Flash obl
4
12-bit ADC1
IF
12-bit ADC2
IF
12-bit ADC3
IF
I2C2
TMR6
CAN device
WWDT
USB_DP/CAN_TX
USB_DM/CAN_RX
USBD 2.0 FS device
TMR7
SRAM 512B
IF
@ VDDA
12bit DAC1
DAC_OUT1 as AF
12bit DAC2
DAC_OUT2 as AF
@ VDDA
-
(2) AF
www.apexmic.com
6)
-
7)
I/O
Page 30
*
4.4.
5
APM32F103xCxDxE
FLITFCLK
to flash programming interface
USBD
Prescaler
1/1.5/2/2.5
48 MHz
USBCLK
to USBD interface
I2S3CLK
8 MHz
HSI RC
to I2S3
Peripheral clock enable
I2S2CLK
HSI
to I2S2
Peripheral clock enable
FPU
Prescaler
1/2
/2
SDIOCLK
to SDIO
Peripheral clock enable
PLLSRC
PLLMUL
EMMCCLK
SW
to EMMC
Peripheral clock enable
. . .,×16
×2,×3,×4
PLL
SYSCLK
96 MHz
max
HSI
PLLCLK
HSE
AHB
Prescaler
/1,2. .512
HCLK
to AHB bus , core,
memory and DMA
Clock
Enable(4bits)
/8
to Cortex System timer
CSS
APB1
Prescaler
/1,2,4,8,16
PLLXTPRE
OSC_ OUT
OSC_IN
OSC32_ IN
OSC32_OUT
to APB1
Peripheral Clock peripherals
Enable(20bits)
4-16MHz
HSE OSC
/2
LSE OSC
32.768KHz
TMR2,3, 4,5,6,7
If( APB1 prescaler=1) ×1
else × 2
To RTC
/128
LSE
RTCCLK
RTCSEL[1:0]
to independent watchdog( IWDT)
LSI
LSI RC
40KHz
MCO
48 MHz max
/2
to TMR2,3,4,5,6
and 7
TMRXCLK
Peripheral Clock
Enable (6bits)
PCLK2
APB2
Prescaler
/1,2,4,8,16
Peripheral Clock
Enable(15bits)
IWDTCLK
Main
Clock Output
FCLK Cortex
Free running clock
PCLK1
To TMR1 and
TMR8
TMRx CLK
TMR1 & 8 timers
If( APB2 prescaler=1) ×1
else × 2
PLLCLK
HSI
HSE
SYSCLK
ADC
Prescaler
/2,4,6,8
MCO
Peripherals to APB2
Peripheral Clock
Enable(2bits)
to ADC 1,2 or 3
ADCCLK
HCLK/2
/2
to SDIO AHB interface
Peripheral clock enable
Legend :
HSE = high-speed external clock signal
HSI = high- speed internal clock signal
LSI = low - speed internal clock signal
LSE = low - speed external clock signal
(1)
USBD
(2)
ADC
www.apexmic.com
HSE
APB2
PLL USBDCLK
48MHz
14MHz 28MHz
56MHz
Page 31
*
4.5.
6
APM32F103xCxDxE
0x4002 4000–0x4002 43FF
CRC
0x4002 3000–0x4002 33FF
Reserved
Reserved
0x4002 2400–0x4002 2FFF
0x4002 2000–0x4002 23FF
0x4002 1400–0x4002 1FFF
RCM
0x4002 1000–0x4002 13FF
Reserved
DMA2
DMA1
Reserved
SDIO
Reserved
0x4002 0400–0x4002 0FFF
0x4002 0400–0x4002 07FF
Flash Interface
Reserved
FSMC register
0xFFFF FFFF
0xE000 0000
0xDFFF FFFF
0xC000 0000
0xBFFF FFFF
0xA000 0000
0x9FFF FFFF
512-Mbyte
Block7
Cortex-M3's
Internal
peripherals
512-Mbyte
Block6
Not used
512-Mbyte
block5
FSMC register
512-Mbyte
block4
FSMC bank3
&bank4
0x8000 0000
0x7FFF FFFF
0x6000 0000
0x5FFF FFFF
0xBFFF FFFF
0xA000 1000
0xA000 0FFF
0xA000 0000
0x9FFF FFFF
FSMC bank4 PCCARD
FSMC bank 3
NAND (NAND2)
FSMC bank 2
NAND (NAND1)
FSMC bank 1
NOR/PSRAM 4
FSMC bank 1
NOR/PSRAM 3
FSMC bank 1
NOR/PSRAM 2
FSMC bank 1
NOR/PSRAM 1
/SDRAM
0x9000 0000
0x8FFF FFFF
0x8000 0000
0x7FFF FFFF
ADC3
USART1
0x7000 0000
0x6FFF FFFF
TMR8
SPI1
0x6C00
0x6BFF
0x6800
0x67FF
0x6400
0x63FF
0000
FFFF
0000
FFFF
0000
FFFF
0x6000 0000
512-Mbyte
block3
FSMC bank1
&bank2
ADC2
ADC1
Port G
BAKR
0x0000 0000
Reserved
SRAM(128KB aliased
by bit-banding)
0x3FFF FFFF
0x2002 0000
0x2001 FFFF
0x2000 0000
0x1FFF F80F
Option Bytes
System memory
Reserved
Flash
Reserved
Aliased to Flash or
system memory
depending on BOOT
pins
0x1FFF
0x1FFF
0x1FFF
0x1FFF
F800
F7FF
F000
EFFF
0x4001 3000–0x4001 33FF
0x4001 2C00–0x4001 2FFF
0x4001 2800–0x4001 2BFF
0x4001 2400–0x4001 27FF
0x4001 2000–0x4001 23FF
0x4001 1000–0x4001 13FF
0x4001 0C00–0x4001 0FFF
0x4001 0800–0x4001 0BFF
Reserved
DAC
PMU
512-Mbyte
block0
Code
0x4001 4000–0x4001 7FFF
0x4001 3C00–0x4001 3FFF
0x4001 3800–0x4001 3BFF
0x4001 3400–0x4001 37FF
Port C
EINT
0x2000 0000
0x1FFF FFFF
0x4002 0000–0x4002 03FF
0x4001 8400–0x4001 FFFF
0x4001 8000–0x4001 83FF
0x4001 1C00–0x4001 1FFF
0x4001 1800–0x4001 1BFF
AFIO
512-Mbyte
block1
SRAM
0x4002 3400–0x4002 3FFF
Port F
Port E
Port D
Port A
0x4000 0000
0x3FFF FFFF
www.apexmic.com
TMR1
Port B
512-Mbyte
block2
Peripherals
0x4002 4400–0x5FFF FFFF
Reserved
FPU
Reserved
0x4001 1400–0x4001 17FF
0x4001
0x4001
0x4000
0x4000
0400–0x4001 07FF
0000–0x4001 03FF
7800–0x4000 FFFF
7400–0x4000 77FF
0x4000 7000–0x4000 73FF
0x4000 6C00–0x4000 6FFF
Reserved
0x4000 6800–0x4000 6BFF
CAN
Shared USB/CAN
SRAM 512 bytes
0x4000 6400–0x4000 67FF
USBD/USBD2 Registers
I2C2/I2C4
0x4000 5C00–0x4000 5FFF
0x4000 5800–0x4000 5BFF
0x4000 5400–0x4000 57FF
0x4000 6000–0x4000 63FF
I2C1/I2C3
UART5
0x4000 5000–0x4000 53FF
UART4
0x4000 4C00–0x4000 4FFF
USART3
USART2
0x4000 4800–0x4000 4BFF
0x4000 4400–0x4000 47FF
Reserved
SPI3/I2S3
0x4000 4000–0x4000 43FF
0x4000 3C00–0x4000 3FFF
SPI2/I2S2
0x4000 3800–0x4000 3BFF
0x4000 3400–0x4000 37FF
Reserved
IWDT
0x4000 3000–0x4000 33FF
0x4000 2C00–0x4000 2FFF
0x0808 0000
0x0807 FFFF
WWDT
0x0800 0000
0x07FF FFFF
RTC
0x4000 2800–0x4000 2BFF
Reserved
0x0008 0000
0x0007 FFFF
TMR7
0x4000 1800– 0x4000 27FF
0x4000 1400– 0x4000 17FF
0x4000 1000– 0x4000 13FF
TMR6
TMR5
0x0000 0000
TMR4
0x4000 0C00– 0x4000 0FFF
0x4000 0800– 0x4000 0BFF
TMR3
0x4000 0400– 0x4000 07FF
TMR2
0x4000 0000– 0x4000 03FF
Page 32
*
4.6.
7
VBAT
供电开关
1.8-3.6V
输出
通用I/O端口
输入
后备电路
(32KHz振荡器,RTC
唤醒电路,后备寄存器)
电
IO
平
逻辑
转
电路
换
核心电路
CPU
数字电路
和存储器
VDD
VDD
1/2/3/4/5
5 × 100 nF
+ 1 × 4.7 µF
调压器
VSS
1/2/3/4/5
VDD
VDDA
VREF
10 nF
+ 1 µF
10 nF
+ 1 µF
VREF+
VREF-
ADC
模拟电路
RC振荡器
PLL等
VSSA
www.apexmic.com
Page 33
*
5.
5.1.
VSS
5.1.1.
100%
(TAmax
TA=25 C
TA=TAmax
)
/
(
3 )
5.1.2.
TA
VDD=3.3V(2V
VDD
3.6V
)
5.1.3.
5.1.4.
8
APM32F103XXPIN
C=50 PF
A:
www.apexmic.com
Page 34
*
9
APM32F103XXPIN
VIN
B:
10
IDD_VBAT
VBAT
AFM32F103XXPIN
IDD
VDD
Vref
VDDA
C:
(IDD+Vref)
5.2.
5.2.1.
9
VDD - VSS
VDDA
VDD)(1)
(2)
5V
VIN
DDx
(
(2)
|
| VSSx-VSS |
www.apexmic.com
-0.3
4.0
VSS-0.3
5.5
VSS-0.3
VDD + 0.3
50
50
V
mV
Page 35
*
(1)
(VDD, VDDA)
(2)
(VSS, VSSA)
VIN
IINJ(PIN)
VIN
VIN> VDD
IINJ(PIN)
VIN VDD
(3)
IINJ(PIN)
VIN8MHz
PLL
16
RAM
(1)
fHCMU
(2)
IDD
(2)
www.apexmic.com
TA
VDD=3.6 V
96 MHz
39.7
72MHz
30.1
48MHz
20.9
36MHz
16.6
24MHz
11.4
16MHz
8.17
8MHz
3.87
96 MHz
26.5
72MHz
20.5
48MHz
14.5
36MHz
11.3
24MHz
8.22
16MHz
6.10
8MHz
3.88
mA
Page 39
*
(1)
(2)
8MHz
fHCMU>8MHz
PLL
17
Flash
RAM
(1)
fHCMU
(2)
IDD
(2)
TA
VDD=3.6 V
96 MHz
34.4
72MHz
23.7
48MHz
18.6
36MHz
14.7
24MHz
10.5
16MHz
7.88
8MHz
5.05
96 MHz
8.38
72MHz
6.32
48MHz
5.35
36MHz
4.64
24MHz
4.03
16MHz
3.55
8MHz
2.91
mA
(1)
(2)
8MHz
www.apexmic.com
fHCMU>8MHz
PLL
Page 40
*
18
(1)
(TA
RC
VDD=3.6 V
413.31
(
)
RC
390.95
(
IDD
)
)
RC
25.44
RC
,
22.73
RC
RTC
IDD_VBAT
RTC
21.75
4.46
2
(1)
www.apexmic.com
Page 41
*
I/O
VDD
VSS
fHCLK
48~72MHz-2
0~14MHz-0
24~48MHz-1
96MHz-3
fPCLK1=FHCLK/2
fpCLK2=fHCLK
19
(1)
fHCMU
IDD
TA=25
VDD=3.3v
(2)
(2)
96 MHz
45.6
25.7
72MHz
32.9
19.4
48MHz
26.2
16.0
36MHz
20.1
12.5
24MHz
14.5
9.30
16MHz
10.1
6.68
8MHz
5.77
4.04
mA
(1)
(2)
8MHz
www.apexmic.com
fHCMU>8MHz
PLL
Page 42
*
20
RAM
(1)
fHCMU
IDD
TA=25
VDD=3.3v
(2)
(2)
96 MHz
37.5
25.2
72MHz
28.6
19.5
48MHz
19.8
13.6
36MHz
15.4
10.7
24MHz
10.6
7.52
16MHz
7.68
5.63
8MHz
3.57
3.58
mA
(1)
(2)
8MHz
fHCMU>8MHz
PLL
21
Flash
RAM
(1)
fHCMU
IDD
TA=25
VDD=3.3v
(2)
(2)
96 MHz
31.2
7.08
72MHz
21.5
5.24
48MHz
16.6
4.31
36MHz
12.6
3.64
24MHz
8.95
2.99
16MHz
6.57
2.53
8MHz
4.01
1.97
mA
(1)
(2)
8MHz
www.apexmic.com
fHCMU>8MHz
PLL
Page 43
*
22
(TA
RC
(
VDD
VDD
= 2.4V
= 3.3V
28.9
28.3
16.8
18.5
2.69
4.01
2.69
3.83
2.23
3.13
)
RC
(
IDD
)
)
RC
RC
,
RC
RTC
IDD_VBAT
RTC
1.45
5.3.4.
/
(HSE)
4
16MHz
/
23
(
23
)
HSE 4~16MHz
fOSC_IN
(1)(2)
4
RF
8
16
MHz
300
C
RS
30
pF
(RS)(3)
i2
HSE
tSU(HSE)(4)
www.apexmic.com
VDD=3.3V VIN=VSS
30pF
VDD
0.60
0.96
1.1
mA
1.33
ms
Page 44
*
(1)
/
(2)
(3)
RF
MCU
(4) tSU(HSE)
HSE
8MHz
/
(LSE)
32.768KHz
/
24
(
24
)
LSE
(fLSE=32.768KHz)
(1)(2)(3)
fOSF_IN
32.768
KHz
RF
7
pF
C(2)
RS
15
A
(RS)
i2
LSE
VDD=3.3V VIN=VSS
TA=105
25
VDD= 2-3.6V
(3)
tSU(LSE)
TA=25
VDD=3.3V
TA=-40
VDD=3.3V
1.4
0.62
1.32
2.02
0.47
1.17
1.86
0.32
4.32
8.32
s
(1)
(2)
(3) tSU(HSE)
LSE
CL1
CL2
32.768KHz
5pF~15pF
23
CL1
CL2
CL
Cstray
PCB
CL1
CL2
PCB
CL1
CL2
CL = CL1 x CL2 / (CL1 + CL2) + Cstray
2pF
7pF
(15pF)
12.5pF
www.apexmic.com
Page 45
*
5.3.5.
HSI
RC
25
HSI
(1)
fHSI
8
TA=VDD = 3.3V
ACCHSI
TA=-
HSI
VDD = 3.3V
TA=VDD = 2-3.6V
tSU(HSI)
HSI
VDD = 3.3V TA =-
MHz
-1
+1
%
-2.76
2.3
%
-2.76
2.45
%
1.78
1.78
(1)
LSI
RC
26
fLSI
tSU(LSI)
LSI
(1)
VDD = 2-3.6V TA = LSI
36.74
VDD = 3.3V TA =
-
41.50
46.26
KHz
43.33
(1)
8MHz
HSI RC
RC
27
tWUSLEEP(1)
tWUSTOP(1)
(1)
WUSTDBY
t
0.86
(
(
)
2.55
)
4.28
26.55
(1)
www.apexmic.com
Page 46
*
5.3.6. PLL
28
PLL
(1)
(2)
PLL
fPLL_IN
fPLL_OUT
1
PLL
PLL
(VDD = 3.3V TA = -
8
25
MHz
40
60
%
2
96
MHz
PLL
tLOCK
112.21
s
(1)
(2)
PLL
fPLL_OUT
5.3.7.
FLASH
29
tprog
tERASE
16
(1Kbytes)
tME
Vprog
FLASH
TA = VDD=2.4~3.6V
TA = VDD=2.4~3.6V
TA
VDD=3.3V
TA = -
(1)
33.7
37.1
40.5
s
3.50
3.11
3.50
ms
25.4
26.5
27.7
ms
2.0
3.3
3.6
V
(1)
www.apexmic.com
Page 47
*
5.3.8. EMC
EMS(
)
(
LED
I/O
2
LED)
:
(ESD)(
)
IEC
1000-4-2
FTB:
VDD
VSS
100pF
(
)
IEC 1000-4-4
30
AN1709
30
EMC
VDD = 3.3 V, LQFP144,
IO
VFESD
EMS
TA = +25 C, fHCLK = 72 MHz
2A
IEC 61000-4-2
VDD
VSS
100pF
VDD = 3.3 V, LQFP144,
VEFTB
TA = +25 C, fHCLK = 72 MHz
3A
IEC 61000-4-4
MCU
EMC
EMC
EMC
EMC
:
(
)
(
)
NRST
1
ESD
www.apexmic.com
Page 48
*
(EMI)
(
I/O
2
led)
SAE J1752/3
31
EMI
[fHSE/fHCLK]
8/48 MHz 8/72 MHz
VDD = 3.3 V, TA = 25 C,
SEMI
30~130 MHz
PASS
PASS
130 MHz ~1GHz
PASS
PASS
LQFP144
SAE J1752/3
5.3.9.
(
)
(ESD, LU)
(ESD)
(
1
(3
32
VESD(HBM)
(
VESD(CDM)
(
(n+1)
)
)
JESD22-A114/C101
ESD
)
)
TA = +25 C,
JESD22-A114
4000
TA = +25 C,
JESD22-C101
2000
V
LU
I/O
2
LED
LED
6
2
I/O
EIA/JESD78E
(1)
33
LU
TA
0
EIA/JESD78E
200mA
(1)
www.apexmic.com
Page 49
*
5.3.10. I/O
34
I/O
(
VCC=2.7~3.6V, TA = -
VIL
I/O
VIH
FT I/O
TTL
(1)
VIL
CMOS
VIH
I/O
(2)
Vhys
5V
I/O
(2)
VSS
-0.5
0.8
2
VDD+0.5
2
5.5
-0.5
0.3VDD
0.7VDD
VDD+0.5
150
mV
5% VDD
mV
IN
VDD
(3)
1
I/O
Ilkg
VIN = 5V
1
5V
RPU
(4)
VIN = VSS
32
40
49
RPD
(4)
VIN = VDD
32
40
49
CIO
V
I/O
5
(1) FT = 5V
pF
VDD+0.3
(2)
(3)
(4)
PMOS/NMOS
GPIO(
/
)
(VOL/VOH
mA
mA
)
I/O
I/O
VDD
MCU
VDD
IVDD
I/O
VSS
MCU
VSS
IVSS
www.apexmic.com
Page 50
*
35
(
VCC=2.7~3.6V,TA = -
VOL(1)
8
(2)(3)
OH
8
2.7V < VDD < 3.6V
VOL(1)
8
CMOS
VOH(2)
8
VOL(1)(3)
8
IIO = +20mA
(2)(3)
OH
8
2.7V < VDD < 3.6V
V
V
(1) I/O
TTL
)
0.4
IIO = +8mA
V
VDD-0.4
IIO =
0.4
+8mA
V
2.4
2.7V < VDD < 3.6V
1.3
V
VDD-1.3
IIO
IIO
(
I/O
)
IIO
IIO
(
I/O
)
IVSS
(2) I/O
IVDD
(3)
www.apexmic.com
Page 51
*
(TA
(1)
36
MODEx[1:0]
(3)
10
(2MHz)
VDD = 2~3.6V
tf(IO)out
VDD = 2~3.6V
VDD = 2~3.6V
01
tf(IO)out
VDD = 2~3.6V
(50MHz)
CL = 30 pF,
(2)
fmax(IO)out
VDD = 2.7~3.6V
tf(IO)out
VDD = 2.7~3.6V
(1) I/O
ns
50(3)
10
MHz
ns
23
48
MHz
7(3)
CL = 30 pF,
tr (IO)out
MHz
24(3)
CL = 50 pF,
tr (IO)out
11
CL = 50 pF,
(2)
fmax(IO)out
2
50(3)
CL = 50 pF,
tr (IO)out
(10MHz)
CL = 50 pF,
(2)
fmax(IO)out
(3)
ns
5(3)
MODEx[1:0]
(2)
(3)
11
90%
外部输出
负载是50pF
10%
50%
50%
90%
10%
tr(IO)OUT
tr(IO)OUT
T
如果(tr+tf)小于等于(2/3)T,并且占空比是(45~55%)
当负载为50pf时,达到最大的频率
www.apexmic.com
Page 52
*
5.3.11. NRST
NRST
CMOS
37
RPU
NRST
VCC=3.3V,TA = -
VIL(NRST)(1)
NRST
-0.5
0.8
VIH(NRST)(1)
NRST
2
VDD+0.5
Vhys(NRST)
NRST
(2)
RPU
VIN = VSS
270
300
340
30
40
53
V
mV
(1)
(2)
PMOS/NMOS
PMOS/NMOS
5.3.12.
I 2C
I2C
38
VDD = 3.3V
TA
I2C (1)(2)
I2C (1)(2)
tw(SCLL)
SCL
4.88
1.77
tw(SCLH)
SCL
5.10
0.717
1080
1000
tsu(SDA)
SDA
th(SDA)
SDA
tr(SDA)
tr(SCL)
tf(SDA)
tf(SCL)
0
(3)
0(4)
451.85
457.77(3)
SDA
SCL
381.625
389.563
SDA
SCL
4.33
3.79
th(STA)
4.94
0.822
tsu(STA)
4.99
0.8124
tsu(STO)
4.92
0.81
5.36
2.06
tw(STO:STA)
(
)
ns
(1)
(2)
I2C
fPCMU1
2MHz
I2C
4MHz
(3)
(4)
fPCMU1
SCL
SCL
www.apexmic.com
MCU
SDA
300ns
Page 53
*
(1)
12
VDD
4.7KΩ
I²C总线
VDD
4.7KΩ
100Ω
{
SDA
APM32F103XX
SCL
100Ω
重复的开始条件
开始条件
SDA
tf(STA)
tsu(STA)
tr(SDA)
th(STA)
tsu(SDA)
tw(SCKL)
开始条件
停止条件
th(SDA)
tsu(STA;STO)
SCL
tw(SCKH)
tf(SCK)
(1) 1.
CMOS
tf(SCK)
0.3VDD
tsu(STO)
0.7VDD
SPI
39
fSCK
tf(SCK)
(VDD= 3.3V
TA
18
SPI
1/tc(SCK)
tr(SCK)
SPI
18
SPI
C = 30pF
3.7
MHz
ns
tsu(NSS)(2)
NSS
109.7
ns
th(NSS)(2)
NSS
85.3
ns
tw(SCKH)
(2)
tw(SCKL)(2)
SCK
fPCMU = 36MHz
53.9
57.2
=4
tsu(MI)(2)
9.1
tsu(SI)(2)
19.0
th(MI)(2)
30.0
(2)
h(SI)
21.6
t
ta(SO)(2)(3)
f
PCMU
= 20MHz
tdis(SO)(2)(4)
6.6
ns
ns
ns
10.1
6.6
ns
ns
(1)(2)
(
)
15.4
ns
tv(MO)(1)(2)
(
)
15.4
ns
(2)
h(SO)
t
(
)
7.17
th(MO)(2)
(
)
7.03
tv(SO)
www.apexmic.com
ns
Page 54
*
(1)
SPI1
(2)
(3)
(4)
13
SPI
CPHA=0
NSS输入
tc(SCK)
tSU(NSS)
CPHA=0
CPOL=0
CPHA=0
CPOL=1
th(NSS)
th(SCKH)
tW(SCKL)
SCK输入
tV(SO)
ta(SO)
MISO输出
tr(SCK)
tf(SCK)
th(SO)
输出最高位
tdls(SO)
输出最低位
输出第6~1位
tSU(SI)
输入第6~1位
输入最高位
MOSI输入
输入最低位
th(SI)
14
CPHA=1(1)
SPI
NSS输入
tc(SCK)
tSU(NSS)
CPHA=1
CPOL=0
CPHA=1
CPOL=1
SCK输入
MISO输出
th(NSS)
tW(SCKH)
tW(SCKL)
tr(SCK)
tf(SCK)
tV(SO)
ta(SO)
输出最高位
tdls(SO)
th(SO)
输出第6~1位
输出最低位
th(SI)
tSU(SI)
输入第6~1位
输入最高位
输入最低位
MOSI输入
(1) 1.
www.apexmic.com
CMOS
0.3VDD
0.7VDD
Page 55
*
15
(1)
SPI
高电平
tc(SCK)
NSS输入
CPHA=0
CPOL=0
CPHA=0
CPOL=1
SCK输入
CPHA=1
CPOL=0
CPHA=1
CPOL=1
tW(SCKH)
tW(SCKL)
SCK输入
tSU(MI)
tr(SCK)
tf(SCK)
输入最高位
MISO输入
输入最低位
输入第6~1位
th(MI)
输出最高位
MOSI输出
输出第6~1位
tv(MO)
(1)
CMOS
输出最低位
th(MO)
0.3VDD
0.7VDD
USBD
16
USBD
交叉点
差分数据线
VCRS
V SS
tf
tf
40
USB
(VDD = 3.0~3.6V
TA
(1)
VDD
USB
VDI(4)
VCM(4)
VSE(4)
www.apexmic.com
(2)
3.0(3)
I
USBDP
USBDM
VDI
(1)
3.6
V
0.8
2.5
V
1.3
2.0
0.2
Page 56
*
(1)
VOL
1.5k
RL
(1)
3.6V(5)
0.3
V
VOH
15k
RL
V
(5)
SS
2.8
3.6
(1)
(2)
USB2.0
USBDP D+
(3) APM32F103xCxDxE
USB
3.0~3.6V
2.7V
2.7~3.0V
(4)
(5) RL
5.3.13. 12
USB
ADC
41
ADC
(VDD= 2.4~3.6V
T A =-
VDDA
2.4
3.6
V
VREF+
2.4
VDDA
V
IVREF
VREF
fADC
260
ADC
(2)
S
f
(3)
AIN
V
484
0.6
14
MHz
0.05
1
MHz
0
VREF+
V
RADC(2)
1
k
CADC(2)
2
pF
fADC = 14MHz
tCAL
5.9
83
fADC = 14MHz
tS(2)
fADC = 14MHz
(2)
CONV
t
(
)
1/fADC
0.107
17.1
1.5
239.5
1
18
14~252(
tS +
1/fADC
12.5)
1:
1/fADC
RAIN
RAIN