cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

Optimizing Program/Erase Performance on SEMPER™ Flash Memories - KBA233190

Chelladurai
Community Manager
Community Manager

Optimizing Program/Erase Performance on SEMPER™ Flash Memories - KBA233190

Version: **

Follow these options to optimize your SEMPERTM Flash Memory program and erase performance:

  1. All Infineon Flash Memories leave the factory in a pre-erased state; so you do not have to erase them again during your production. This will save a lot of time.
  2. Increasing the power supply (VCC) level will improve the program/erase performance.
  3. Enabling the Blank check feature by setting the configuration register-3 CFR3x[5] (BLKCHK) bit to 1 will skip re-erasing empty sectors, thus saving time.
  4. Reduce the number of Erase suspend/resume commands, as these will introduce some latency penalties and will prevent the embedded operations from fast progressing.
  5. Use the full Write Buffer size of 512 Bytes instead of the default value of 256 Bytes by setting the configuration register-3 CFR3x[4] (PGMBUF) bit to 1.
  6. Disable the 4 kB small sectors whenever possible by setting the configuration register-3 CFR3x[3] (UNHYSA) bit to 1, as erasing these small sectors usually takes longer than erasing the big sectors of 256 kB.
  7. Use short polling intervals and use the Status register polling approach to detect the exact time of complete of embedded operation. Avoid using a timeout period-based approach to limit the potential overhead.
  8. Optimize the code binary for execution instead of optimizing it for code size using the appropriate compiler options.
0 Likes
Version history
Revision #:
1 of 1
Last update:
‎Jul 28, 2021 11:49 PM
Updated by:
 
Contributors