README.md
1# SAMC21J18A BSP Introduction
2
3[中文](README_zh.md)
4
5- MCU: ATSAMC21J18A @64MHz, 256KB FLASH, 32KB RAM, 2.7V – 5.5V
6- C21: Cortex-M0+ + Advanced Feature Set + 2x CAN-FD + Delta-Sigma ADC
7- Pin: N=100 pins, J=64 pins, G=48 pins, E=32 pins
8- Flash: 18=256KB, 17=128KB, 16=64KB , 15=32KB(size=2^n)
9- SRAM : 32KB(Flash 256KB), 16KB(Flash 128KB), 8KB(Flash 64KB), 4KB(Flash 32KB)
10## Datasheet: <https://www.microchip.com/en-us/product/ATSAMC21J18A>
11
12#### KEY FEATURES
13
14#### Core
15 - 32-bit Arm® Cortex®-M0+ CPU running at up to 48 MHz or 64 MHz with Single-cycle hardware multiplier
16
17#### Memories
18 - 32/64/128/256 KB in-system self-programmable Flash
19 - 1/2/4/8 KB independent self-programmable Flash for EEPROM emulation
20 - 4/8/16/32 KB SRAM main memory
21
22#### System
23 - Power-on Reset (POR) and Brown-out Detection (BOD)
24 - Internal and external clock options with 48 MHz to 96 MHz Fractional Digital Phase Locked Loop (FDPLL96M)
25 - External Interrupt Controller (EIC) (Interrupt pin debouncing is only available in SAM C20/C21 N)
26 - 16 external interrupts
27 - One non-maskable interrupt
28 - Two-pin Serial Wire Debug (SWD) programming, test, and debugging interface
29
30#### High-Performance Peripherals
31 - Hardware Divide and Square Root Accelerator (DIVAS)
32 - 12-channel Direct Memory Access Controller (DMAC)
33 - 12-channel Event System
34 - Up to eight 16-bit Timer/Counters (TC), configurable as either
35 - Two 24-bit and one 16-bit Timer/Counter for Control (TCC), with extended functions
36 - Frequency Meter (The division reference clock is only available in the SAM C21N)
37 - 32-bit Real Time Counter (RTC) with clock/calendar function
38 - Watchdog Timer (WDT)
39 - CRC-32 generator
40 - Up to two Controller Area Network (CAN) interfaces in the SAM C21
41 - Up to eight Serial Communication Interfaces (SERCOM), each configurable to operate as USART/I2C/SPI
42 - One Configurable Custom Logic (CCL)
43 - Up to Two 12-bit, 1 Msps Analog-to-Digital Converter (ADC) with up to 12 channels each (20 unique channels)
44 - One 16-bit Sigma-Delta Analog-to-Digital Converter (SDADC) with up to 3 differential channels in the SAM C21
45 - 10-bit, 350 ksps Digital-to-Analog Converter (DAC) in the SAM C21
46 - Up to four Analog Comparators (AC) with Window Compare function
47 - Integrated Temperature Sensor in the SAM C21
48 - Peripheral Touch Controller (PTC)
49 - 256-Channel capacitive touch
50
51#### I/O
52 - Up to 84 programmable I/O pins
53
54#### Qualification
55 - AEC - Q100 Grade 1 (-40°C to 125°C)
56
57#### Voltage
58 - 2.7V – 5.5V
59 - -40°C to +125°C, DC to 48 MHz
60 - -40°C to +85°C, DC to 64 MHz
61
62#### Packages
63 - 100-pin TQFP
64 - 64-pin TQFP, VQFN
65 - 56-pin WLCSP
66 - 48-pin TQFP, VQFN
67 - 32-pin TQFP, VQFN
68
69#### Board info
70- [SAM C21 XPLAINED PRO](https://www.microchip.com/en-us/development-tool/ATSAMC21-XPRO)
71
README_zh.md
1# SAMC21J18A BSP 介绍
2
3[English](README.md)
4
5- MCU: ATSAMC21J18A @64MHz, 256KB FLASH, 32KB RAM, 2.7V – 5.5V
6- C21: Cortex-M0+内核 + 丰富外设 + 2路CAN-FD + Delta-Sigma ADC
7- 管脚: N系列-100 pins, J系列-64 pins, G系列-48 pins, E系列-32 pins
8- Flash: 18=256KB, 17=128KB, 16=64KB , 15=32KB(size=2^n)
9- SRAM : 32KB(Flash 256KB), 16KB(Flash 128KB), 8KB(Flash 64KB), 4KB(Flash 32KB)
10## 手册: <https://www.microchip.com/en-us/product/ATSAMC21J18A>
11
12#### KEY FEATURES
13
14#### 内核
15 - 32-bit Arm® Cortex®-M0+ 内核, 主频最高48MHz和64 MHz+单指令周期的硬件乘法器
16
17#### 内存
18 - 32/64/128/256 KB in-system self-programmable Flash
19 - 1/2/4/8 KB independent self-programmable Flash for EEPROM emulation
20 - 4/8/16/32 KB SRAM main memory
21
22#### 系统特性
23 - Power-on Reset (POR) and Brown-out Detection (BOD)
24 - Internal and external clock options with 48 MHz to 96 MHz Fractional Digital Phase Locked Loop (FDPLL96M)
25 - External Interrupt Controller (EIC) (Interrupt pin debouncing is only available in SAM C20/C21 N)
26 - 16 external interrupts
27 - One non-maskable interrupt
28 - Two-pin Serial Wire Debug (SWD) programming, test, and debugging interface
29
30#### 高性能外设
31 - Hardware Divide and Square Root Accelerator (DIVAS)
32 - 12-channel Direct Memory Access Controller (DMAC)
33 - 12-channel Event System
34 - Up to eight 16-bit Timer/Counters (TC), configurable as either
35 - Two 24-bit and one 16-bit Timer/Counter for Control (TCC), with extended functions
36 - Frequency Meter (The division reference clock is only available in the SAM C21N)
37 - 32-bit Real Time Counter (RTC) with clock/calendar function
38 - Watchdog Timer (WDT)
39 - CRC-32 generator
40 - Up to two Controller Area Network (CAN) interfaces in the SAM C21
41 - Up to eight Serial Communication Interfaces (SERCOM), each configurable to operate as USART/I2C/SPI
42 - One Configurable Custom Logic (CCL)
43 - Up to Two 12-bit, 1 Msps Analog-to-Digital Converter (ADC) with up to 12 channels each (20 unique channels)
44 - One 16-bit Sigma-Delta Analog-to-Digital Converter (SDADC) with up to 3 differential channels in the SAM C21
45 - 10-bit, 350 ksps Digital-to-Analog Converter (DAC) in the SAM C21
46 - Up to four Analog Comparators (AC) with Window Compare function
47 - Integrated Temperature Sensor in the SAM C21
48 - Peripheral Touch Controller (PTC)
49 - 256-Channel capacitive touch
50
51#### I/O管脚
52 - 最多提供84个用户可编程I/O管脚
53
54#### 汽车应用
55 - AEC - Q100 Grade 1 (-40°C to 125°C)
56
57#### 工作电压
58 - 2.7V – 5.5V
59 - -40°C to +125°C, DC to 48 MHz
60 - -40°C to +85°C, DC to 64 MHz
61
62#### 封装
63 - 100-pin TQFP
64 - 64-pin TQFP, VQFN
65 - 56-pin WLCSP
66 - 48-pin TQFP, VQFN
67 - 32-pin TQFP, VQFN
68
69#### 官方开发板信息
70- [SAM C21 XPLAINED PRO](https://www.microchip.com/en-us/development-tool/ATSAMC21-XPRO)