| Motore di ricerca datesheet componenti elettronici |
|
HC05V7GRS/D Scheda tecnica(PDF) 37 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
HC05V7GRS/D Scheda tecnica(HTML) 37 Page - NXP Semiconductors |
|
37 / 170 page ![]() SECTION 3: EPROM and EEPROM Page 23 MC68HC05V7 Specification Rev. 1.0 whether to erase a byte before programming is summarized in Table 3-2. To erase a byte of EEPROM, set LATCH = 1, CPEN = 1, ER1 = 0 and ER0 = 1, write to the address to be erased, and set EEPGM for a time t EBYT. To erase a block of EEPROM, set LATCH = 1, CPEN = 1, ER1 = 1 and ER0 = 0, write to any address in the block, and set EEPGM for a time t EBLOCK. For a bulk erase, set LATCH = 1, CPEN = 1, ER1 = 1, and ER0 = 1, write to any address in the array, and set EEPGM for a time t EBULK. To terminate the programming or erase sequence, clear EEPGM, delay for a time t FPV to allow the programming voltage to fall, and then clear LATCH and CPEN to free up the buses. Following each erase or programming sequence, clear all programming control bits. The following program is an example of the EEPROM programming sequence using the timer to implement the required delay and assuming a 2.1 MHz bus frequency. TSR EQU $0013 TIMER STATUS REGISTER TCNTH EQU $0018 TIMER COUNTER REGISTER (HIGH) TCNTL EQU $0019 TIMER COUNTER REGISTER (LOW) TCMPH EQU $0016 TIMER OUTPUT COMPARE REGISTER (HIGH) TCMPL EQU $0017 TIMER OUTPUT COMPARE REGISTER (LOW) OCF EQU 6 OCF BIT OF TSR PROG EQU $001C PROGRAM REGISTER CPEN EQU 6 CHARGE PUMP ENABLE ER1 EQU 4 ERASE SELECT 1 ER0 EQU 3 ERASE SELECT 0 LATCH EQU 2 LATCH BIT EERC EQU 1 RC/OSC SELECTOR EEPGM EQU 0 EE PROGRAM BIT EESTART EQU $0240 STARTING ADDRESS OF EEPROM SUMPIN EQU $FF DUMMY DATA ORG $1800 START EQU * BSET EERC,PROG SELECT RC OSC BSR DELAY RC OSC STABILIZATION Table 3-2: EEPROM Write/Erase Cycle Reduction EEPROM Data To Be Programmed EEPROM Data Before Programming Erase Before Programming? 00 No 01 No 10 Yes 11 No Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore All Rights Reserved©Alldatasheet.com |
| 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 Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |