English
Language : 

71M6543F Datasheet, PDF (36/157 Pages) Maxim Integrated Products – Selectable Gain of 1 or 8 for One Current Energy Meter ICs Metrology Compensation
71M6543F/H and 71M6543G/GH Data Sheet
The MPU core power consumption can be significantly reduced by the proper use of Idle Mode. The
amount of power saved depends on the percentage of time spent in Idle Mode. Since some interrupts
may occur frequently, thus ending Idle Mode, one method to maximize power savings using Idle Mode, is
to employ a software loop in the main background routine at a point where the MPU background
processing may be permitted to idle. This loop invokes Idle Mode while testing a bit to exit the loop.
Frequently occurring interrupts end Idle Mode, but Idle Mode is immediately re-entered when control is
returned to the idle loop. To exit the idle loop, an interrupt must occur, and the associated interrupt
service routine must set the bit that terminates the idle loop execution.
Power-Down Mode halts the MPU and its peripherals. Power-Down Mode is ended by either a hardware
reset or an external interrupt event. To enter Power-Down Mode, the firmware must set the PD bit (bit 1)
in the PCON SFR register (SFR 0x87).
Bit 7
Table 16. 80515 PCON SFR Register (SFR 0x87)
Bit 6 Bit 5
Bit 4 Bit 3 Bit 2
Bit 1
Bit 0
SMOD
-
-
-
-
-
PD
IDL
Notes:
The SMOD bit is not related to power management.
See 2.4.6 UARTs below for information on the SMOD bit.
2.4.6 UARTs
The 71M6543 include a UART (UART0) that can be programmed to communicate with a variety of AMR
modules and other external devices. A second UART (UART1) is connected to the optical port, as
described in the 2.5.9 UART and Optical Interface on page 57.
The UARTs are dedicated 2-wire serial interfaces, which can communicate with an external host processor
at up to 38,400 bits/s (with MPU clock = 1.2288 MHz). The operation of the RX and TX UART0 pins is as
follows:
• UART0 RX: Serial input data are applied at this pin. Conforming to RS-232 standard, the bytes are
input LSB first.
• UART0 TX: This pin is used to output the serial data. The bytes are output LSB first.
The 71M6543 has several UART-related registers for the control and buffering of serial data.
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] (SFR 0xD8) 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 17 shows how the baud rates are
calculated. Table 18 shows the selectable UART operation modes.
Table 17: Baud Rate Generation
UART0
UART1
Using Timer 1
(WDCON[7] = 0)
2smod * fCKMPU/ (384 * (256-TH1))
N/A
Using Internal Baud Rate Generator
(WDCON[7] = 1)
2smod * fCKMPU/(64 * (210-S0REL))
fCKMPU/(32 * (210-S1REL))
S0REL and S1REL are 10-bit values derived by combining bits from the respective timer reload registers.
(S0RELL, S0RELH, S1RELL, S1RELH are SFR 0xAA, SFR 0xBA, SFR 0x9D and SFR 0xBB, respectively) SMOD
is the SMOD bit in the SFR PCON register (SFR 0x87). TH1 (SFR 0x8D) is the high byte of timer 1.
36
© 2008–2011 Teridian Semiconductor Corporation
v1.2