2025-01-13 06:41 AM - last edited on 2025-01-13 06:58 AM by Andrew Neil
Hi All,
I want to ask a general question regarding EEPROM with SPI Interface,
I am not sure if I understand the Datasheet correctly however it mentions that I can clock in 64 bytes (with the CS line pulled Low) then it mention the EEPROM has a write time of aprox 5mSec my confusion is this 5mSec write time after I pulled the CS High which is after the last byte .
In general do I clock in the 64 bytes then pull the CS high and then the EEPROM writes the Data or should I keep the CS low for 5mSec after the last byte before pulling it high again .
At the moment I Pull CS High after the last byte and wait approx 6mSec ,I see all the data I write on my LA and when I read they are resonably in the expected positions (addresses ) however ther are a problem in 2 pages with wong values in the addresses although the write data log on the LA show that the bytes are written corrcetly and the page addreses are also correct,
I appreciate any hints or help as allways.
it is P25C256F EEPROM
Regards Pje
2025-01-13 06:48 AM
@Pje wrote:I am not sure if I understand the Datasheet correctly
You need to take that up with the manufacturer to confirm what, specifically, they mean!
It's not an ST part - is it?
Is it the same as this one https://community.st.com/t5/stm32-mcus-products/eeprom-help-needed/td-p/740205 ?
2025-01-13 07:53 AM
Hello,
It is not our product, but:
in the V1.3 datasheet page 19 (look for "tW" token):
"Driving the Chip Select (S#) signal high at a byte boundary of the input data triggers the self-timed Write cycle
that takes tW to complete (as specified in AC tables in: DC and AC parameters)."