Shop OBEX P1 Docs P2 Docs Learn Events
BS2 interfacing with MAX6979 — Parallax Forums

BS2 interfacing with MAX6979

CruxCrux Posts: 74
edited 2007-02-20 03:32 in BASIC Stamp
I have already posted the same question in BS2 Serial Clock topic but I guess it is better if I changed the topic inorder to get pros to peep in my query.

I have a problem regarding interfacing BS2 and Maxim's MAX6979 chip. I wrote already a code and I think it is perfectly running. I have no idea why the MAX6979 doesnt even make one of the 7 segment Lit when I am expecting all the outputs to be all high. I have tested my LEDs and all of it is functioning well. I dont think the problem is in my Basic Stamp code. Should I consider clock timing in SPIs?I am a completely nwebie in SPIs so please help me with this.

I have attached below a diagram w/c I know all of you would understand but just bare with it because as I said I'm a newbie..Also the codes
1024 x 768 - 88K
1664 x 1024 - 101K
1600 x 1200 - 702K

Comments

  • CruxCrux Posts: 74
    edited 2007-02-20 01:55
    I forgot to mention that I hardwired DP into 5V+ to make sure that it is functioning.
  • ZootZoot Posts: 2,227
    edited 2007-02-20 02:17
    See the original thread. Presuming that you wired the \OE pin of the driver to ground (I don't see pin numbers on your schematic), then I would remove or greatly reduce the pauses in your code. Remember that your driver has a fail-safe -- if no SPI activity is detected for >= 1 second, then it shuts down (turns off all LEDs). You have 1.5 seconds of pauses in your code.

    http://forums.parallax.com/showthread.php?p=632683

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When the going gets weird, the weird turn pro. -- HST
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-02-20 03:32
    Yes, please stick to the original thread for replies and follow-ups.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.