1. Description
The MG82Fx532 is a single-chip microcontroller based on a high performance 1-T architecture 80C51 CPU that
executes instructions in 1~7 clock cycles (about 6~7 times the rate of a standard 8051 device), and has an 8051
compatible instruction set. Therefore at the same performance as the standard 8051, the MG82Fx532 can
operate at a much lower speed and thereby greatly reduce the power consumption.
The MG82Fx532 has 64K bytes of embedded Flash memory for code and data. The Flash memory can be
programmed in ISP (In-System Programming) mode. And, it also provides the In-Application Programming (IAP)
capability. ISP allow the user to download new code without removing the microcontroller from the actual end
product; IAP means that the device can write non-volatile data in the Flash memory while the application program
is running. There needs no external high voltage for programming due to its built-in charge-pumping circuitry.
The MG82Fx532 retains all features of the standard 80C52 with 256 bytes of scratch-pad RAM, four 8bit I/O
ports, two external interrupts, a multi-source 4-level interrupt controller and three timer/counters. In addition, the
MG82Fx532 has two extra I/O ports (P4, P5[4:0]), one on-chip XRAM of 1024 bytes, two extra external interrupts
with High/low trigger option, 10-btis ADC, a 6-channel PCA, SPI, secondary UART, keypad interrupt, a one-time
enabled Watchdog Timer, a Brown-out Detector, an on-chip crystal oscillator(shared with P6.0 and P6.1), a high
precision internal oscillator, a more versatile serial channel that facilitates multiprocessor communication (EUART)
and a speed improvement mechanism (X2/X4 mode).
The MG82Fx532 has two power-saving modes and an 8-bit system clock pre-scaler to reduce the power
consumption. In the Idle mode the CPU is frozen while the peripherals and the interrupt system are still operating.
In the Power-Down mode the RAM and SFRs‘ value are saved and all other functions are inoperative; most
importantly, in the Power-down mode the device can be waked up by the external interrupts. And, the user can
further reduce the power consumption by using the 8-bit system clock pre-scaler to slow down the operating
speed.
Additionally, the MG82Fx532 is equipped with the Megawin proprietary On-Chip Debug (OCD) interface for In-
Circuit Emulator (ICE). The OCD interface provides on-chip and in-system non-intrusive debugging without any
target resource occupied. Several operations necessary for an ICE are supported such as Reset, Run, Stop,
Step, Run to Cursor and Breakpoint Setting. The user has no need to prepare any development board during
firmware developing or the socket adapter used in the traditional ICE probe head. All the thing the user needs to
do is to prepare a 4-pin connector for the dedicated OCD interface. This powerful feature makes the developing
very easy for any user.
2. Order information
Part Number
MG82Fx532AE
MG82Fx532AF
MG82Fx532AD
Package
PDIP-40
PQFP-44
LQFP-48
Operation Voltage
x=L: 3V / E: 5V
x=L: 3V / E: 5V
x=L: 3V / E: 5V
MEGAWIN
MG82FE/L532 Data Sheet
9