Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

C8051F327 View Datasheet(PDF) - Silicon Laboratories

Part Name
Description
MFG CO.
C8051F327
Silabs
Silicon Laboratories Silabs
'C8051F327' PDF : 141 Pages View PDF
C8051F326/7
8.1.3. Flash Write Procedure
Flash bytes are programmed by software with the following sequence:
Step 1. Disable interrupts (recommended).
Step 2. Erase the 512-byte Flash page containing the target location, as described in
Section “8.1.2. Flash Erase Procedure” on page 63.
Step 3. Write the first key code to FLKEY: 0xA5.
Step 4. Write the second key code to FLKEY: 0xF1.
Step 5. Set the PSWE bit (register PSCTL).
Step 6. Clear the PSEE bit (register PSCTL).
Step 7. Using the MOVX instruction, write a single data byte to the desired location within the 512-
byte sector.
Step 8. Clear the PSWE bit (register PSCTL).
Steps 3-8 must be repeated for each byte to be written. After Flash writes are complete, PSWE should be
cleared so that MOVX instructions do not target program memory.
Table 8.1. Flash Electrical Characteristics
Parameter
Flash Size
Endurance
Erase Cycle Time
Write Cycle Time
Conditions
C8051F326/7
25 MHz System Clock
25 MHz System Clock
*Note: 512 bytes at location 0x3E00 to 0x3FFF are reserved.
Min
16384*
20k
10
40
Typ
100k
15
55
Max
20
70
Units
bytes
Erase/Write
ms
µs
64
Rev. 1.1
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]