2018-06-28 02:54 AM
Hi,
I am using the M95320 EEPROM and sending RDID instruction to read the Device Identification page however the device is responding with 0xFF for all 32 bytes on the MISO line. The 2 byte address I am sending is 0x00 0x00.
The EEPROM IC has:
I also send theRDSR instruction to read the status byte and the IC is responding with 0x00 on the MISO line.
I am very confused as it seems that I can read the Status Byte, but not the Device Information.
Any advice would be greatly appreciated.
edit:
I can confirm now that I can read and write Memory data via the READ and WRITE commands. I can read and write the Status byte, however the Device Identification still cannot be read. Here is the sample of the SPI traces.
As you can see the Red (MOSI) line is always high. I did double check and there is no Write in progress.
#spi-communication #eeprom-memory #m95320 #spi Note: this post was migrated and contained many threaded conversations, some content may be missing.2018-07-02 12:18 AM
Seriously? Anyone?
2018-07-03 05:13 AM
At least you can read the status register, I am not able to read it either. Can you please share your initialization sequence?
2018-07-04 03:29 AM
Hi Nilesh,
I used this guide -
https://www.st.com/resource/en/datasheet/m95320-a125.pdf
I do not have an initialisation procedure for the device but these are the things that I have done:
Also remember that the Vcc level relates to the SPI bus speed.
Instead, I think you should submit your initialisation or the SPI traces.
2018-07-06 03:47 AM
Hi,
Please make sure of the instruction format ( 1000 0011 + 2 bytes address ) for RDID.
Warning A10 bit address must be '0'. in case of doubt, send 2 address bytes with = 0x00
Do you have a virgin part or not ? in case of not virgin part, may be 0xFF is the right value located at this area .
ps: no Write in progress during a read.
2018-07-06 05:48 AM
Hi Pierre,
Thank you for your response.
I am definitely sending 1000 0011 + 2 address bytes. The traces in my original post show (0x83 + 0x00 + 0x00).
I bought the parts from one of ST's suppliers, I would hope they were virgin. I am reading 32 bytes from the Device information page and if the part was not virgin from one of your suppliers that means someone somewhere is overwriting ST's Manufacturing data in the first 3 bytes of the Device Identification page with 32 x 0xFFs - Unlikely.
In addition, I also cannot read the Device Information Page's Lock Status. It just returns 0xFF.
Definitely no Write in progress.
2018-07-06 06:37 AM
Can you write (memory &/or Page Id) at least ?
Try with an other part...
2018-07-06 08:26 AM
Yes, I can read/write memory and status register without any issues.
2018-07-09 01:54 AM
Do you have automotive or industrial product ? Because Page ID is offered for auto / optionnal of industrial.
Top marking is welcome.
2018-07-11 03:23 AM
Hi Pierre,
Thank you for clarifying this. I have now realised that I do have the M95320-W IC and not the -D. Much appreciated.