1 Reply Latest reply on Nov 10, 2017 6:06 AM by nsha

    CY8CKIT-145-40XX Cap-Sense Slider using CSX method

    yuusuke.all_1407706

      I'm using CY8CKIT-145-40XX and I have one question.

       

      Q. How to use Cap-Sense Slider by CSX (mutual cap) method using PSoC Creator 4.1.

       

      I downloaded sample project "CE201709" and found that using Cap-sense slider by CSX method is disabled.

      In terms of SNR and position accuracy, I'd like to use Cap-sense slider by CSX.

      Could you tell me how do I get mutual-cap data from Cap-sense slider.

      Thanks in advance.

      ====Japanese====

      CY8CKIT-145-40XXにて

      PSoC Creator 4.1ではCap-Sense Sliderの機能がSelf Cap (CSD)のみになっています。

       

      本来P2[6]のSlider TxとP0[0/1/2/3/6]のSlider Rxで相互容量方式で検出できるはずですが、

      現状のPSoC4ではそれができません。

       →センサをSliderではなく、TouchPadにすればよいのでしょうか?

       

      ご教授いただけますと幸いです。

        • 1. Re: CY8CKIT-145-40XX Cap-Sense Slider using CSX method
          nsha

          Hi,

           

          The existing CapSense component in Creator does not support slider with mutual capacitance.

          But you could use slider with mutual capacitance by following the steps below.

           

          1. Create a CSX button widget with the number of buttons equal to the number of segments in the slider

          2. Create a CSD slider widget with the required number of segments

          3. Assign all the receiver pins of CSD slider widget to the receiver pins of CSX button widget. (In widget details tab)

          4. Assign the transmitter pin of CSD slider widget to the transmitter pin of CSX button widget. (In widget details tab)

          5. In firmware, scan all the buttons and copy paste the raw counts into slider (Use get_param and set_param APIs)

          6. Process the slider widget

           

          Thanks and regards,
          Shanmathi