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.

MSP430FR2522: Wake up from 12 buttons

Part Number: MSP430FR2522
Other Parts Discussed in Thread: BOOSTXL-CAPKEYPAD

Hi,

I'm trying to wake up from matual buttons using BOOSTXL-CAPKEYPAD.

I used BOOSTXL-CAPKEYPAD Example project.
・Open Controller properties in Design Center and change "Wake on Proximity Sensor" from proximitySensor to keypadSensor.
・Press Generate Source code to import and write the project to CCS. And connected in Design Center.

I thought MCU wake up from all buttons(12), but strange things happened.
Wake up is possible only 2 buttons(TX00-RX00 and TX00-RX01). CPU couldn't wake up with the other 10 buttons.
I have identified the cause but do not know how to fix it.

.pCycle = keypadSensor_Cycles of tSensor keypadSensor in CAPT_UserConfig.c
I think it is caused.

CPU can be waked up only by the first button (C00) of keypadSensor_Cycles.
For example, if I replace C00 and C01, it will wake up at C01 (TX00-RX02, TX00-RX03).

const tCycle* keypadSensor_Cycles[6] =
{
&keypadSensor_C00,
&keypadSensor_C01,
&keypadSensor_C02,
&keypadSensor_C03,
&keypadSensor_C04,
&keypadSensor_C05,
};

In the case of proximitySensor, there is no problem because there is one array,
In the case of button sensors, there is a problem because there are multiple arrays.

Question:
Would you tell me how to wake up from 12 buttons?

Regards,
Rei

BOOSTXL-CAPKEYPAD
CCS v9.2
Design Center version 1_81_00_09

  • Hi Rei,

    Why do you want to use the function to wake up from 12 buttons?

    This function is mostly used on proximity, because this can help save power. So before wake up, the MCU will only detect proximity for every 100ms(default), which is longer than active mode 33ms(default).

    In you case, I think you just need to disable proximity.

    By the way, how can you detect when the device is wake up? There is no feedback when you touch other buttons?

    Eason

**Attention** This is a public forum