How to use two flash with lpc_spifilib in LPC1857

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

How to use two flash with lpc_spifilib in LPC1857

708 Views
zhangbin_eos
Contributor III

I want use two spi flash in LPC1857,but I don't know how to add secede cs pin in  lpc_spifilib;

lpc_spifilib from https://www.nxp.com/downloads/en/software/LPCSPIFI-Library-v1.01-Library-Updates.zip  

and https://www.nxp.com/downloads/en/device-drivers/lpcopen_2_12_lpcxpresso_keil_mcb_1857_SPIFI_v1.0.zip 

I have added new devices and can read and write normally. Now I need to use lpc_spifilib to control two flash at the same time;

Labels (1)
Tags (1)
1 Reply

609 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, ZhangBin,

I have checked the data sheet, for the LPC18xx, there is only one SFIFI_CS pin, I do not think you can connect two pieces of  spi flash if the spi flash is quad spi flash(it has 4 data pins).

Hope it can help you

BR

XiangJun rong

0 Kudos