Skip to main content
benjamin2
Visitor II
September 10, 2013
Question

Use of multiple analog functions of same pin possible?

  • September 10, 2013
  • 1 reply
  • 730 views
Posted on September 10, 2013 at 15:32

Hello guys!

I wonder if it is possible to use more than one additional function if the pin is configured as an analog input. I can not find any detail in the datasheet or reference manual that denies or allows this kind of usage especially.

For instance (see attachment): Is it possible to use PA1 as input for COMP1 and OPAMP1 on the STM32F302RC at the same time?

https://my.st.com//public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Attachments/33802/Multipin.png

Thanks for your help.

Greetings,

Benny

#multiple-pin #multiply-functions
    This topic has been closed for replies.

    1 reply

    Amel NASRI
    ST Technical Moderator
    October 10, 2013
    Posted on October 10, 2013 at 18:35

    Hi Benny,

    There should be no issue to use the same pin as analog input for more than one peripheral.

    In such case, the same input signal will be used for both OPAMP1 and COMP1 for example.

    -Mayla-

    To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.