- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to use SenseTuner in PSoC Creator to display capacitance value, but there is error message “There was an error reading data from the device” in SenseTuner.
- Dev-board
CY8CKIT-149 - Firmware
KitProg3 (updated by PSoC Programmer 3.29.0) - Darget and Project Setting
Target Device PSoC4 > PSoC 4100S Plus
Empty schematic - Component
CapSense > CapSense
Communications > I2C > EZI2C Slave
Ports and Pins > Digital Output Pin - CapSense Setting
Add a Button to CapSense
Set EZI2C sub-address size to 16bits
Unckeck the Box of HWconnection and check change Initial Drive State to High(1) - Pin Assignment
CapSense_1 Cmod : P4[1] (pin28)
CapSense_1 Sns : P4[6] (pin33)
EZI2C : scl P3[0] (pin18)
EZI2C : sca P3[1] (pin19)
LED: P5[2] (pin53) - Main.cpp
I shared screenshot.
Building to the dev-board was successful, but here is the problem.(I shared screenshot)
- Open SenseTuner through CapSense
- Open Tuner Communication Setup to select I2C method
- turn the I2C speed to 100kHz
- Set Communication mode to Synchronized
- Check the Button0_Sns0 checkbox.
- Click the "Connect" button to connect, and the "Start" button to start the Tuner.
But there is error message “There was an error reading data from the device.”
How to fixed it ? Please help me.
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear community,
Refer to the following thread for the solution: https://community.infineon.com/t5/PSoC-4/There-was-an-error-reading-data-from-the-device/td-p/326449
Best regards,
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @wangyuanfan ,
You may have opened Tuner from a different project. This may be the likely situation. Open the Sense Tuner app from the same project which was programmed onto the device.
In case you need to share the project, you can do the following: right-click on the project -> archive workspace/project -> minimal, and then attach the zip file here.
Best regards,
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I only want to display the value of capacitance by SenseTuner correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear community,
Refer to the following thread for the solution: https://community.infineon.com/t5/PSoC-4/There-was-an-error-reading-data-from-the-device/td-p/326449
Best regards,
Nikhil