Motor de Búsqueda de Datasheet de Componentes Electrónicos
Selected language     Spanish  ▼

Delete All
ON OFF
ALLDATASHEET.ES

X  

Preview PDF Download HTML

MC68HC08AS32A Datasheet(PDF) 44 Page - Motorola, Inc

No. de Pieza. MC68HC08AS32A
Descripción  Microcontrollers
Descarga  296 Pages
Scroll/Zoom Zoom In 100% Zoom Out
Fabricante  MOTOROLA [Motorola, Inc]
Página de inicio  http://www.freescale.com
Logo 

MC68HC08AS32A Datasheet(HTML) 44 Page - Motorola, Inc

Zoom Inzoom in Zoom Outzoom out
 44 / 296 page
background image
Memory
Data Sheet
MC68HC08AS32A — Rev. 1
44
Memory
MOTOROLA
2.5.1.6 Program/Erase Using AUTO Bit
An additional feature available for EEPROM program and erase operations is the
AUTO mode. When the AUTO mode is enabled, the EEPROM control circuit has
a state machine which will automatically terminate the program/erase cycle and
clear the EEPGM bit. See 2.5.1.7 EEPROM Programming, 2.5.1.8 EEPROM
Erasing, and 2.5.2.1 EEPROM Control Register for more information.
2.5.1.7 EEPROM Programming
The unprogrammed or erase state of an EEPROM bit is a logic 1. Programming
changes the state to a logic 0. Only EEPROM bytes in the non-protected blocks
and he EENVR register can be programmed.
Use the following procedure to program a byte of EEPROM:
1.
Clear EERAS1 and EERAS0 and set EELAT in the EECR.(A)
NOTE:
If using the AUTO mode, also set the AUTO bit during Step 1.
2.
Write the desired data to the desired EEPROM address.(B)
3.
Set the EEPGM bit.(C) Go to Step 6 if AUTO is set.
4.
Wait for time, tEEPGM, to program the byte.
5.
Clear EEPGM bit. Go to Step 7.
6.
Poll the EEPGM bit until it is cleared by the state machine.(D)
7.
Wait for a time, tEEFPV, for the programming voltage to fall. Go to Step 8.
8.
Clear EELAT bits.(E)
NOTE:
A. EERAS1 and EERAS0 must be cleared for programming. Setting the EELAT bit
configures the address and data buses to latch data for programming the array.
Only data with a valid EEPROM address will be latched. If EELAT is set, other
writes to the EECR will be allowed after a valid EEPROM write.
B. If more than one valid EEPROM write occurs, the last address and data will be
latched overriding the previous address and data. Once data is written to the
desired address, do not read EEPROM locations other than the written location.
(Reading an EEPROM location returns the latched data and causes the read
address to be latched.
C. The EEPGM bit cannot be set if the EELAT bit is cleared or a non-valid
EEPROM address is latched. This is to ensure proper programming sequence.
Once EEPGM is set, do not read any EEPROM locations; otherwise, the current
program cycle will be unsuccessful. When EEPGM is set, the on-board
programming sequence will be activated. Data cannot be read from the array until
the programming sequence is completed.
D. The delay time for the EEPGM bit to be cleared in AUTO mode is less than
tEEPGM. However, on other MCUs this delay time may be different. For forward
compatibility, software should not make any dependency on this delay time.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com


Html Pages

1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55  56  57  58  59  60  61  62  63  64  65  66  67  68  69  70  71  72  73  74  75  76  77  78  79  80  81  82  83  84  85  86  87  88  89  90  91  92  93  94  95  96  97  98  99  100   ...More


Datasheet Download




Enlace URL




Privacy Policy
ALLDATASHEET.ES
Does ALLDATASHEET help your business so far?  [ DONATE ]  

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Favorito   |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved© Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn