32-bit Cortex®-M4 microcontroller with USB OTG(with PHY), QSPI, CAN, rich interfaces, 216 MHz CPU

AT32F402 series is based on ARM® Cortex®-M4 32-bit core operating at a frequency of up to 216 MHz. This device features a single-precision floating point unit (FPU), digital signal processor (DSP), up to 256 KB Flash memory and 96+6 KB SRAM (with parity check). It also embeds a 20 KB system memory with two functions: one that serves as a Bootloader, and another one that is one-time configurable as user instruction and data memory for achieving a maximum of 256 + 20 KB. In addition, the device offers 1x USB OTG controller (internal PHY) (support Xtal-less in device mode), 1x QSPI, 1x CAN, 8x UARTs, 3x SPIs/I²Ss and 1x separate full-duplex I²S, 3x I²Cs, 1x 16-bit advanced timer, 7x 16-bit general-purpose timers, 1x 32-bit general-purpose timer, 2x 16-bit basic timers, 1x 12-bit 16-channel high-speed 2 Msps ADC. All I/Os have fast toggling capability and almost all of them are 5V tolerant. They can be used for a variety of purposes such as port remapping.

The device operates in the temperature range of -40 to 105oC. It can be supplied in various packages, including LQFP64, LQFP48, QFN48 and QFN32 to meet diverse demands. AT32F402 series is suited for gaming, industrial automation, USB accessory, IoT and consumer electronics.

Key Features

  • Performance
    • ARM® Cortex®-M4 MCU up to 216 MHz
    • Single precision floating-point unit (FPU)
    • DSP instructions
    • 2.4 to 3.6 V application supply
    • I/Os 5 V-tolerant
    • Temperature range -40 to + 105 °C
  • Memories
    • 256 KBytes of Flash memory
    • 102 KBytes of SRAM
    • sLib: configurable part of main Flash set as a library area with code executable but secured, non-readable
    • 1 x QSPIs, scalable Flash memory or RAM, address mapping support
  • Clock
    • PLL (216 MHz output)
    • External high-speed 4 to 25 MHz crystal
    • Internal high-speed 48 MHz RC oscillator (-40°C to 105°C)
    • Automatic clock calibration (ACC) (accuracy 1 % at TA = 25 °C, 2.5 % at TA= -40 to +105 °C)
    • Low speed external 32.768 kHz RTC crystal (LEXT)
    • Internal low-speed 40 kHz RC oscillator
  • Reset and supply management
    • Sleep, Deepsleep and Standby modes
    • Power-on/Low-voltage reset (POR/LVR)
    • Programmable voltage monitor (PVM)
    • 20 x 32-bit battery powered registers (BPR)
  • Analog peripherals
    • 1 x 12-bit 2 Msps A/D converter (up to 16 channels)
  • Timers
    • 1 x 16-bit 7-channel advanced timer
    • 1 x 32-bit and 7 x 16-bit general-purpose timers
    • 2 x 16-bit basic timers
    • 2 x watchdog timers (general WDT and windowed WWDT)
    • SysTick timer: a 24-bit downcounter
  • ERTC: enhanced RTC with alarm, subsecond accuracy and hardware calendar
  • Communication interfaces
    • 3 x I²C interfaces for SMBus/PMBus support
    • 3 x SPIs (36 Mbit/s), all with I²S interface multiplexed, any combination of two interfaces supports full-duplex
    • 1 x independent full-duplex I2S interface(I2SF)
    • Up to 6 x USARTs and 2 x UARTs (with ISO7816 interface, LIN,IrDA and modem control)
    • 1 x OTGFS (including on-chip PHY) interface (crystal-less in device mode)
    • CAN interface (2.0B Active)
    • Infrared transmitter (IRTMR)
  • DMA
    • 1 x 14-channel DMA controller supports timers, ADC, I²Ss, SPIs, I²Cs, and USARTs
  • Fast I/O ports
    • Up to 56 I/O ports, all mappable on 16 external interrupts and almost all 5 V-tolerant
    • All fast I/Os, control registers accessible with fᴀʜʙ speed
  • Packages
    • QFN32 4 x 4 mm
    • QFN48 6 x 6 mm
    • LQFP48 7 x 7 mm
    • LQFP64 7 x 7 mm
    • LQFP64 10 x 10 mm

ARM Cortex®-M4 AT32F402 Product Selector

Part Number AT32F402
xxU7-4
AT32F402
xxU7
AT32F402
xxT7
AT32F402
xxT7-7
AT32F402
xxT7
KB KC CB CC CB CC RB RC RB RC
Frequency (MHz) 216
Int.Flash (KB) 128 256 128 256 128 256 128 256 128 256
SRAM (KB) 64+6 96+6 64+6 96+6 64+6 96+6 64+6 96+6 64+6 96+6
QSPI 1 1 1 1 1
Timers Advanced 1 1 1 1 1
32-bit
general-purpose
1 1 1 1 1
16-bit
general-purpose
7 7 7 7 7
Basic 2 2 2 2 2
Systick 1 1 1 1 1
WDT 1 1 1 1 1
WWDT 1 1 1 1 1
ERTC 1 1 1 1 1
Communication
interfaces
I²C 3 3 3 3 3
SPI 2(1) 3 3 3 3
I2S(half-duplex)(2)(3) 2(1) 3 3 3 3
I2F(full-duplex) 1 1 1 1 1
USART/UART 5/2(4) 5/2(4) 5/2(4) 6/2 6/2
CAN 1 1 1 1 1
OTGHS - - - - -
OTGFS 1 1 1 1 1
IRTMR 1 1 1 1 1
Analog 12-bit ADC
numbers/channels
1 1 1 1 1
10 10 10 16 16
GPIO 28 40 40 56 56
Operating temperatures -40°C ~ 105°C
Packages QFN32
4x4 mm
QFN48
6x6 mm
LQFP48
7x7 mm
LQFP64
7x7 mm
LQFP64
10x10 mm

 

Note
  1. QFN32 package only supports SPI1/I2S1 and SPI3/I2S3.
  2. The half-duplex I2S and SPI are multiplexed.
  3. Any two half-duplex I2S interfaces can be combined into one full-duplex I2S by hardware.
  4. For LQFP48, QFN48 and QFN32 packages, UART8 is not available, and USART6 is used as UART for no CK pinout.

Resources

Product Select Guide

Download Description Version Date
  AT32 MCU(PDF)
     AT32 MCU(EXCEL)
AT32 MCU Product Select Guide V202401
V202405
2024.01.18
2024.05.13

Cross Reference Table

Download Description Version Date
   AT32 MCU Cross reference table V202011 2020.11.03

Datasheet

Download Description Version Date
  AT32F402 AT32F402 Series pin definition, electrical characteristics and packaging information V2.01 2024.4.1

Reference Manual

Download Description Version Date
  AT32F402 A complete description of peripherals and registers for AT32F402 V2.00 2023.08.31

Evaluation Board

Download Description Version Date
  AT-START-F402 AT32F402 evaluation board supporting Arduino standard interfaces V1.00 2023.8.25

JLCEDA

Download Description Version Date
  AT32F402 AT32F402 series JLCEDA component library (including schematic and PCB package library) V1.0 2024.05.24

BSP

Download Description Version Date
  Firmware Library AT32F402 firmware library BSP user guide V2.0.7 2024.04.08

Pack

Tool

USB Tool and Driver

Application Note

Download Description Version Date
  AT32F402_Errata AT32F402 device limitations V2.0.0 2023.08.03

Tech Support

Artery provides customers with an extensive range of technical support, including development board, various development tools, hardware and database consulting services to help expedite product development and shorten time to market. Please contact us further for detailed information.

support_artery@arterytek.com