![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1365](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271365.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
1365 of 1441
NXP Semiconductors
UM10503
Chapter 50: LPC43xx/LPC43Sxx EEPROM memory
50.5.1.3 EEPROM auto programming register
The auto programming register allows the user to let the controller start an erase/program
cycle automatically after AHB writes without the need to program the CMD register after
the page register has been written.
50.5.1.4 EEPROM wait state register
The EEPROM has no awareness of absolute time, while for EEPROM operations several
minimum absolute timing constraints have to be met. Therefore the EEPROM can only
derive time from its clock by frequency division.
Program the wait state fields to appropriate values in this wait state register for EEPROM
operation. The fields are -1 encoded so programming zero will result in a one cycle wait
state.
The fields in the WAITSTATE register represent a minimum duration of a phase of the
EEPROM operation. The appropriate wait state values for each fields are determined as
follows:
(wait1) x Tclk
duration
The delays for the write and erase/program operations are combined to simplify the
software interface. Timing for write and erase/program operations is almost identical.
Table 1161.EEPROM auto programming register (AUTOPROG, address 0x4000 E00C) bit
description
Bits
Symbol
Description
Reset
value
1:0
AUTOPROG
Auto programming mode:
00 = auto programming off
01 = erase/program cycle is triggered after 1 word is written
10 = erase/program cycle is triggered after a write to AHB
address ending with ......1111100 (last word of a page)
0
31:2
-
Reserved. Read value is undefined, only zero should be written. NA
Table 1162.EEPROM wait state register (WSTATE, address 0x4000 E010) bit description
Bits
Symbol
Description
Reset
value
7:0
PHASE3
Wait states for phase 3 (minus 1 encoded).
The number of system clock periods to meet a duration equal to TPHASE3.
0x2
15:8
PHASE2
Wait states for phase 2 (minus 1 encoded).
The number of system clock periods to meet a duration equal to TPHASE2.
0x8
23:16
PHASE1
Wait states for phase 1 (minus 1 encoded).
The number of system clock periods to meet a duration equal to TPHASE1.
0x4
30:24
-
Reserved. Read value is undefined, only zero should be written.
NA
31
LCK_PARWEP
Lock timing parameters for write, erase and program operation
0 = WSTATE and CLKDIV registers have R/W access
1 = WSTATE and CLKDIV registers have R only access
0