I'm using the PSoC CY8CKIT-145-40XX Prototyping Kit. It has a PSoC 4 CY8C4045AZI-S413 IC.
I have been trying all week just to use the tuner application. I have used the example code that was already available through the PSoC creator. I have followed all the steps correctly, even double checked (more than double) that the configuration parameters are the same for both the Tuner and EZI2C.
I have attached the MINIMAL workspace bundle. Any Advice would help. WHAT AM I DOING WRONG?
Welcome in the forum.
Do not use debugging and tuner at the same time. Set the debug mode to "gpio" in system view to disable debugging.
Thanks for replying!
I did set the Debugging mode to GPIO, but that did not solve the issue. But how does this affect the tuning process? I'd like to know if you wouldn't mind.
Volodymyr Medvid was right. PSoC Creator threw an error when I changed the Pin lock (and by the way it did not allow me to drag the function over to the pins, I had to enter it in the drop down field). Both the SCL and SDA pins were invalid and are were not allowed to be routed to those pins; but as soon as I rebuilt the project, the error disappeared.
Thank you, Volodymyr ! I had been working on UART for sometime, and i must have mistaken the UART pins for the I2C. It works fine now.
But when i tried changing the pin lock information it set the pin as invalid and then after rebuilding the project it resolved the error on its own. I'd like to know why - I have attached a screenshot of the same. (ignore the SDA pin at P3, its shows the same error once i change it back to P1).
I have the same problem, but this time with a different chip. I'm using the CY8C4247AZI-L445 to interface a touchpad using USB HID. I'm still in the first phase where im trying to get the CapSense Tuner application to display valid touches as i move my finger around the touchpad. I have configured the CapSense configured as a Touchpad itself with 10 rows and 10 columns.
I've learnt from my previous mistakes and verified that the I2C pins are correct and that Debugging has been disabled.
I set up the connection in the Tuner application as directed by the PSoC manuals for CapSense Tuner. I even checked if all the parameters match the ones set in the EZI2C used in the project. I have attached the (minimal) project bundle.
Any inputs would be appreciated! Thanks in advance.
Prithvi Raj Prakash
Then check your I2C connection to the kitprog, pull up resistors, correct input to Kitprog, check for voltage 5V. Program and component settings seem to be ok.
Thanks, Bob. I'll try that and let you know how it goes.
Another thing I noticed was that, the I2C lines used by the Miniprog are different and the I2C lines used by the EZI2C are different. Shouldn't they be the same. In that case, i can't route the I2C lines form the EZI2C to the SWD CLK and SWDIO, which is the ones used by the Miniprog3. I dont have the option to physically route the pins to the Miniprog.
Am i making sense or should it just be two different lines?
Create a support case, I am not quite sure about connecting the I2C lines to Miniprog3. At top of this page Design Support -> Create a Support Case.