Post Go back to editing

AD1939 Sigma Studio Comms Failed

Category: Hardware
Product Number: AD1939

I've just built my first circuit/PCB with an AD1939 codec. Powered up and have checked for shorts in the circuit etc...  Connected my USBi device (from an eval' board) and setup a quick SigmaStudio program with the AD193x device. Whenever I try to write to device or read the settings from the chip I get "Compiled, Comms Failed".  Where should I start fault finding this so I can configure my AD1939? Any ideas greatly received! Slight smile

Kind regards,

Mark

Image of my board (excuse the over bright LED's... whoops!):

Parents
  • Hello MDThommo81,

    The AD1939 only has an SPI control port for writing and reading back of the internal control registers, Since the USBi's I2C LED in your picture was flickering, which leads us to believe that you are using I2C in the hardware setup window in Sigma Studio. Please make sure that it is set for SPI like below.

    Note that I chose SPI 0x2 ADR0, because I was using one of the extra latches. The USBi pin uses latch 1 which is SPI 0x1 ADR0. please select that.

    If you change that to correct latch, then read/write like this to see whether communication was established: simply right-click the AD193X block, choose READ/WRITE window, modify the address, write any register value and then read it back. You can verify if you are reading the written data correctly.

    we would also need to look at your hardware schematic, what is the state of the reset pin? 

    If you have a scope, just probe signals coming out of the USBi and see if it makes sense or just see 'is there a signal coming out in the first place. 

    Also please go thru this PCB layout best practices manual.

    PCB Layout Best Practices for AD193x codecs - Q&A - Audio - EngineerZone (analog.com)

    Regards,

    Harish

  • sorry, forgot to include my circuit schematic. see attached. Thanks!

    PDF

  • Hello Mark,

    Since the USBi block in your schematic is red in color, I believe your PC driver is not loaded correctly. once The USBi is connected properly to your PC then the USBi block will turn green, as shown in the image below.

    The USB cable may be the issue. Retry after changing the cable. Try these actions listed below if you continue to have this issue.  

    1. Un-install any version of Sigma Studio that was previously installed

    2. Re-start your PC

    3. Install sigma studio V4.7

    4. Again, restart your pc

    I hope this works.

    Regards,

    Harish

     

Reply
  • Hello Mark,

    Since the USBi block in your schematic is red in color, I believe your PC driver is not loaded correctly. once The USBi is connected properly to your PC then the USBi block will turn green, as shown in the image below.

    The USB cable may be the issue. Retry after changing the cable. Try these actions listed below if you continue to have this issue.  

    1. Un-install any version of Sigma Studio that was previously installed

    2. Re-start your PC

    3. Install sigma studio V4.7

    4. Again, restart your pc

    I hope this works.

    Regards,

    Harish

     

Children