ADUC7039BCP6Z-RL Analog Devices Inc, ADUC7039BCP6Z-RL Datasheet - Page 57
![no-image](/images/manufacturer_photos/0/0/57/analog_devices_inc_sml.jpg)
ADUC7039BCP6Z-RL
Manufacturer Part Number
ADUC7039BCP6Z-RL
Description
Flash 64k ARM7 Dual 16-Bit ADC LIN I.C.
Manufacturer
Analog Devices Inc
Series
MicroConverter® ADuC7xxxr
Datasheet
1.EVAL-ADUC7039QSPZ.pdf
(92 pages)
Specifications of ADUC7039BCP6Z-RL
Core Processor
ARM7
Core Size
16/32-Bit
Speed
20.48MHz
Connectivity
LIN, SPI
Peripherals
POR, Temp Sensor, WDT
Number Of I /o
6
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
3.5 V ~ 18 V
Data Converters
A/D 2x16b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 115°C
Package / Case
32-LFCSP
Lead Free Status / RoHS Status
Lead free by exemption / RoHS compliant by exemption
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free by exemption / RoHS compliant by exemption
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADUC7039BCP6Z-RL
Manufacturer:
NS/国半
Quantity:
20 000
Table 43. LOCSTA MMR Bit Designations
A typical sequence for starting the LIN calibration is as follows.
LOCMIN = EXPECTED_LINBR_VALUE-0x20;
LOCMAX = EXPECTED_LINBR_VALUE+0x20;
LOCKEY = 0x1324;
LOCCON = 0x1;
An example to calibrate the low power oscillator using LIN communication:
LINCON = 0x800;
expected_baudrate = 0x10AB;
LOCMIN = EXPECTED_LINBR_VALUE-0x20;
LOCMAX = EXPECTED_LINBR_VALUE+0x20;
LOCKEY = 0x1324;
LOCCON = 0x1;
while ((LOCSTA & 0x05)!= 0x05){}
while ((LINBR<LOCMIN)||(LINBR>LOCMAX)){}
temp_trim = LOCVAL0;
LOCKEY = 0x1324;
LOCUSR0 = temp_trim;
LOCKEY = 0x1324;
LOCCON = 0;
Bit
7 to 3
2
1
0
Description
Reserved. Read 0.
Low power oscillator trim value modified.
This bit is set by hardware when the precision oscillator trim value is altered.
This bit is cleared by hardware on a read of LOCSTA MMR.
Precision oscillator trim value modified.
This bit is set by hardware when the precision oscillator trim value is altered.
This bit is cleared by hardware on a read of LOCSTA MMR.
Oscillator selected.
This bit is set by hardware to indicate that the low power oscillator is selected for calibration.
This bit is cleared by hardware to indicate that the precision oscillator is selected for calibration.
Rev. B | Page 57 of 92
//Define tolerance
//Define tolerance
//Wait for the correct baud rate
//Define tolerance
//Define tolerance
//Unlock key protection
//Enable calibration with step size = 1
//Enable LIN
//Correspond to 19200 bps
//Unlock key protection
//Enable calibration with step size = 1
//Wait for the trim value to be modified
//Store the trim value given
//Unlock key protection
//Write the trim value into the user MMR
//Unlock key protection
//Turn off the LIN calibration block
ADuC7039