cancel
Showing results for 
Search instead for 
Did you mean: 

Sensing Technologies

lede_4804706
New Contributor II

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
lede_4804706
New Contributor II

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
New Contributor II

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
lede_4804706
New Contributor II

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

BragadeeshV
Moderator
Moderator

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
lede_4804706
New Contributor II

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

0 Likes