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.

MSP430FR2512: Captivate - MSP430FR2512 Wake-up from any touch key

Part Number: MSP430FR2512
Other Parts Discussed in Thread: MSP430FR2633

Dear Sir. 

we used the MSP430FR2512  for two touch keys.

we used the  CapTIvate Design center to generate source code and wake on from BTN00.

//------------------------------------------------------------------------------------------

#define CAPT_WAKEONPROX_SENSOR  (BTN00)

//Sensor: BTN00

const tCycle* BTN00_Cycles[2] =
{
&BTN00_C00,
&BTN00_C01,
};

//-------------------------------------------------------------------------------------

After program the source code, the touch key only wake up from BTN00_C00,

Could you please how to wake up from BTN00_C00 and BTN00_C01 in the LPM3 mode.

  • Hello Huang,

    In CapTIvate low power mode (referred to  as wake on proximity mode), the CapTIvate state machine can only measure and process one cycle, which is cycle 0.

    Typically, on an MSP430FR2633, up to 4 blocks (one pin from each block)  can be assigned to cycle 0 and are measured in parallel in the (wake on proximity mode).

    So what you are attempting to do would work on the FR2633.  However, since your MSP430FR2512 has only one CapTIvate measurement block (CAP0),  only one button can be assigned to cycle 0.  Your second button is assigned to cycle 1, a third button is assigned to cycle 2 (if you had more than 2) and so on.

    You can manually enable/disable the second button just as you enter and exit from the (wake on proximity mode).

    Here is an example.  Note, since the second button is already defined in your code as an RX pin, you only need to use the CAPT_setChannelActive()  just before entering (wake on proximity mode) and  CAPT_clearChannelActive() when exiting (wake on proximity mode).

**Attention** This is a public forum