Content originally posted in LPCWare by capiman on Sat Jul 11 23:59:09 MST 2015
Hi Richard,
SPI uses hardware signals (like a chip select CS) to access a certain device.
Are you sure you wanted to use SPI? Or are you searching for I2C?
Can you give more details?
If really SPI and perhaps a serial flash, then you must look into datasheet of your serial flash,
how it wants to bytes (perhaps included address information, commands, data).
Best regards,
Martin