Описание
The Microchip | SMART SAM C21 is a series of microcontrollers optimized for industrial automation, appliances and other 5V applications using the 32-bit ARM Cortex -M0+ processor, ranging from 32- to 64-pins with up to 256KB Flash and 32KB of SRAM and operate at a maximum frequency of 48MHz and reach 2.46 CoreMark /MHz. The SAM C21 devices are designed for simple and intuitive migration with identical peripheral modules, hex compatible code, identical linear address map and pin compatible migration paths between all devices in the product series. All devices include intelligent and flexible peripherals, Microchip Event System for inter-peripheral signaling, and support for capacitive touch button, slider and wheel user interfaces. SAM C21 devices are pin compatible to the SAM D family of general purpose microcontrollers.
- Processor
- ARM Cortex-M0+ CPU running at up to 48MHz
- Single-cycle hardware multiplier
- Micro Trace Buffer
- Memory Protection Unit (MPU)
- Memories
- 32/64/128/256KB in-system self-programmable Flash
- 1/2/4/8KB independent self-programmable Flash for EEPROM emulation
- 4/8/16/32KB SRAM Main Memory
- System
- Power-on reset (POR) and brown-out detection (BOD)
- Internal and external clock options with 48MHz to 96MHz Fractional Digital Phase Locked Loop (FDPLL96M)
- External Interrupt Controller (EIC)
- 16 external interrupts
- One non-maskable interrupt
- Two-pin Serial Wire Debug (SWD) programming, test and debugging interface
- Low Power
- Idle, standby, and off sleep modes
- SleepWalking peripherals
- Peripherals
- Hardware Divide and Square Root Accelerator (DIVAS)
- 12-channel Direct Memory Access Controller (DMAC)
- 12-channel Event System
- Up to five 16-bit Timer/Counters (TC), configurable as either:
- One 16-bit TC with compare/capture channels
- One 8-bit TC with compare/capture channels
- One 32-bit TC with compare/capture channels, by using two TCs
- Two 24-bit Timer/Counters and one 16-bit Timer/Counter for Control (TCC), with extended functions:
- Up to four compare channels with optional complementary output
- Generation of synchronized pulse width modulation (PWM) pattern across port pins
- Deterministic fault protection, fast decay and configurable dead-time between complementary output
- Dithering that increase resolution with up to 5 bit and reduce quantization error
- 32-bit Real Time Counter (RTC) with clock/calendar function
- Watchdog Timer (WDT)
- CRC-32 generator
- Up to two Controller Area Network (CAN) interfaces:
- CAN 2.0A/B
- CAN-FD 1.0
- Each CAN interface have two selectable pin locations to switch between two external CAN transceivers (without the need for an external switch)
- Up to six Serial Communication Interfaces (SERCOM), each configurable to operate as either:
- USART with full-duplex and single-wire half-duplex configuration
- I2C up to 3.4MHz
- SPI
- LIN master/slave
- RS-485