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.

TMS320F280049C: how to set ADC mux?

Part Number: TMS320F280049C

Hi,

when use ADC of F280049C, we find the pin mux as below:

but how should I set it as I want (eg: PIN23 set as A0)? I only find GPIO MUX in datasheet.

thanks.

Yuan

  • Hi Yuan,

    Pin23 is always connected to A0,B15,C15,DACA_OUT, and AIO231.  To use it as A0, you simply have to configure SOC channel as 0 for ADCA.  To use it as B15, configure SOC channel as 15 for ADCB and to use it as C15, you have to configure SOC channel as 15 for ADCC.  If you enable DACA functionality, the analog output will be available on pin23.  By default, pin23 also acts as a general purpose input only pin and  the attributes can be configured in GPIOH.

    Best regards,

    Joseph