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.

TMS320F28379D: TMS320F28379D

Part Number: TMS320F28379D


I want to use TMS320F28379D launch pad for my project that require, 10 Ain and 10 logic outputs (1 0 1 0 1 0 1 1 1 0 ).

For 10Ain I understand it has 4ADC, each have 3 channels (ABC) that I can use to read analog Inputs, but I am not sure about GPIO`s.

As I need a random or variable logic output I want to configure 10 GPIO`s but in this launchpad GPIO`s are pre configured with PWM (A B C) and there is only 4 independent GPIO`s available, So is it possible to re configure that PWM (A B C) and use these pins as independent GPIO`s?

  • Hello Adnan,

    For 10Ain I understand it has 4ADC, each have 3 channels (ABC) that I can use to read analog Inputs, but I am not sure about GPIO`s.

    This is not quite right; there are 4 ADCs, each with 16 SOCs that can be configured for different channels. To see the available analog pins that can be used for each ADC, see the Block Diagram section in the Analog Subsystem chapter of the technical reference manual (section 10.1.2).

    As I need a random or variable logic output I want to configure 10 GPIO`s but in this launchpad GPIO`s are pre configured with PWM (A B C) and there is only 4 independent GPIO`s available, So is it possible to re configure that PWM (A B C) and use these pins as independent GPIO`s?

    I'm not sure what you mean by there are only 4 independent GPIOs; the GPIO pins are multi-functional, meaning different peripherals can be configured to use the pin, depending on where the pin is. You can refer to the GPIO and Peripheral Muxing section in the GPIO chapter of the technical reference manual to see what options are available (section 8.7, table 8-7). For example, GPIO 0 can be configured as a GPIO pin by selecting GPAGMUX1 and GPAMUX1 to be 00b each.

    Best regards,

    Omer Amir

  • This is not quite right; there are 4 ADCs, each with 16 SOCs that can be configured for different channels. To see the available analog pins that can be used for each ADC, see the Block Diagram section in the Analog Subsystem chapter of the technical reference manual (section 10.1.2).

    I am asking about TMS320F28379D launch pad , In the launch pad I/O pins are pre configured as 

    https://www.ti.com/lit/ml/sprui73a/sprui73a.pdf?ts=1674666522541&ref_url=https%253A%252F%252Fwww.ti.com%252Fsitesearch%252Fen-us%252Fdocs%252Funiversalsearch.tsp%253FlangPref%253Den-US%2526searchTerm%253Dtms320f28379d%2Blaunchpad%2526nr%253D1826

    it has 4 ADC with each have 3 channels (ABC), so I can use these to read 10 Analog inputs. Perform some actions inside microcontroller and then get logic outputs.  

    I'm not sure what you mean by there are only 4 independent GPIOs; the GPIO pins are multi-functional, meaning different peripherals can be configured to use the pin, depending on where the pin is. You can refer to the GPIO and Peripheral Muxing section in the GPIO chapter of the technical reference manual to see what options are available (section 8.7, table 8-7). For example, GPIO 0 can be configured as a GPIO pin by selecting GPAGMUX1 and GPAMUX1 to be 00b each

    The launch pad as shown in above link, states 4 Independent GPIO`s (P97, P22, P97, P52), But on the right side P0 to P5 and P6 to P11 GPIO pins are configured as PWM , So I want to ask how to use it as an independent GPIO pins that I can take out 10  variable logic outputs/ digital outputs in the form of 1 and 0.

  • Hello Adnan,

    it has 4 ADC with each have 3 channels (ABC), so I can use these to read 10 Analog inputs. Perform some actions inside microcontroller and then get logic outputs. 

    Apologies, I misunderstood your point here in the previous post. It sounds like this is something you were already good on.

    The launch pad as shown in above link, states 4 Independent GPIO`s (P97, P22, P97, P52), But on the right side P0 to P5 and P6 to P11 GPIO pins are configured as PWM , So I want to ask how to use it as an independent GPIO pins that I can take out 10  variable logic outputs/ digital outputs in the form of 1 and 0.

    To use the GPIO pins, please refer to my previous post; you need to configure the GPIO mux selects to choose which peripheral is controlling the pin. The ePWM is listed there because it is the peripheral that can be used on that pin. Almost all GPIO can be used as GPIO, unless the technical reference manual says otherwise. The pin map is only showing some of the options for that pin as far as peripheral control, but unless specifically stated all pins should be configurable as GPIO, per the table I mentioned.

    Best regards,

    Omer Amir

  • Thank you for your advise Omer. I will check  technical reference manual to understand how to use these GPIO pins. 

  • Alright, I will close this thread for now. Feel free to post another question here if there's something in the manual that does not make sense.

    Best regards,

    Omer Amir