Need the command format for the AD9106

I am going to be using the AD9106 with a micro controller.   I have all of the info for the AD9106 but it is not clear to me how to send the commands and the format of the strings to the AD9106 to get it to work.  Any examples would be great.  Thanks again, Jim

  • 0
    •  Analog Employees 
    on Jul 2, 2015 6:46 PM over 5 years ago

    Hi Jimmie,

    Have you checked out the Quick Start Guide included in the AD9106 evaluation software package? I would like to refer you to that if you are looking for examples.

    Best Regards

    Louijie

  • Thank you.  I have the examples but my question is by using my own PIC microcontroller what is the correct format of the command string (s).  How will I send the correct data / command to the proper register or location?  I see the scripts from the examples but not how to upload to the AD9106. I am not using the evaluation board as I have designed my own board.    If you have a example or two that show loading and/or modified the AD9106 this will get me on my way.  Thank you.  Happy 4th of July.   Jim

  • 0
    •  Analog Employees 
    on Jul 5, 2015 5:43 PM over 5 years ago

    Hi Jimmie

    I'm afraid I cannot provide that. The code you are asking is hardware dependent and we don't have scripts for PIC microcontroller. But I believe that the quick start guide is helpful in your development since it provides the sequence of register values that is needed to nominally run the device. What I will advise is, as starter, take note of the sequence of code indicated by the quick start guide. Then search the PIC library documentation and look for the function responsible for SPI communication. After, hook up the register values to the functions, and there you can start or branch your development.

    Best Regards

    Louijie

  • Thanks. I will try this again.  I must have over looked something.   If you have a newer version of that document let me know just on case I have a out of date version.   Thanks again for your time.

    Jim

  • +1
    •  Analog Employees 
    on Jul 7, 2015 6:05 PM over 5 years ago

    Hi Jimmie,

    The SPI protocol would allow you to access an individual register. Refer to page 21 of the data sheet for more information about the SPI. I'm not familiar on how PIC libraries are implemented but just look at their SPI libraries and make sure that the wordlength to use is 24-bit. (1 byte for the command cycle and 2 bytes for data cycle). I suggest to use the 4 wire SPI protocol for prototyping because of the fact that you're using a separate pin for reading SPI data. Rather than switching between input and output modes for a 3 wire SPI which adds timing considerations to your firmware.

    Best Regards

    Louijie