Skip to main content

PY32F002BF15U6TU

Microcontroller (MCU)

The PY32F002BF15U6TU is a microcontroller (mcu) from Shanghai. View the full PY32F002BF15U6TU datasheet below including pinout, electrical characteristics, absolute maximum ratings.

Manufacturer

Shanghai

Category

Microcontroller (MCU)

Overview

Part: PY32F002B — Puya Semiconductor (Shanghai) Co., Ltd

Type: 32-bit ARM Cortex-M0+ MCU

Description: 32-bit ARM Cortex-M0+ MCU with 24 Kbytes Flash, 3 Kbytes SRAM, up to 24 MHz CPU frequency, 1.7–5.5 V operating voltage, and -40 to 85 °C operating temperature.

Operating Conditions:

  • Supply voltage: 1.7 V ~ 5.5 V
  • Operating temperature: -40 to 85 °C
  • Max CPU frequency: Up to 24 MHz

Features:

  • 32-bit ARM Cortex-M0+ core, up to 24 MHz
  • 24 Kbytes Flash memory
  • 3 Kbytes SRAM
  • Internal 24 MHz RC Oscillator (HSI)
  • Internal 32.768 KHz RC Oscillator (LSI)
  • 32.768 KHz low speed crystal oscillator (LSE)
  • Low power modes: Sleep/Stop
  • Power-on/Power-down reset (POR/PDR)
  • Brownout Detect Reset (BOR)
  • Up to 18 I/Os, all available as external interrupts
  • 1x 12-bit ADC, supports up to 8 external input channels and 2 internal channels
  • Four ADC reference sources: Built-in 1.5 V/2.048 V/2.5 V, supply voltage VCC
  • A 16-bit advanced control timer (TIM1)
  • A general purpose 16-bit timer (TIM14)
  • A low-power timer (LPTIM), supports wakeup from stop mode
  • An Independent Watching Timer (IWDG)
  • A SysTick timer
  • A Serial Peripheral Interface (SPI)
  • A Universal Synchronous/Asynchronous Transceiver (USART)
  • A I2C interface, supports standard mode (100 KHz), fast mode (400 KHz), 7-bit addressing mode
  • Hardware CRC-32 module
  • Two compar

Features

  • Core
  • -32 bits ARM ® Cortex ® - M0+
  • -Up to 24 MHz as a maximum frequency
  • Memories
  • -24 Kbytes Flash memory
  • -3 Kbytes SRAM
  • Clock system
  • -Internal 24 MHz RC Oscillator (HSI)
  • -Internal 32.768 KHz RC Oscillator (LSI)
  • -32.768 KHz low speed crystal oscillator (LSE)
  • -External clock input
  • Power management and reset
  • -Operating voltage : 1.7 V ~ 5.5 V
  • -Low power modes: Sleep/Stop
  • -Power-on/Power-down reset (POR/PDR)
  • -Brownout Detect Reset (BOR)
  • General purpose input and output (I/O)
  • -Up to 18 I/Os , all available as external interrupts
  • 1 x 12 bits ADC
  • -Support up to 8 external input channels and 2 internal channels
  • -Four reference sources:

Built-in 1.5 V/2.048 V/2.5 V reference voltage, supply voltage VCC

  • Timer
  • -A 16 bits advanced control timer (TIM1)
  • -A general purpose 16-bit timer (TIM14)
  • -A low-power timer (LPTIM) , supports wakeup form stop mode
  • -An Independent Watching Timer (IWDG)
  • -A SysTick timer
  • Communication interface
  • -A Serial Peripheral Interface (SPI)
  • -A Universal Synchronous/Asynchronous Transceiver (USART) with automatic
  • -A I 2 C interface , supports standard mode (100 KHz) 、 fast mode (400 KHz) , support 7 bits addressing mode
  • Hardware CRC-32 module
  • Two comparators
  • Unique UID
  • Serial wire debug (SWD)
  • Working temp. : -40 ~ 85 ° C, -40 ~ 105 ° C
  • Package: QFN20, TSSOP20, QFN16 , SOP16, SOP14 , SOP8

Pin Configuration

PY32F002BF15U6TU — QFN20 Pinout

Pin NumberPin NameTypePort StructureDescription / Multiplexing FunctionsAdditional Features
1PC0-NRSTI/ORSTTIM1_CH1N, EVENTOUTNRST, ADC_IN5
2PC1-OSCINI/OCOMSPI_MISOOSCIN
3PB7-OSCOUTI/OCOMSPI_MOSI, TIM14_CH1OSCOUT
4VSSSGround
5PB6(SWDIO)I/OCOMSPI_MISO, USART_TX, I²C_SDAADC_IN6
6VCCSDigital power supply
7PB5I/OCOMSPI_NSS, USART_RX
8PB4I/OCOMUSART_TX, I²C_SDA, TIM1_BKIN
9PB3I/OCOMUSART_CK, I²C_SCL, TIM1_ETR, CMP1_OUT
10PB2I/OCOMSPI_SCK, USART_CTS, TIM1_CH1N
11PB1I/OCOMTIM1_CH3, USART_RTS, TIM1_CH2N, TIM1_CH4, MCOADC_IN0, CMP1_INP, CMP1_INM
12PB0I/OCOMSPI_SCK, USART_CK, TIM1_CH2ADC_IN7, CMP1_INM
13PA0I/OCOMSPI_MOSI, TIM1_CH1
14PA1I/OCOMTIM1_CH2
15PA2(SWCLK)I/OCOMUSART_RX, I²C_SCL, TIM1_CH4, CMP2_OUT
16PA3I/OCOMUSART_TX, TIM1_CH2ADC_IN1, CMP2_INP, CMP2_INM
17PA4I/OCOMUSART_RX, TIM1_CH3, TIM14_CH1ADC_IN2, CMP2_INM
18PA5I/OCOMUSART_CK, TIM1_CH1, TIM14_CH1
19PA6I/OCOMSPI_NSS, USART_TX, EVENTOUTADC_IN3, External_clock_in
20PA7I/OCOMSPI_MOSI, USART_TX, USART_RX, TIM1_CH4, MCO, SWDIOADC_IN4

Notes

  • PC0-NRST (Pin 1): Configurable as either PC0 or NRST/SWDIO via option bytes. When configured as NRST, it serves as the reset pin with internal pull-up.
  • PB6-SWDIO (Pin 5) and PA2-SWCLK (Pin 15): After reset, these pins are configured as SWDIO and SWCLK alternate functions (with internal pull-up and pull-down resistors respectively) depending on option byte configuration.
  • PA7 (Pin 20): Includes MCO and SWDIO multiplexing options.
  • All I/O ports are 5V-tolerant (COM type).
  • Pin numbers extracted from QFN20 package diagram (top view).

Electrical Characteristics

Table 5-22 ADC characteristics

SymbolParameterConditionMinimumTypicalMaximumUnit
I DDPower consumption@0.75 MSPS-300-μA
C IN (1)Internal sample and hold capacitors--5-pF
f ADCConvert clock frequencyV REF+ = V CC = 1.7 ~ 2.0 V0.836 (2)MHz
f ADCConvert clock frequencyV REF+ = V CC = 2.0 ~ 5.5 V0.8612 (2)MHz
f ADCConvert clock frequencyV REF+ = V REFBUF0.375-0.75MHz
t samp (1)Sampling timef ADC =8 MHz0.438-29.94μs
t samp (1)Sampling timeV CC = 1.7 ~ 2.0 V3.5-239.51/f ADC
t samp (1)Sampling timef ADC =12 MHz0.292-19.96μs
t samp (1)Sampling timeV CC = 2.0 ~ 5.5 V3.5-239.51/f ADC
t samp_setup (1)Sampling setupV REF+ = V CC = 2.3 ~ 5.5 V15--μs
SymbolParameterConditionMinimumTypicalMaximumUnit
time of V REFINT
t conv (1)Total conversion time--12-1/f ADC
t eoc (1)Conversion end time--0.5-1/f ADC
DNL (2)Differential linearity error--±2-LSB
INL (2)Integral linearity error--±3-LSB
Offset (2)Offset error--±2-LSB
  1. Data is based on assessment results and is not tested in production.

Absolute Maximum Ratings

If the applied voltage exceeds the absolute maximum value given in the table below, it may cause permanent damage to the chip. Only the strength ratings that can be tolerated are listed here, and it does not imply that the functional operation of the device is correct under these conditions. Operating under maximum conditions for a long time may affect the reliability of the chip.

Table 5-1 Voltage characteristics (1)

SymbolDescriptionMinimumMaximumUnit
V CCExternal mains power supply-0.36.25V
V INInput voltage of other pins-0.3V CC +0.3V
  1. Power supply VCC and ground VSS pins must always be connected to the external power supply within the allowable range.

Table 5-2 Current characteristics

SymbolDescriptionMaximumUnit
I VCCTotal current flowing into V CC pin supply current) (1)80mA
I VSSTotal current flowing out of V SS pin (outflow current) (1)80mA
I IO(PIN)Output sink current for all IOs20mA
SymbolDescriptionMaximumUnit
Source current for all IOs-20

Table 5-3 Temperature characteristics

SymbolDescriptionConditionValueUnit
T STGStorage temperature range--65 ~ +150° C
T ORange of working temperatureX6 version X7 version-40 ~ +85 -40 ~ +105° C

Ordering Information

No ordering information found in the provided section.

Data on this page is extracted from publicly available manufacturer datasheets using automated tools including AI. It may contain errors or omissions. Always verify specifications against the official manufacturer datasheet before making design or purchasing decisions. See our Terms of Service. Rights holders can submit a takedown request.

Get structured datasheet data via API

Get started free