Analog Devices MicroConverter ADuC832 User Manual

BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY  
INSTRUCTION SET PIN FUNCTIONS  
ADuC832  
1
2
3
4
5
6
7
8
9
56 P1.0 / ADC0 / T2  
Legend  
Arithmetic Operations  
1
2
3
P1.1 / ADC1 / T2EX  
P1.2 / ADC2  
ADD A,source  
1,2 12  
Rn  
register addressing using R0-R7  
8bit internal address (00h-FFh)  
indirect addressing using R0 or R1  
any of [Rn, direct, @Ri]  
add source to A  
direct  
@Ri  
ADD A,#data  
ADDC A,source  
ADDC A,#data  
SUBB A,source  
SUBB A,#data  
2
12  
1,2 12  
12  
1
2
42  
41  
40  
39  
38  
37  
36  
35  
34  
33  
32  
31  
30  
pin  
1
identifier  
pin 1 identifier  
1
2
3
4
5
6
7
8
9
39  
38  
37  
36  
35  
34  
33  
32  
31  
30  
29  
28  
27  
3
P1.3 / ADC3  
4
5
add with carry  
ADuC832  
56pin CSP  
TOP VIEW  
(not to scale)  
source  
dest  
4,5 AVDD  
6
2
7
ADuC832  
52pin MQFP  
TOP VIEW  
MicroConverter®  
Quick Reference Guide  
8
any of [Rn, direct, @Ri]  
6,7,8 AGND  
9
subtract from A 1,2 12  
with borrow  
10  
11  
12  
13  
14  
#data  
8bit constant included in instruction  
9
CREF  
2
12  
#data16 16bit constant included in instruction  
29 10  
11  
10 VREF  
(not to scale)  
INC  
INC  
INC  
DEC  
A
1
12  
bit  
rel  
8bit direct address of bit  
signed 8bit offset  
11 DAC0  
12  
13  
source  
DPTR *  
A
increment  
decrement  
1,2 12  
10 12 DAC1  
addr11 11bit address in current 2K page  
addr16 16bit address  
1
1
24  
12  
11 13 P1.4 / ADC4  
12 14 P1.5 / ADC5 / SS  
13 15 P1.6 / ADC6  
DEC source  
MUL AB  
1,2 12  
* INC DPTR increments the 24bit value DPP/DPH/DPL  
multiply A by B  
divide A by B  
decimal adjust  
1
1
1
48  
48  
12  
a “Data Acquisition System on a Chip”  
Logical Operations  
DIV  
DA  
AB  
A
14 16 P1.7 / ADC7  
15 17 RESET  
27 29 SDATA / MOSI  
28 30 P2.0 / A8 / A16  
29 31 P2.1 / A9 / A17  
30 32 P2.2 / A10 / A18  
31 33 P2.3 / A11 / A19  
32 34 XTAL1 (in)  
40 43 EA  
ANL A,source  
ANL A,#data  
ANL direct,A  
ANL direct,#data  
ORL A,source  
ORL A,#data  
ORL direct,A  
ORL direct,#data  
XRL A,source  
XRL A,#data  
XRL direct,A  
XRL direct,#data  
1,2 12  
41 44 PSEN  
2
2
3
12  
12  
24  
logical AND  
logical OR  
logical XOR  
16 18 P3.0 / RxD  
17 19 P3.1 / TxD  
18 20 P3.2 / INT0  
19 21 P3.3/INT1/MISO/PWM1  
20 22 DVDD  
42 45 ALE  
the ADuC832 is:  
Data Transfer Operations  
MOV A,source  
ADC: 12bit, 5µs, 8channel, self calibrating  
43 46 P0.0 / AD0  
44 47 P0.1 / AD1  
45 48 P0.2 / AD2  
46 49 P0.3 / AD3  
47 50 DGND  
0.5LSB INL & 70dB SNR  
1,2 12  
12  
MOV A,#data  
2
1,2 12  
DAC: dual, 12bit, 15µs, voltage output  
MOV dest,A  
move source  
to destination  
1,2 12  
1,2,3 24  
2,3 12,24  
2
2
3
12  
12  
24  
1LSB DNL  
33 35 XTAL2 (out)  
MOV dest,source  
MOV dest,#data  
MOV DPTR,#data16  
21 23 DGND  
P3.4 / T0 / PWMC /  
22 24  
34 36 DVDD  
Flash/EEPROM: 62K bytes Flash/EE program memory  
35 37,38 DGND  
48 51 DVDD  
PWM0 / EXTCLK  
3
1
1
1
1
1
1
2
2
24  
24  
24  
24  
24  
24  
24  
24  
24  
1,2 12  
4K bytes Flash/EE data memory  
23 25 P3.5 / T1 / CONVST  
24 26 P3.6 / WR  
36 39 P2.4 / A12 / A20  
37 40 P2.5 / A13 / A21  
38 41 P2.6/A14/A22/PWM0  
39 42 P2.7/A15/A23/PWM1  
49 52 P0.4 / AD4  
50 53 P0.5 / AD5  
51 54 P0.6 / AD6  
52 55 P0.7 / AD7  
MOVC A,@A+DPTR move from  
code memory  
2
2
3
1
1
1
1
1
1
1
12  
12  
24  
12  
12  
12  
12  
12  
12  
12  
microcontroller: industry standard 8052  
32 I/O lines, programmable PLL clock  
MOVC A,@A+PC  
25 27 P3.7 / RD  
MOVX A,@Ri  
(131KHz to 16.8MHz from 32KHz crystal)  
26 28 SCLOCK  
MOVX A,@DPTR  
MOVX @Ri,A  
MOVX @DPTR,A  
PUSH direct  
move to/from  
data memory  
CLR  
CPL  
RL  
A
A
A
A
A
A
clear A to zero  
complement A  
rotate A left  
other on-chip features: temperature sensor, power supply monitor,  
watchdog timer, flexible serial interface ports,  
voltage reference, time interval counter,  
CODE MEMORY SPACE  
push onto stack  
pop from stack  
RLC  
RR  
...through C  
rotate A right  
...through C  
swap nibbles  
dual 8/16bit PWM, power-on-reset  
POP direct  
FFFFh  
FFFFh  
(NOP instructions)  
XCH A,source  
XCHD A,@Ri  
exchange bytes 1,2 12  
RRC  
F800h  
FUNCTIONAL BLOCK DIAGRAM  
F7FFh  
exchg low digits  
1
12  
SWAP A  
* pin numbers below refer to MQFP package  
Program Branching  
Boolean Variable Manipulation  
ACALL addr11  
2
3
1
24  
24  
24  
CLR  
CLR bit  
SETB  
int. SET1B b2i4t  
CPL  
C
1
2
1
2
1
2
2
2
2
2
2
2
2
2
3
3
3
12  
12  
12  
12  
12  
12  
24  
24  
24  
24  
12  
24  
24  
24  
24  
24  
24  
call subroutine  
clear bit to zero  
LCALL addr16  
RET  
return from sub.  
from  
C
EA=1  
EA=0  
set bit to one  
RETIreturn  
internal  
code space  
external  
code space  
AJMP addr11  
LJMP addr16  
SJMP rel  
2
3
2
1
2
2
3
3
3
2
2
3
1
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
24  
12  
C
complement bit  
CPL bit  
jump  
62K bytes  
Flash/EE  
(64K  
addressable)  
hardware  
CONVST 23  
ANL C,bit  
ANL C,/bit  
ORL C,bit  
ORL C,/bit  
MOV C,bit  
MOV bit,C  
AND bit with C  
...NOTbit with C  
OR bit with C  
ADuC832  
JMP @A+DPTR  
JZ  
rel  
rel  
jump if A = 0  
ADC0  
ADC1  
ADC2  
ADC3  
ADC4 11  
ADC5 12  
ADC6 13  
ADC7 14  
1
2
3
4
9
DAC0  
BUF  
BUF  
DAC0  
DAC1  
ADC  
JNZ  
jump if A not 0  
...NOTbit with C  
DAC  
control  
control  
&
T/H  
12bit ADC  
0000h  
0000h  
CJNE A,direct,rel  
CJNE A,#data,rel  
AIN  
MUX  
calibration  
move bit to bit  
10 DAC1  
compare and  
jump if not  
CJNE Rn,#data,rel equal  
CJNE @Ri,#data,rel  
JC  
rel  
jump if C set  
38 PWM0  
39 PWM1  
INTERRUPT VECTOR ADDRESSES  
PWM  
JNC rel  
jmp if C not set  
jump if bit set  
jmp if bit not set  
jmp&clear if set  
4K x 8  
data  
Flash/EE  
2K x 8  
TEMP  
sensor  
(-3 mV/oC)  
user “XRAM”  
DJNZ Rn,rel  
DJNZ direct, rel  
NOP  
decrement and  
JB  
bit,rel  
22 T0  
23 T1  
jump if not zero  
Priority  
within  
Level  
256 x 8  
user RAM  
Vector  
Address  
Interrupt  
Bit  
JNB  
JBC  
bit,rel  
16bit  
counter  
timers  
62K x 8  
program  
Flash/EE  
Interrupt Name  
2.5V  
bandgap  
reference  
8052  
1
2
T2  
no operation  
bit, rel  
MCU  
watchdog  
timer  
T2EX  
core  
PSMCON.5 Power Supply Monitor Interrupt  
43h  
5Bh  
03h  
33h  
0Bh  
13h  
1Bh  
3Bh  
23h  
2Bh  
53h  
1
2
3
4
5
6
7
8
9
baudrate timer  
power supply  
monitor  
WDS  
IE0  
ADCI  
TF0  
IE1  
TF1  
ISPI/I2CI  
RI/TI  
TF2/EXF2  
WatchDog Timer Interrupt  
External Interrupt 0  
End of ADC Conversion Interrupt  
Timer0 Overflow Interrupt  
External Interrupt 1  
Timer1 Overflow Interrupt  
SPI/I2C Interrupt  
UART Interrupt  
time  
interval  
counter  
VREF  
8
7
downloader  
debugger  
BUF  
18 INT0  
19 INT1  
ASSEMBLER DIRECTIVES  
CREF  
asynchronous  
serial port  
(UART)  
synchronous  
serial interface  
(SPI or I2C)  
OSC &  
PLL  
EQU  
DATA  
IDATA  
define symbol  
define internal memory symbol  
define indirect addressing symbol  
DW  
ORG  
END  
store word values in program memory  
set segment location counter  
end of assembly source file  
POR  
XDATA define external memory symbol  
CSEG  
XSEG  
DSEG  
ISEG  
select program memory space  
select external data memory space  
select internal data memory space  
select indirectly addressed internal  
data memory space  
BIT  
CODE  
DS  
DBIT  
DB  
define internal bit memory symbol  
define program memory symbol  
reserve bytes of data memory  
reserve bits of bit memory  
Timer2 Interrupt  
10  
11  
store byte values in program memory BSEG  
select bit addressable memory space  
REV. 0  
TIMECON.2 Time Interval Counter Interrupt  
BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY BIG MEMORY  

Hotpoint 51TGW User Manual
GE Profile JP968CCCC User Manual
Epson V4 10 User Manual
Cisco Systems Cisco Wave 694 Application Acceleration Appliance WAVE694K9 User Manual
Cisco Systems Cisco Unified Ip Phone 7970G User Manual
Cadco UNOX XAF User Manual
AT T TL71308 User Manual
Asus Computer Hardware D2X User Manual
ASRock Computer Hardware 775I915P SATA2 User Manual
AMD Geode SC1201 User Manual