Post Go back to editing

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

  • 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

  • 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

  • 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

  • Good afternoon.  I reviewed the quick quide.  Do I just send 1 long string with all of the registers set to the desired values?  I was hoping that I could just update the individual register as needed 1 by 1 or so.    That step I do not see if it possible.   Let me know of I can just set any register as needed and if so how.  Also there is a Microchip PIC on the original evaluation board.  That is why I chose to use the same technology in our design.   Thanks again.  Jim

  • This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin