08.06.2013 Views

C8051F326/7 - Silicon Labs

C8051F326/7 - Silicon Labs

C8051F326/7 - Silicon Labs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7.2. Power-Fail Reset / VDD Monitor<br />

<strong>C8051F326</strong>/7<br />

When a power-down transition or power irregularity causes VDD to drop below V RST , the power supply<br />

monitor will drive the RST pin low and hold the CIP-51 in a reset state (see Figure 7.2). When VDD returns<br />

to a level above V RST , the CIP-51 will be released from the reset state. Note that even though internal data<br />

memory contents are not altered by the power-fail reset, it is impossible to determine if VDD dropped<br />

below the level required for data retention. If the PORSF flag reads ‘1’, the data may no longer be valid.<br />

The VDD monitor is enabled after power-on resets; however its defined state (enabled/disabled) is not<br />

altered by any other reset source. For example, if the VDD monitor is enabled and a software reset is performed,<br />

the VDD monitor will still be enabled after the reset.<br />

Important Note: The VDD monitor must be enabled before it is selected as a reset source. Selecting the<br />

VDD monitor as a reset source before it is enabled and stabilized will cause a system reset. The procedure<br />

for configuring the VDD monitor as a reset source is shown below:<br />

Step 1. Enable the VDD monitor (VDM0CN.7 = ‘1’).<br />

Step 2. Wait for the VDD monitor to stabilize (see Table 7.1 for the VDD Monitor turn-on time).<br />

Step 3. Select the VDD monitor as a reset source (RSTSRC.1 = ‘1’).<br />

See Figure 7.2 for VDD monitor timing. See Table 7.1 for complete electrical characteristics of the VDD<br />

monitor.<br />

SFR Definition 7.1. VDM0CN: VDD Monitor Control<br />

R/W R R R R R R R Reset Value<br />

VDMEN VDDSTAT Reserved Reserved Reserved Reserved Reserved Reserved Variable<br />

Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 SFR Address:<br />

0xFF<br />

Bit7: VDMEN: VDD Monitor Enable.<br />

This bit turns the VDD monitor circuit on/off. The VDD Monitor cannot generate system<br />

resets until it is also selected as a reset source in register RSTSRC (Figure 7.2). The VDD<br />

Monitor must be allowed to stabilize before it is selected as a reset source. Selecting the<br />

VDD monitor as a reset source before it has stabilized may generate a system reset.<br />

See Table 7.1 for the minimum VDD Monitor turn-on time. The VDD Monitor is enabled following<br />

all POR resets.<br />

0: VDD Monitor Disabled.<br />

1: VDD Monitor Enabled.<br />

Bit6: VDDSTAT: VDD Status.<br />

This bit indicates the current power supply status (VDD Monitor output).<br />

0: VDD is at or below the VDD monitor threshold.<br />

1: VDD is above the VDD monitor threshold.<br />

Bits5–0: Reserved. Read = Variable. Write = don’t care.<br />

Rev. 1.1 59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!