AN2183 Freescale Semiconductor / Motorola, AN2183 Datasheet - Page 20

no-image

AN2183

Manufacturer Part Number
AN2183
Description
Using FLASH as EEPROM on the MC68HC908GP32
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Application Note
;*
;*
;*
;*
;*
;*
;*
;*
;*
;*
;*
;*
;*
;********************************************************************************************
;*
;*
;*
;*
;*
;*
EE_FlashPage:
EE_FlashRow:
EE_FlashErased: equ
;*
;*
;*
;*
;*
EE_StartAddr1:
EE_StartAddr2:
;*
;*
;*
;*
;*
EE_BlockSize1:
EE_BlockSize2:
;*
;*
;*
;*
;*
;*
;*
;*
;*
;*
;*
;*
;*
RamDelay5:
RamDelay10:
RamDelay30:
RamDelay50:
20
Mircontroller FLASH Memory Parameters
These parameters reflect the specific FLASH memory characteristics of the MC68HC908GP32.
The FlashEE software can be easily ported to other MC68HC908 family members by changing
the parameters listed here.
FlashEE Data Parameters
By default, the very first Flasherase page is assigned for FlashEE usage, so that the
rest of the Flash memory can be protected via the Flash Block Protect Register (FLBPR).
The data block size for each FlashEE section is defined here.
equal to "EE_FlashRow"
Microcontroller Bus Frequency Parameters
Software delay loops are initially calculated for a 7.3728 MHz bus frequency.
frequencies, the following parameters must be modified accordingly.
Microsecond delay parameter calculation is
For example,
As a check, use
For example,
use as components in systems intended for surgical implant into the body, or other
applications intended to support life, or for any other application in which the
failure of the Motorola product could create a situation where personal injury or
death may occur.
intended or unauthorized application, Buyer shall indemnify and hold Motorola and
its officers, employees, subsidiaries, affiliates, and distributors harmless against
all claims, costs, damages, and expenses, and reasonable attorney fees arising out
of, directly or indirectly, any claim of personal injury or death associated with
such unintended or unauthorized use, even if such claim alleges that Motorola was
negligent regarding the design or manufacture of the part.
Motorola and the Motorola logo are registered trademarks of Motorola Ltd.
if bus = 7.3728 MHz, then
if bus = 7.3728 MHz, then for N = 24
equ
equ
equ
equ
equ
equ
equ
equ
equ
equ
((M x 3) +2) / bus clock
Should Buyer purchase or use Motorola products for any such
128
64
$FF
$8000
{EE_StartAddr1+EE_FlashPage}
5
7
12
24
74
122
Freescale Semiconductor, Inc.
For More Information On This Product,
****************************************************************
Go to: www.freescale.com
10us ->
**************************************************
;
; 10us delay parameter
; 30us delay parameter
; 50us delay parameter
***********************************************
5us delay parameter
((N x bus clock) - 2) / 3
((10us x 7372800 - 2)) / 3
->
((24 x 3) + 2) / 7372800
; Flash Erase Page size
; Flash Program Row size
; Flash erased state
; starting address of 1st FlashEE
; starting address of 2nd FlashEE
; data block size for 1st FlashEE
; data block size for 2nd FlashEE
Each must be less than or
=
=
23.9
10us
MOTOROLA
For other
=
AN2183
24
*
*
*
*
*
*
*
*
*
*
*
*
*

Related parts for AN2183