You need to make sure that the I2C address specified in the tuner matches the address set in the Creator.
..and make sure that I2C pins are P4(0) and P4(1)
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.
setups4tune_helper.JPG 85.7 K
I just redid it on my side.
The I2C must be connect to P3 & P3. Then everything should work fine.
"Should work fine" or "does work fine"? Bob (Small window)
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 and P3
- 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
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.
I have the same problem now.
I have changed my settings like you, but I can not run the launch tuner.
Can anyone help me?
I attached my programm
Test_Tuner.cywrk_.Archive01.zip 584.5 K
For PSoC 4 BLE you need to connect I2C to pins 3 and 3.
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.
Afaik there are tuner examples with some pdf documentation for setup.
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!
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.