CYPD4126 - ADC input?

Announcements

Live Webinar: USB-C adoption. Simple & Cost-efficient solutions | April 18th @9am or 5pm CEST. Register now !

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Ivan_Lee
Level 5
Level 5
Distributor - Zenitron(GC)
100 replies posted 5 likes given 100 sign-ins

Not all of CYPD4126 pin can be a ADC input, correct?

which pin can be ADC input, can you list it ?

0 Likes
1 Solution
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

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

View solution in original post

0 Likes
4 Replies
Ivan_Lee
Level 5
Level 5
Distributor - Zenitron(GC)
100 replies posted 5 likes given 100 sign-ins

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

0 Likes
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

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

0 Likes
Ivan_Lee
Level 5
Level 5
Distributor - Zenitron(GC)
100 replies posted 5 likes given 100 sign-ins

1. custom board

2. Host SDK.Version 3.3.1

0 Likes
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

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

0 Likes