S70FS01GS Read Any Register (solved)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

I have a problem with the RDAR command. First of all writing, reading, and erasing pages works fine.

When I use the RDAR command to read a register, every bit I read is 0. I tested with the different configuration registers and at least the bits 3 and 7 in configuration register 2 should be 1.

My program sequence:

  • Configure the SPI connection with 1MHz clock frequency
  • Sending command B7h (Enter 4Byte-address mode)
  • Sending command 65h (Read any register)
  • Sending 4Byte address of the register in 4 8bit data blocks (00000003h for config register 2)
  • Sending empty dummy cycles to activate the clock and receiving data

Because I use a frequency of 1MHz the data should be available right after the address.

Have I made a mistake in the sequence, or is the data (all zeros) correct?ReadRegister.png

Here is an image of the SPI connection between the memory (slave) and the MCU (master) (r=CS, y=clock, b=MOSI, g=MISO)

Nachricht geändert durch Philip Scharf

0 Likes
1 Solution
Anonymous
Not applicable

I have found the problem. I was using the wrong data sheet the whole time. The memory I am using is the S70FL01GS and not the S70FS01GS. I have mixed something up here.

Thank you for your time, it helped me understanding the registers more.

View solution in original post

0 Likes
7 Replies