23k256 SRAM ---- wierd problem ----has anyone made it work?

Status
Not open for further replies.

proton9000

New Member
I connected a 23k256 SRAM to a pic16f84. According to me I am giving the right input to the 23k256 but it is giving noting back on its SO line. Can someone please help me figure out my problem, I already wasted two weeks on this thing. My setup is as follows:


Here is the circuit, as you can see the SO of the 23k256 was connected to an ossiloscope and always stayed at high inpediance rather than giving an output.


This shows the outputs given by the pic16f84, (it is not the actual ossiloscope image, but its nearly the same).
yellow line : to /cs of 23k256
blue line : to SI of 23k256
green line : to sck of 23k256


More zoom in

The circuit was operated by a 3v voltage regulator...please help me...why is the 23k256 giving noting back on the SO line?
 

Attachments

  • circuit.JPG
    15.7 KB · Views: 568
  • ossiloscope1.JPG
    15.2 KB · Views: 525
  • ossiloscope2.JPG
    18.3 KB · Views: 482
You're attempting to set the STATUS register to an improper value (according to the datasheet).

Try sending the WRITE STATUS command (0x01) then all zeros to use the default byte mode of the SRAM (0x00). After that a command of 0x05 followed by 8 trailing clock pulses should prompt the status register value to be output on SO. Being that the value will be all zeros though it's probably not the best way to learn by cause and effect. I would instead make your writes to RAM and read it back from the there to test for functionality.
 
hi LTX71CM,
Thanks very much for your help. You had a point there. I tried to send the WRITE STATUS command (0x01), a Data of 0x01, a 0x05(read) and gave 8 clock pulses.
I saw that it worked for microchip in this pdf: **broken link removed**

However it still gave me the same result all over again...the SO of the 23k256 is staying at high impediance....probably not understanding the read command or not switching on properly.
Do you have any advice for me?

Thanks again for your time.
 
How are you differentiating between a low and high-impedance? Did you try writing to a data storage location as suggested?
 
Hi,
I thought that it gave high impediance since when I touch the SO a noise appears on the osiloscope and when I apply a resistor pull up or pull down it just pulls the SO full up(3v) or down(0v). I tried writing to a data storage location having the same results.

proton9000
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…