Hello NXP Community,
I am working on an i.MX RT1170 EVKB / MIMXRT1176 board and need some guidance regarding replacing the default Winbond external memory with an Everspin EM032LXQADG13IS2T memory device.
The board originally uses a Winbond W25Q512 device. I have replaced it with:
Everspin EM032LXQADG13IS2T
The main issue is that the Everspin memory does not support SFDP, whereas the default Winbond memory supports SFDP.
I have already been able to communicate with the Everspin memory using the i.MX RT1170 FlexSPI interface.
The memory is functionally working when the application is running from RAM. In particular:
However, I currently cannot flash/program the application directly to the Everspin memory using the normal i.MX RT1170 flash programming.
Since the Everspin memory does not support SFDP, I suspect that the default FlexSPI flash driver/configuration used for the Winbond memory cannot automatically identify/configure the Everspin device.
I would like to understand the recommended NXP approach for supporting a non-SFDP memory device.
I would appreciate guidance on
1. How can I create a custom flash driver for the Everspin EM032LXQADG13IS2T on i.MX RT1170?
2. Is there an existing example of supporting a non-SFDP SPI/QSPI memory with the i.MX RT1170 FlexSPI controller?
Dear @jyothzz ,
Thank you for your questions.
Yes, the MIMXRT1170_SFDP_QSPI.cfx flash driver is the default flash driver used by the RT1170 EVK and the MCUXpresso SDK:
ShellyZhang_0-1790052100477.png
You may refer to the information below to create a custom flash driver:
If you have any questions while developing the custom flash driver, please feel free to reach out.
Best Regards,
Shelly
Hi @ShellyZhang
Thank you For response it was of great help.
We have resolved the flash driver issue with the new memory which does not support SFDP.
We used the same i.MXRT117x_SFDP_QSPI Driver. We modifying the SFDP part referring to the non-SFDP Driver of i.MXRT1050_QSPI.
Then generated a new driver file (.cfx) which worked fine .
Once again thanking you for your guidance.
Regards,
JYOTHISH