ADUC843BCP32Z-5 Analog Devices Inc, ADUC843BCP32Z-5 Datasheet - Page 66

Microconverter, ADUC842 Without DACs

ADUC843BCP32Z-5

Manufacturer Part Number
ADUC843BCP32Z-5
Description
Microconverter, ADUC842 Without DACs
Manufacturer
Analog Devices Inc
Series
MicroConverter® ADuC8xxr
Datasheet

Specifications of ADUC843BCP32Z-5

Core Processor
8052
Core Size
8-Bit
Speed
16.78MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
DMA, PSM, PWM, Temp Sensor, WDT
Number Of I /o
32
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
2.25K x 8
Voltage - Supply (vcc/vdd)
4.75 V ~ 5.25 V
Data Converters
A/D 8x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
56-LFCSP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ADuC841/ADuC842/ADuC843
Mode 0: 8-Bit Shift Register Mode
Mode 0 is selected by clearing both the SM0 and SM1 bits in the
SFR SCON. Serial data enters and exits through RxD. TxD out-
puts the shift clock. Eight data bits are transmitted or received.
Transmission is initiated by any instruction that writes to SBUF.
The data is shifted out of the RxD line. The 8 bits are transmitted
with the least significant bit (LSB) first.
Reception is initiated when the receive enable bit (REN) is 1
and the receive interrupt bit (RI) is 0. When RI is cleared, the
data is clocked into the RxD line, and the clock pulses are
output from the TxD line.
Mode 1: 8-Bit UART, Variable Baud Rate
Mode 1 is selected by clearing SM0 and setting SM1. Each data
byte (LSB first) is preceded by a start bit (0) and followed by a
stop bit (1). Therefore, 10 bits are transmitted on TxD or are
received on RxD. The baud rate is set by the Timer 1 or Timer 2
overflow rate, or a combination of the two (one for transmission
and the other for reception).
Transmission is initiated by writing to SBUF. The write to SBUF
signal also loads a 1 (stop bit) into the 9th bit position of the
transmit shift register. The data is output bit by bit until the stop
bit appears on TxD and the transmit interrupt flag (TI) is
automatically set, as shown in Figure 72.
Reception is initiated when a 1-to-0 transition is detected on
RxD. Assuming a valid start bit is detected, character reception
continues. The start bit is skipped and the 8 data bits are
clocked into the serial port shift register. When all 8 bits have
been clocked in, the following events occur:
(SCON.1)
TxD
The 8 bits in the receive shift register are latched into SBUF.
The 9th bit (stop bit) is clocked into RB8 in SCON.
The receiver interrupt flag (RI) is set.
TI
START
BIT
Figure 72. UART Serial Port Transmission, Mode 1
D0
D1
D2
D3
D4
D5
I.E., READY FOR MORE DATA
D6
SET INTERRUPT
D7
STOP BIT
Rev. 0 | Page 66 of 88
This is the case if, and only if, all of the following conditions are
met at the time the final shift pulse is generated:
If any of these conditions is not met, the received frame is
irretrievably lost, and RI is not set.
Mode 2: 9-Bit UART with Fixed Baud Rate
Mode 2 is selected by setting SM0 and clearing SM1. In this
mode, the UART operates in 9-bit mode with a fixed baud rate.
The baud rate is fixed at Core_Clk/32 by default, although by
setting the SMOD bit in PCON, the frequency can be doubled
to Core_Clk/16. Eleven bits are transmitted or received: a start
bit (0), 8 data bits, a programmable 9th bit, and a stop bit (1).
The 9th bit is most often used as a parity bit, although it can be
used for anything, including a 9th data bit if required.
To transmit, the 8 data bits must be written into SBUF. The 9th
bit must be written to TB8 in SCON. When transmission is
initiated, the 8 data bits (from SBUF) are loaded onto the
transmit shift register (LSB first). The contents of TB8 are loaded
into the 9th bit position of the transmit shift register. The
transmission starts at the next valid baud rate clock. The TI flag
is set as soon as the stop bit appears on TxD.
Reception for Mode 2 is similar to that of Mode 1. The 8 data
bytes are input at RxD (LSB first) and loaded onto the receive
shift register. When all 8 bits have been clocked in, the following
events occur:
This is the case if, and only if, all of the following conditions are
met at the time the final shift pulse is generated:
If any of these conditions is not met, the received frame is
irretrievably lost, and RI is not set.
RI = 0
Either SM2 = 0 or SM2 = 1
The received stop bit = 1
The 8 bits in the receive shift register are latched into SBUF.
The 9th data bit is latched into RB8 in SCON.
The receiver interrupt flag (RI) is set.
RI = 0
Either SM2 = 0 or SM2 = 1
The received stop bit = 1

Related parts for ADUC843BCP32Z-5