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: Status of GPIO while downloading or flashing the program.

Part Number: TMS320F28379D
Other Parts Discussed in Thread: UNIFLASH

In the solution given in the following post:

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1049821/tms320f28379d-gpio-setting-during-program-download

How do we ensure the same for launchpad ? I mean how to know that the gpio which isn’t supposed to go to 1, and is always supposed to stay 0, is in fact doing that?

In launchpad we cannot connect external resistors right?

  • Hello Siddhi,

    How do we ensure the same for launchpad ?

    I'm not aware of any difference in GPIO hardware between ControlCARD and LaunchPAD, they should work the same.

    I mean how to know that the gpio which isn’t supposed to go to 1, and is always supposed to stay 0, is in fact doing that?

    You can use an oscilloscope, the voltage levels for a '0' and '1' should be fairly obvious. You can check the datasheet for info on what approximate voltage you should expect to see.

    In launchpad we cannot connect external resistors right?

    I believe you can, but I will check with design to see if there are any limiting conditions for this.

    Best regards,

    Omer Amir

  • Hello Omer. We are using the launchpad in an existing PCB design and adding external resistors seems to be a daunting task as we cannot change the design of our PCB. Even so, without adding the external resistors, how can we ensure that the GPIO which is set to 0, stays in fact 0 while the launchpad is being flashed with the code? Because as mentioned in the link I provided, the GPIOs are connected in PWM mode to power devices. The voltage on the power devices needs to be removed before downloading a new program either to the flash or ram. If during the download of the code, the GPIO status is such that it turns on the power devices, it could short the capacitor and that would be catastrophic.

  • Hello Siddhi,

    What method are you using to flash the code to the LaunchPAD? There is GPIO toggling as part of the Flash API, but this is not enabled by default and must be manually called by the user.

    Best regards,

    Omer Amir

  • By 'method' to flash are you asking about the connection to the launchpad? In that case, I am flashing using the connector from the launchpad to the PC.

  • Hello Siddhi,

    Sorry, let me clarify; what software method are you using to program the Flash? Are you using the Flash API? The Uniflash tool in CCS? The connection from LaunchPAD to PC is always needed.

    Best regards,

    Omer Amir