AnsweredAssumed Answered

pin sharing between ADC and IO output

Question asked by plus xface on May 13, 2019
Latest reply on Jun 11, 2019 by plus xface

Hi all,

I have a question about pin sharing between ADC and IO

My circuit use PTB3 for both ADC and IO output. In start, circuit will check a jumper to choice config PTB3 is ADC input or output.

I setup ADC and IO in figure below:

 

In main(), I Check jumper and set direction of PTB3 is output  "CDS_SetOutput()" and blinking it, but It isn't work. The output don't change when I mount a LED in.

How can I do that??

 

Edit:

MCU : MKE02Z16VLC4

CW 10.7

 

Thanks,

Plus.

Outcomes