I have an issue with a software for an RGB White led lamp based on MKW30Z SoC
controlled via Bluetooth BLE and a button.
I updated the code to github repo:
Project branches from bluetooth_otap_client_att on IAR 7.5; bare metal rtos
The board schematics is attached.
The problems are that I cannot use the button (not triggering), the leds does not flash.
I can see the advertising data on Andoid or IPhone but I cannot connect (connection callback not triggered)
What can be the cause of this and how can I fix it ?
we looked on this issue and found out that according to the schematic a touch capacitive pad is used, but the button in the code is used as a mechanical switch on the GPIO. For the touch sensor a TSI peripheral would have to be used on the same pin on channel 15 (TSI0_CH15).
What is the button/touch sensor supposed to be controlling, the BLE Advertising or LED switching?