AT45DB041E Memory Write/Read Issues with nRF52832

I'm working on a project where I'm using the AT45DB041E flash memory with an nRF52832 microcontroller. I'm trying to write data to the memory and then read it back, but I'm having some trouble. When I try to read the data after writing it, all I get is 0, which means I can't tell if the data was written correctly.

Here are the commands I'm using:

  • read a page: 0x52
  • read the buffer: 0x54
  • write to the buffer: 0x84
  • move data from buffer to memory with erase: 0x83
  • To check the status: 0xD7
  • To read buffer 1: 0xD4

I made sure the connection between the nRF52832 and the AT45DB041E is set up right, and I'm using the commands just like the AT45DB041E's datasheet says. But, I'm stuck because the read operation isn't showing me the data I wrote.

Could you give me some advice on what to do? Maybe I missed a step or there's a common mistake I'm making? Any help you can give me would be great.

Parents Reply Children
No Data