Shiftin with external Clock howto ?


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1

    Default Shiftin with external Clock howto ?

    Hi all

    I have an excisting piece of hardware which is controlling a 12bit DAC7611

    The DAC 7611 gets the clock from the excisting hardware,Data and Load/ , CS/ is wired low,
    CLR/ is wired high

    I want to read the value (0-4096) which the excisting hardware is sending and display it on an LCD

    Anyone who can point me how to do so ?

    I noticed that shiftin is generating it's own clock so that is not an option

    Looking forward

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Shiftin with external Clock howto ?

    What I think you need to do is "eavesdrop" on the clock and data line.

    Eg wait for the clock to change from idle state, read the data line and store the bit, wait for clock change back to idle state,wait for the clock to change from idle state, read the data bit and store it.......................keep going until you have the data you need.

    See the manual http://melabs.com/resources/pbpmanual/5_65-5_70.htm and the clock and date illustration

  3. #3
    Join Date
    Aug 2011
    Posts
    453


    Did you find this post helpful? Yes | No

    Default Re: Shiftin with external Clock howto ?

    The DAC 7611 gets the clock from the excisting hardware
    Do you know what the clock speed of the existing circuit is?

    It could be running WAY too fast to try and catch the transaction by polling the lines.

  4. #4
    Join Date
    Aug 2011
    Posts
    20


    Did you find this post helpful? Yes | No

    Default Re: Shiftin with external Clock howto ?

    hardware MSSP

  5. #5
    Join Date
    Aug 2011
    Posts
    453


    Did you find this post helpful? Yes | No

    Default Re: Shiftin with external Clock howto ?

    It might be very difficult to capture the 12-bit DAC transfer with an 8-bit MSSP module.

  6. #6
    Join Date
    Aug 2011
    Posts
    20


    Did you find this post helpful? Yes | No

    Default Re: Shiftin with external Clock howto ?

    really?

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts