|
71M6531D_10 Datasheet, PDF (57/120 Pages) Teridian Semiconductor Corporation – Energy Meter IC | |||
|
◁ |
FDS 6531/6532 005
Data Sheet 71M6531D/F-71M6532D/F
To facilitate transition to sleep mode, which is useful when an unprogrammed IC is mounted on a PCB
with a battery installed, the Teridian production test programs the following six-byte sequence into the
flash location starting at address 0x00000: 0x74 - 0x40 - 0x90 - 0x20 - 0xA9 - 0xF0. This sequence de-
codes to the following assembler code:
0000: 7440
0002: 9020A9
0005: F0
MOV A,#40
MOV DPTR,#20A9
MOVX @DPTR,A
; set bit 6 in accumulator
; point to I/O RAM address 0x20A9
; set bit 6 (sleep) in 0x20A9
Transitions from both LCD and SLEEP mode are initiated by the wake-up timer timeout conditions or
pushbutton events. When the PB pin is pulled high (pushbutton is pressed), the IE_PB interrupt flag (SFR
0xE8[4]) is set, and when the wake-up timer times out, the IE_WAKE interrupt flag (SFR 0xE8[5]) is set.
In the absence of system power, if the voltage margin for the LDO regulator providing 2.5 V to the internal
circuitry becomes too low to be safe, the part automatically enters sleep mode (BAT_OK false). The battery
voltage must stay above 3 V to ensure that BAT_OK remains true. Under this condition, the 71M6531
stays in SLEEP mode, even if the voltage margin for the LDO improves (BAT_OK true). Table 52 shows
the circuit functions available in each operating mode.
Table 52: Available Circuit Functions
Circuit Function
System Power
MISSION
Battery Power (Nonvolatile Supply)
BROWNOUT
LCD
SLEEP
CE
Yes
â
â
â
CE Data RAM
Yes
Yes
â
â
FIR
Yes
â
â
â
Analog circuits
Yes
â
â
â
MPU clock rate
From PLL, as
28.672 kHz
defined by
(7/8 of 32768 Hz)
â
â
MPU_DIV[2:0]
MPU_DIV[2:0]
Yes
â
â
â
ICE
Yes
Yes
â
â
DIO Pins
Yes
Yes
â
â
Watchdog Timer
Yes
Yes
â
â
LCD
Yes
Yes
Yes
â
EEPROM Interface (2-wire)
Yes
Yes (8 kb/s)
â
â
EEPROM Interface (3-wire)
Yes
Yes (16 kb/s)
â
â
UART
Yes
300 bd
â
â
Optical TX modulation
Yes
â
â
â
Flash Read
Yes
Yes
â
â
Flash Page Erase
Yes
Yes
â
â
Flash Write
Yes
â
â
â
RAM Read and Write
Yes
Yes
â
â
Wakeup Timer
Yes
Yes
Yes
Yes
OSC and RTC
Yes
Yes
Yes
Yes
XRAM data preservation
Yes
Yes
â
â
V3P3D voltage output pin
Yes
Yes
â
â
GPO â GP7 registers
Yes
Yes
Yes
Yes
â indicates not active
2.3.1 BROWNOUT Mode
In BROWNOUT mode, most non-metering digital functions are active (as shown in Table 52), including
ICE, UART, EEPROM, LCD and RTC. In BROWNOUT mode, a low bias current regulator will provide
2.5 Volts to V2P5 and V2P5NV. The regulator has an output called BAT_OK to indicate that it has sufficient
overhead. When BAT_OK = 0, the part will enter SLEEP mode. From BROWNOUT mode, the processor
v1.3
© 2005-2010 TERIDIAN Semiconductor Corporation
57
|
▷ |