This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR2633: Implementing Numeric keypad using CapTIvate Technology

Part Number: MSP430FR2633

Hi,

I have designed keypad PCB for MSP430FR2633 microcontroller and tried to implement the Cpativate phone demo code after modifying it.

But am not able to detect if the key is pressed or not.

Am not using haptic driver features, I simply just want to implement capacitive touch keys.

Please suggest me the solution.

I have attached code which I installed in MSP430FR2633 microcontroller.Captivate_Keypad_code.rar

  • Hello Himani,

    My suggestion would be to start simple and create a Captivate design center project and assign the electrodes to the MCU as you have designed on your PCB.  In the design center generate the CCS project code, program your target and see the buttons working.  You will most likely have to adjust the sensitivity to get them working properly.  After you have all the buttons working, then add your application code.

    Here is a hint for checking when a button is pressed.  Create a callback function that will be automatically called each time the button group is scanned.  You can then easily check if a button is pressed.  Refer to the Captivate design center guide, software chapter, how to do callbacks.

    If you like, you can send me your schematic and captivate design center ".ser" project file and I can double check it.

  • Hi Himani,

    I haven’t heard from you for a couple of days now, so I’m assuming you were able to figure out a solution.
    If this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information.
    If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

  • Hi Dennis,

    I tried the way you suggested and it worked.

    Thank you for support.

  • Hi Dennis,

    I tried the way you suggested and it worked.

    Thank you for support.

    But now I have made some changes in code to get the result for 3mm distance and am getting following errors:

    1. #1965 cannot open source file "cs.h" 

    2. #1965 cannot open source file "driverlib.h" 

    3. #1965 cannot open source file "gpio.h" 

    4. #1965 cannot open source file "rom_driverlib.h" 

    These errors were not generated previously when I build the program.

  • Hi Himani,

    If using Code Composer Studio, check your project properties and see if you have the correct paths listed as shown here.

  • Hi Himani,

    I haven’t heard from you so I’m assuming you were able to move forward with your solution.
    If this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information.
    If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues

  • thank you for the solution, it worked 

**Attention** This is a public forum