pc87591l National Semiconductor Corporation, pc87591l Datasheet - Page 174

no-image

pc87591l

Manufacturer Part Number
pc87591l
Description
Lpc Mobile Embedded Controllers
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PC87591L
Manufacturer:
NS
Quantity:
5 510
Part Number:
PC87591L
Manufacturer:
MOT
Quantity:
5 510
Company:
Part Number:
pc87591l-VPC
Quantity:
18
Part Number:
pc87591l-VPCN01
Manufacturer:
NSC
Quantity:
5 510
Part Number:
pc87591l-VPCN01
Manufacturer:
NS/国半
Quantity:
20 000
www.national.com
Embedded Controller Modules
To change the diode selection for a new measurement, the input is switched between inputs at different voltage levels. The
temperature input interface circuits of the ADC require a settling time to reach the new voltage value with the equivalent of
1/2 C accuracy. Therefore, the ADC waits for a programmable delay time between the selection of the diode to be measured
and the beginning of the A/D conversion. This Temperature Channel Delay is expressed in ADC clock cycles in ADC Delay
Control register (ADLYCTL). The number of ADC clock cycles should be converted to time using the following formula:
To calculate the required delay value according to the externally added components, see Section 4.11.7 on page 185.
4.11.5 ADC Operation
Reset
Section 3.2 on page 65 describes the types of PC87591x resets. The ADC is affected by the core domain reset events, as
described below:
All control, configuration and status registers are reset to their default values, as indicated in Section 4.11.6 on page 177.
An exception to this is OTSEV (Overtemperature Event) bit in ADCSTS register, which is reset at V
The Temperature and Voltage (1, 2 and 3) Channel Data Buffer registers are not reset, since their value is undefined until
the first measurement occurs (on each of them).
The ADC is disabled, with all interrupt sources masked and all event status bits reset. The remote temperature diode is dis-
abled, and the voltage inputs AD8 and AD9 may be used. The clock division factor, as well as the temperature channel delay
and the voltage channel delay, are all set to their maximum value (for the slowest ADC operation speed). The Overtemper-
ature limit is set to the highest value (127 C) for maximum flexibility. Each of the four channels is individually disabled, along
with its interrupt source. The Selected Input for all three voltage channels is set to 1F
ADC Clock
The ADC clock is generated by dividing the system clock by a factor in the range of 4 to 63, as defined in SCLKDIV field in
ACLKCTL register (see Section 4.11.6 on page 177). The system clock’s source is the on-chip clock multiplier (see
Section 4.18 on page 239). The ADC clock needs to be at a frequency of 0.5 MHz. SCLKDIV must be programed prior to
enabling the ADC (i.e., while ADCEN of the ADCCNF register is 0).
Initializing the ADC
The ADC must be initialized before it is enabled. The following steps need to be taken to initialize it before enabling the ADC
(i.e., ADCEN bit in ADCCNF register is cleared):
Enabling and Disabling the ADC
Enabling the ADC. The ADC is enabled by setting ADCEN in ADCCNF register to 1.
After the ADC is enabled, its internal circuits need an activation delay of 100 s. This activation delay should be added to
the ADC cycle until the first batch of measurements (after enabling the ADC) is available. Note that after activation, the first
set of results using the large scale mode (CSCALE bit in VCHiCTL register is clear) may be wrong.
The PC87591x temperature is measured as long as the ADC is active. Other measurement operations may be enabled or
disabled individually. When measurement conversions are enabled while the ADC is enabled, the measurement operations
start on the following conversion cycle.
Disabling the ADC. The ADC is disabled by resetting ADCEN in ADCCNF register when one of these conditions applies:
System Clock Division Factor - SCLKDIV field in ACLKCTL register.
Temperature Channel Delay - TMPDLY field in ADLYCTL register.
Voltage Channel Delay - VOLDLY field in ADLYCTL register.
Select use of Remote Diode or AI8 and AI9 - REMDEN bit in ADCCNF register.
Copy calibration information from the flash to the index-data fields using the following sequence:
a. Read a byte from flash information block.
b. Set index for that parameter in ADCPINX register.
c. Write data to ADCPD register.
d. Repeat steps a-c for all parameters, as defined in Section B.1 on page 434.
e. Select index 00h in ADCPINX and write data of 01
V
Warm reset
Core enters Idle mode
The software resets the ADCEN bit.
CC
Power-Up reset
Delay = Number_of_ADC_clocks
(Continued)
16
*
174
to ADCPD to lock the calibration information.
(System_clock_cycle)
16
(disabled).
*
CC
SCLKDIV(5-0)
Power-Up reset only.
Revision 1.07

Related parts for pc87591l