Hello,
I configure CapSense and EzI2C according to CapSense Tuning Guide. But When I click the start on tuning GUI,it prompts "Read operation failed!Check I2C bus connection".I have checked the configuration many times,still can't find the solution.Why is it so?
Thanks,
Jack
Welcome in the forum, Jack!
My crystal ball is currently out of order, so some questions:
What kind of board are you using? Self made?? A Cypress Kit?? Which one??? Creator version?
and
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
You did not yet answer the rest of my questions
Bob
Kit :CY8CKIT-040 PSoC 4000 PIONEER KIT Software:PSoC Creator 3.2
Your Creator is not on latest revision which is 3.3. Probably the Kitprog of your pioneer needs an update, too.
After updating start the PSoC programmer and select the Kitprog as interface. You will get a hint on how to update.
Bob
Use for SCL and SDA the pins P1_2 and P1_3 according to datasheet.
Bob
It doesn't work,still prompt "Read operation failed!Check I2C bus connection".
I could get it to work although in the beginning it didn't start. I unplugged the board from USB, replugged and then the I2C Kitprog appeared in the configuration dialog and I could set the device address to 8 and the sub-address size to 2
Bob
Hi Bob,
I don't understand why to use for SCL and SDA the pins P1_2 and P1_3 rather than P3_0 and P3_1.Because it is the debug interface with the MiniProg3/KitProg.Does it mean that I can't use the tuner in my own broad.Could you please give me a link of the datasheet about how to configure the tuner?
Thanks,
Jack
The datasheet is already installed with your kits. Look under Program files (x86)\Cypress\...
Bob
Hi Bob,
I've tried your method,but this time it prompts "Communication error!Number of transactions failed to complete."
Could you please send your project to me ? I'll try it again.
Thanks,
Jacl
Hi Bob,
Thanks your very much.I get it work.
Thanks,
Jack
Phew! That was a long way! What finally did the trick with the tuner?
Bob
Hi Bob,
I firstly debug CY8CKIT-040 with MiniProg3,but it doesn't work.And I replace it with KitProg,but not reprogram the chip,so it always prompts I2C read failed.
Thanks,
Jack