Implement RWW on i.MX RT Series

2021-11-18
●Introduction:
■Usually, some applications need to store the data to flash, and run code simultaneously that requires Read While Write(RWW). The i.MX RT has high-performance, supports rich peripherals, and can interface with many memory devices including Quad SPI flash, hyper flash, serial NAND, and parallel NAND flash. It also provides more options to meet customer requirements. This application note intends to introduce how to implement RWW requirement on i.MXRT series.
●Overview:
■To implement RWW, the flash support feature is required in nature, but most flash do not have this feature. One way to implement RWW is based on common flash device, which is described in this document.
■i.MX RT is a flash-less microcontroller, Quad SPI flash is a common selection as firmware storage, also some application may save data in this flash, but it only has one flash bank and interface. One limitation is it do not respond to any further command until flash idle, that means it must allocate the flash write function to other memory(except currently writing flash, generally allocate to internal SRAM), and disable interrupt to avoid any unexpected flash access until writing operation complete. As write operation spend more time in most flash devices, for example, it takes 0.4 mS to complete one page program in most flash part, and take more time on sector erase. This is unacceptable to disable interrupt lasting a long time, especially some interrupt require high-timely response, RWW is helpful in this condition.
■There are two solutions to implement RWW on i.MX RT Series, one is to choose the flash supported RWW feature; the other is to use multiple flash to implement this function. Following chapters describe the RWW implementation in detail.

NXP

i.MX RTi.MX RT Series

More

Part#

flash-less microcontroller

More

More

Application note & Design Guide

More

More

Please see the document for details

More

More

English Chinese Chinese and English Japanese

Septeber 2019

Rev. 0

AN12564

365 KB

- The full preview is over. If you want to read the whole 9 page document,please Sign in/Register -
  • +1 Like
  • Add to Favorites

Recommend

All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.

Contact Us

Email: