Content originally posted in LPCWare by sekil on Sat Sep 22 13:41:08 MST 2012
Hi.
Please help me:
I'm try read info from eeprom mxic, connected to SSP0 at pins p0.15-18.
CS from eeprom i connect to ground.
I get SSP driver from CMSIS, and try send CMD's to eeprom, but not good - i get two 0x00ff :(
SSP_SendData(LPC_SSP0,0x90);
SSP_SendData(LPC_SSP0,0x0);
SSP_SendData(LPC_SSP0,0x0);
SSP_SendData(LPC_SSP0,0x0);
_DBH16_(SSP_ReceiveData(LPC_SSP0));
_DBH16_(SSP_ReceiveData(LPC_SSP0));