- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi CYPRESS:
when i use cypress psoc4 as the main mcu, and the io pin as touch key; but sometime ,i will occur to stuck in the power on ,
when i see the rawcount & baseline in the tuner , the Rawcount is close to baseline and the baseline can't come to lower position, so the
touch can't work , do you have any advice?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi DaZh_2976111,
- Can you please provide us screenshot of tuner showing the raw counts, difference counts and baseline focusing the issue. Also please mention in the graph if the button is pressed or not during that time.
- What is the PSoC 4 device you are using in your application?
- Please make sure you have followed all the design guidelines mentioned in PSoC 4 CapSense Design Guide, especially schematic rule checklist and layout rule checklist:
https://www.cypress.com/file/46081/download
4. Is it possible for you to share the hardware and software parameters that you have set for the sensor?
Regards,
Bragadeesh
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi Cypress:
when we check the wave of cy8c4146; we find that that Rawcount is bigger than baseline when the power is on the first time ,not the same as basline; but the normal situation is that rawcount is the same as baseline when the power is on the first time; and when the button is presssed , the signal is change;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi Cypress:
The problem is described as follows:
1、when the touch key stuck in the fist power on , we check the wave of the signal, the Rawcount is bigger than baseline and the signal is much bigger than normal touch key ; so the baseline not follow the rawcount on the power first time; when the touch key is stucked, we must to powre off and on , it may back to normal or still abnormal;
normal l touch key wave show as below:
the source code :
Capsense_start()
Capsense_scanAllWidget();
check busy;
Capsense_processAllWidge()
Capsense_scanAllWidget();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi DaZh_2976111,
Can you please let us know if this issue happens with all the sensors or only one particular sensor?
Regards,
Bragadeesh
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi Bragadeesh:
When power is on, it happens randomly on certain keys; we check the source code , when the power is on , rawcount = baseline,
but in the tuner rawcount != baseline;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi DaZh_2976111,
From your previous post it looks like the issue is with tuner and not the PSoC device? Is that true? Did you try disconnecting the device from tuner and then reconnecting it back?
Regards,
Bragadeesh
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi CY:
Do you mean the tuner lead issue? when tuner is off ,it's still has issue, we just look the wave to tuner, TKS;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi DaZh_2976111,
Thanks for the update. Apologies for delayed response.
First we need to figure out if the issue is with the firmware or the hardware?
Can you please load a Cypress provided CapSense code example based on your device into your custom board.
If you still face this issue with a Code example, then it might be a hardware issue. But if you don't face this issue, then it is a firmware issue.
Regards,
Bragadeesh
Bragadeesh