PY32F002B Description:
The PY32F002B series microcontrollers feature a high-performance 32-bit ARM® Cortex®-M0+ core with a wide voltage operating range of MCUS. Embedded 24Kbytes Flash and 3Kbytes SRAM memory, up to 24MHz operating frequency. Includes a wide range of products in different package types. The chip integrates I2C, SPI, USART and other communication peripherals, 1 12bit ADC, 2 16bit timers, and 2 comparators.
The operating temperature of the PY32F002B series microcontrollers ranges from -40°C to 85°C and the operating voltage ranges from 1.7V to 5.5V. The chip provides sleep/stop low power operation mode, which can meet different low power applications.
The PY32F002B series of microcontrollers is suitable for a variety of application scenarios, such as controllers, handheld devices, PC peripherals, gaming and GPS platforms, industrial applications, etc.
PY32F002B Features:
Core
- 32-bit ARM® Cortex® -M0 +
- Maximum operating frequency of 24MHz
memorizer
- 24Kbytes Flash memory
— 3Kbytes SRAM
Clock system
- Internal 24MHz RC Oscillator (HSI)
- Internal 32.768KHz RC oscillator (LSI)
- 32.768KHz Low Speed Crystal Oscillator (LSE)
- External clock input
Power management and reset
- Operating voltage: 1.7V to 5.5V
- Low power mode: Sleep/Stop
- Power-on/power-off reset (POR/PDR)
- Power failure detection reset (BOR)
Universal input/Output (I/O)
- Up to 18 I/ OS can be used as external interrupts
- Drive current 8mA
1 x 12-bit ADC
- Supports a maximum of eight external input channels and two internal input channels
- VADC-REF Internal 1.5V, VCC
timer
- 1 16bit Advanced Control timer (TIM1)
- 1 universal 16-bit timer (TIM14)
- One Low power timer (LPTIM), which supports wake up from stop mode
- 1 Independent Watchdog Timer (IWDT)
- One SysTick timer
Communication interface
- 1 serial peripheral interface (SPI)
- One universal synchronous/asynchronous transceiver (USART) that supports automatic baud rate detection
- 1 I2C interface, support standard mode (100KHz), fast mode (400KHz), support 7-bit addressing mode
Hardware CRC-32 module
Two comparators
Unique UID
Serial Single-wire Debugging (SWD)
Operating temperature: -40~85°C
Package TSSOP20, QFN20, SOP16, SOP14,MSOP10
PY32F002B Function Module:
PY32F002B Clock System:
After the CPU starts, the default system clock frequency is HSI 24MHz. You can reconfigure the system clock frequency and clock source after the program runs. High frequency clocks to choose from are:
24MHz configurable internal high precision HSI clock.
A 32.768KHz configurable internal LSI clock.
4MHz to 32MHz External input clock
32.768KHz LSE clock.
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 24MHz.
PY32F002B Power block diagram:
PY32F002B Pin configuration:




PY32F002B Ordering Information: