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;
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