bremenpl
Member level 3
Hello there,
I am writing a library at the moment to interface my STM32 mcu with SST26VF032B memory. I have a problem that I cannot solve for over 2 days now...
I am talking to the chip using regular SPI, not quad SPI. I am able to read JEDEC-ID as well as RDSR register. This ensures me in the fact that the communication layer works correctly. The problem is I am not able to read status register (RDSR command) and configuration register (RDCR command). The chip simply does not answer (0xFF's on the MISO line), I see this on the scope. I dont understand why doesnt he want to answer me with status register. This is my initialization procedure:
Because I cannot read status register, I am not able to move forward with erasing and page programming.
I am really out of ideas now. I have found this topic where one user posted his library cod for this chip and mine is very simmilar, should work the same.
https://www.edaboard.com/threads/361867/
The #WP and #HOLD pins in the chip are tird to VCC all the time.
I have found in the web that many people had the problem that they could read JEDEC-ID but couldnt read status register. In those topics however there was no resolution posted, or the resolution was to clear the block protection bits. I am executing this command and it does not help me.
I would really appreciate all help regarding this issue.
I am writing a library at the moment to interface my STM32 mcu with SST26VF032B memory. I have a problem that I cannot solve for over 2 days now...
I am talking to the chip using regular SPI, not quad SPI. I am able to read JEDEC-ID as well as RDSR register. This ensures me in the fact that the communication layer works correctly. The problem is I am not able to read status register (RDSR command) and configuration register (RDCR command). The chip simply does not answer (0xFF's on the MISO line), I see this on the scope. I dont understand why doesnt he want to answer me with status register. This is my initialization procedure:
Code:
RSTEN (reset enable)
RST (reset)
WREN (write enable)
ULBPR (Global Block Protection Unlock)
SFDP (signature is read correctly)
RSDR (cannot read the status register)
Because I cannot read status register, I am not able to move forward with erasing and page programming.
I am really out of ideas now. I have found this topic where one user posted his library cod for this chip and mine is very simmilar, should work the same.
https://www.edaboard.com/threads/361867/
The #WP and #HOLD pins in the chip are tird to VCC all the time.
I have found in the web that many people had the problem that they could read JEDEC-ID but couldnt read status register. In those topics however there was no resolution posted, or the resolution was to clear the block protection bits. I am executing this command and it does not help me.
I would really appreciate all help regarding this issue.