W25Q128---讀寫


占坑!

總結:通信方式是SPI,讀數據可以從任何地方讀,寫數據和擦出數據需要按照頁或者扇區或者簇為單位進行。

   寫數據:一次最多寫一頁,如果超出一頁數據長度,則分幾次完成。例如本芯片一個扇區為4096個字節,那么需要寫16頁,要進行至少16次按頁寫數據。

     擦數據:擦數據的最小單位是一個扇區,也可以直接擦出整個芯片。

芯片介紹:

  容量:16Mbytes  一頁為256個字節   一個扇區為4K個字節

數據手冊介紹:

    The W25Q128FV array is organized into 65,536 programmable pages of 256-bytes each. Up to 256
  bytes can be programmed at a time. Pages can be erased in groups of 16 (4KB sector erase), groups of
  128 (32KB block erase), groups of 256 (64KB block erase) or the entire chip (chip erase). The
  W25Q128FV has 4,096 erasable sectors and 256 erasable blocks respectively. The small 4KB sectors
  allow for greater flexibility in applications that require data and parameter storage 。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM