Vref pin as input.

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

cross mob
Anonymous
Not applicable

Hi,

   

 

   

Can Vref pin (10) on CYBLE-212019 be set up as digital input? I have a switch connected to it.

   

How?

   

Thanks

   

Fidel

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Vref cannot be used as input. A trick could be to switch Vref between two voltage levels and have the ADC convert a fixed analog voltage to see whether Vref changed.

   

Did you already free the two pins that are used for debugging?

   

 

   

Bob

View solution in original post

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Vref cannot be used as input. A trick could be to switch Vref between two voltage levels and have the ADC convert a fixed analog voltage to see whether Vref changed.

   

Did you already free the two pins that are used for debugging?

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Thx, I have free pins, so no worries 🙂

0 Likes