This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

analog input shared CC2538

Other Parts Discussed in Thread: CC2538

hi, i'm working with the cc2538, i would know if can i use the analog input pin PA5 both with the analog comparator and with the ADC. in my program, the adc is normally off until the signal on pa5 reaches the edge set on pa4 and the comparator sends an interrupt that starts the adc and in this moment the adc sould read the pa5 input. can I do this or i must short the pin pa5 with another analog input?

thanks!...and sorry for my english

  • Hi Giuseppe,

    I haven't tried it myself , but since ADC and  comparator are two separate modules, and the fact that the  pin mode remains same in both cases i.e. analog , I believe it should be ok

    Thanks,

    Saurabh