- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have taken the capsense csd tuning example for cy8ckit-149 devkit, i have connected the dev-kit to the tuner application by external miniprog4 programmer or debugger I2C communication.
In the sensor data I was getting maximum peaks in the sensor data section in the graph view. the maximum count value im getting on the sensor plot section is 65535 which i think it is a false value, only for a couple of seconds im getting the proper raw count as 1750 like that(csd is configured as 11 bit resolution).
And also after few seconds the communication with the board in the tuner application like exception happened. can you please let me know how can I solve this .
Solved! Go to Solution.
- Labels:
-
ispn:40045:1:0
-
l1:314:1:0
-
PSoC4MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Gopi
Please make sure you are using the Tuner in Synchronized mode.
For I2C tuner interface, this will ensure that the data is sampled at the right intervals only.
It is also essential to make a sturdy connection between the MiniProg and the kit. Any loss of I2C packet or corruption of data will cause the Tuner to fail.
Can you attach the application code that you are using or a minimal version where the issue is reproducible so that we can check if there are any issues?
Best regards,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Gopi
Please make sure you are using the Tuner in Synchronized mode.
For I2C tuner interface, this will ensure that the data is sampled at the right intervals only.
It is also essential to make a sturdy connection between the MiniProg and the kit. Any loss of I2C packet or corruption of data will cause the Tuner to fail.
Can you attach the application code that you are using or a minimal version where the issue is reproducible so that we can check if there are any issues?
Best regards,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi hari,
I'm using the basic example code what the cypress have provided in the modus toolbox ide for cy8ckit-149 dev kit.
and coming to the issue I'll try to share the screen shot of that issue what i'm facing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is how i'm geting the spikes read mode is in synchronized mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Gopi
Can you let me know if there was any code change from the code example? I verified code example at my end and did not find any such spikes. Can you also check if the Tuner is working in Synchronized mode?
Please make sure that the Read mode is synchronized for this operation.
Best regards,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No there is change in code example i just imported the example code and then just flashed it, and the tuner is running in synchronized mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Gopi
Can you please share the .hex file that is generated after the build so that I can try the same in my kit and check? This is to eliminate any software bug being the cause of the issue.
You can find the hex file in <project name>\build\CY8CKIT-149\Debug\<project name.hex>
Thanks,
Hari