71M6521DH MAXIM [Maxim Integrated Products], 71M6521DH Datasheet - Page 24

no-image

71M6521DH

Manufacturer Part Number
71M6521DH
Description
Energy Meter ICs
Manufacturer
MAXIM [Maxim Integrated Products]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
71M6521DH-IGT
Manufacturer:
TERIDIAN
Quantity:
3 000
Note: S0REL and S1REL are 10-bit values derived by combining bits from the respective timer reload registers. SMOD is the SMOD
bit in the SFR PCON. TH1 is the high byte of timer 1.
Mode 0
Mode 1
Mode 2
Mode 3
SM20 (S0CON.5) and SM21 (S1CON.5) can be used as handshake signals for inter-processor communication in multi-
processor systems.
Serial Interface 0 Control Register (S0CON).
The function of the UART0 depends on the setting of the Serial Port Control Register S0CON.
Serial Interface 1 Control Register (S1CON).
The function of the serial port depends on the setting of the Serial Port Control Register S1CON.
Page: 24 of 107
Parity of serial data is available through the P flag of the accumulator. Seven-bit serial modes with parity,
such as those used by the FLAG protocol, can be simulated by setting and reading bit 7 of 8-bit output data.
Seven-bit serial modes without parity can be simulated by setting bit 7 to a constant 1. 8-bit serial modes
with parity can be simulated by setting and reading the 9
TB81 (S1CON.3) in the S0COn and S1CON SFRs for transmit and RB81 (S1CON.2) for receive operations.
UART 0
UART 1
MSB
rate (internal baud rate generator or timer 1)
Start bit, 8 data bits, parity, stop bit, variable
Start bit, 8 data bits, stop bit, variable baud
SM0
baud rate (internal baud rate generator or
Start bit, 8 data bits, parity, stop bit, fixed
baud rate 1/32 or 1/64 of f
2
smod
SM1
* f
CKMPU
UART 0
timer 1)
Using Timer 1
N/A
SM20
/ (384 * (256-TH1))
N/A
Table 13: Baud Rate Generation
Table 15: The S0CON Register
Table 14: UART Modes
CKMPU
REN0
TB80
Start bit, 8 data bits, parity, stop bit, variable baud
Start bit, 8 data bits, stop bit, variable baud rate
Using Internal Baud Rate Generator
th
2
bit, using the control bits TB80 (S0CON.3) and
RB80
smod
rate (internal baud rate generator)
f
CKMPU
(internal baud rate generator)
* f
CKMPU
/(32 * (2
TI0
/(64 * (2
71M6521DE/DH/FE Data Sheet
UART 1
10
N/A
N/A
-S1REL))
10
-S0REL))
RI0
LSB
Rev 2

Related parts for 71M6521DH