ARM® Cortex®-M3 Based 32-Bit MCU
ARM® Cortex®-M3 Based 32-Bit MCU
ARM® Cortex®-M3 Based 32-Bit MCU
Version: V 1.2
- 1 DMA, 7 separate configurable
1. Features channels are supported
Table 15. Embedded Reset and Power Control Block Features (T A=25 ) -40 -105 ................... 40
Table 17. Run-mode Current Consumption, Code with Data Processing Running From Internal Flash .. 42
Table 18. Run-mode Current Consumption, Code with Data processing Running From Internal RAM ... 43
Table 19. Maximum Current Consumption in Sleep Mode, Code Runs from Flash or RAM .................... 44
Table 20. Maximum Current Consumption in Stop Mode and Standby Mode .......................................... 45
Table 21. Run-mode current consumption, code with data processing running from internal Flash ........ 46
Table 22. Run-mode current consumption, code with data processing running from internal RAM ......... 47
Table 23. Typical current consumption in sleep mode, code running from Flash or RAM ........................ 48
Table 24. Typical current Consumption in Stop Mode and Standby Mode ............................................... 49
Table 32. FLASH Memory Life and Data Retention Period ....................................................................... 55
Table 33. I/O Static Features (Test conditions VCC=2.7-3.6V, TA = -40~105°C) ........................................ 55
Table 34. Voltage Features (test conditions VCC=2.7-3.6V,TA = -40~105°C)........................................... 56
Table 37. I2C Interface Features (Test conditions VDD = 3.3V TA = 25°C ........................................... 59
Figure 15. SPI TMRing Diagram - Slave Mode and CPHA=0 .................................................................... 62
Figure 17. USB TMRing: Definition of Data Signal Rise and Fall TMRes .................................................. 64
Built-in up to 128K bytes of flash memory and 20K bytes of SRAM memory, and all models
include 2 12-bit ADCs, 3 general-purpose 16-bit timers, 1 advanced control timer and 1
temperature sensor, as well as standard communication interfaces: 2 I2C interfaces, 2 SPI
interfaces, 1 QSPI interface, 3 USART interfaces, 1 USB 2.0 FS interface and 1 CAN 2.0B
interface(USB and CAN can work independently at the same time).
Operating voltage is 2.0V ~ 3.6V, there are two types of operating temperature range selectable:
-40°C~+85°C and -40°C~+105°C. Available for four different package forms of
LQFP100/LQFP64/LQFP48/QFN36, with different peripherals and I/O configurations.
For information about the Arm® Cortex®-M3 core, please refer to the Arm®Cortex®-M3 technical
reference manual, which can be downloaded from ARM’s website.
3. Features Description
See the following table for specific APM32F030x6/x8 product functions and peripheral
configuration.
1
(16-bit)
SysTick 1
Watchdog 2
RTC 1
SPI 1 2 1 2
Communication
QSPI 1
Interfaces
I2C 1 2 1 2
USART 2 3 2 3
CAN2.0B 1
USB2.0 FS 1
Unit 2
12 bit
ADC
Channel 10 16
GPIOs 26 37 51 80
CPU@Max. frequency M3@96MHz
FPU 1
Operating voltage 2.0 V~ 3.6 V
Memory Description
Embedded High-speed
128 Kbytes For storing programs and data
Flash
Can be accessed in bytes, halfwords(1 6bits)
Embedded Static Memory 20 Kbytes
or full words(32bits)
Name Description
The Stop mode achieves the lowest power consumption while retaining
the content of SRAM and registers. At this point, part of the 1.6V power
supply are stopped, resulting in the HSE, HSI, and PLL clocks are
Stop Mode
disabled. The voltage regulator is either in normal or in low-power
mode. Interrupt, event wakeup configured as EINT can wake up the
CPU from stop mode.
The Standby mode is used to achieve the lowest power consumption.
The internal voltage regulator is switched off so that part of 1.6 V
domain is powered off. The HXT, HIRC, and PLL clocks are also
switched off. The contents of SRAM and registers are lost, but contents
Standby Mode
of the backup registers will still remain, and the standby circuit will still
work. The external reset signal on NRST, IWDT, will reset an ascending
edge on the WKUP pin or the RTC clock will then terminate the chip
standby mode.
Note: The RTC, the IWDG, and the corresponding clock sources are not stopped by
entering stop or standby mode. QSPI interrupts cannot wake up low power mode.
3.11. DMA
The flexible 7-channel general-purpose DMA is able to manage memory-to-memory,
peripheral-to-memory and memory-to-peripheral transfers.
Each channel is connected to dedicated hardware DMA requests, with support for software
trigger on each channel. Configuration is made by software and transfer sizes between source
and destination are independent.
The DMA can be used with the main peripherals: SPI, I2C, USART, general-purpose and
advanced-control TMRers TMRx and ADC.
3.12. TMRer
The product includes an advanced-control TMRer (TMR1), three general-purpose TMRers
(TMR2/3/4), an independent watchdog TMRer, a window watchdog TMRer, and a
SysTickTMRer.
The following table compares the features of the advanced-control and general-purpose
TMRers:
Counter
24-bit 16-bit 16-bit
Resolution
Counter Type Down Up, down, up/down Up, down, up/down
Prescaler
Any integer between 1 and 65536 Any integer between 1 and 65536
Factor
DMA Request
Yes Yes
generation
Capture/Com
pare 4 4
Channels
Complement
No Yes
ary Outputs
Complementary PWM outputs with
Watchdog
Counter Counter Prescale
Watchdog functional
Resolution Type Factor
It is clocked from an independent 40 kHz
internal RC oscillator and as it operates
independently from the main clock, it can
Any operate in stop and standby modes.
Independe
integer Reset the device when a problem occurs.
nt 12-bit down
between 1 As a free-running TMRer for application
Watchdog
and 256 TMReout management.
It is hardware- or software-configurable
through the option bytes.
The counter can be frozen in debug mode.
It can be set as free-running.
Reset the device when a problem occurs.
Window
7-bit down - It is clocked from the main clock. It has an
Watchdog
early warning interrupt capability.
The counter can be frozen in debug mode.
BOOT0
VDD_3
VSS_3
PA15
PA14
PC12
PC11
PC10
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
PB9
PB8
PB7
PB6
PB5
PB4
PB3
PE1
PE0
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
PE2 1 75 VDD_2
PE3 2 74 VSS_2
PE4 3 73 NC
PE5 4 72 PA13
PE6 5 71 PA12
VBAT 6 70 PA11
PC13-TAMPER-RTC 7 69 PA10
PC14-OSC32_IN 8 68 PA9
PC15-OSC32_OUT 9 67 PA8
VSS_5 10 66 PC9
VDD_5 11 65 PC8
OSC_IN 12 64 PC7
OSC_OUT 13 63 PC6
NRST 14 LQFP100 62 PD15
PC0 15 61 PD14
PC1 16 60 PD13
PC2 17 59 PD12
PC3 18 58 PD11
VSSA 19 57 PD10
VREF- 20 56 PD9
VREF+ 21 55 PD8
VDDA 22 54 PB15
PA0-WKUP 23 53 PB14
PA1 24 52 PB13
PA2 25 51 PB12
26
27
28
29
30
31
32
33
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
34
VDD_4
VSS_4
PA3
PA4
PA5
PA7
PA6
PB0
PB1
PB2
PC5
PB10
PB11
VDD_1
PE9
VSS_1
PC4
PE7
PE8
PE10
PE11
PE12
PE13
PE14
PE15
4.1.2. APM32F103x4x6x8xB Series LQFP64
BOOT0
VDD_3
VSS_3
PA15
PA14
PC12
PC11
PC10
PD2
PB9
PB8
PB7
PB5
PB4
PB3
PB6
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
VBAT 1 48 VDD_2
PC13-TAMPER-RTC 2 47 VSS_2
PC14-OSC32_IN 3 46 PA13
PC15-OSC32_OUT 4 45 PA12
PD0 OSC_IN 5 44 PA11
PD1 OSC_OUT 6 43 PA10
NRST 7 42 PA9
PC0
PC1
8 LQFP64 41 PA8
9 40 PC9
PC2 10 39 PC8
PC3 11 38 PC7
VSSA 12 37 PC6
VDDA 13 36 PB15
PA0-WKUP 14 35 PB14
PA1 15 34 PB13
PA2 16 33 PB12
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
VSS_4
PA3
PA4
PA5
PA6
PA7
VDD_4
PB0
PB1
PB2
PC4
PC5
PB10
PB11
VDD_1
VSS_1
4.1.3. APM32F103x4x6x8xB Series LQFP48
BOOT0
VDD_3
VSS_3
PA15
PA14
PB9
PB8
PB7
PB5
PB4
PB3
PB6
48 47 46 45 44 43 42 41 40 39 38 37
VBAT 1 36 VDD_2
PC13-TAMPER-RTC 2 35 VSS_2
PC14-OSC32_IN 3 34 PA13
PC15-OSC32_OUT 4 33 PA12
PD0 OSC_IN 5 32 PA11
PD1 OSC_OUT
NRST
6 LQFP48 31 PA10
7 30 PA9
VSSA 8 29 PA8
VDDA 9 28 PB15
PA0-WKUP 10 27 PB14
PA1 11 26 PB13
PA2 12 25 PB12
13 14 15 16 17 18 19 20 21 22 23 24
PA3
PA4
PA5
PA6
PA7
PB0
PB1
PB2
PB10
VSS_1
PB11
VDD_1
4.1.4. APM32F103 x4x6x8xB Series QFN36
BOOT0
VSS_3
PA15
PA14
PB3
PB7
PB6
PB5
PB4
36 35 34 33 32 31 30 29 28
VDD_3 1 27 VDD_2
OCS_IN/PD0 2 26 VSS_2
OCS_OUT/PD1 3 25 PA13
NRST 4 24 PA12
VDDA 6 22 PA10
PA0-WKUP 7 21 PA9
PA1 8 20 PA8
PA2 9 19 VDD_1
10 11 12 13 14 15 16 17 18
VSS_1
PA3
PA4
PA5
PA6
PA7
PB0
PB1
PB2
4.2. Pin Description
LQFP100
Pin Name
LQFP48
LQFP64
QFN36
(1)
(after reset) Default Remap
VBAT 1 1 6 - S - VBAT - -
PC13-
2 2 7 - I/O - PC13(5) TAMPER-RTC -
TAMPER-RTC(4)
PC14-
3 3 8 - I/O - PC14(5) OSC32_IN -
OSC32_IN(4)
PC15-
4 4 9 - I/O - PC15(5) OSC32_OUT -
OSC32_OUT(4)
VSS_5 - - 10 - S - VSS_5 - -
VDD_5 - - 11 - S - VDD_5 - -
VSSA 8 12 19 5 S - VSSA - -
VREF- - - 20 - S - VREF- - -
VREF+ - - 21 - S - VREF+ - -
VDDA 9 13 22 6 S - VDDA - -
Main
Pins Alternate functions
LQFP100
Pin Name
LQFP48
LQFP64
QFN36
(1)
(after reset) Default Remap
WKUP/
USART2_CTS(6) /
PA0-WKUP 10 14 23 7 I/O - PA0 -
ADC12_IN0/
TMR2_CH1_ETR(6)
USART2_RTS(6)/
PA1 11 15 24 8 I/O - PA1 ADC12_IN1/ -
TMR2_CH2(6)
USART2_TX(6)/
PA2 12 16 25 9 I/O - PA2 ADC12_IN2/ -
TMR2_CH3(6)
USART2_RX(6)/
PA3 13 17 26 10 I/O - PA3 ADC12_IN3/ -
TMR2_CH4(6)
VSS_4 - 18 27 - S - VSS_4 - -
VDD_4 - 19 28 - S - VDD_4 - -
SPI1_NSS(6)/
PA4 14 20 29 11 I/O - PA4 USART2_CK(6) / -
ADC12_IN4
SPI1_SCK(6)/
PA5 15 21 30 12 I/O - PA5 -
ADC12_IN5
SPI1_MISO(6)/
PA6 16 22 31 13 I/O PA6 ADC12_IN6/ TMR1_BKIN
TMR3_CH1(6)
SPI1_MOSI(6)/
TMR1_CH1
PA7 17 23 32 14 I/O PA7 ADC12_IN7/
N
TMR3_CH2(6)
PC4 - 24 33 - I/O - PC4 ADC12_IN14 -
LQFP100
Pin Name
LQFP48
LQFP64
QFN36
(1)
(after reset) Default Remap
VDD_1 24 32 50 19 S - VDD_1 - -
SPI2_NSS/
I2C2_SMBAI/
PB12 25 33 51 - I/O FT PB12
USART3_CK(6)/
TMR1_BKIN(6)
SPI2_SCK/
USART3_CTS(6)/
PB13 26 34 52 - I/O FT PB13
TMR1_CH1N(6)/
QSPI_IO0
PB14 27 35 53 - I/O FT PB14 SPI2_MISO/
Main
Pins Alternate functions
LQFP100
Pin Name
LQFP48
LQFP64
QFN36
(1)
(after reset) Default Remap
USART3_RTS(6) /
TMR1_CH2N(6)/
QSPI_IO1
SPI2_MOSI/
PB15 28 36 54 - I/O FT PB15 TMR1_CH3N(6)/ -
QSPI_IO2
PD8 - - 55 - I/O FT PD8 QSPI_IO3 USART3_TX
USART3_R
PD9 - - 56 - I/O FT PD9 -
X
USART3_C
PD10 - - 57 - I/O FT PD10 QSPI_CMU
K
USART3_CT
PD11 - - 58 - I/O FT PD11 -
S
TMR4_CH1/
PD12 - - 59 - I/O FT PD12 QSPI_SS_N USART3_RT
S
PD13 - - 60 - I/O FT PD13 - TMR4_CH2
USART1_TX(6) /
PA9 30 42 68 21 I/O FT PA9 -
TMR1_CH2(6)
PA10 31 43 69 22 I/O FT PA10 USART1_RX(6)/ -
Main
Pins Alternate functions
LQFP100
Pin Name
LQFP48
LQFP64
QFN36
(1)
(after reset) Default Remap
TMR1_CH3(6)
USART1_CTS/USBDM/
PA11 32 44 70 23 I/O FT PA11 USB2DM/ CAN_RX(6)/ -
TMR1_CH4(6)
USART1_RTS/
USBDP/USB2DP/
PA12 33 45 71 24 I/O FT PA12 -
CAN_TX(6)/TMR1_ETR(6
)
JTMS/
PA13 34 46 72 25 I/O FT - PA13
SWDIO
Disconnected - - 73 - - - - Disconnected -
VSS_2 35 47 74 26 S VSS_2 - -
VDD_2 36 48 75 27 S VDD_2 - -
JTCK/
PA14 37 49 76 28 I/O FT - PA14
SWCLK
TMR2_CH1
PA15 38 50 77 29 I/O FT JTDI - _ETR/PA15/
SPI1_NSS
PC10 - 51 78 - I/O FT PC10 - USART3_TX
USART3_R
PC11 - 52 79 - I/O FT PC11 -
X
USART3_C
PC12 - 53 80 - I/O FT PC12 -
K
PD0 - - 81 2 I/O FT PD0 - CAN_RX
LQFP100
Pin Name
LQFP48
LQFP64
QFN36
(1)
(after reset) Default Remap
VSS_3 47 63 99 36 S - VSS_3 - -
ARM® Cortex®-M3
Systen Bus
D-Code
I-Code
FMC
BUS MATRIX JTAG/SWD
FLASH
TMR2/3/4 AFIO
RTC EINT
IWDT ADC1/2
SPI2 TMR1
USART2/3 SPI1
I2C1/I2C3 USART1
I2C2/I2C4
CAN
BAKR
PMU
USBD/USBD2
(1) The max frequency for APM32F103x8xBx4x6 series AHB and high-speed APB is 96MHz;
(2) The max frequency for APM32F103x8xBx4x6 series low-speed APB clock is 48MHz.
4.4. Clock Tree
FLITFCLK
to flash programming interface
Legend :
HSE= high-speed external clock signal
HSI = high- speed internal clock signal
LSE = low - speed external clock signal
LSI = low - speed internal clock signal
(1) The max frequency for APM32F103x8xBx4x6 series AHB and high-speed APB is 96MHz;
(2) The max frequency for APM32F103x8xBx4x6 series low-speed APB clock is 48MHz.
4.5. Address Mapping
APM32F103XXPIN
C=50 PF
A: load capacitance
Figure 10. Pin Input Voltage Measurement Scheme
APM32F103XXPIN
VIN
IDD
VDD
Vref
VDDA
(1) All power (VDD, VDDA) and ground (VSS, VSSA) pins must always be connected to a power
supply within the external allowable range.
(2) If VIN does not exceed the maximum value, IINJ(PIN) will not exceed its limit. If VIN exceeds the
maximum value, IINJ(PIN) must be externally limited to not exceed its maximum value. When
VIN > VDD, there is a forward injection current; when VIN<VSS, there is a reverse injection
current.
Total current (supply current) (1) went through the VDD/VDDA power 150
IVDD
cord.
IVSS Total current (outflow current) (1) went through the VSS ground cord. 150
mA
Irrigation current on any I/O and control pins 25
IIO
Source current on any I/O and control pins -25
IINJ(PIN) (2) (3) Injection current of HSE's OSC_IN pin and LSE's OSC_IN pin ±5
ΣIINJ(PIN)(2) Total injection current on all I/O and control pins (4) ±25
(1) All power (VDD VDDA) and ground (VSS VSSA) pins must always be connected to a power
supply within the external allowable range.
(2) If VIN does not exceed the maximum value, IINJ(PIN) will not exceed its limit. If VIN exceeds
the maximum value, IINJ(PIN) must be externally limited to not exceed its maximum value.
When VIN > VDD, there is a forward injection current; when VIN < VSS, there is a reverse
injection current.
(3) Reverse injection current can interfere with the analog performance of the ADC.
(4) When several I/O ports have injection current at the same TMRe, the maximum value
ofΣIINJ(PIN) is the sum of the instantaneous absolute values of the forward injection current
and the reverse injection current. These results are based on the calculation of the
maximum value of ΣIINJ(PIN) on the four I/O port pins of the device.
5.2.3. Maximum Temperature Features
Temperature Features
Maximum
Symbol Ratings Conditions Unit
value (1)
Electrostatic discharge TA = +25 °C, compliant with
VESD(HBM) 2000
voltage (human body model) standard JS-001-2017
Electrostatic discharge V
TA = +25 °C, compliant with
VESD(CDM) voltage (charging device 1000
standard JS-002-2018
model)
(1) The sample is measured by a third-party testing agency and is not tested in production
Static Latch-up(LU)
When running a simple application (controlling 2 LED flashes through I/O ports), the test sample
is subjected to false electromagnetic interference until an error occurs, and the flashing LED
indicating the error is for evaluating the latch performance. Two complementary static tests are
required on six parts to assess the latch-up performance:
A supply overvoltage is applied to each power supply pin
A current injection is applied to each input, output and configurable I/O pin The test is
compliant with EIA/JESD78E latch-up standard.
Static Latch 1
Maximum Value(1)
Symbol Parameters Conditions fHCLK Unit
TA =105°C , VDD=3.6 V
96 MHz 31.05
72MHz 25.78
16MHz 8.01
Supply current
8MHz 4.41
IDD in operating mA
96 MHz 20.03
mode
72MHz 17.60
16MHz 6.30
8MHz 3.54
(1) Data was derived from a comprehensive evaluation and is not tested in production.
(2) When the external clock is 8MHz and fHCMU >8MHz, it enables PLL.
Run-mode Current Consumption, Code with Data processing Running From Internal RAM
Maximum Value(1)
Symbol Parameters Conditions fHCLK Unit
TA =105°C , VDD=3.6 V
96 MHz 27.82
72MHz 21.82
16MHz 5.45
Supply current
8MHz 3.20
IDD in operating mA
96 MHz 16.85
mode
72MHz 12.74
16MHz 3.66
8MHz 3.19
(1) Data was derived from a comprehensive evaluation and is not tested in production.
(2) When the external clock is 8MHz and fHCMU >8MHz, it enables PLL.
Maximum Current Consumption in Sleep Mode, Code Runs from Flash or RAM
Maximum Value(1)
Symbol Parameters Conditions fHCLK TA =105°C , VDD=3.6 Unit
V
96 MHz 17.39
72MHz 13.32
16MHz 3.69
Static Current
8MHz 2.31
IDD during Sleep mA
96 MHz 5.07
Mode
72MHz 4.06
16MHz 1.62
8MHz 1.31
(1) Data was derived from a comprehensive evaluation and is not tested in production.
(2) When the external clock is 8MHz and fHCMU >8MHz, it enables PLL.
Maximum Current Consumption in Stop Mode and Standby Mode
Maximum Value(1)
Symbol Parameters Conditions Unit
TA=105°C VDD=3.6 V
Regulator in run mode,
low-speed and high-speed
internal RC oscillators and 94.19
high-speed oscillator OFF(no
Supply
independent watchdog)
current in
Regulator in low-power mode,
stop mode
low-speed and high-speed
internal RC oscillators and 79.18
high-speed oscillator OFF(no
IDD independent watchdog)
Low-speed internal RC oscillator
17 μA
and independent watchdog ON
Low-speed internal RC oscillator
Supply
is on, independent watchdog 16.82
current in
OFF
standby
Low-speed internal RC oscillator
mode
and independent watchdog OFF,
15.89
low-speed oscillator and RTC
OFF
Supply
Low-speed oscillator and RTC
IDD_VBAT current in the 3.0
ON
backup area
(1) Data was derived from a comprehensive evaluation and is not tested in production.
Typical Current Consumption
The microcontroller is under the following conditions:
All I/O pins are in input mode and are connected to a static level –VDD or VSS (no load).
All peripherals are turned off unless otherwise stated.
The access time of flash is adjusted to the frequency fHCMU (0~24MHz-0 wait cycles,
24~48MHz-1 wait cycle, 48~72MHz-2 wait cycles,96MHz-3 wait cycles).
The instruction prefetch function is turned on (hint: this setting must be made before the
clock setting and bus division).
When the peripheral is turned on: fpCMU1 = fHCMU/2 fpCMU2 = fHCMU.
Run-mode current consumption, code with data processing running from internal Flash
Typical Value(1)
TA=25°C,VDD=3.3V
Symbol Parameter fHCMU Unit
External clock(2), External clock (2),
enables all turn off all
peripherals peripherals
(1) Data was derived from comprehensive evaluation and is not tested in production.
(2) When the external clock is 8MHz and fHCMU >8MHz, it enables PLL.
Run-mode current consumption, code with data processing running from internal RAM
Typical Value(1)
TA=25°C,VDD=3.3V
(1) Data was derived from comprehensive evaluation and is not tested in production.
(2) When the external clock is 8MHz and fHCMU >8MHz, it enables PLL.
Typical current consumption in sleep mode, code running from Flash or RAM
Typical Value(1)
TA=25°C,VDD=3.3V
(1) Data was derived from comprehensive evaluation and is not tested in production.
(2) When the external clock is 8MHz and fHCMU >8MHz, it enables PLL.
Typical current Consumption in Stop Mode and Standby Mode
VDD=3.3V
i2 HSE drive current VIN=VSS 1.1 mA
30pF load
tSU(HSE)(5) Startup TMRe VDD is stable 1.33 ms
(1) The features parameters of the resonator are given by the crystal/ceramic resonator
manufacturer.
(2) It is derived from a comprehensive evaluation and is not tested in production.
(3) For CL1 and CL2, it is recommended to use high quality ceramic capacitors (typically)
between 5pF and 25pF for high frequency applications. Select the capacitor value to meet
the requirements of the crystal or resonator. Usually CL1 and CL2 have the same parameters.
Crystal manufacturers typically give the parameters of the load capacitance in a serial
combination of CL1 and CL2. When selecting CL1 and CL2, the capacitive reactance of the
PCB and MCU pins should be taken into account (the pin and PCB capacitance can be
roughly esTMRated at 10pF).
(4) Relatively low RF resistance provides protection against problems caused by changes in
leakage and bias conditions when used in wet conditions. However, if the MCU is used in a
harsh wet environment, this factor needs to be taken into account when designing.
(5) tSU(HSE) is the start-up time measured from the moment it is enabled (by software) to a
stabilized 8 MHz oscillation is reached. This value is measured using a standard crystal
resonator, which may vary greatly depending on the crystal manufacturer.
Figure 12. Typical application of 8MHz crystal oscillator
RF Feedback Resistance 7 MΩ
Recommended load
capacitance and
CL1 & CL2(2) corresponding crystal RS = 30kΩ 15 pF
serial impedance (RS)
(3)
VDD = 3.3V,
i2 LSE drive current 1.4 μA
VIN=VSS
tSU(LSE)(4) Start TMRe VDD is stable 2.75 s
(1) Data was derived from a comprehensive evaluation and is not tested in production.
(2) See the tips and warnings section below this table.
(3) Use a high quality oscillator with a small RS value (such as MSIV-TIN32.768kHz) to optimize
current consumption. Please consult the crystal manufacturer for details.
(4) tSU(HSE) is the start-up time measured from the moment it is enabled (by software) to a
stabilized 8 MHz oscillation is reached. This value is measured using a standard crystal
resonator, which may vary greatly depending on the crystal manufacturer
Tip: For CL1 and CL2, it is recommended to use a high quality ceramic capacitor between 5pF
and 15pF and select the capacitance value to meet the requirements of the crystal or resonator.
Usually CL1 and CL2 have the same parameters. Crystal manufacturers typically give the
parameters of the load capacitance in a serial combination of CL1 and CL2. Load capacitance CL
has the following formula:CL- CL1 x CL2/( CL1 + CL2) + Cstray where Cstray is the pin capacitance
and board or trace PCB-related capacitance, Typically, it is between 2 pF and 7 pF.
Warning: To avoid exceeding the maximum value of CL1 and CL2 (15 pF) it is strongly
recommended to use a resonator with a load capacitance CL≤7pF. Never use a resonator with a
load capacitance of 12.5 pF.
Example: if you choose a resonator with a load capacitance of CL=6 pF, and C stray = 2 pF, then CL1= CL2
=8 pF
(1) The wakeup TMRes are measured from the wakeup event to the point in which the user
application code reads the first instruction
PLL Features
Value
Maximu
Symbol Parameters Minimu Typical Unit
m Value
m Value Value (1)
(1) FT = 5V tolerant. To withstand voltages above VDD +0.3, the internal pull-up or pull-down
resistors must be turned off.
(2) The hysteresis voltage of the Schmitt trigger switch level is derived from a comprehensive
evaluation and is not tested in production.
(3) If there is reverse current sinking on adjacent pins, the leakage current may be higher than
the maximum.
(4) The pull-up resistor is designed to be implemented as a true resistor in series with a
controllable PMOS/NMOS switch
Output Drive Current Test
The GPIO (General Purpose Input/Output Port) can sink or output up to ±8mA and can sink up to
±20mA (VOL/VOH reduction). In user applications, the number of I/Os capable of driving current
must be limited so that the current consumed cannot exceed the absolute maximum rating:
The sum of the currents sourced by all the I/O on VDD, plus the maximum Run consumption
of the MCU sourced on VDD, cannot exceed the absolute maximum rating IVDD.
The sum of the currents sunk by all the I/O on VSS, plus the maximum Run consumption of
the MCU sunk on VSS, cannot exceed the absolute maximum rating IVSS.
Output Voltage Test
CL = 30 pF, VDD =
fmax(IO)out Max frequency(2) 48 MHz
2.7~3.6V
11 Output high to low
tf(IO)out 7(3)
(50MHz) fall TMRe CL = 30 pF, VDD =
ns
Output low to high 2.7~3.6V
tr (IO)out 5(3)
rise TMRe
(1) The speed of the I/O port can be configured by MODEx[1:0].
(2) The maximum frequency is defined in the figure below.
(3) It is guaranteed from design and is not tested n production
(1) Measured points are done at CMOS levels: 0.3 VDD and 0.7 VDD.
SPI Interface Features
th(NSS) (2) NSS hold TMRe Slave mode fPCMU = 36MHz 55.6 ns
tw(SCKH)(2) Master mode, fPCMU = 36MHz
SCK high and low TMRe 55.1 55.9 ns
tw(SCKL)(2) presc=4
tc(SCK) th(NSS)
tSU(NSS)
CPHA=0
CPOL=0 th(SCKH)
CPHA=0 tW(SCKL)
CPOL=1
SCK Input
tV(SO) tr(SCK) tdls(SO)
th(SO) tf(SCK)
ta(SO)
MISO
Output MSB OUT BIT 6~1 OUT LSB OUT
tSU(SI)
MOSI Input
th(SI)
tc(SCK)
tSU(NSS)
th(NSS)
CPHA=1
CPOL=0 tW(SCKH)
CPHA=1 tW(SCKL)
CPOL=1
SCK Input
tr(SCK)
tV(SO) tf(SCK)
MISO ta(SO) th(SO) tdls(SO)
Output
MSB out BIT 6~1 OUT LSB OUT
tSU(SI) th(SI)
MOSI Input
(1) The measured points are done at CMOS levels:0.3VDD and 0.7VDD
Figure 18. SPI TMRing Diagram - Master Mode(3)
High
NSS input tc(SCK)
CPHA=0
CPOL=0
CPHA=0
CPOL=1
SCK input
CPHA=1
CPOL=0
CPHA=1
CPOL=1
SCK input tW(SCKH)
tr(SCK)
tW(SCKL)
tSU(MI) tf(SCK)
th(MI)
tv(MO)
th(MO)
(1) The measured points are done at CMOS levels: 0.3VDD and 0.7VDD
USBD Interface Features
USB DC Characteristics
Minimum Maximum
Symbol Parameter Conditions Unit
Value 1 Value 1
Input levels
USB operating 3
VDD 3.0 3.6 V
voltage 2
Differential input
VDI 4 I USBDP USBDM 0.2
sensitivity
Differential
VCM 4 common mode Include VDI range 0.8 2.5 V
threshold
Single ended
4
VSE 1.3 2.0
receiver threshold
Output levels
Figure 19. USB TMRing: Definition of Data Signal Rise and Fall TMRes
Rise&fall TMRes
trfm tr / tf 71 97 %
match
Crossover voltage of
VCRS 1.60 2.17 V
output signal
VDD
Parasitic
Capacotor
The formula for calculating the maximum external input impedance is as follows
Formula 1: formula of maximum RAIN
𝑇𝑆
RAIN< -RADC
𝑓𝐴𝐷𝐶 𝐶𝐴𝐷𝐶 ln(2𝑁+2 )
fADC=14MHZ, CADC=12PF(Table 41), RADC=1kΩ(Table 41). Under the requirement of 0.25LSB
sampling error accuracy, the relation between TS and RAIN is shown in the following table:
ADC Accuracy
Typical Maximum
Symbol Parameter Conditions Unit
value value(3)
VREF+ VDDA
[1LSBIDEAL= (Or ,Depending on)]
4096 4096
EG
4095
4094
4093
(2)
ET
7 (3)
(1)
6
5
EO EL
4
3 ED
2
1 LSB IDEAL
1
0
VSSA 1 2 3 4 5 6 7 4093 4094 4095 4096 VDDA
EMS Features
Symbol Parameters Conditions Level
VDD = 3.3V TA = +25 °C
Voltage limits to be applied on any I/O
VFESD fHCMU = 72MHz, complies with 2B
pin to induce a functional disturbance.
IEC 61000-4-2
Fast transit voltage burst limits to be VDD = 3.3V TA = +25 °C
VEFTB applied through 100 pF on VDD and VSS fHCMU = 72MHz, complies with 2B
pins to induce a functional disturbance. IEC 61000-4-4
Electromagnetic Interference (EMI)
Monitor the electromagnetic field emitted by the chip while running a simple application (flashing
2 LEDs through the I/O port). This emission test complies with the SAE J1752/3 standard, which
specifies the load on the test board and pins.
EMI Features
Maximum value
Detection
Symbol Parameters Conditions (fHSE/fHCMU) Unit
frequency band
8/36MHz 8/96MHz
VDD = 3.3V TA = 30-230MHz PASS PASS
SEMI Peak +25 °C, LQFP100 dBμV
130MHz-1GHz PASS PASS
package
6. Packaging Information
6.1. LQFP100 Package Diagram
1.Dimensions in millimeters
Reel
Package A0 B0 K0 P1 W Pin1
Device Pins SPQ Diameter
Type (mm) (mm) (mm) (mm) (mm) (mm) Quadrant
APM32F103RBT6 LQFP 64 1000 330 12.35 12.35 2.2 16 24 Q1
APM32F102RBT6 LQFP 64 1000 330 12.35 12.35 2.2 16 24 Q1
APM32F101RBT6 LQFP 64 1000 330 12.35 12.35 2.2 16 24 Q1
APM32F103R8T6 LQFP 64 1000 330 12.35 12.35 2.2 16 24 Q1
APM32F102R8T6 LQFP 64 1000 330 12.35 12.35 2.2 16 24 Q1
APM32F101R8T6 LQFP 64 1000 330 12.35 12.35 2.2 16 24 Q1
APM32F103R6T6 LQFP 64 1000 330 12.35 12.35 2.2 16 24 Q1
APM32F102R6T6 LQFP 64 1000 330 12.35 12.35 2.2 16 24 Q1
APM32F101R6T6 LQFP 64 1000 330 12.35 12.35 2.2 16 24 Q1
APM32F103R4T6 LQFP 64 1000 330 12.35 12.35 2.2 16 24 Q1
APM32F102R4T6 LQFP 64 1000 330 12.35 12.35 2.2 16 24 Q1
APM32F101R4T6 LQFP 64 1000 330 12.35 12.35 2.2 16 24 Q1
APM32F103CBT6 LQFP 48 2000 330 9.3 9.3 2.2 12 16 Q1
APM32F102CBT6 LQFP 48 2000 330 9.3 9.3 2.2 12 16 Q1
APM32F101CBT6 LQFP 48 2000 330 9.3 9.3 2.2 12 16 Q1
APM32F103C8T6 LQFP 48 2000 330 9.3 9.3 2.2 12 16 Q1
APM32F102C8T6 LQFP 48 2000 330 9.3 9.3 2.2 12 16 Q1
APM32F101C8T6 LQFP 48 2000 330 9.3 9.3 2.2 12 16 Q1
APM32F103C6T6 LQFP 48 2000 330 9.3 9.3 2.2 12 16 Q1
APM32F102C6T6 LQFP 48 2000 330 9.3 9.3 2.2 12 16 Q1
APM32F101C6T6 LQFP 48 2000 330 9.3 9.3 2.2 12 16 Q1
APM32F103C4T6 LQFP 48 2000 330 9.3 9.3 2.2 12 16 Q1
APM32F102C4T6 LQFP 48 2000 330 9.3 9.3 2.2 12 16 Q1
APM32F101C4T6 LQFP 48 2000 330 9.3 9.3 2.2 12 16 Q1
APM32F103TBU6 UFQFPN 36 2500 330 6.4 6.4 1.4 8 16 Q1
APM32F101TBU6 UFQFPN 36 2500 330 6.4 6.4 1.4 8 16 Q1
APM32F103T8U6 UFQFPN 36 2500 330 6.4 6.4 1.4 8 16 Q1
APM32F101T8U6 UFQFPN 36 2500 330 6.4 6.4 1.4 8 16 Q1
APM32F103T6U6 UFQFPN 36 2500 330 6.4 6.4 1.4 8 16 Q1
APM32F101T6U6 UFQFPN 36 2500 330 6.4 6.4 1.4 8 16 Q1
APM32F103T4U6 UFQFPN 36 2500 330 6.4 6.4 1.4 8 16 Q1
APM32F101T4U6 UFQFPN 36 2500 330 6.4 6.4 1.4 8 16 Q1