
MPC82x54A
8-bit micro-controller
This document contains information on a new product under development by Megawin. Megawin reserves the right to change or
discontinue this product without notice.
©Megawin Technology Co., Ltd. 2005 All right reserved. 2007/12 version A7
MEGAWIN
Features .............................................................................................................................3
General Description ..........................................................................................................5
Order Information: ............................................................................................................5
Pin Description..................................................................................................................6
Pin Definition ...................................................................................................................6
Pin Configuration ...........................................................................................................10
Block Diagram ................................................................................................................ 11
Special Function Register ...............................................................................................12
Address Map ..................................................................................................................12
Bits Description..............................................................................................................13
Memory...........................................................................................................................15
Organization ...................................................................................................................15
RAM...............................................................................................................................16
Nonvolatile Registers:....................................................................................................16
Embedded Flash .............................................................................................................19
Functional Description....................................................................................................20
I/O Port Configuration ...................................................................................................20
Timer/Counter ................................................................................................................24
Interrupt..........................................................................................................................29
Watch Dog Timer ...........................................................................................................33
Universal Asynchronous Serial Port (UART) ................................................................35
Programmable Counter Array (PCA).............................................................................38
Serial Peripheral Interface (SPI) ....................................................................................47
Analog to Digital Converter...........................................................................................54
Built-In Oscillator ..........................................................................................................56
Power-Up and Low Voltage Detector and Reset............................................................56
Power Management........................................................................................................57
Reset and Boot Entrance ................................................................................................59
In System Programming and In Application Programming............................................60
In System Programming (ISP) .......................................................................................60
In-Application Program (IAP) .......................................................................................63
Avoid Inadvertent Data Lost from IAP/ISP ...................................................................64