1# SAME70Q21B BSP Introduction 2 3[中文](README_zh.md) 4- MCU: ATSAME70Q21B @300MHz, 2MB FLASH, 384KB RAM 5- V71: Auto grade Cortex-M7 + Advanced Feature Set + Ethernet + 2x CAN-FD 6- E70: Industrial Cortex-M7 + Advanced Feature Set + Ethernet + 2x CAN-FD 7- S70: Industrial Cortex-M7 + Advanced Feature Set 8- Pin: J=64 pins, N=100 pins, Q=144 pins 9- Flash: 19=512KB, 20=1024KB, 21=2048KB (size=2^n) 10- Datasheet: <https://www.microchip.com/en-us/product/ATSAME70Q21> 11 12#### KEY FEATURES 13 14#### Core 15 - 32-bit Arm® Cortex®-M7 core with double-precision FPU and L1 cache: 16 Kbytes of data and 16 Kbytes of instruction cache; frequency up to 300 MHz, MPU, 2.14 DMIPS/MHz (Dhrystone 2.1), and DSP instructions 16 17#### Memories 18 - Up to 2 Mbytes of embedded Flash with unique identifier and user signature for user-defined data 19 - Up to 384 Kbyte embedded Multi-port SRAM, can be configured as ITCM, DTCM. 20 - 16 Kbytes ROM with embedded Bootloader routines (UART0, USB) and IAP routines 21 22#### Peripherals 23 - 16-bit Static Memory Controller (SMC) with support for SRAM, PSRAM, LCD module, NOR and NAND Flash with on-the-fly scrambling 24 - 16-bit SDRAM Controller (SDRAMC) interfacing up to 128 MB and with on-the-fly scrambling 25 - One Ethernet MAC (GMAC) 10/100 Mbps in MII mode and RMII with dedicated DMA. IEEE® 1588 PTP frames and 802.3az Energy-efficiency support. 26 - USB 2.0 Device/Mini Host High-speed (USBHS) at 480 Mbps, 4-Kbyte FIFO, up to 10 bidirectional endpoints, dedicated DMA 27 - 12-bit ITU-R BT. 601/656 Image Sensor Interface (ISI) 28 - Two master Controller Area Networks (MCAN) with Flexible Data Rate (CAN-FD) with SRAM-based mailboxes, time-triggered and event-triggered transmission 29 - MediaLB® device with 3-wire mode, up to 1024 x Fs speed, supporting MOST25 and MOST50 networks 30 - Three USARTs, USART0, USART1, USART2, support LIN mode, ISO7816, IrDA®, RS-485, SPI, Manchester and Modem modes; USART1 supports LON mode. 31 - Five 2-wire UARTs with SleepWalking™ support 32 - Three Two-Wire Interfaces (TWIHS) (I2C-compatible) with SleepWalking support 33 - Quad I/O Serial Peripheral Interface (QSPI) interfacing up to 256 MB Flash and with eXecute-In-Place and onthe-fly scrambling 34 - Two Serial Peripheral Interfaces (SPI) 35 - One Serial Synchronous Controller (SSC) with I2S and TDM support 36 - Two Inter-IC Sound Controllers (I2SC) 37 - One High-speed Multimedia Card Interface (HSMCI) (SDIO/SD Card/e.MMC) 38 - Four Three-Channel 16-bit Timer/Counters (TC) with Capture, Waveform, Compare and PWM modes, constant on time. Quadrature decoder logic and 2-bit Gray Up/Down Counter for stepper motor 39 - Two 4-channel 16-bit PWMs with complementary outputs, Dead Time Generator and eight fault inputs per PWM for motor control, two external triggers to manage power factor correction (PFC), DC-DC and lighting control 40 - Two Analog Front-End Controllers (AFEC), each supporting up to 12 channels with differential input mode and programmable gain stage, allowing dual sample-and-hold (S&H) at up to 1.7 Msps. Offset and gain error correction feature. 41 - One 2-channel, 12-bit, 1 Msps-per-channel Digital-to-Analog Controller (DAC) with Differential and Over Sampling modes 42 - One Analog Comparator Controller (ACC) with flexible input selection, selectable input hysteresis 43 44#### Cryptography 45 - True Random Number Generator (TRNG) 46 - AES: 256-bit, 192-bit, 128-bit Key Algorithm, Compliant with FIPS PUB-197 Specifications 47 - Integrity Check Monitor (ICM). Supports Secure Hash Algorithm SHA1, SHA224 and SHA256. 48 49#### I/O 50 - Up to 114 I/O lines with external interrupt capability (edge- or level-sensitivity), debouncing, glitch filtering and On-die Series Resistor Termination 51 - Five Parallel Input/Output Controllers (PIO) 52 53#### Voltage 54 - Single supply voltage from 3.0V to 3.6V for Qualification AEC - Q100 Grade 2 Devices 55 - Single Supply voltage from 1.7V to 3.6V for Industrial Temperature Devices 56 57#### Packages 58 - LQFP144, 144-lead LQFP, 20x20 mm, pitch 0.5 mm 59 - LFBGA144, 144-ball LFBGA, 10x10 mm, pitch 0.8 mm 60 - TFBGA144, 144-ball TFBGA, 10x10 mm, pitch 0.8 mm 61 - UFBGA144, 144-ball UFBGA, 6x6 mm, pitch 0.4 mm 62 - LQFP100, 100-lead LQFP, 14x14 mm, pitch 0.5 mm 63 - TFBGA100, 100-ball TFBGA, 9x9 mm, pitch 0.8 mm 64 - VFBGA100, 100-ball VFBGA, 7x7 mm, pitch 0.65 mm 65 - LQFP64, 64-lead LQFP, 10x10 mm, pitch 0.5 mm 66 - QFN64, 64-pad QFN 9x9 mm, pitch 0.5 mm with wettable flanks 67 68#### Board info 69- [SAM E70 XPLAINED](https://www.microchip.com/en-us/development-tool/ATSAME70-XPLD) 70