Read operation failed! Check I2C bus connection: CY8C38 module

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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hello,

   

I was trying to teach myself how to use CapSense using the CY8CKIT-001 and can't even get the tuner helper to connect, I keep getting the error message shown in the subject line. I set up my pins as shown in http://www.cypress.com/file/46756/download, page 5 for the PSoC3 module, which I'm using at the moment. I note that this uses the MiniProg3 but looking at the PSoC3 module's schematic, the MiniProg3 connects to J5 TDO, TDI and TCK but the CapSense Tuner is set to use the MiniProg3 I2C link (my pins are set to P12[5:4] as indicated by the module's schematic).

   

The CapSense data sheet covering the Tuner GUI User Guide shows a very simple procedure for accessing CapSense data that I can't get to work. I've checked my parameters a number of times and they align between the settings shown in the CapSense Tuner configuration window and that shown for the PSoC components.

   

Any suggestions?

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

Jeff,

   

In the PSOC creator code examples for PSOC3 device there is a example project.

   

"CapSense_CSD_WithTuner" this project works on the CY8CKIT-001 which you have.

   

1.You need to build the project and program the device.

   

2.Connect the I2C pins and GND to the miniprog ,

   

3.Configure and run the tuner.

   

I have attached the  project here.

   

 

   

Thanks,

   

Ranjith

View solution in original post

0 Likes
4 Replies
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

It looks like  the example is written for PSOC designer.  That may be the issue.

0 Likes
Anonymous
Not applicable

Which example? The example shown in the CapSense datasheet is directly from Creator and CE95284 - CapSense® CSD Design with PSoC® 3 and PSoC 5LP states that it is for Creator and the  CY8CKIT-001.

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

Jeff,

   

In the PSOC creator code examples for PSOC3 device there is a example project.

   

"CapSense_CSD_WithTuner" this project works on the CY8CKIT-001 which you have.

   

1.You need to build the project and program the device.

   

2.Connect the I2C pins and GND to the miniprog ,

   

3.Configure and run the tuner.

   

I have attached the  project here.

   

 

   

Thanks,

   

Ranjith

0 Likes
Anonymous
Not applicable

That's it! For the CY8C38 module, I2C0_SCL is brought out at Port A' pin 12_4 and I2C0_SDA is brought out on Port A' pin 12_5. GND is available at Port A' pin 9, 19, 29, 39 and 45.

   

Thanks.

0 Likes