The PIC32CM series of 5 V Cortex-M0+ microcontrollers (MCUs) extends Microchip Technology's current SAMC2x portfolio with cost-efficient options, including 64 KB and 128 KB Flash options, 16 KB RAM, and PDEC positional decoders for motor control applications. These products feature robust communications peripherals, including the SERCOM module and LIN, along with advanced motor control peripherals. These devices operate from a true 5 V supply (2.7 V to 5.5 V), offering increased robustness in applications such as home appliance motor control by increasing the dynamic range of the ADC above the common noise floor. Application demo code, including sensorless FOC motor control, is available via the motor control library featured in Harmony version 3, supported by MPLAB® X IDE and MPLAB Harmony. In addition, external tools from vendors KEIL and IAR are also supported. The PIC32CM family of MCUs is ideal for consumer, commercial, industrial, and automotive applications in noisy environments.
Features
- Motor control timers - two 24-bit timer/counters + one 16-bit timer/counter for control with extended functions including:
- 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 outputs
- Dithering that increase resolution with up to 5-bit and reduce quantization error
- Up to 8 waveform output channels
- 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
- 32-bit real time counter (RTC) with clock/calendar function
- CRC-32 generator
- Low power
- Peripherals
- 6- channel direct memory access controller (DMAC)
- 6-channel event system
- Frequency meter
- Watchdog timer (WDT)
- Advanced analog
- Two 12-bit, 1 Msps analog-to-digital converters (ADC)
- Differential and single-ended input
- Automatic offset and gain error compensation
- Oversampling and decimation in hardware to support 13-, 14-, 15-, or 16-bit resolution
- Two analog comparators (AC) with window compare function
- One 16-bit sigma-delta ADC (SDADC) with 2 differential channels
- One 10-bit 350 ksps DAC
- Intergrated temperature sensor
- Up to 26 programmable I/O pins
- Arm Cortex-M0+ CPU running at up to 48 MHz
- Divide and square root accelerator (DIVAS)
- Single-cycle hardware multiplier
- Micro trace buffer
- Memory protection unit (MPU)
- Memories
- 64 KB in-system self-programmable Flash
- 2 KB independent self-programmable Flash for EEPROM enulation
- 8 KB SRAM main memory