XC68HC12A0CPV8 Freescale Semiconductor, XC68HC12A0CPV8 Datasheet - Page 116

IC, 16BIT MCU, 68HC12, 8MHZ, TQFP-112

XC68HC12A0CPV8

Manufacturer Part Number
XC68HC12A0CPV8
Description
IC, 16BIT MCU, 68HC12, 8MHZ, TQFP-112
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of XC68HC12A0CPV8

Controller Family/series
68HC12
No. Of I/o's
68
Eeprom Memory Size
1KB
Ram Memory Size
2KB
Cpu Speed
8MHz
No. Of Timers
1
Core Size
16 Bit
Program Memory Size
60KB
Peripherals
ADC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
EEPROM Memory
8.8 Programming EEDIVH and EEDIVL Registers
8.8.1 Normal mode
8.8.2 Special mode
Technical Data
116
CAUTION:
The EEDIVH and EEDIVL registers must be correctly set according to
the oscillator frequency before any EEPROM location can be
programmed or erased.
The EEDIVH and EEDIVL registers are write once in normal mode.
Upon system reset, the application program is required to write the
correct divider value to EEDIVH and EEDIVL registers based on the
oscillator frequency. After the first write, the value in the EEDIVH and
EEDIVL registers is locked from being overwritten until the next reset.
The EEPROM is then ready for standard program/erase routines.
Runaway code can possibly corrupt the EEDIVH and EEDIVL registers
if they are not initialized for the write once.
If an existing application code with EEPROM program/erase routines is
already fixed and the system is already operating at a known oscillator
frequency, it is recommended to initialize the shadow word with the
corresponding EEDIVH and EEDIVL values in special mode. The
shadow word initializes EEDIVH and EEDIVL registers upon system
reset to ensure software compatibility with existing code. Initializing the
EEDIVH and EEDIVL registers in special modes (SMODN=0) is
accomplished by the following steps.
1. Write correct divider value to EEDIVH and EEDIVL registers
2. Remove the SHADOW word protection by clearing SHPROT bit in
3. Clear NOSHW bit in EEMCR register to make the SHADOW word
4. Program bits 1 and 0 of the high byte of the SHADOW word and
based on the oscillator frequency as per Table17.
EEPROT register.
visible at $0FC0-$0FC1.
bits 7 to 0 of the low byte of the SHADOW word like a regular
EEPROM Memory
MC68HC912D60A — Rev. 3.1
Freescale Semiconductor

Related parts for XC68HC12A0CPV8