71M6512-DB Maxim Integrated Products, 71M6512-DB Datasheet - Page 66
71M6512-DB
Manufacturer Part Number
71M6512-DB
Description
Power Management Modules & Development Tools 71M6512 DEMO BOARD 71M6512 DEMO BOARD
Manufacturer
Maxim Integrated Products
Datasheet
1.71M6521DE-DB.pdf
(138 pages)
- Current page: 66 of 138
- Download datasheet (2Mb)
Power Factor Measurement
The power-factor option (not compiled in the executable Demo Code) provides both instantaneous and accumulated
(over fractions of an hour) display of power factor by phase. All power factor calculations are performed using floating
point variables.
The power factor (PF = cosϕ) calculation is based on the equations:
or VAh divided by Wh.
The Demo Code revision 4.03 uses only the hardware watchdog timer provided by the 80515. This fixed-duration timer
is controlled with SFR register WDI (0xE8).
The software watchdog timer is described in section 6.3.4, but should not be used. The hardware watchdog
timer is more reliable since it cannot be accidentally disabled.
The hardware watchdog timer requires a refresh by the MPU firmware, i.e. bit 7 of WDI set, at least every 1.5 seconds.
If this refresh does not occur, the hardware watchdog timer overflows, and the 80515 is reset as if RESETZ were pulled
low. When overflow occurs, the bit WD_OVF is set in the configuration RAM. Using the WD_OVF bit, the MPU can
determine whether a reset or a hardware watchdog timer overflow occurred. The WD_OVF bit is cleared when
RESETZ is pulled low.
Note: The bits of the WDI register (SFR 0xE8) should not be individually set or reset. Instead, byte operations should
be used.
The following macro code should be used for resetting (clearing) the watchdog, IE_RTC or IE_XFER bits:
#define
#define
#define
#define
#define
#define
The RTC is accessible through the I/O RAM (Configuration RAM) registers RTC_SEC through RTC_YR (addresses
0x2015 through 0x201B), as described in the data sheets.
Since the RTC runs on a much slower clock than the MPU, only one write operation can be performed per RTC clock
cycle. This means that write operations to set the RTC must be separated by at least 396us. The sample code uses a
software timer to perform this delay, so any code modification must make sure that hardware timer 1 is still useable for
the RTC functions.
Revision 1.7
5.4.4 Watchdog Timer
5.4.5 Real-Time Clock (RTC)
P = S * cosϕ = S * PF
==> PF = P/S,
with P = real energy, S = apparent energy, PF = power factor
WD_RST_
IE_RTC_
IE_XFER_
RESET_WD()
CLR_IE_XFER()
CLR_IE_RTC()
0xFF
0x02
0x01
© Copyright 2005-2007 TERIDIAN Semiconductor Corporation
IFLAGS
IFLAGS
IFLAGS
// WatchDog bit.
// RTC ticked.
// XFER data available.
=
=
=
TERIDIAN Proprietary
WD_RST_;
~IE_XFER_
~IE_RTC_
&
&
0x7F; // 0x7D
0x7F; // 0x7E
71M652X Software User’s Guide
66 of 138
Related parts for 71M6512-DB
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Current & Power Monitors & Regulators Residential Meter Extended Io
Manufacturer:
Maxim Integrated Products
Part Number:
Description:
Current & Power Monitors & Regulators Gang Programmer Base Unit+6512 Socket Brd
Manufacturer:
Maxim Integrated Products
Part Number:
Description:
Current & Power Monitors & Regulators Residential Meter Extended Io
Manufacturer:
Maxim Integrated Products
Part Number:
Description:
MAX7528KCWPMaxim Integrated Products [CMOS Dual 8-Bit Buffered Multiplying DACs]
Manufacturer:
Maxim Integrated Products
Datasheet:
Part Number:
Description:
Single +5V, fully integrated, 1.25Gbps laser diode driver.
Manufacturer:
Maxim Integrated Products
Datasheet:
Part Number:
Description:
Single +5V, fully integrated, 155Mbps laser diode driver.
Manufacturer:
Maxim Integrated Products
Datasheet:
Part Number:
Description:
VRD11/VRD10, K8 Rev F 2/3/4-Phase PWM Controllers with Integrated Dual MOSFET Drivers
Manufacturer:
Maxim Integrated Products
Datasheet:
Part Number:
Description:
Highly Integrated Level 2 SMBus Battery Chargers
Manufacturer:
Maxim Integrated Products
Datasheet:
Part Number:
Description:
Current Monitor and Accumulator with Integrated Sense Resistor; ; Temperature Range: -40°C to +85°C
Manufacturer:
Maxim Integrated Products
Part Number:
Description:
TSSOP 14/A°/RS-485 Transceivers with Integrated 100O/120O Termination Resis
Manufacturer:
Maxim Integrated Products
Part Number:
Description:
TSSOP 14/A°/RS-485 Transceivers with Integrated 100O/120O Termination Resis
Manufacturer:
Maxim Integrated Products
Part Number:
Description:
QFN 16/A°/AC-DC and DC-DC Peak-Current-Mode Converters with Integrated Step
Manufacturer:
Maxim Integrated Products
Part Number:
Description:
TDFN/A/65V, 1A, 600KHZ, SYNCHRONOUS STEP-DOWN REGULATOR WITH INTEGRATED SWI
Manufacturer:
Maxim Integrated Products
Part Number:
Description:
Integrated Temperature Controller f
Manufacturer:
Maxim Integrated Products
Part Number:
Description:
SOT23-6/I°/45MHz to 650MHz, Integrated IF VCOs with Differential Output
Manufacturer:
Maxim Integrated Products