71M6511-IGT/F Maxim Integrated Products, 71M6511-IGT/F Datasheet - Page 22
![IC ENERGY METER RESIDENT 64-LQFP](/photos/37/63/376302/landingpageteridian6511_sml.jpg)
71M6511-IGT/F
Manufacturer Part Number
71M6511-IGT/F
Description
IC ENERGY METER RESIDENT 64-LQFP
Manufacturer
Maxim Integrated Products
Datasheet
1.71M6511H-IGTF.pdf
(98 pages)
Specifications of 71M6511-IGT/F
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
71M6511-IGT/F
Manufacturer:
ST
Quantity:
1 500
Company:
Part Number:
71M6511-IGT/F
Manufacturer:
Maxim Integrated
Quantity:
10 000
A single SFR register serves as both the transmit buffer and receive buffer (S0BUF, SFR 0x99 for UART0 and S1BUF, SFR
0x9C for UART1). When written by the MPU, SxBUF acts as the transmit buffer, and when read by the MPU, it acts as the
receive buffer. Writing data to the transmit buffer starts the transmission by the associated UART. Received data are
available by reading from the receive buffer. Both UARTs can simultaneously transmit and receive data.
WDCON[7] selects whether timer 1 or the internal baud rate generator is used. All UART transfers are programmable for parity
enable, parity, 2 stop bits/1 stop bit and XON/XOFF options for variable communication baud rates from 300 to 38400 bps.
Table 13 shows how the baud rates are calculated. Table 14 shows the selectable UART operation modes.
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
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
bit, using the control bits TB80 (S0CON.3) and TB81 (S1CON.3) in the S0COn and S1CON SFRs for transmit and RB81
(S1CON.2) for receive operations. SM20 (S0CON.5) and SM21 (S1CON.5) can be used as handshake signals for inter-pro-
cessor 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.
Page: 22 of 98
Serial Interface 0
Serial Interface 1
A Maxim Integrated Products Brand
MSB
Start bit, 8 data bits, parity, stop bit,
Start bit, 8 data bits, parity, stop bit,
SM0
variable baud rate (internal baud
variable baud rate (internal baud
fixed baud rate 1/32 or 1/64 of
Start bit, 8 data bits, stop bit,
rate generator or timer 1)
rate generator or timer 1)
2
smod
SM1
UART 0
f
* f
CKMPU
N/A
CKMPU
Using Timer 1
SM20
/ (384 * (256-TH1))
© 2005–2010 Teridian Semiconductor Corporation
N/A
Table 13: Baud Rate Generation
Table 15: The S0CON Register
REN0
Table 14: UART Modes
Start bit, 8 data bits, stop bit, variable baud rate
Start bit, 8 data bits, parity, stop bit, variable
TB80
baud rate (internal baud rate generator)
(internal baud rate generator)
Single-Phase Energy Meter IC
Using Internal Baud Rate Generator
RB80
2
smod
f
UART 1
CKMPU
71M6511/71M6511H
* f
N/A
N/A
CKMPU
/(32 * (2
TI0
DATA SHEET
/(64 * (2
10
-S1REL))
RI0
10
-S0REL))
LSB
NOVEMBER 2010
V2.7
th