Features:Operating Range:DC – 40 MIPS (40 MIPS at 3.0-3.6V, -40°C to +85°C)Industrial temperature range (-40°C to +85°C)Extended temperature range (-40°C to +125°C)High-Performance DSC CPU:Modified Harvard architectureC compiler optimized instruction set16-bit wide data path24-bit wide instructionsLinear program memory addressing up to 4M instruction wordsLinear data memory addressing up to 64 Kbytes83 base instructions: mostly 1 word/1 cycleTwo 40-bit accumulators with rounding and saturation optionsFlexible and powerful addressing modes:IndirectModuloBit-ReversedSoftware stack16 x 16 fractional/integer multiply operations32/16 and 16/16 divide operationsSingle-cycle multiply and accumulate:Accumulator write back for DSP operationsDual data fetchUp to ±16-bit shifts for up to 40-bit data Timers/Capture/Compare/PWM:Timer/Counters, up to three 16-bit timersCan pair up to make one 32-bit timer1 timer runs as Real-Time Clock with external 32.768 kHz oscillatorProgrammable prescalerInput Capture (up to 4 channels):Capture on up, down or both edges16-bit capture input functions4-deep FIFO on each captureOutput Compare (up to 2 channels):Single or Dual 16-Bit Compare mode16-bit Glitchless PWM modeInterrupt Controller:5-cycle latency118 interrupt vectorsUp to 26 available interrupt sourcesUp to 3 external interrupts7 programmable priority levels4 processor exceptionsDigital I/O:Peripheral pin Select functionalityUp to 21 programmable digital I/O pinsWake-up/Interrupt-on-Change for up to 21 pinsOutput pins can drive from 3.0V to 3.6VUp to 5V with output drain configurationAll digital input pins are 5V tolerant4 mA sink on all I/O pinsOn-Chip Flash and SRAM:Flash program memory, up to 12 KbytesData SRAM, up to 1 KbyteBoot and General Security for Program FlashSystem Management:Flexible clock options:External, crystal, resonator, internal RCFully integrated Phase-Locked Loop (PLL)Extremely low jitter PLLPower-up TimerOscillator Start-up Timer/StabilizerWatchdog Timer with its own RC oscillatorFail-Safe Clock MonitorReset by multiple sourcesPower Management:On-chip 2.5V voltage regulatorSwitch between clock sources in real timeIdle, Sleep and Doze modes with fast wake-upPackage options:28-pin SDIP, SOIC and QFN  Parameter Name ValueArchitecture16-bitCPU Speed (MIPS)40Memory TypeFlashProgram Memory (KB)12RAM Bytes1,024Temperature Range C-40 to +85Operating Voltage Range (V)3 to 3.6I/O Pins21Pin Count28System Management FeaturesBORPORYesWDTYesInternal Oscillator7.37 MHz, 32.768 kHznanoWatt FeaturesFast Wake/Fast ControlDigital Communication Peripherals1-UART1-SPI1-I2CAnalog Peripherals1-A/D 6×12-bit @ 500(ksps)Capture/Compare/PWM Peripherals4/2PWM Resolution bits16Motor Control PWM Channels8Quadrature Encoder Interface (QEI)1Timers3 x 16-bit 1 x 32-bitParallel PortGPIOCap Touch Channels6datasheet