Why is LPC_SPIFI_BASE missing from the LPC43xx.h file

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why is LPC_SPIFI_BASE missing from the LPC43xx.h file

1,029 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by agemoz on Sun Nov 02 14:28:31 MST 2014
Newbie here--turning on a custom LPC4357 board, with the help of the Keil dev board using the same part and running LPCXpresso.  Trying to bring up the Spifi interface pins, but seem to be missing the SPIFI support defines in LPC43xx.h.  I see all the stuff in the SPIFI library but not understanding why this wasn't made part of the main set of defines.

Robert
0 Kudos
Reply
3 Replies

971 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by agemoz on Sun Nov 09 09:28:41 MST 2014
I did some more searching around the forum and found my answer--the examples/NXP directory is legacy.  I looked in the LPCOpen directory and a complete LPC43xx.h with the SPIFI base is there.  I'll switch over.

Robert
0 Kudos
Reply

971 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by agemoz on Mon Nov 03 17:19:28 MST 2014
oops, I should have put more details.  I'm running LPCXpresso_7.4.0_229, and the include file I'm referring to is \LPCXpresso_7.4.0_229\lpcxpresso\Examples\NXP\LPC4000\LPC43xx\LPC43xx_Libraries.zip\CMSIS_LPC43xx_DriverLib\inc\LPC43xx.h

I'm pointing to this include file in my main.c program, which is not using the spifi lib stuff but just needs to init and read an internal SD/MMC card on my custom LPC4357 board.  Since I've written previous SD/MMC SPI interface code, I had just planned to turn on the card's SPI mode and access it using the SPIFI pins on the LPC4357.  You could tell me I should use the SD/MMC interface but I can't because that is used for other functions (EMC).  You could also tell me that I should use the SPIFI lib, which is a valid argument, but for now I want to try to bring up my existing code.  In any event, my question is that whether or not I use the SPIFI lib, it doesnt seem logical to me that the base address for the SPIFI interface is not in the LPC43xx.h file, which has the base addresses for everything else I can see.  Not a showstopper since I can put that define in myself somewhere--just wondering why..

Robert
0 Kudos
Reply

971 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Mon Nov 03 15:32:03 MST 2014
Hi Robert,
Could you please let us know the example you are using?
0 Kudos
Reply