SST26VF064B - Not reading Device ID
I have interfaced Flash Memory SST26VF064B with LPC2138 through SPI1/SSP Lines [MOSI0.19,MISO0.18,SSEL0.20,SCK 0.17].
Memory is not reading Device ID. I have done code as follows:
unsigned int c;
IO0CLR = SS; // Select Slave
SPI_Send_Byte(READ_DATA); // Read data=0.03 command for Memory
id_read[c]=SPI_ReceiveByte(); // it would read Three Bytes: 1.Manufacturer ID (BFH)
// 2. Device Type (26H) 3. Device ID (43H)
IO0SET = SS;
Please let me know if iam wrong somewhere.