- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everybody,
I've start to test my new psoc 4 pioneer kit and I've tried to run capsense tuning, enabling tune helper in CSD component, copying code suggested on reference to run helper:
void main()
{
CyGlobalIntEnable;
CapSense_TunerStart();
while (1)
{
CapSense_TunerComm();
}
}
but helper gui signal aways "read operation failed". I've noticed that tune helper config tab in CSD component properties has different (less) parameters than other reference, e.g. "psoc 4 capsense design guide". I've tried to use pscoc5 inside pinoeer kit as i2c bridge (it's seems supported by helper gui).
Does anyone has some experience about that? I'm a beginner with psoc world and try to find some help with this new one.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
..and make sure that I2C pins are P4(0) and P4(1)
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
thanks for quick reply. In the image attached I've collect i2c setup for tune helper, into CSD block config panel (and so report i2c routing) and into tune helper communication config panel. For me it seems correct (as you suggested), but still doesn't work, always with "read operation failed" allert from tuner gui.
I still try to use PSoC5 into pioneer kit as i2c bridge to PSoC4, recognized by tune helper as KitProg interface: I've tryed to check HW communication with a scope over i2c serial resistance mounted into pioneer kit (I've reffered indication on kit schematics for catch i2c connection between PSoC 4 & 5) and I've seen messages corresponding initial handshake that stops when gui reports error (so PSoC5 try to talk to PSoC4).
Thank for any suggestion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just redid it on my side.
The I2C must be connect to P3[0] & P3[1]. Then everything should work fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, that would depend on th erest of his project.
What I did:
- Create a new project based on the Psoc4 dev kit's CapSense sample project.
- Open the Capsense component and enable Tuner Helper
- Map the CapSense:TunerIntf pins to P3[0] and P3[1]
- In main() add CapSense_TunerStart(); right before the for(;;) statement.
- In main() add CapSense_TunerComm(); right below the for(;;) statement.
- Program board
- Rightclick on the Capsense component and click Launch Tuner.
- In the tuner click Start
This works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Errol,
I've routed PSoC4 tune help i2c from P4[0,1] to P3[0,1] and now helper gui can connect (it notice me to set sub-address to 1 byte, first).
If I had read with more attention the poineer kit schematic, I should have noticed the the i2c port on PSoC4 is P3 and not P4.
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Glad to hear.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For PSoC 4 BLE you need to connect I2C to pins 3[5] and 3[4].
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok Thank you Bob.
It works well.
Do you know, which commands should I write and which settings should I set in Variable Settings in BCP?
I have tried to write the commands and repeat, but no signal comes out.
Thanks
Asyraf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Afaik there are tuner examples with some pdf documentation for setup.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi - looking for similar help with CY8CKIT-042 BLE Pioneer Kit.
I've tried a number of capsense projects (that I've written, and that I've modified from examples) and I've got nothing working. Neither proximity nor linear slider. I have been able to run the Tuner with the "vanilla" Capsense module (graphs are always pinned to rails), and when I try to run the tuner with Capsense_CSD I get Desired Packet Size Mismatch error.
Thanks for any help!
L.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Bob