Need to remux SPIFI pins for SSP and then back again

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Need to remux SPIFI pins for SSP and then back again

383 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rockyh on Fri Sep 26 05:59:23 MST 2014
Hi, our hardware designer connected an SPI device to the SPIFI pins of the LPC4330. The problem is, that we are also using SPIFI, and using it to boot up from flash. I figured out that I can re-mux the pins to SSP in SPI mode after boot up and running code in internal SRAM.  I can then communicate with the other device, which thankfully, I only have to do once to set it up.  After this, I need to then switch back to SPIFI functions.  The problem is that SPIFI code seems to be "gone" at the address range of 0x1400 0000, and no longer accessible. Is there a way to "refresh" the SPIFI?
Thanks
标签 (1)
0 项奖励
2 回复数

370 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Fri Sep 26 09:16:02 MST 2014
Hi Rockyh,
Once you initialize SPI, SPIFI is not any  more communicating with the QSPI flash and code won’t appear in the memory map.
As suggested by pierre reinitializing the SPIFI  and putting device in memory mode should work again.
0 项奖励

370 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pierre on Fri Sep 26 07:42:17 MST 2014
Have you tried to initialize libspifi and use setMemMode( true ) ?
0 项奖励