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.

CCS/MSP430FR2532: Creating single project with both Captivate and CTPL libraries/drivers/includes

Part Number: MSP430FR2532


Tool/software: Code Composer Studio

Hi,

I'm developing code for the MSP430FR2532 in which I would like to use the Captivate module to take some simple capacitance measurements and then sleep in LPM4.5. I would like to use the CTPL module to use the ctpl_enterlpm45() function to enter into LPM4.5. I know how to auto-generate code from the Captivate design center as well as create an empty project with CTPL; however, I'm not sure how to create a project which contains both the necessary drivers and includes for Captivate and CTPL in one. 

Can you advise on how to do this? Thank you,
Aref

  • Hi Aref,

    What's your application and power consumption requirements? CapTIvate sensing need wake-up periodically to calibrate baseline. And CapTIvate already has low power LPM4. The LPM4.5 need wake up by GPIO interrupt.

    Best Regards,

    If my post helped solve your issue, please click on the  VERIFY ANSWER    button. 

    Winter,

    Search E2E! Your questions may already be answered! 

     

  • Our application draws as little power as possible (on average less than 1 micro-amp). The MSP spends 90% of its time in LPM4.5 and I trigger it to wake via GPIO interrupt to take a measurement. I want to be able to wake it externally via GPIO from LPM4.5, activate the CapTivate module to take capacitance measurements every few seconds or so, and then return it to LPM4.5. Is this possible using both the CTPL and CapTivate module together?

  • Hi,

    For your application, not CapTIvate touch, it's possible to use both the CTPL and CapTIvate module together. You can add your CTPL function after CAPT_appHandler() and your own measurement data processing. MCU will re-initialize the CapTIvate module after woke-up from LPM4.5.

    I think you can have a try and post your test data if meet some errors.

    B.R

    Winter 

**Attention** This is a public forum