59A16U1
8-Bit Micro-controller
64KB with ISP Flash
& 6K+256B RAM embedded
FOSVOS TEL: 021-58998693
Product List ................................................................................................................................................................. 6
Description .................................................................................................................................................................. 6
Ordering Information.................................................................................................................................................... 6
Features...................................................................................................................................................................... 6
Pin Configuration......................................................................................................................................................... 8
Block Diagram ............................................................................................................................................................. 9
Pin Description .......................................................................................................................................................... 10
Special Function Register ( SFR ) .............................................................................................................................. 13
Function Description.................................................................................................................................................. 22
1.
General Features .......................................................................................................................................... 22
Embedded Flash................................................................................................................................... 22
IO Pads ................................................................................................................................................ 22
2T/1T Selection..................................................................................................................................... 22
RESET ................................................................................................................................................. 23
1.1
1.2
1.3
1.4
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
Hardware RESET Function........................................................................................................... 23
Software RESET Function ............................................................................................................ 23
Time Access Key Register( TAKEY )............................................................................................. 23
Software Reset Register( SWRES ).............................................................................................. 23
Example Of Software Reset.......................................................................................................... 24
1.5
Clocks................................................................................................................................................... 24
Instruction Set............................................................................................................................................... 25
Memory Structure.......................................................................................................................................... 29
Program Memory.................................................................................................................................. 29
Data Memory ........................................................................................................................................ 30
Data Memory - Lower 128 Byte( 00h to 7Fh )........................................................................................ 31
Data Memory - Higher 128 Byte( 80h to FFh )....................................................................................... 31
Data Memory - Expanded 6K Bytes( 0000h ~ 0x17FFh ) ....................................................................... 31
CPU Engine.................................................................................................................................................. 32
Accumulator.......................................................................................................................................... 33
B Register............................................................................................................................................. 33
Program Status Word ( PSW )............................................................................................................... 34
Stack Pointer ( SP )............................................................................................................................... 34
Data Pointer( DP )................................................................................................................................. 34
Data Pointer 1( DP1 )............................................................................................................................ 35
Auxiliary Register( AUX )....................................................................................................................... 35
Internal RAM Control Register( RCON ) ................................................................................................ 36
Clock Control Register( CKCON ) ......................................................................................................... 36
2.
3.
3.1
3.2
3.3
3.4
3.5
4.
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.10
4.11
4.12
4.13
4.14
4.15
Interface Control Register( IFCON ) ...................................................................................................... 37
Page Select( PAGESEL ) ...................................................................................................................... 37
PWM Address Register( PWMADDR )................................................................................................... 38
PWM Data Register( PWMDATA )......................................................................................................... 38
USB Address Register( USBADDR ) ..................................................................................................... 39
USB Data Register( USBDATA )............................................................................................................ 39
5.
6.
GPIO............................................................................................................................................................. 40
P0 ( Port 0 Register ) ............................................................................................................................ 40
P1 ( Port 1 Register) ............................................................................................................................. 40
P2 ( Port 2 Register ) ............................................................................................................................ 41
P3 ( Port 3 Register ) ............................................................................................................................ 41
P4 ( Port 4 Register ) ............................................................................................................................ 41
Multiplication Division Unit( MDU )................................................................................................................. 42
Operating Registers of the MDU............................................................................................................ 42
Operation of the MDU........................................................................................................................... 43
5.1
5.2
5.3
5.4
5.5
6.1
6.2
6.2.1
6.2.2
6.2.3
First phase: loading the MDx registers, x = 0~5:............................................................................ 43
Second phase: executing calculation. ........................................................................................... 43
Third phase: reading the result from the MDx registers.................................................................. 44
6.3
Normalizing........................................................................................................................................... 44
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M071
SM59A16U1U48VP OB59A16U1U48VP
- 1 -