PY32F003 Microcontroller Datasheet
PY32F003 Microcontroller Datasheet
Features
Core Timer
— 32-bit ARM® Cortex® - M0+ CPU — A 16bit advanced control timer (TIM1)
Memories (TIM3/TIM14/TIM16/TIM17)
Contents
Features ....................................................................................................................................................... 2
1. Introduction .......................................................................................................................................... 5
2. Functional overview .......................................................................................................................... 13
2.1. Arm®Cortex®-M0+ core .............................................................................................................. 13
2.2. Memories ..................................................................................................................................... 13
2.3. Boot mode .................................................................................................................................... 13
2.4. Clock System ............................................................................................................................... 14
2.5. Power management ..................................................................................................................... 15
2.5.1. Power block diagram ............................................................................................................ 15
2.5.2. Power monitoring.................................................................................................................. 15
2.5.3. Voltage regulator .................................................................................................................. 17
2.5.4. Low power mode .................................................................................................................. 17
2.6. Reset ............................................................................................................................................ 17
2.6.1. Power reset .......................................................................................................................... 17
2.6.2. System reset......................................................................................................................... 18
2.7. General-purpose input and output (GPIOs) ................................................................................. 18
2.8. DMA ............................................................................................................................................. 18
2.9. Interrupt ........................................................................................................................................ 18
2.9.1. Interrupt controller NVIC ....................................................................................................... 18
2.9.2. Extended interrupt/event controller (EXTI) ........................................................................... 19
2.10. Analog to digital converter (ADC) ............................................................................................ 19
2.11. Comparators (COMP) .............................................................................................................. 20
2.12. Timer ........................................................................................................................................ 20
2.12.1. Advanced timer..................................................................................................................... 20
2.12.2. General-purpose timer ......................................................................................................... 21
2.12.3. Low power timer (LPTIM) ..................................................................................................... 22
2.12.4. IWDG .................................................................................................................................... 22
2.12.5. WWDG ................................................................................................................................. 22
2.12.6. SysTick timer ........................................................................................................................ 22
2.13. Real time clock (RTC) .............................................................................................................. 23
2.14. I2C interface ............................................................................................................................. 23
2.15. Universal synchronous asynchronous recevicer/ transmitter (USART) ................................... 24
2.16. Serial peripheral interface (SPI) ............................................................................................... 25
2.17. SWD ......................................................................................................................................... 26
3. Pin configuration ............................................................................................................................... 27
3.1. Port A multiplexing function mapping .......................................................................................... 50
3.2. Port B multiplexing function mapping .......................................................................................... 51
3.3. Port F multiplexing function mapping ........................................................................................... 51
4. Memory Map ....................................................................................................................................... 52
3of 78
PY32F003 Datasheet
4of 78
PY32F003 Datasheet
1. Introduction
PY32F003 series microcontrollers are MCUs with high performance 32-bit ARM® Cortex® -M0 + core, wide
voltage operating range. It has embedded up to 64 Kbytes flash and 8 Kbytes SRAM memory, a maximum
operating frequency of 32 MHz, and contains various products in different package types. The chip inte-
grates multi-channel I2C, SPI, USART and other communication peripherals, one channel 12bit ADC, five
16bit timers, and two-channel comparators.
PY32F003 series microcontrollers are -40 ~ 85 ℃ and -40 ~ 105 ℃, the operating voltage range are 1.7 ~
5.5 V and 2.0 ~ 5.5 V. The chip provides sleep and stop low-power operating modes from meeting different
low-power applications.
The PY32F003 series of microcontrollers are suitable for various application scenarios, such as controllers,
portable devices, PC peripherals, gaming and GPS platforms, industrial applications.
5of 78
PY32F003 Datasheet
Table 1-1 PY32F003x6 series TSSOP20 product features and peripheral counts
PY32F003 PY32F003 PY32F003 PY32F003 PY32F003 PY32F003 PY32F003 PY32F003 PY32F003 PY32F003
Peripherals
F18P6 F18P6-E F16P6 F16P6-E F14P6 F26P6 F36P6 F48P6 F56P6 F68P6
Flash (Kbytes) 64 64 32 32 16 32 32 64 32 64
SRAM (Kbytes) 8 8 4 4 2 4 4 8 4 8
Advanced 1 (16-bit)
General
4 (16-bit)
pupose
Timers low power 1
SysTick 1
Watchdog 2
SPI 1
Comm.
inter- I2C 1
faces
USART 2
DMA 3ch
RTC Yes
GPIOs 18
12-bit ADC
8+2 9+2 6+2 6+2 7+2 10+2
( external + internal)
Comparators 2
Max. CPU frequency 32 MHz
Operating Voltage 1.7 ~ 5.5 V
Operating Temp. -40 ~ 85 °C
Package TSSOP20
6of 78
PY32F003 Datasheet
Table 1-2 PY32F003x6 series QFN20/SOP20 product features and peripheral counts
PY32F003F18 PY32F003F17 PY32F003F16 PY32F003F16 PY32F003F14 PY32F003F26 PY32F003F18
Peripherals
U6 U6 U6 U6-E U6 U6 S6
Flash (Kbytes) 64 48 32 32 16 32 64
SRAM (Kbytes) 8 6 4 4 2 4 8
Advanced 1 (16-bit)
General pupose 4 (16-bit)
Timers low power 1
SysTick 1
Watchdog 2
SPI 1
Comm.
I2C 1
interfaces
USART 2
DMA 3ch
RTC Yes
GPIOs 18
12-bit ADC
8+2 5+2 10+2
( external + internal)
Comparators 2
Max. CPU frequency 32 MHz
Operating Voltage 1.7 ~ 5.5 V
Operating Temperature -40 ~ 85 °C
Package QFN20 SOP20
7of 78
PY32F003 Datasheet
Table 1-3 PY32F003x6 series SOP16/MSOP10 product features and peripheral counts
Peripherals PY32F003W18S6 PY32F003W16S6 PY32F003W16S6-E PY32F003A18N6
Flash (Kbytes) 64 32 32 64
SRAM (Kbytes) 8 4 4 8
Advanced 1 (16-bit)
General pupose 4 (16-bit)
Timers low power 1
SysTick 1
Watchdog 2
SPI 1
Comm.
I2C 1
interfaces
USART 2
DMA 3ch
RTC Yes
GPIOs 14 8
12-bit ADC
10+2 5+2
( external + internal)
Comparators 2
Max. CPU frequency 32 MHz 24MHz
Operating Voltage 1.7 ~ 5.5 V
Operating Temperature -40 ~ 85 °C
Package SOP16 MSOP10
8of 78
PY32F003 Datasheet
Table 1-4 PY32F003x6 series SOP8/DFN8 product features and peripheral counts
Peripherals PY32F003L18S6 PY32F003L16S6 PY32F003L28S6 PY32F003L28D6 PY32F003L26D6 PY32F003L24D6
Flash (Kbytes) 64 32 64 64 32 16
SRAM (Kbytes) 8 4 8 8 4 2
Advanced 1 (16-bit)
General pupose 4 (16-bit)
Timers low power 1
SysTick 1
Watchdog 2
SPI 1
Comm.
I2C 1
interfaces
USART 1
DMA 3ch
RTC Yes
GPIOs 7
12-bit ADC
4+2
( external + internal)
Comparators 1 2
Max. CPU frequency 24 MHz
Operating Voltage 1.7 ~ 5.5 V
Operating Temperature -40 ~ 85 °C
Package SOP8 DFN8(3*2)
9of 78
PY32F003 Datasheet
10of 78
PY32F003 Datasheet
11of 78
PY32F003 Datasheet
SWCLK POWER
SWDIO SWD DMA
Flash Memory Voltage
as AF VDD
Regulator
CPU
Bus matrix
TEST VCCIO
CORTEX-M0+ VCCA VCC
fmax= 32MHz VSS
VCC SUPPLY
SUPERVISION
SRAM
NVIC IOPORT POR/BOR
PVD PVD_IN
Filter NRST
HSI
RC 24MHz
WWDG reset
IWDG reset
GPIO
OBL reset
PA PORT A RC 32KHz HSI_10M 10MHz
LSI
S-AHB
Decoder
TIM14 CH1 as AF
IN+ COMP1
IN- I/F CH1, CH1N
S-APB
T1M16/17
OUT COMP2 BKIN as AF
WWDG RX,TX,RTS,CTS,
USART1
CK as AF
PWR
MOSI,MISO,SCK RX,TX,RTS,CTS,
SPI1 USART2
NSS as AF SYSCFG CK as AF
Power domain of analog modules: VCCA domain VCC domain VCCIO domain
12of 78
PY32F003 Datasheet
2 . F u n c t i o n a l o ve r vi ew
2.1. Arm®Cortex®-M0+ core
Arm ® The Cortex ® - M0+ is an entry-level 32-bit Arm Cortex processor designed for a wide range of
embedded applications. It provides developers with significant benefits, including:
Cortex-M0+ processor is a 32-bit core optimized for area and power consumption and is a 2-stage
pipeline Von Neumann architecture. The processor offers high-end processing hardware, including
single-cycle multipliers, through a streamlined but powerful instruction set and an extensively optimized
design. Moreover, it delivers the superior performance expected from a 32-bit architecture computer,
with a higher coding density than other 8 and 16-bit microcontrollers.
The Cortex-M0+ is tightly coupled with a Nested Vectored Interrupt Controller (NVIC).
2.2. Memories
The on-chip integrated SRAM is accessed by bytes (8 bits), half-word (16bits) or word (32bits).
The on-chip integrated Flash consists of two different physical areas:
Main flash area, which contains application and user data
The information area has 4K bytes, and it includes the following parts:
— Option bytes
— UID bytes
— System memory
13of 78
PY32F003 Datasheet
4 ~ 32 MHz HSE clock can enable the CSS function to detect HSE. If CSS fails, the hardware will
automatically convert the system clock to HSI, and software configures the HSI frequency. Sim-
ultaneously, CPU NMI interrupt is generated.
The AHB clock can be divided based on the system clock, and the APB clock can be divided based
on the AHB clock. AHB and APB clock frequencies up to 32 MHz.
LSI RC to IWDG
32.768kHz
LSI
to RTC
HSE
/32
RTCS to PWR
EL
To AHB bus, core, memory and DMA
AHB FCLK Cortex free-running clock
PRESC
/1,2...512 To Cortex system timer
LSI APB
PCLK To APB periphrals
MCO SYSCLK PRESC
/1...128 /1,2,4,8,16
HSE
HSI
PCLK
HSI RC to LPTIM
24MHz LSI
PCLK
to COMP
LSC
HSIDIV
PCLK
HSISYS to ADC
OSC_OUT HSE
HSI
4~32MHz HSE SYSCLK
OSC_IN Clock LSI If(APB prescaler=1) x1,
detector else x2
TIM_PCLK
14of 78
PY32F003 Datasheet
LSI HSI
FLASH
VDD domain
VCC domain
HSI_10M HSE
POR
BOR
PDR
VDD CPU Core/Digital Peripherals
VCC VR
BG PVD VDD1
RTC IO_CTRL
PMU
IWDG LPTIMER
VCCIO
VCCIO domain
IO Ring PWR_Acon RCC_Acon
VDDA
VDDP
PWR_CR1[18]
SRAM
VDDA
The Power on reset (POR)/Power down reset (PDR) module is designed to provide power-on and
power-off reset for the chip. The module keeps working in all modes.
15of 78
PY32F003 Datasheet
In addition to POR/ PDR, BOR ( brown-out reset ) is also implemented. BOR can only be enabled and
disabled through the option byte.
When the BOR is turned on, the BOR threshold can be selected by the Option byte, and both the rising
and falling detection points can be configured individually.
VCC
VBORR8
VBORF8
VBORR7
VBORF7
VBORR6
VBORF6
VBORR5
VBORF5
VBORR4
VBORF4
VBORR3
VBORF3
VBORR2
VBORF2
VBORR1
VBORF1
VPOR
VPDR
t
tRSTTEMPO
Programmable Voltage Detector (PVD) module can be used to detect the V CC power supply (it can
also detect the voltage of the PB7 pin ), and the detection point can be configured through the register.
When VCC is higher or lower than the detection point of PVD, a corresponding reset flag is generated.
This event is internally connected to line 16 of EXTI , depending on the rising/falling edge configuration
of EXTI line 16. When VCC rises above the PVD detection point, or V CC falls below the PVD detection
point , an interrupt is generated. In the service program, users can perform urgent shutdown tasks.
16of 78
PY32F003 Datasheet
VCC
VPVDRx
Configurable
hysteresis
VPVDFx
PVD output
MR (Main regulator) keeps working when the chip is in normal operating state.
LPR (Low power regulator) provides a lower power consumption option in stop mode.
2.6. Reset
Two resets are designed in the chip: power and system reset.
17of 78
PY32F003 Datasheet
2.8. DMA
Direct Memory Access (DMA) provides high-speed data transfer between peripherals and memory or
between memory and memory.
DMA controller has three channels, and each channel is responsible for managing memory access
requests from one or more peripherals. The DMA controller includes an arbiter for handling DMA re-
quests for each DMA request's priority..
DMA supports circular buffer management, eliminating the need for user code to intervene when the
controller reaches the end of the buffer.
Each channel is directly connected to a dedicated hardware DMA request, and each channel also
supports software triggering. These functions are configured through software.
DMA is available for peripherals: SPI, I2C, USART, all TIMx timers (except TIM14 and LPTIM) and
ADC.
2.9. Interrupt
The PY32F003 handles exceptions through the Cortex-M0+ processor's embedded Vectored Interrupt
Controller (NVIC) and an Extended Interrupt/Event Controller (EXTI).
18of 78
PY32F003 Datasheet
The tight coupling of the processor core to the NVIC greatly reduces the delay between an interrupt
event and the initiation of the corresponding interrupt service routine (ISR). The ISR vectors are listed
in a vector table, stored at a base address of the NVIC. The vector table base address determines the
vector address of the ISR to execute, and the ISR is used as the offset composed of serial numbers.
If a high-priority interrupt event occurs and a low-priority interrupt event is just waiting to be serviced,
the later-arriving high-priority interrupt event will be serviced first. Another optimization is called tail-
chaining. When returning from a high-priority ISR and then starting a pending low-priority ISR, unnec-
essary pushes and pops of processor contexts will be skipped. This reduces latency and improves
power efficiency.
NVIC features:
Low latency interrupt handling
The EXTI controller has multiple channels, including a maximum of 16 GPIOs, 1 PVD output, 2 COMP
outputs, RTC and LPTIM wake-up signals. GPIO, PVD and COMP can be configured to be triggered
by a rising edge, falling edge or double edge. Any GPIO signal can be configured as EXTI0 ~ 15
channel through the select signal.
The EXTI controller can capture pulses shorter than the internal clock period.
Registers in the EXTI controller latch each event. Even in stop mode, after the processor wakes up
from stop mode, it can identify the wake-up source or identify the GPIO and event that caused the
interrupt.
19of 78
PY32F003 Datasheet
The conversion mode of each channel can be set to single, continuous, sweep, discontinuous mode.
Conversion results are stored in left or right-aligned 16-bit data registers.
An analogue watchdog allows the application to detect if the input voltage exceeds a user-defined high
or low threshold.
The ADC has been implemented to operate at a low frequency, resulting in lower power consumption.
At the end of sampling, conversion, and continuous conversion, an interrupt request is generated when
the conversion voltage exceeds the threshold when simulating the watchdog.
Each COMP has interrupt generation capability to act as a wake-up of the chip from low-power modes
(sleep and stop modes) (via EXTI)
2.12. Timer
The characteristics of different timers of PY32F003 are shown in the following table:
20of 78
PY32F003 Datasheet
(input capture) or generating output waveforms (output compare, output PWM, complementary PWM
with dead-time insertion).
Input capture
Output comparison
If TIM1 is configured as a standard 16-bit timer, it has the same characteristics as the TIMx timer. Full
modulation capability (0-100%) if configured as a 16-bit PWM generator.
The timer feature with the same architecture is shared so that the TIM1 can work with other timers for
synchronization or event chaining through the timer chaining function.
The general-purpose timer TIM3 consists of a 16-bit auto-reload counter driven by a 16-bit program-
mable prescaler. It has 4 independent channels, each for input capture/output compare, PWM or single
pulse mode output.
TIM3 can work with TIM1 through the timer link function.
The TIM3 can process quadrature (incremental) encoder signals and digital outputs from 1 to 3 Hall
Effect Sensors.
[Link]. TIM14
The general-purpose timer TIM14 consists of a 16-bit auto-reload counter driven by a 16-bit program-
mable prescaler.
TIM14 has one independent channel for input capture/output compare, PWM or single pulse mode
output.
[Link]. TIM16/TIM17
The general-purpose timer TIM16 and TIM17 consists of a 16-bit auto-reload counter driven by a 16-
bit programmable prescaler.
21of 78
PY32F003 Datasheet
TIM16/TIM17 have 1 independent channel for input capture/output compare, PWM or single pulse
mode output.
TIM16/TIM17 have one independent channel for input capture/output compare, PWM or single pulse
mode output.
In the MCU debug mode, LPTIM can freeze the count value.
2.12.4. IWDG
Independent watchdog (IWDG) is integrated in the chip, and this module has the characteristics of
high-security level, accurate timing and flexible use. IWDG finds and resolves functional confusion due
to software failure and triggers a system reset when the counter reaches the specified timeout value.
The IWDG is clocked by LSI, so even if the main clock fails, it can keep working.
IWDG is the best suited for applications that require the watchdog as a standalone process outside of
the main application and do not have high timing accuracy constraints.
IWDG is the wake-up source of stop mode, which wakes up stop mode by reset.
In the MCU debug mode, IWDG can freeze the count value.
2.12.5. WWDG
The system window watchdog is based on a 7-bit down counter and can be set to free-run. It acts as
a watchdog to reset the system when a failure shows. The count clock is the APB clock (PCLK). It has
early warning interrupt capability, and the counter can be freeze in the MCU debug mode.
SysTick Features:
Self-loading capability
22of 78
PY32F003 Datasheet
The RTC counter clock source can be LSI and the stop wake-up source.
RTC can generate alarm interrupt, second interrupt and overflow interrupt (maskable).
I2C Features:
Slave and master mode
Multi-host function: can be master or slave
Support different communication speeds
— Standard Mode (Sm): Up to 100 kHz
— Fast Mode (Fm): up to 400 kHz
As master
— Generate Clock
— Generation of Start and Stop
As slave
— Programmable I2C address detection
— Discovery of the Stop bit
7-bit addressing mode
General call
Status flag
— Transmit/receive mode flags
— Byte transfer complete flag
— I2C busy flag bit
Error flag
— Master a rbitration loss
— ACK failure after address/data transfer
— Start/Stop error
— Overrun/Underrun (clock stretching function disable)
23of 78
PY32F003 Datasheet
The Universal Synchronous Asynchronous Transceiver (USART) provides a flexible method for full-
duplex data exchange with external devices using the industry-standard NRZ asynchronous serial data
format. The USART utilizes a fractional baudrate generator to provide a wide range of baudrate options.
High-speed data communication can be achieved by using the DMA method of the multi-buffer config-
uration.
USART features:
Full-duplex asynchronous communication
NRZ standard format
Configurable 16 times or 8 times oversampling for increased flexibility in speed and clock toler-
ance
Programmable baudrate shared by transmit and receive, up to 4.5 Mbit/s
Automatic baudrate detection
Programmable data length of 8 or 9 bits
Configurable stop bits (1 bit or 2 bits)
Synchronous mode and clock output function for synchronous communication
Single-wire half-duplex communication
Independent transmit and receive enable bits
Hardware flow control
Receive/transmit bytes by DMA buffer
Detection flag
— Receive full buffer
— Send empty buffer
— End of transmission
Parity Control
— Send check digit
— Check the received data
24of 78
PY32F003 Datasheet
Serial Peripheral Interface (SPI) allows the chip to communicate with external devices in half-duplex,
full-duplex, and simplex synchronous serial communication. This interface can be configured in master
mode and provides the communication clock (SCK) for external slave devices. The interface can also
work in a multi-master configuration.
25of 78
PY32F003 Datasheet
2.17. SWD
The ARM SWD interface allows serial debugging tools to be connected to the PY32F003.
26of 78
PY32F003 Datasheet
3. Pin configuration
PA4
PA2
PA1
PA0
PA3
19
16
20
18
17
0
PA5 1 15 PF2-NRST
PA6 2 14 PF1
VSS 4 12 PF4
PA12 5 11 PB7
Exposed pad
10
7
9
6
8 VSS
PA13-SWD
PA14-SWC
PB6
PB5
VCC
PF1
PF0
17
16
20
19
18
0
PA2 1 15 PB8
PA3 2 14 PF4
PA4 3 QFN20 13 PB7
VSS 4 12 PB5
PB2 5 11 PB4
Exposed pad
10
6
8
7
VSS
PA13-SWD
PA14-SWC
PA10
PA9
VCC
27of 78
PY32F003 Datasheet
PA2 1 20 PA1
PA3 2 19 PA0
PA4 3 18 PF2-NRST
TSSOP20
PA5 4 17 PF1
PA6 5 16 PF0
PA7 6 15 PF4
VSS 7 14 PB7
PA12 8 13 PB6
VCC 9 12 PB5
PA13-SWD 10 11 PA14-SWC
PA3 1 20 PA2
PA4 2 19 PA1
PA5 3 18 PA0
TSSOP20
PA6 4 17 PF2-NRST
PA7 5 16 PF1
PB1 6 15 PF0
VSS 7 14 PF4
PB2 8 13 PB3
VCC 9 12 PA14-SWC
PA12 10 11 PA13-SWD
PA1 1 20 PA0
PA2 2 19 PF2-NRST
PA3 3 18 PF4
TSSOP20
PA4 4 17 PB7
PF0 5 16 PB6
PA7 6 15 PB5
VSS 7 14 PB4
PB2 8 13 PB3
VCC 9 12 PA14-SWC
PA12 10 11 PA13-SWD
28of 78
PY32F003 Datasheet
PF1 1 20 PF0
PA2/PF2-NRST 2 19 PA7
PA3 3 18 PA13-SWD
TSSOP20
PA4 4 17 PA14-SWC
PB0 5 16 PB4
PB1 6 15 PB3
VSS 7 14 PA15
PB2 8 13 PA12
VCC 9 12 PA11
PA9 10 11 PA10
PA2 1 20 PA1
PA3 2 19 PF3
PA4 3 18 PF2-NRST
TSSOP20
PA5 4 17 PF1
PA6 5 16 PF0
PA7 6 15 PF4
VSS 7 14 PB8
PB2 8 13 PB6
VCC 9 12 PB5
PA13-SWD 10 11 PA14-SWC
VCC 1 20 PA7
VSS 2 19 PA6
PB1 3 18 PA4
TSSOP20
PA10 4 17 PA3
PA11 5 16 PA2
PA12 6 15 PA1
PA14-SWC 7 14 PA0
PA13-SWD 8 13 PF2-NRST
PB0 9 12 PF1
PA5 10 11 PF0
29of 78
PY32F003 Datasheet
PA4 1 20 PA1
PA5 2 19 PA0
PA6 3 18 PF2-NRST
PA7 4 17 PF1
SOP20
PB0 5 16 PF0
PB1 6 15 PA2
VSS 7 14 PA3
PB2 8 13 PF4
VCC 9 12 PA14-SWC
PA12 10 11 PA13-SWD
VSS 1 16 VCC
PA12 2 15 PB1
PA13-SWD 3 14 PB0
SOP16
PF1/PA14-SWC 4 13 PA7
PF0/PF2-NRST 5 12 PA6
PA0 6 11 PA5
PA1 7 10 PA4
PA2 8 9 PA3
VCC 1 10 VSS
MSOP10
PA12/PA13-SWD 2 9 PA2
PB6/PA14-SWC 3 8 PA1
PA4 4 7 PA0
PA3 5 6 PF2-NRST
VCC 1 8 VSS
SOP8
PA0 2 7 PB5/PA14-SWC
PA1 3 6 PA10/PA13-SWD
PA2 4 5 PB0/PF2-NRST
30of 78
PY32F003 Datasheet
VCC 1 8 VSS
SOP8
PA0 2 7 PB7/PA14-SWC
PA1 3 6 PA10/PA13-SWD
PA2 4 5 PB0/PF2-NRST
VCC 1 8 PB5
PA0 2 7 PA14-SWC/PB6
DFN8
PA1 3 6 PA13-SWD/PA10
Exposed pad
PA2 4 5 PB0/PF2-NRST
VSS
31of 78
PY32F003 Datasheet
Port structure
Port type
TSSOP20 F1
TSSOP20 F2
TSSOP20 F3
TSSOP20 F4
TSSOP20 F5
TSSOP20 F6
SOP20 F1
QFN20 F1
QFN20 F2
Notes
Reset
Multiplexing Additional
USART2_RX
TIM14_CH1
13 16 16 15 5 20 16 11 16 PF0-OSC_IN I/O COM USART1_RX OSC_IN
USART2_TX
I2C_SDA
USART2_TX
USART1_TX
USART2_RX
14 17 17 16 - 1 17 12 17 PF1-OSC_OUT I/O COM OSC_OUT
I2C_SCL
SPI1_NSS
TIM14_CH1
MCO
15 18 18 17 19 2 18 13 18 PF2-NRST I/O RST (1) NRST
USART2_RX
USART1_TX
USART2_TX
- - - - - - 19 - - PF3 I/O COM RTC_OUT COMP2_INP
SPI1_NSS
TIM3_CH3
USART1_CTS
USART2_CTS
ADC_IN0
16 19 19 18 20 - - 14 19 PA0 I/O COM COMP1_OUT
COMP1_INM
TIM1_CH3
TIM1_CH1N
32of 78
PY32F003 Datasheet
Packages Functions
Port structure
Port type
TSSOP20 F1
TSSOP20 F2
TSSOP20 F3
TSSOP20 F4
TSSOP20 F5
TSSOP20 F6
SOP20 F1
QFN20 F1
QFN20 F2
Notes
Reset
Multiplexing Additional
SPI1_MISO
USART2_TX
IR_OUT
SPI1_SCK
USART1_RTS
USART2_RTS
EVENTOUT
ADC_IN1
17 20 20 19 1 - 20 15 20 PA1 I/O COM SPI1_MOSI
COMP1_INP
USART2_RX
TIM1_CH4
TIM1_CH2N
MCO
SPI1_MOSI
USART1_TX
USART2_TX
ADC_IN2
18 1 1 20 2 2 1 16 15 PA2 I/O COM COMP2_OUT
COMP2_INM
SPI1_SCK
TIM3_CH1
I2C_SDA
USART1_RX
USART2_RX
EVENTOUT ADC_IN3
19 2 2 1 3 3 2 17 14 PA3 I/O COM
SPI1_MOSI COMP2_INP
TIM1_CH1
I2C_SCL
33of 78
PY32F003 Datasheet
Packages Functions
Port structure
Port type
TSSOP20 F1
TSSOP20 F2
TSSOP20 F3
TSSOP20 F4
TSSOP20 F5
TSSOP20 F6
SOP20 F1
QFN20 F1
QFN20 F2
Notes
Reset
Multiplexing Additional
SPI1_NSS
USART1_CK
TIM14_CH1
USART2_CK
20 3 3 2 4 4 3 18 1 PA4 I/O COM ADC_IN4
ENENTOUT
RTC_OUT
TIM3_CH3
USART2_TX
SPI1_SCK
LPTIM_ETR
EVENTOUT
1 - 4 3 - - 4 10 2 PA5 I/O COM ADC_IN5
TIM3_CH2
USART2_RX
MCO
SPI1_MISO
TIM3_CH1
TIM1_BKIN
2 - 5 4 - - 5 19 3 PA6 I/O COM TIM16_CH1 ADC_IN6
COMP1_OUT
USART1_CK
RTC_OUT
SPI1_MOSI
TIM3_CH2
3 - 6 5 6 19 6 20 4 PA7 I/O COM ADC_IN7
TIM1_CH1N
TIM14_CH1
34of 78
PY32F003 Datasheet
Packages Functions
Port structure
Port type
TSSOP20 F1
TSSOP20 F2
TSSOP20 F3
TSSOP20 F4
TSSOP20 F5
TSSOP20 F6
SOP20 F1
QFN20 F1
QFN20 F2
Notes
Reset
Multiplexing Additional
TIM17_CH1
EVENTOUT
COMP2_OUT
USART1_TX
USART2_TX
I2C_SDA
SPI1_MISO
SPI1_NSS
TIM3_CH3
- - - - - 5 - 9 5 PB0 I/O COM TIM1_CH2N ADC_IN8
EVENTOUT
COMP1_OUT
TIM14_CH1
TIM3_CH4 ADC_IN9
- - - 6 - 6 - 3 6 PB1 I/O COM
TIM1_CH3N COMP1_INM
EVENTOUT
4 4 7 7 7 7 - 2 7 VSS S Ground
USART1_RX
- 5 - 8 8 8 8 - 8 PB2 I/O COM COMP1_INP
USART2_RX
6 6 9 9 9 9 9 1 9 VCC S Digital power supply
USART1_CK
TIM1_CH1
- - - - - - - - - PA8 I/O COM USART2_CK -
MCO
EVENTOUT
35of 78
PY32F003 Datasheet
Packages Functions
Port structure
Port type
TSSOP20 F1
TSSOP20 F2
TSSOP20 F3
TSSOP20 F4
TSSOP20 F5
TSSOP20 F6
SOP20 F1
QFN20 F1
QFN20 F2
Notes
Reset
Multiplexing Additional
USART1_RX
USART2_RX
SPI1_MOSI
I2C_SCL
USART1_TX
TIM1_CH2
MCO
I2C_SCL
- 7 - - - 10 - - - PA9 I/O COM EVENTOUT OSC32OUT
I2C_SDA
TIM1_BK
SPI1_SCK
USART1_RX
USART1_RX
TIM1_CH3
TIM17_BKIN
USART2_RX
I2C_SDA
- 8 - - - 11 - 4 - PA10 I/O COM OS32IN
EVENTOUT
I2C_SCL
SPI1_NSS
USART1_TX
IR_OUT
SPI1_MISO
- - - - - 12 - 5 - PA11 I/O COM -
USART1_CTS
36of 78
PY32F003 Datasheet
Packages Functions
Port structure
Port type
TSSOP20 F1
TSSOP20 F2
TSSOP20 F3
TSSOP20 F4
TSSOP20 F5
TSSOP20 F6
SOP20 F1
QFN20 F1
QFN20 F2
Notes
Reset
Multiplexing Additional
TIM1_CH4
EVENTOUT
USART2_CTS
I2C_SCL
COMP1_OUT
SPI1_MOSI
USART1_RTS
TIM1_ETR
5 - 8 10 10 13 - 6 10 PA12 I/O COM USART2_RTS -
EVENTOUT
I2C_SDA
COMP2_OUT
SWDIO
IR_OUT
EVENTOUT
PA13
7 9 10 11 11 18 10 8 11 I/O COM (2) SPI1_MISO -
(SWDIO)
TIM1_CH2
USART1_RX
MCO
SWCLK
USART1_TX
PA14
8 10 11 12 12 17 11 7 12 I/O COM (2) USART2_TX -
(SWCLK)
EVENTOUT
MCO
- - - - - 14 - - - PA15 I/O COM SPI1_NSS -
37of 78
PY32F003 Datasheet
Packages Functions
Port structure
Port type
TSSOP20 F1
TSSOP20 F2
TSSOP20 F3
TSSOP20 F4
TSSOP20 F5
TSSOP20 F6
SOP20 F1
QFN20 F1
QFN20 F2
Notes
Reset
Multiplexing Additional
USART1_RX
USART2_RX
EVENTOUT
SPI1_SCK
TIM1_CH2
- - - 13 13 15 - - - PB3 I/O COM USART1_RTS COMP2_INM
USART2_RTS
EVENTOUT
SPI1_MISO
TIM3_CH1
USART2_CTS
- 11 - - 14 16 - - - PB4 I/O COM COMP2_INP
USART1_CTS
TIM17_BKIN
EVENTOUT
SPI1_MOSI
TIM3_CH2
TIM16_BKIN
9 12 12 - 15 - 12 - - PB5 I/O COM USART2_CK -
USART1_CK
LPTIM_IN1
COMP1_OUT
USART1_TX
TIM1_CH3
10 - 13 - 16 - 13 - - PB6 I/O COM COMP2_INP
TIM16_CH1N
USART2_TX
38of 78
PY32F003 Datasheet
Packages Functions
Port structure
Port type
TSSOP20 F1
TSSOP20 F2
TSSOP20 F3
TSSOP20 F4
TSSOP20 F5
TSSOP20 F6
SOP20 F1
QFN20 F1
QFN20 F2
Notes
Reset
Multiplexing Additional
I2C_SCL
LPTIM_ETR
EVENTOUT
USART1_RX
TIM17_CH1N
COMP2_INM
11 13 14 - 17 - - - - PB7 I/O COM USART2_RX
PVD_IN
I2C_SDA
EVENTOUT
TIM16_CH1
I2C1_SCL
USART2_TX
EVENTOUT
- 15 - - - - 14 - - PB8 I/O COM COMP1_INP
USART1_TX
I2C_SDA
TIM17_CH1
IR_OUT
- - - - - - - - - VSS S Ground
1. Selecting PF2 or NRST is configured through option bytes .
2. After reset, the two pins of PA13 and PA14 are configured as SWDIO and SWCLK AF function, the former internal pull-up resistor, the latter internal pull-down
resistor is activated.
3. PF4 -BOOT0 is the default digital input mode, and the pull-down is enabled.
39of 78
PY32F003 Datasheet
Port structure
Port type
MSOP10 P1
SOP16 W1
Notes
Reset
Multiplexing Additional
1 10 VSS S Ground
SPI1_MOSI
USART1_RTS
TIM1_ETR
2 2 PA12 I/O COM USART2_RTS -
EVENTOUT
I2C_SDA
COMP2_OUT
SWDIO
IR_OUT
EVENTOUT
3 2 PA13(SWDIO) I/O COM (2) SPI1_MISO -
TIM1_CH2
USART1_RX
MCO
USART2_TX
USART1_TX
USART2_RX
4 - PF1-OSC_OUT-(PF1) I/O COM OSC_OUT
I2C_SCL
SPI1_NSS
TIM14_CH
SWCLK
4 3 PA14(SWCLK) I/O COM (2) USART1_TX -
USART2_TX
40of 78
PY32F003 Datasheet
Packages Functions
Port structure
Port type
MSOP10 P1
SOP16 W1
Notes
Reset
Multiplexing Additional
EVENTOUT
MCO
USART1_TX
TIM1_CH3
TIM16_CH1N
- 3 PB6 I/O COM USART2_TX COMP2_INP
I2C_SCL
LPTIM_ETR
EVENTOUT
USART2_RX
TIM14_CH1
5 - PF0-OSC_IN-(PF0) I/O COM USART1_RX OSC_IN
USART2_TX
I2C_SDA
MCO
5 6 PF2-NRST I/O RST (1) NRST
USART2_RX
USART1_CTS
USART2_CTS
COMP1_OUT
TIM1_CH3 ADC_IN0
6 7 PA0 I/O COM
TIM1_CH1N COMP1_INM
SPI1_MISO
USART2_TX
IR_OUT
7 8 PA1 I/O COM SPI1_SCK
41of 78
PY32F003 Datasheet
Packages Functions
Port structure
Port type
MSOP10 P1
SOP16 W1
Notes
Reset
Multiplexing Additional
USART1_RTS
USART2_RTS
EVENTOUT
SPI1_MOSI COMP1_INP
USART2_RX ADC_IN1
TIM1_CH4
TIM1_CH2N
MCO
SPI1_MOSI
USART1_TX
USART2_TX
COMP2_INM
8 9 PA2 I/O COM COMP2_OUT
ADC_IN2
SPI1_SCK
TIM3_CH1
I2C_SDA
USART1_RX
USART2_RX
EVENTOUT COMP2_INP
9 5 PA3 I/O COM
SPI1_MOSI ADC_IN3
TIM1_CH1
I2C_SCL
SPI1_NSS
USART1_CK
10 4 PA4 I/O COM ADC_IN4
TIM14_CH1
USART2_CK
42of 78
PY32F003 Datasheet
Packages Functions
Port structure
Port type
MSOP10 P1
SOP16 W1
Notes
Reset
Multiplexing Additional
ENENTOUT
RTC_OUT
TIM3_CH3
USART2_TX
SPI1_SCK
LPTIM_ETR
EVENTOUT
11 - PA5 I/O COM ADC_IN5
TIM3_CH2
USART2_RX
MCO
SPI1_MISO
TIM3_CH1
TIM1_BKIN
TIM16_CH1
12 - PA6 I/O COM ADC_IN6
EVENTOUT
COMP1_OUT
USART1_CK
RTC_OUT
SPI1_MOSI
TIM3_CH2
TIM1_CH1N
13 - PA7 I/O COM TIM14_CH1 ADC_IN7
TIM17_CH1
EVENTOUT
COMP2_OUT
43of 78
PY32F003 Datasheet
Packages Functions
Port structure
Port type
MSOP10 P1
SOP16 W1
Notes
Reset
Multiplexing Additional
USART1_TX
USART2_TX
I2C_SDA
SPI1_MISO
SPI1_NSS
TIM3_CH3
14 - PB0 I/O COM TIM1_CH2N ADC_IN8
EVENTOUT
COMP1_OUT
TIM14_CH1
TIM3_CH4 COMP1_INM
15 - PB1 I/O COM
TIM1_CH3N ADC_IN9
EVENTOUT
16 1 VCC S Digital power supply
1. Selecting PF2 or NRST is configured through option bytes .
2. After reset, the two pins of PA13 and PA14 are configured as SWDIO and SWCLK AF function, the former internal pull-up resistor, the latter internal pull-down
resistor is activated.
44of 78
PY32F003 Datasheet
Port struc-
Packages
Port type
Notes
SOP8 L1
SOP8 L2
ture
Reset
Multiplexing Additional
45of 78
PY32F003 Datasheet
Functions
Port struc-
Packages
Port type
Notes
SOP8 L1
SOP8 L2
ture
Reset
Multiplexing Additional
TIM1_CH3
TIM17_BKIN
I2C_SDA
EVENTOUT
I2C_SCL
SPI1_NSS
USART1_TX
IR_OUT
SWDIO
IR_OUT
EVENTOUT
PA13(SWDIO) I/O COM (2) SPI1_MISO -
TIM1_CH2
USART1_RX
MCO
SWCLK
USART1_TX
7 PA14(SWCLK) I/O COM (2) -
EVENTOUT
MCO
SPI1_MOSI
7
TIM3_CH2
TIM16_BKIN
- PB5 I/O COM_L
USART1_CK
LPTIM_IN1
COMP1_OUT
COMP2_INM
- 7 PB7 I/O COM_L USART1_RX
PVD_IN
46of 78
PY32F003 Datasheet
Functions
Port struc-
Packages
Port type
Notes
SOP8 L1
SOP8 L2
ture
Reset
Multiplexing Additional
TIM17_CH1N
USART2_RX
I2C_SDA
EVENTOUT
8 - VSS S Digital power supply
1. Selecting PF2 or NRST is configured through option bytes .
2. After reset, the two pins of PA13 and PA14 are configured as SWDIO and SWCLK AF function, the former internal pull-up resistor, the latter internal pull-down
resistor is activated.
Port structure
Packages Port type
Notes
DFN8 L2
Reset
Multiplexing Additional
47of 78
PY32F003 Datasheet
Functions
Port structure
Packages
Port type
Notes
DFN8 L2 Reset
Multiplexing Additional
TIM1_CH4
TIM1_CH2N
MCO
SPI1_MOSI
USART1_TX
COMP2_OUT COMP2_INM
4 PA2 I/O COM
SPI1_SCK ADC_IN2
TIM3_CH1
I2C_SDA
PF2-NRST I/O RST (1) MCO NRST
SPI1_NSS
TIM3_CH3
5
PB0 I/O COM TIM1_CH2N ADC_IN8
EVENTOUT
COMP1_OUT
USART1_RX
TIM1_CH3
TIM17_BKIN
I2C_SDA
PA10 I/O COM EVENTOUT OS32IN
6 I2C_SCL
SPI1_NSS
USART1_TX
IR_OUT
SWDIO
PA13(SWDIO) I/O COM (2) -
IR_OUT
48of 78
PY32F003 Datasheet
Functions
Port structure
Packages
Port type
Notes
DFN8 L2 Reset
Multiplexing Additional
EVENTOUT
SPI1_MISO
TIM1_CH2
USART1_RX
MCO
SWCLK
USART1_TX
PA14(SWCLK) I/O COM (2) -
EVENTOUT
MCO
USART1_TX
7
TIM1_CH3
TIM16_CH1N
PB6 I/O COM COMP2_INP
I2C_SCL
LPTIM_ETR
EVENTOUT
SPI1_MOSI
TIM3_CH2
TIM16_BKIN
8 PB5 I/O COM_L -
USART1_CK
LPTIM_IN1
COMP1_OUT
1. Selecting PF2 or NRST is configured through option bytes .
2. After reset, the two pins of PA13 and PA14 are configured as SWDIO and SWCLK AF function, the former internal pull-up resistor, the latter internal pull-down
resistor is activated.
49of 78
PY32F003 Datasheet
50of 78
PY32F003 Datasheet
51of 78
PY32F003 Datasheet
4. Memory Map
0xFFFF FFFF
User space
Block 6
Block 5
0x4002 63FF
0xA000 0000 AHB
0x4002 0000
Block 4
0x4001 5BFF
APB
0x8000 0000 0x4001 0000
0x4000 A7FF
Block 3
APB
0x4000 0000
0x6000 0000
52of 78
PY32F003 Datasheet
53of 78
PY32F003 Datasheet
54of 78
PY32F003 Datasheet
1. The address space marked as Reserved by AHB in the above table cannot be written, read is 0, and a
hardfault is generated. The address space marked as Reserved by APB cannot be written, read back
as 0, but no hardfault will be generated.
2. Not only supports 32 bits word access, but also supports halfword and byte access.
3. Not only supports 32 bits word access, but also supports halfword access.
55of 78
PY32F003 Datasheet
5. Electrical characteristics
5.1. Test conditions
All voltages are referenced to VSS unless otherwise specified.
Based on electrical characterization results, design simulations, and/or process parameters noted
below the table, not tested in production. Minimum and maximum values are referenced to sample
testing and averaged plus or minus three times the standard deviation.
Typical ADC accuracy values are obtained by sampling a standard batch, tested under all temperature
ranges, and 95% of the chip error is less than or equal to the given value.
56of 78
PY32F003 Datasheet
57of 78
PY32F003 Datasheet
58of 78
PY32F003 Datasheet
Condition
Typical Maxi-
Symbol System Peripheral FLASH (1) Unit
Frequency Code Run mum
clock clock sleep
(1)
OFF DISABLE 0.9 -
ON DISABLE 1.1 -
16 MHz
OFF DISABLE 0.7 -
ON DISABLE 0.7 -
8 MHz
OFF DISABLE 0.5 -
ON DISABLE 0.5 -
4 MHz
OFF DISABLE 0.35 -
ON DISABLE 170 -
32.768 kHz
OFF DISABLE 170 -
LSI uA
ON ENABLE 95 -
32.768 kHz
OFF ENABLE 95 -
59of 78
PY32F003 Datasheet
Condition
Typical
Symbol MR/ Peripheral (1) Maximum Unit
VCC VDD LSI
LPR clock
OFF No 6 -
RTC+IWDG+LP
4.5 -
TIM
IWDG 4.5 -
ON
1.0 V LPTIM 4.5 -
RTC 4.5 -
OFF No 4.5 -
In the bypass mode of HSE (the HSEBYP of RCC_CR is set), when the high-speed start-up circuit in
the chip stops working, the corresponding IO is used as a standard GPIO.
Tw(HSEH)
VHSEH
90%
10%
VHSEL
tr(HSE) tf(HSE) t
Tw(HSEL)
THSE
60of 78
PY32F003 Datasheet
An external 4~32 MHz crystal/ceramic resonator. In the application, the crystal and load capacitors
should be as close as possible to the pins to minimize output distortion and start-up settling time.
3. tSU(HSE) is the start-up time from enable (by software) to the clock oscillation reaches stability, measured for
a standard crystal/resonator, which can vary greatly from one crystal/resonator to another .
61of 78
PY32F003 Datasheet
62of 78
PY32F003 Datasheet
63of 78
PY32F003 Datasheet
1. IO types can refer to the terms and symbols defined by the pins.
64of 78
PY32F003 Datasheet
65of 78
PY32F003 Datasheet
66of 78
PY32F003 Datasheet
I2C interface meets the requirements of the I2C -bus specification and user manual :
Standard-mode(Sm): 100 kbit/s
Fast-mode(Fm): 400 kbit/s
Timing is guaranteed by design, provided the I2C peripheral is properly configured and the I2C CLK
frequency is greater than the minimum required in the table below.
67of 78
PY32F003 Datasheet
2. Slave has a maximum of 1 PCLK based on the sending edge of SCK delay, considering IO delay, etc.,
define 1.5 PCLK.
3. In the case that the SCK duty cycle sent by the Master is wide between the receiving edge and the send-
ing edge, the Slave updates the data before the sending edge.
NSS input
Th(NSS)
Tc(SCK)
Tr(SCK)
Tsu(NSS) Tw(SCKH)
CPHA=0
CPOL=0
SCK input
CPHA=0
CPOL=1
Ta(SO) Th(SO) Tf(SCK) Tdis(SO)
Tw(SCKL) Tv(SO)
MISO output First bit OUT Next bits OUT Last bit OUT
Th(SI)
Tsu(SI)
68of 78
PY32F003 Datasheet
NSS input
Tc(SCK) Th(NSS)
Tf(SCK)
Tsu(NSS) Tw(SCKH)
CPHA=1
CPOL=0
SCK input
CPHA=1
CPOL=1
Ta(SO) Tr(SCK) Tdis(SO)
Tw(SCKL) Tv(SO) Th(SO)
MISO output First bit OUT Next bits OUT Last bit OUT
Tsu(SI) Th(SI)
NSS input
Tc(SCK)
CPHA=0
CPOL=0
SCK input
CPHA=0
CPOL=1
CPHA=1
CPOL=0
SCK input
CPHA=1
CPOL=1
Tw(SCKH)
Tsu(MI)
Tw(SCKL)
Th(MI)
Tv(MO) Th(MO)
69of 78
PY32F003 Datasheet
6. Package information
6.1. QFN20
D
20
Pin1
1
2 E
A
A1
c
BOTTOM VIEW
Common Dimensions
(Unit of Measure=millimeters)
L
E2
b1
70of 78
PY32F003 Datasheet
6.2. TSSOP20
20
E1
C
E
A1
L
α
L1
Common Dimensions
(Unit of Measure=millimeters)
Symbol Min Typ Max
A - - 1.200
A2
A
D A1 0.050 - 0.150
b 0.200 - 0.280
e c 0.090 - 0.200
b
A1
71of 78
PY32F003 Datasheet
6.3. SOP20
20
E
E1
C
1
A1
L
α
L1
Common Dimensions
(Unit of Measure=millimeters)
A 2.650
A
D 0.100 0.300
A1
A2 2.100 2.300 2.500
b 0.330 0.510
e b 0.200 0.330
c
A1
θ 0 8°
72of 78
PY32F003 Datasheet
6.4. SOP16
b e
16
E1
E
1
A2
A
A1
h
Common Dimensions
(Unit of Measure=millimeters)
A2 1.30 - -
b 0.31 - 0.51
c 0.10 - 0.25
D 9.80 - 10.20
E 5.80 - 6.20
E1 3.80 - 4.20
θ
e 1.27BSC
L 0.40 - 1.27
L L1 1.05REF
L1 θ 0 - 8°
h 0.25 - 0.50
73of 78
PY32F003 Datasheet
6.5. MSOP10
10
E1
C
1
A1
L
θ
b e
L1
Common Dimensions
(Unit of Measure=millimeters)
Symbol Min Typ Max
D
A 1.100
A1 0.050 0.150
b 0.180 0.270
c 0.150 0.200
D 2.900 3.000 3.100
4.700 4.900 5.100
A1
E
E1 2.900 3.000 3.100
e 0.500
L 0.400 0.700
L1 0.950
θ 0 8°
74of 78
PY32F003 Datasheet
6.6. SOP8
E1
C
h
1
A1
b L
θ
L1
Common Dimensions
(Unit of Measure=millimeters)
Symbol Min Typ Max
D
A 1.350 1.750
A1 0.100 0.250
A2 1.250
A2
A
b 0.310 0.510
c 0.170 0.250
D 4.800 4.900 5.000
A1
θ 0 8°
h 0.25 0.50
75of 78
PY32F003 Datasheet
6.7. DFN8(3*2)
76of 78
PY32F003 Datasheet
7. Ordering Information
Example:
PY 32 F 003 F1 6 T 6 x - X
Company
Product family
®
ARM based 32-bit microcontroller
Product type
F = General purpose
Sub-family
003 = PY32F003xx
Pin count
F1 = 20 pins Pinout1
F2 = 20 pins Pinout2
F3 = 20 pins Pinout3
F4 = 20 pins Pinout4
F5 = 20 pins Pinout5
F6 = 20 pins Pinout6
W1 = 16 pins Pinout1
A1 = 10 pins Pinout1
L1 = 8 pins Pinout1
L2 = 8 pins Pinout2
User code memory size
8 = 64 Kbytes
7 = 48 Kbytes
6 = 32 Kbytes
4 = 16 Kbytes
Package
U = QFN
P = TSSOP
S = SOP
N = MSOP
D = DFN
Temperature range
6 = -40 to +85
7 = -40 to +105
Options
xxx = code ID of programmed parts(includes packing type)
TR = tape and reel packing
TU = Tube Packing
blank = tray packing
Delimiter character
Version
X = Version X
77of 78
PY32F003 Datasheet
8. Version history
Version Date Description
V1.0 2022-01-14 Initial version
1. Updated Table 2-1
V1.1 2022-01-18
2. Updated Table 6-15
V1.2 2022-01-24 1. Updated parameters in Table 6-30
V1.3 2023-01-24 1. Updated the format
V1.4 2024-02-06 1. Add SOP20/SOP16/MSOP10/DFN8(3*2) /SOP8 packages
V1.5 2024-02-23 1. Add PY32F003F16U6-E(QFN20 package)
V1.6 2024-03-13 1. Add PY32F003F16P6-E/PY32F003F18U7-E
V1.7 2024-05-16 1. Add PY32F003F68P7-E (TSSOP20 package)
IMPORTANT NOTICE
Puya reserve the right to make changes, corrections, enhancements, modifications to Puya products and/or to this document at any time with-
out notice. Purchasers should obtain the latest relevant information of Puya products before placing orders.
Puya products are sold pursuant to terms and conditions of sale in place at the time of order acknowledgement.
Purchasers are solely responsible for the choice and use of Puya products. Puya does not provide service support and assumes no responsi-
bility when products that are used on its own or designated third party products.
Puya hereby disclaims any license to any intellectual property rights, express or implied.
Resale of Puya products with provisions inconsistent with the information set forth herein shall void any warranty granted by Puya.
Any with Puya or Puya logo are trademarks of Puya. All other product or service names are the property of their respective owners.
The information in this document supersedes and replaces the information in the previous version.
78of 78