FM25Q64ꢀ
ꢀ
11.2.13ꢀPageꢀProgramꢀ(02h)ꢀ
Theꢀ Pageꢀ Programꢀ instructionꢀ allowsꢀ fromꢀ oneꢀ byteꢀ toꢀ 256ꢀ bytesꢀ (aꢀ page)ꢀ ofꢀ dataꢀ toꢀ beꢀ
programmedꢀ atꢀ previouslyꢀ erasedꢀ (FFh)ꢀ memoryꢀ locations.ꢀ Aꢀ Writeꢀ Enableꢀ instructionꢀ mustꢀ beꢀ
executedꢀbeforeꢀtheꢀdeviceꢀwillꢀacceptꢀtheꢀPageꢀProgramꢀInstructionꢀ(StatusꢀRegisterꢀbitꢀWEL=ꢀ1).ꢀ
Theꢀinstructionꢀisꢀinitiatedꢀbyꢀdrivingꢀtheꢀ/CSꢀpinꢀlowꢀandꢀthenꢀshiftingꢀtheꢀinstructionꢀcodeꢀ“02h”ꢀ
followedꢀbyꢀaꢀ24ꢁbitsꢀaddressꢀ(A23ꢁA0)ꢀandꢀatꢀleastꢀoneꢀdataꢀbyte,ꢀintoꢀtheꢀDIꢀpin.ꢀTheꢀ/CSꢀpinꢀ
mustꢀbeꢀheldꢀlowꢀforꢀtheꢀentireꢀlengthꢀofꢀtheꢀinstructionꢀwhileꢀdataꢀisꢀbeingꢀsentꢀtoꢀtheꢀdevice.ꢀTheꢀ
PageꢀProgramꢀinstructionꢀsequenceꢀisꢀshownꢀisꢀfigureꢀ13.ꢀ
ꢀ
Ifꢀ anꢀ entireꢀ 256ꢀ byteꢀ pageꢀ isꢀ toꢀ beꢀ programmed,ꢀ theꢀ lastꢀ addressꢀ byteꢀ (theꢀ 8ꢀ leastꢀ significantꢀ
addressꢀbits)ꢀshouldꢀbeꢀsetꢀtoꢀ0.ꢀIfꢀtheꢀlastꢀaddressꢀbyteꢀisꢀnotꢀzero,ꢀandꢀtheꢀnumberꢀofꢀclocksꢀ
exceedsꢀtheꢀremainingꢀpageꢀlength,ꢀtheꢀaddressingꢀwillꢀwrapꢀtoꢀtheꢀbeginningꢀofꢀtheꢀpage.ꢀInꢀsomeꢀ
cases,ꢀlessꢀthanꢀ256ꢀbytesꢀ(aꢀpartialꢀpage)ꢀcanꢀbeꢀprogrammedꢀwithoutꢀhavingꢀanyꢀeffectꢀonꢀotherꢀ
bytesꢀwithinꢀtheꢀsameꢀpage.ꢀOneꢀconditionꢀtoꢀperformꢀaꢀpartialꢀpageꢀprogramꢀisꢀthatꢀtheꢀnumberꢀofꢀ
clocksꢀcanꢀnotꢀexceedꢀtheꢀremainingꢀpageꢀlength.ꢀIfꢀmoreꢀthanꢀ256ꢀbytesꢀareꢀsentꢀtoꢀtheꢀdeviceꢀtheꢀ
addressingꢀwillꢀwrapꢀtoꢀtheꢀbeginningꢀofꢀtheꢀpageꢀandꢀoverwriteꢀpreviouslyꢀsentꢀdata.ꢀ
ꢀ
Asꢀwithꢀtheꢀwriteꢀandꢀeraseꢀinstructions,ꢀtheꢀ/CSꢀpinꢀmustꢀbeꢀdrivenꢀhighꢀafterꢀtheꢀeighthꢀbitꢀofꢀtheꢀ
lastꢀbyteꢀhasꢀbeenꢀlatched.ꢀIfꢀthisꢀisꢀnotꢀdoneꢀtheꢀPageꢀProgramꢀinstructionꢀwillꢀnotꢀbeꢀexecuted.ꢀ
Afterꢀ/CSꢀisꢀdrivenꢀhigh,ꢀtheꢀselfꢁtimedꢀPageꢀProgramꢀinstructionꢀwillꢀcommenceꢀforꢀaꢀtimeꢀdurationꢀ
ofꢀtPPꢀ(SeeꢀACꢀCharacteristics).ꢀWhileꢀtheꢀPageꢀProgramꢀcycleꢀisꢀinꢀprogress,ꢀtheꢀReadꢀStatusꢀ
RegisterꢀinstructionꢀmayꢀstillꢀbeꢀaccessedꢀforꢀcheckingꢀtheꢀstatusꢀofꢀtheꢀBUSYꢀbit.ꢀTheꢀBUSYꢀbitꢀisꢀ
aꢀ1ꢀduringꢀtheꢀPageꢀProgramꢀcycleꢀandꢀbecomesꢀaꢀ0ꢀwhenꢀtheꢀcycleꢀisꢀfinishedꢀandꢀtheꢀdeviceꢀisꢀ
readyꢀ toꢀ acceptꢀ otherꢀ instructionsꢀ again.ꢀ Afterꢀ theꢀ Pageꢀ Programꢀ cycleꢀ hasꢀ finishedꢀ andꢀ Writeꢀ
EnableꢀLatchꢀ(WEL)ꢀbitꢀinꢀtheꢀStatusꢀRegisterꢀisꢀclearedꢀtoꢀ0.ꢀTheꢀPageꢀProgramꢀinstructionꢀwillꢀnotꢀ
beꢀexecutedꢀifꢀtheꢀaddressedꢀpageꢀisꢀprotectedꢀbyꢀtheꢀBlockꢀProtectꢀ(SEC,ꢀTB,ꢀBP2,ꢀBP1,ꢀandꢀ
BP0)ꢀbits,ꢀ ꢀ
ꢀ
ꢀ
/CS
Modeꢀ 3
0
1
2
3
4
5
6
7
8
9
10
28 29 30 31 32 33 34 35 36 37 38 39
CLK
DI
Modeꢀ 0
Instructionꢀ (02h)
DataꢀByteꢀ 1
24ꢁBitꢀAddress
2
6
2
22 21
3
1
0
7
5
4
3
1
0
23
*
*
/CS
Modeꢀ 3
Modeꢀ 0
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
CLK
DI
DataꢀByteꢀ 3
DataꢀByteꢀ 256
DataꢀByteꢀ 2
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
=ꢀMSB
*
ꢀ
ꢀ
ꢀ
Figureꢀ13.ꢀPageꢀProgramꢀInstructionꢀSequenceꢀDiagramꢀ
ꢀ
preliminary(Aug.18.2010)ꢀ ꢀ ꢀ ꢀ
29ꢀ