AnsweredAssumed Answered

Using Micron's external Flash with MQX

Question asked by panpwr on Dec 3, 2012
Latest reply on Jan 5, 2014 by panpwr

Hello Community!


I am using K60DN512 with MQX, and I would to use Micron's N25Q serial NOR Flash (using SPI interface).


As I understand it, there are a few options to address this issue:

1. Develop an SPI driver using source\io\spi as explained in "Freescale MQX I/O driver user guide".

2. Develop a FlashX driver using source\io\flashx as explained in "Freescale MQX I/O driver user guide".

3. Use the vendor's Flash driver. In order to do so, I will need to fill in addresses of SPI read FIFO register, SPI write FIFO register, SPI control register & SPI status register. I couldn't find these implicit addresses in the K60DN512 user guide (plenty of other variations, but not specifically those).


I would kindly ask you to share your experience, what pros & cons these methods have, and how do you recommend to do it in the easiest and least time consuming method.