5 Replies Latest reply on Sep 11, 2015 4:49 AM by klaus.kragelund

    Funny VDAC output signal, slow voltage settle

    kkragelund_1477131

      Hi

         

      I am using the PSOC kit with the CY8C3866 (ES2 silicon)

         

      I have to use the DAC, but the output signal is strange (see attachment). When I set the DAC to a new value, it does not settle like it should in less than 5us

         

      The DAC output is directly into a 1M scope input, DC coupled.

         

      The code, somewhat snipped: (also attached)

         

      // Enable DACs

         

      VDAC8_1_Start();

         

       

         

      while (1) {

         

      VDAC8_1_SetValue(100);

         

       

         

      for (i=1;i<100;i++) {

         

      value1 = 100;

         

      }

         

      VDAC8_1_SetValue(0);

         

       

         

      for (i=1;i<100;i++) {

         

      value1 = 100;

         

      }

         

      }