Shop OBEX P1 Docs P2 Docs Learn Events
AT45DB041 SPI question — Parallax Forums

AT45DB041 SPI question

OrionOrion Posts: 236
edited 2005-04-03 20:54 in BASIC Stamp
I am using the AT45DB041 and have a question on hooking up the spi interface.· Data sheet for the part is here: http://www.atmel.com/dyn/resources/prod_documents/doc3443.pdf.· Can the SI and SO lines be tied together? I will not be reading and writing at the same time.· I know this works on the DS1302 and hope it will here also.· If not I have some hacken to do on my pcb L
·
Thanks in advance.

Comments

  • NewzedNewzed Posts: 2,503
    edited 2005-04-03 17:18
    Do not tie Dout and Din together.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Sid Weaver
    NEW! 4 MB EEPROM

    http://hometown.aol.com/newzed/page4.html
    ·
  • NewzedNewzed Posts: 2,503
    edited 2005-04-03 17:28
    A couple of more thngs - tie Pin 5 to Vcc, and you will need a cap - 22uf minimum across the power supply feeding the AT45.· I use a 47uf.



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Sid Weaver
    NEW! 4 MB EEPROM

    http://hometown.aol.com/newzed/page4.html
    ·
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-04-03 18:19
    Orion,

    ·· The DS1302 only has a single I/O line, so there's nothing to tie together.



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • OrionOrion Posts: 236
    edited 2005-04-03 19:11
    My bad I was thinking about the 25LC640
  • OrionOrion Posts: 236
    edited 2005-04-03 20:54
    Well after pulling a little hair out I found my problem, bad solder joint on CLK.... However looking for some code to run this IC, I found you can tie DI and DO together with a 3k between them. http://www.emesystems.com/pdfs/elfOWLop.pdf page 26. Tested it and it works great. I do have a 30uf cap unlike the drawing 1uf.
Sign In or Register to comment.