General Description
The GPM8F2002A is a highly integrated microcontroller. in addition to integrate a pipelined 1T 8051 CPU, 128 byte IDM SRAM and 2K byte program EEPROM, it also includes 14/5 programmable multi-functional I/Os, Timer0/1/2, UART, and two comparators and one up to 6/2+1 channel (6/3 channel external ADC input + 1 channel internal 1.23v) of 12-bit ADC for general-purpose application. It operates over a wide voltage range of 2.0V - 5.5V with different clock sources. It has two modes in power management unit. The details are described in the following sections.
Features
- CPU
- High speed, high performance 1T 8051
- 100% software compatible with industry standard 8051
- Pipeline RISC architecture enables to execute instructions 10 times faster than standard 8051
- Up to 16MHz clock operation, @4.5~5.5*
- Up to 8MHz clock operation, @ 2.7~5.5*
- Up to 4MHz clock operation, @ 2.0~5.5*
- Memories
- 128 bytes internal Data Memory (IDM) SRAM
- 2K bytes EEPROM* with high endurance
- Minimum 100,000 program/erase cycles
- Minimum 10 years data retention
- Programming lock level for software security
- Clock Management
- Internal oscillator: 16MHz±2% @ 2.0V~5.5V
- Crystal input with 4MHz~16MHz
- Power Management
- 1 STOP mode for power saving
- 1 IDLE mode for only peripheral operation
- Interrupt Management
- Up to 9 interrupt sources
- Up to 3 external interrupt sources
- Reset Management
- Power On Reset (POR)
- Low Voltage Reset (LVR)
- Three trigger level(1.84V/2.5V/4.1V)
- Pad Reset (PAD_RST)
- Watchdog Reset (WDT_RST)
- Software Reset (S/W_RST)
- Stop Mode Reset (STOP_RST)
- Miss Clock Reset (MISS_CLK_RST)
- Flash Related Error Reset (FLASH_ERR_RST)
- Programmable Watchdog Timer
- A time-base generator
- An event timer
- System supervisor
- I/O Ports
- Max. 13 multifunction bi-directional I/Os
- Each incorporate with pull-up resistor, pull-down resistor, output high, output low or floating input, depending on programmer's settings on the corresponding registers
- I/O ports with 20mA current sink
- I/O ports with 8mA current drive
- One single output low I/O
- with pull-up resistor, pull-down resistor, output low or floating input, depending on programmer's settings on the corresponding registers
- I/O ports with 20mA current sink
- Two 16-bit Timer/Counter (Timer 0/1)
- Timer mode with clock source selectable
- Auto reload 8-bit timers
- Externally gated event counters
- One Powerful Timer2 with 16-bit Compare/Capture Unit
- Timer mode with clock source selectable
- Auto-reload 16-bit timers
- Externally gated event counters
- Event capturing
- Digital signals generator
- Pulse width modulation and measurement
- A/D converter
- Up to 6+1 channel 12-bit resolution ADC
- Max conversion clock: 2MHz (FOSC /8) @16MHz
- Built-in Comparators
- Two comparators with input offset < 10mV
- Internal 4-bit reference voltage generator
*Note1: The lowest operating voltage is defined by the selection of LVR trigger level.
*Note2: The EEPROM memory can't be written at VDD<1.8V.