Quote Originally Posted by prstein View Post
One Mbit? Now I have chip envy.

It looks like you need to add "FM_CS=1" right before the line "IF Disp = 1 THEN". The F-RAM never gets un-selected after the read.

It couldn't be that simple, could it? If that's not it please provide detail about what it is and is not doing correctly. If all else fails make sure it works using SHIFTIN and SHIFTOUT. If that fails as well use an o-scope to confirm ALL of the pins on the F-RAM are in their proper states.

Best Regards,
Paul
Still with no results... The reads I get for the four variables are all zeros. I mean X1 to X4.It seems like there are response from SDO. But never get anything in SDI from the os-scope. It is weird...