Shop OBEX P1 Docs P2 Docs Learn Events
Address pins — Parallax Forums

Address pins

TCTC Posts: 1,019
edited 2008-07-31 01:36 in General Discussion
I have had this time keeper sitting around for some time now and I would like to use it. It has 15 address pins, I am looking to only access address 7FFF8h-7FFFh. I am not understanding what pins I can tie to VCC. Is it A0 – A11 tide to VCC? Or, is it A3 – A14 tied to VCC?
http://eu.st.com/stonline/products/literature/ds/6845.pdf
TC

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
We all make mistakes when we are young………That’s why paste is edible!

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-07-30 02:40
    A14 is the most significant bit, A0 is the least.
    I take it you want to change A0, A1, A2, so you would tie A3 through A14 high (pull them up via 10K resistors.).
    ····· A14·············· A0
    7FF8·· 111 1111 1111 1000
    7FFF·· 111 1111 1111 1111
  • TCTC Posts: 1,019
    edited 2008-07-30 13:25
    Thanks PJ, one of these days I will understand MSB - LSB. I have not found a easy way to understand it.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    We all make mistakes when we are young………That’s why paste is edible!
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-07-30 13:46
    What'll it take to muster your understanding?

    [noparse][[/noparse] Good luck with the paste. ]
  • TCTC Posts: 1,019
    edited 2008-07-30 19:54
    PJ, I have trouble getting my paste filled brain around the idea of reading backward.
    I am used to 0, 1, 2, 3… but when I look at a datasheet it says 7, 6, 5, 4… And you have to start at 7 not 0.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    We all make mistakes when we are young………That’s why paste is edible!
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-07-30 23:35
    Binary numbers are read left to right, decimal numbers are read left to right; it's the same principle, the most significant digit is that furthest to the left and the least significant is that furthest to the right.·

    A0 is the least (zero is the least).· Get with the plan, man.
  • TCTC Posts: 1,019
    edited 2008-07-31 01:36
    now I get it, DUH!!! so no mater what the datasheet says A0 allways equals LSB thanks

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    We all make mistakes when we are young………That’s why paste is edible!
Sign In or Register to comment.