2024-09-17 07:43 PM - edited 2024-09-22 06:10 PM
Hello,
I'm using M95256 IC as the external EEPROM for the controller. When I test the write flash memory operation, I found that the memory could not write yet, my instrcution order shows below:
step 1: read status register
step 2: check WEL bit and excute WREN if it WEL bit equal to 0
step 3: execute write four bytes from address 0
step 4: read status register and check WIP bit
step 5: execute read memory when WIP bit equal to 0
the SPI order decoded as belows:
So did I execute right write order, and do you have some advices to check the write operation?
Thanks!
yang.ma
2024-09-17 07:59 PM
Which trace is the chip select? Or Q ?
Show code
2024-09-17 08:09 PM
Figure 1: D data decode
Figure 2: Q data decode
Yellow: clock
Green: D
Blue:Q
I have check the chip select PIN before, it's keep low level during send the instruction, it not shows in the scopes.