AnsweredAssumed Answered

AD75019 not switching Help!

Question asked by zaltun on Jan 21, 2016
Latest reply on Feb 10, 2016 by Stephen_Nugent

Hello,

I just recently bought an AD75019.

I have connected the pins as below.

VDD= +12V

VSS= -12V

VCC= +5 V

DGND= Ground

From My MCU (http://www.mouser.com/ds/2/170/G120_User_Manual-357183.pdf)

I have connected the digital out pins of MCU to the din,pclk,sclk pins.

I connected the audio out of my laptop to X15 of AD75019.

But I hear the input X15 laptop voice from all input and output pins of AD75019.

I wrote the below code to my MCU to clear all the switches. But nothing changes. I still hear the voice from all pins.


M_latch = new OutputPort(GHI.Pins.G120.P1_20, true); // PCLK

  M_clock = new OutputPort(GHI.Pins.G120.P0_15, false); // SCLK

   M_datain = new OutputPort(GHI.Pins.G120.P0_18, false); //DIN

 

  M_datain.Write(true  );

    Thread.Sleep(200);

            for (int Y = 15; Y > -1; Y--)

            {

                for (int X = 15; X > -1; X--)

                {                  

                    M_clock_yaz();

                 }

            }

              M_latch_yaz();

             }

 

        public static void M_clock_yaz()

        {

            Debug.Print("");

            Debug.Print("");

            M_clock.Write(true);

            Debug.Print("");

            Debug.Print("");

            Debug.Print("");

            Debug.Print("");

            Debug.Print("");

            M_clock.Write(false);

            Debug.Print("");

            Debug.Print("");

            Debug.Print("");

            Debug.Print("");

            Debug.Print("");

      

    

        }

  public static void M_latch_yaz()

    {

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

            M_latch.Write(false );

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Thread.Sleep(1);

        M_latch.Write(true );

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

        Debug.Print("");

      

    }

Outcomes