QSPI for Nano

Discussion to talk about software related topics only.
Post Reply
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

QSPI for Nano

Post by seulater »

Is there QSPI for the Nano ?

I used the MOD5270 QSPI2Serial demo as a template for a new project.
Of course removing the GPIO pins in the code.
There are compiler errors: undefined reference to `QSPIStart'

I then took the same code and made a new project for the MOD5270 and it worked just fine.

Running NNDK 2.6.0.020
User avatar
pbreed
Posts: 1091
Joined: Thu Apr 24, 2008 3:58 pm

Re: QSPI for Nano

Post by pbreed »

The 54415 parts have a completely different SPI system.
We don't have good drivers for them and when we do they will have a different interface than the existing systems.

I would suggest looking at the SD car driver and the Freescale manual and writing your own...


There are two places in the released code where we use SPI... SPIFlash.cpp
and mmc_mcf.cpp


Paul
khoney
Posts: 125
Joined: Fri Sep 11, 2009 12:43 pm

Re: QSPI for Nano

Post by khoney »

Paul,

Are you saying that the EFFS interface will not work without us writing a SPI driver for it???

We are thinking of using the Nano for a product enhancement, but I was thinking the port would be as simple as remapping GPIO and defining alternate functions. Right now we are using the SPI in the 5270 for the SD card interface and an I2C, and the rest is GPIO and UART. If there is going to be significant software effort in moving from the 5270 to the Nano, we may have to nix it and stick with the 5270.

Kevin
User avatar
pbreed
Posts: 1091
Joined: Thu Apr 24, 2008 3:58 pm

Re: QSPI for Nano

Post by pbreed »

We provide a driver that uses the SPI to talk to the SD card for the Nano, and both the
onboard and external sd card form the MOD54415.

what we presently don't provide is a generic SPI driver.

Paul
Post Reply