Shop OBEX P1 Docs P2 Docs Learn Events
Help in DS1602 — Parallax Forums

Help in DS1602

ArchiverArchiver Posts: 46,084
edited 2003-01-05 02:49 in General Discussion
Hi, Group. In order to set the oscillator trim bits for DS1602.(The
protocol of DS1602 as follow.) But how can I shift_in a word
contained the letters? Plese help!!! Thanks

Hai

Protocol
ACC AVC OSC2 OSC1 OSC0 CCC CVC RD
1 1 A B C X X 0



X=Don't care

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-01-05 02:49
    A B C represent the oscillator trim value 000-111 (Bits 5, 4, and
    3). A value of 011 will give accuracy of +/- 120s per month.
    Increasing the value towords 7 (111) makes the real-time clock run
    faster.

    the whole protocol would be something like 1 1 0 1 1 0 0 0 for the
    trim value of 3 (011).


    --- In basicstamps@yahoogroups.com, "hai_m_2000 <hai_m_2000@y...>"
    <hai_m_2000@y...> wrote:
    > Hi, Group. In order to set the oscillator trim bits for DS1602.
    (The
    > protocol of DS1602 as follow.) But how can I shift_in a word
    > contained the letters? Plese help!!! Thanks
    >
    > Hai
    >
    > Protocol
    > ACC AVC OSC2 OSC1 OSC0 CCC CVC RD
    > 1 1 A B C X X 0
    >
    >
    >
    > X=Don't care
Sign In or Register to comment.