rt-thread-official/bsp/microchip/samc21
guozhanxin 9e79333512 [project] update mdk/iar project and config. 2023-10-08 11:21:00 +08:00
..
applications [bsp][applications][sconscript] 整理统一sconscript格式 (#6481) 2022-10-03 10:43:08 -04:00
board format Kconfig and sconscript 2023-01-08 22:52:13 -05:00
bsp format link scripts 2023-01-08 22:52:13 -05:00
.config [project] update mdk/iar project and config. 2023-10-08 11:21:00 +08:00
.ignore_format.yml Add Microchip SAM series MCU support for RT-Thread (#5771) 2022-04-14 10:54:53 +08:00
Kconfig format Kconfig and sconscript 2023-01-08 22:52:13 -05:00
README.md Add Microchip SAM series MCU support for RT-Thread (#5771) 2022-04-14 10:54:53 +08:00
README_zh.md Add Microchip SAM series MCU support for RT-Thread (#5771) 2022-04-14 10:54:53 +08:00
SConscript Add Microchip SAM series MCU support for RT-Thread (#5771) 2022-04-14 10:54:53 +08:00
SConstruct [Scons][iar][iccarm] IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断 2022-06-09 07:01:59 +08:00
rtconfig.h [project] update mdk/iar project and config. 2023-10-08 11:21:00 +08:00
rtconfig.py [scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm 2022-06-09 07:01:59 +08:00

README.md

SAMC21J18A BSP Introduction

中文

  • MCU: ATSAMC21J18A @64MHz, 256KB FLASH, 32KB RAM, 2.7V 5.5V
  • C21: Cortex-M0+ + Advanced Feature Set + 2x CAN-FD + Delta-Sigma ADC
  • Pin: N=100 pins, J=64 pins, G=48 pins, E=32 pins
  • Flash: 18=256KB, 17=128KB, 16=64KB , 15=32KB(size=2^n)
  • SRAM : 32KB(Flash 256KB), 16KB(Flash 128KB), 8KB(Flash 64KB), 4KB(Flash 32KB)

Datasheet: https://www.microchip.com/en-us/product/ATSAMC21J18A

KEY FEATURES

Core

  • 32-bit Arm® Cortex®-M0+ CPU running at up to 48 MHz or 64 MHz with Single-cycle hardware multiplier

Memories

  • 32/64/128/256 KB in-system self-programmable Flash
  • 1/2/4/8 KB independent self-programmable Flash for EEPROM emulation
  • 4/8/16/32 KB SRAM main memory

System

  • Power-on Reset (POR) and Brown-out Detection (BOD)
  • Internal and external clock options with 48 MHz to 96 MHz Fractional Digital Phase Locked Loop (FDPLL96M)
  • External Interrupt Controller (EIC) (Interrupt pin debouncing is only available in SAM C20/C21 N)
  • 16 external interrupts
  • One non-maskable interrupt
  • Two-pin Serial Wire Debug (SWD) programming, test, and debugging interface

High-Performance Peripherals

  • Hardware Divide and Square Root Accelerator (DIVAS)
  • 12-channel Direct Memory Access Controller (DMAC)
  • 12-channel Event System
  • Up to eight 16-bit Timer/Counters (TC), configurable as either
  • Two 24-bit and one 16-bit Timer/Counter for Control (TCC), with extended functions
  • Frequency Meter (The division reference clock is only available in the SAM C21N)
  • 32-bit Real Time Counter (RTC) with clock/calendar function
  • Watchdog Timer (WDT)
  • CRC-32 generator
  • Up to two Controller Area Network (CAN) interfaces in the SAM C21
  • Up to eight Serial Communication Interfaces (SERCOM), each configurable to operate as USART/I2C/SPI
  • One Configurable Custom Logic (CCL)
  • Up to Two 12-bit, 1 Msps Analog-to-Digital Converter (ADC) with up to 12 channels each (20 unique channels)
  • One 16-bit Sigma-Delta Analog-to-Digital Converter (SDADC) with up to 3 differential channels in the SAM C21
  • 10-bit, 350 ksps Digital-to-Analog Converter (DAC) in the SAM C21
  • Up to four Analog Comparators (AC) with Window Compare function
  • Integrated Temperature Sensor in the SAM C21
  • Peripheral Touch Controller (PTC)
  • 256-Channel capacitive touch

I/O

  • Up to 84 programmable I/O pins

Qualification

  • AEC - Q100 Grade 1 (-40°C to 125°C)

Voltage

  • 2.7V 5.5V
  • -40°C to +125°C, DC to 48 MHz
  • -40°C to +85°C, DC to 64 MHz

Packages

  • 100-pin TQFP
  • 64-pin TQFP, VQFN
  • 56-pin WLCSP
  • 48-pin TQFP, VQFN
  • 32-pin TQFP, VQFN

Board info