CY8CMBR3110-SX2I Buttons Status

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lede_4804706
Level 1
Level 1
First solution authored First like received First reply posted

I’m trying to work if the CapSense p/n CY8CMBR3110-SX2I. I was able to programming the device with the configuration below.

/* Project: C:\WIP\Projects\ARM_Devices\SVueCommon\Westlock\Touch Buttons EZ-Click Project\TouchButtonsRev01\TouchButtonsRev01.cprj
* Generated: 3/1/2021 09:17:55 -05:00 */
const unsigned char CY8CMBR3110-SX2I_configuration[128] = {
0xEEu, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,
0xCCu, 0xFCu, 0x00u, 0x00u, 0x7Fu, 0x80u, 0x80u, 0x80u,
0x7Fu, 0x80u, 0x80u, 0x80u, 0x7Fu, 0x7Fu, 0x00u, 0x00u,
0x00u, 0x00u, 0x00u, 0x00u, 0x03u, 0x00u, 0x00u, 0x00u,
0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x80u,
0x05u, 0x00u, 0x00u, 0x02u, 0x00u, 0x02u, 0x00u, 0x00u,
0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x1Eu, 0x00u,
0x00u, 0x00u, 0x1Eu, 0x00u, 0x00u, 0x00u, 0x01u, 0x01u,
0x01u, 0xFFu, 0xFFu, 0xFFu, 0xFFu, 0xFFu, 0x00u, 0x00u,
0x00u, 0x00u, 0x00u, 0x00u, 0x02u, 0x03u, 0x01u, 0x5Bu,
0x00u, 0x37u, 0x06u, 0x00u, 0x00u, 0x0Au, 0x00u, 0x00u,
0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,
0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,
0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,
0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,
0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x9Eu, 0x10u
};

But, I’m having problem to get the buttons status. I’m reading 2bytes starting in the register 0xAA and those bytes are always zero.

lede_4804706_0-1614609420257.png

Is there any other register I need to write to enable the chip to work? I had looked in some examples and I couldn’t find what I’m missing.

Do you have any code example using 5 buttons that I can use to check if I’m missing anything?

0 Likes
1 Solution

Thanks for the tips. I removed the shield and the CY8CMBR3110 started to change the value when I touched in the buttons pads. Further investigation show that the schematic was connecting the shield to the ground. After fixed that I was able to set the shield again.

Regards,

Leiser

View solution in original post

4 Replies
Marshal_Zhang
Level 4
Level 4
Distributor - Zenitron(GC)
25 sign-ins 10 replies posted 10 sign-ins

For the development of MBR3xxx, Ez-Click is recommended.

[https://www.cypress.com/documentation/software-and-drivers/ez-click-20]

 

According to your data, I recovered this project.

Maybe your question is related to sensitivify.

You can try to change the small parameters.

Or remove the "Shield" and "guard sensor" options to test.

Specifically, it is recommended to adjust through the "CapSense output" tab interface.

0 Likes

Thanks for the tips. I removed the shield and the CY8CMBR3110 started to change the value when I touched in the buttons pads. Further investigation show that the schematic was connecting the shield to the ground. After fixed that I was able to set the shield again.

Regards,

Leiser

BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi @lede_4804706 ,

As @Marshal_Zhang suggested , we recommend you to connect your board to EzClick software for easier debugging.

From your original post, I see that you have used EzClick to generate the configuration data. Can you send us the EzClick project file here so that it is easier to review your settings rather than this configuration array.

Regards,
Bragadeesh
0 Likes
lock attach
Attachments are accessible only for community members.

I attached the EzClick project. See my last reply the issue was fixed. Thanks!

0 Likes