Tuner

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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

0 Likes
16 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi Bob,

   

Thanks for your reply,attached is my project.Please help to check the problem.

   

 

   

Thanks,

   

Jack

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You did not yet answer the rest of my questions

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Kit :CY8CKIT-040 PSoC 4000 PIONEER KIT   Software:PSoC Creator 3.2

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi Bob,

   

I've updated the PSoC and Kitprog,but it still doesn't work,is there anything confgured wrong?

   

Attached is my project.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Use for SCL and SDA the pins  P1_2 and P1_3 according to datasheet.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

It doesn't work,still prompt "Read operation failed!Check I2C bus connection".

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
Anonymous
Not applicable

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

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

The datasheet is already installed with your kits. Look under Program files (x86)\Cypress\...

   

 

   

Bob

0 Likes
Anonymous
Not applicable

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

0 Likes
lock attach
Attachments are accessible only for community members.
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Yes, but I used a different board/chip. CY8CKIT-044 PSoC4 M Pioneer Kit and the (modified) tuner example project.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Hi Bob,

   

Thanks your very much.I get it work.

   

Thanks,

   

Jack

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Phew! That was a long way! What finally did the trick with the tuner?

   

 

   

Bob

0 Likes
Anonymous
Not applicable

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

0 Likes