- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not all of CYPD4126 pin can be a ADC input, correct?
which pin can be ADC input, can you list it ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The default firmware in the host SDK does not support ADC measuring GPIOs after P2.3. Hence you are able to sample P1.5 but not P2.7.
Best Regards,
Sananya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use the same code to test two pins - P1.5 and P2.7
if adc input is P1.5, the CCG4 can get the ADC sampling value .
if adc input is P2.7, the CCG4 can't get the ADC sampling value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
All pins which are designated as a GPIO in the datasheet can be used as an ADC input.
-Please let us know which project and SDK version you are using?
-Please also let us know your hardware setup? (DVK/custom board)
Best Regards,
Sananya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. custom board
2. Host SDK.Version 3.3.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The default firmware in the host SDK does not support ADC measuring GPIOs after P2.3. Hence you are able to sample P1.5 but not P2.7.
Best Regards,
Sananya