MC68HC908AP8CB Freescale Semiconductor, MC68HC908AP8CB Datasheet - Page 134

no-image

MC68HC908AP8CB

Manufacturer Part Number
MC68HC908AP8CB
Description
IC MCU 8K FLASH 8MHZ 42SDIP
Manufacturer
Freescale Semiconductor
Series
HC08r
Datasheet

Specifications of MC68HC908AP8CB

Core Processor
HC08
Core Size
8-Bit
Speed
8MHz
Connectivity
I²C, IRSCI, SCI, SPI
Peripherals
LED, LVD, POR, PWM
Number Of I /o
32
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
42-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Monitor ROM (MON)
8.5.7 EE_READ
EE_READ is used to load the data array in RAM with a set of data from FLASH.
The EE_READ routine reads data stored by the EE_WRITE routine. An EE_READ call will retrieve the
last data written to a FLASH page and loaded into the data array in RAM. Same as EE_WRITE, the data
size indicated by DATASIZE is 7 to 15, and the start address ADDRH:ADDRL must the FLASH page
boundary address.
The coding example below uses the data stored by the EE_WRITE coding example (see
EE_WRITE). It loads the 15-byte data set stored in the $EE00–$EFFF page to the data array in RAM.
The initialization subroutine is the same as the coding example for EE_WRITE (see
EE_READ
MAIN:
134
BSR
:
:
LDHX
JSR
:
1. The start address must be a page boundary start address.
The EE_READ routine is unable to check for incorrect data blocks, such as
the FLASH page boundary address and data size. It is the responsibility of
the user to ensure the starting address indicated in the data block is at the
FLASH page boundary and the data size is 7 to 15. If the FLASH page is
programmed with a data array with a different size, the EE_READ call will
be ignored.
Routine Description
Data Block Format
EQU
INITIALIZATION
#FILE_PTR
EE_READ
Calling Address
Routine Name
Stack Used
$FD5B
MC68HC908AP Family Data Sheet, Rev. 4
Table 8-17. EE_READ Routine
EE_READ
Emulated EEPROM read. Data size ranges from 7 to 15 bytes at
a time.
$FD5B
18 bytes
Bus speed (BUS_SPD)
Data size (DATASIZE)
Starting address (ADDRH)
Starting address (ADDRL)
Data 1
Data N
:
NOTE
(1)
(1)
Freescale Semiconductor
8.5.6
8.5.6
EE_WRITE).

Related parts for MC68HC908AP8CB