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