2023-11-22 03:09 AM
hi
I am using M95512 512kb EEPROM connected to FPGA via SPI
when Iam writing and reading the data (in single address(0000)) below sequence is followed
step 1: wren instruction is sending.(06)
step 2: write data to memory array.(02)
step 3: check WIP status (05)
step4: read the data from memory array. (03)
repeating all four steps repeatedly sometimes FFFF values are received from memory, sometimes I am getting read data correctly.
can you tell why data is not writing properly i
2023-11-22 06:47 AM - edited 2023-11-22 06:49 AM
Bug in the code probably. Show it.
Oh, this is on an FPGA, which makes this more complicated. Still, a trace of relevant SPI lines or simulation result showing the in/correct behavior might prove insightful.