MC68HC908AP8CB Freescale Semiconductor, MC68HC908AP8CB Datasheet - Page 128

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)
The start location of the FLASH to be programmed is specified by the address ADDRH:ADDRL and the
number of bytes from this location is specified by DATASIZE. The maximum number of bytes that can be
programmed in one routine call is 255 bytes (max. DATASIZE is 255).
ADDRH:ADDRL do not need to be at a page boundary, the routine handles any boundary misalignment
during programming. A check to see that all bytes in the specified range are erased is not performed by
this routine prior programming. Nor does this routine do a verification after programming, so there is no
return confirmation that programming was successful. User must assure that the range specified is first
erased.
The coding example below is to program 64 bytes of data starting at FLASH location $EE00, with a bus
speed of 4.9152 MHz. The coding assumes the data block is already loaded in RAM, with the address
pointer, FILE_PTR, pointing to the first byte of the data block.
FILE_PTR:
BUS_SPD
DATASIZE
START_ADDR
DATAARRAY
PRGRNGE
FLASH_START
INITIALISATION:
MAIN:
128
:
MOV
MOV
LDHX
STHX
RTS
BSR
:
:
LDHX
JSR
ORG
DS.B
DS.B
DS.W
DS.B
EQU
EQU
ORG
#20,
#64,
#FLASH_START
START_ADDR
INITIALISATION
#FILE_PTR
PRGRNGE
RAM
1
1
1
64
$FC34
$EE00
FLASH
BUS_SPD
DATASIZE
MC68HC908AP Family Data Sheet, Rev. 4
; Indicates 4x bus frequency
; Data size to be programmed
; FLASH start address
; Reserved data array
Freescale Semiconductor

Related parts for MC68HC908AP8CB