- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am using CY8C4247 IC in my project and All 8-ADC pin are collecting data from sensor.but whenever i am making 7 GPIO pins high in my software it is effecting ADC value even all 7 pin are open and not connected to LED..
In pin configuration i tick only on Digital output and Initial drive state is LOW.
Solved! Go to Solution.
- Labels:
-
PSoC 4 Architecture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Project compiles with errors.
Are you using a Cypress Kit (which one?) or your own PCB?
Check the stability of your 3.3V supply.
Could be better to change the ADC to "Hardware trigger" and using ADC_StartConvert() API to make a single conversion. StopConvert is not needed. A short delay to settle voltages could be helpful.
For later project stages (not the current issue):
Every global variable that is changed in an interrupt handler must be declared as volatile!
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i attached the project
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Project compiles with errors.
Are you using a Cypress Kit (which one?) or your own PCB?
Check the stability of your 3.3V supply.
Could be better to change the ADC to "Hardware trigger" and using ADC_StartConvert() API to make a single conversion. StopConvert is not needed. A short delay to settle voltages could be helpful.
For later project stages (not the current issue):
Every global variable that is changed in an interrupt handler must be declared as volatile!
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check the attached file