csesne_drv example test

Hello

Im traying to test the csense drv example , I want touch pad  button only one

if  I want to use this configuration 

put the USE_COMP == 0 to USE_COMP == 1

now  its ready

i connected the pad in AIN_1 

i started the exaple

what is the next command ?

am i testing correctly? 

if i touched AIN1 pin  26 change the state  on or off

im using a scope to see the pin output 26

i saw the documentation, but im no sure what is the problem 

thanks and reagrds

  • Hi Marcos

    Yes, you seem to be doing this correctly, there is no "next command" in the example project. After the pads are configured you should now be able to light up the LED(s) by touching the capacitive touch pad. Do you have any issues with this?

    Best regards,

    Simon

  • Hello

    maybe this es the problema i have two errors 

    when i changed the USE _COMP == 1 

    I thought I was using the COMP but it was the SAADC,

    thanks and regards

  • Hi

    USE_COMP and the ISOURCE feature is not present on the nRF52840, so that's likely why your application is failing when you enable the USE_COMP=1 define. Please set this back to 0 and the project should compile and build as expected.

    Best regards,

    Simon

  • Hello Simon

    yes you right, 

    I tested csesne example 

    csense example

    I disabled PAD_1, PAD_2, PAD_3, PAD_4 sliders

    only use  BUTTON

    it works

    thank you and regards

  • Glad to hear that! Let me know if you have any follow up questions or if we can close this case.

    Best regards,

    Simon

Related