• AVR Freaks

SST26VF064B - Not reading Device ID

Author
Rituv
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2019/06/11 22:13:39
  • Location: 0
  • Status: offline
2019/06/20 00:20:19 (permalink)
0

SST26VF064B - Not reading Device ID

Hi All,
 
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:
void Read_ID(void)
{
unsigned int c;
IO0CLR = SS; // Select Slave
SPI_Send_Byte(READ_DATA);   // Read data=0.03 command for Memory
for(c=0;c<3;c++)
{
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.
 
Regards,
Rituv
#1

3 Replies Related Threads

    Rituv
    New Member
    • Total Posts : 8
    • Reward points : 0
    • Joined: 2019/06/11 22:13:39
    • Location: 0
    • Status: offline
    Re: SST26VF064B - Not reading Device ID 2019/06/20 00:28:12 (permalink)
    0
    Before Read data instruction to memory.
    Also i have given 0x9F instruction to read ID of Flash memory.
    #2
    Rituv
    New Member
    • Total Posts : 8
    • Reward points : 0
    • Joined: 2019/06/11 22:13:39
    • Location: 0
    • Status: offline
    Re: SST26VF064B - Not reading Device ID 2019/06/24 02:03:42 (permalink)
    0
    Hii All,

    After all global protection disable,Now I am receiving On reading of 0x9F that is FF 26 BF.
    It is not reading 1st byte.
    Can anybody give your suggestion to get Device ID?
    #3
    Rituv
    New Member
    • Total Posts : 8
    • Reward points : 0
    • Joined: 2019/06/11 22:13:39
    • Location: 0
    • Status: offline
    Re: SST26VF064B - Not reading Device ID 2019/06/27 03:18:26 (permalink)
    0
    Hii All,
     
    Now i have successfully received Device ID completely.
     
    Regards,
    Rituv
    #4
    Jump to:
    © 2019 APG vNext Commercial Version 4.5