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.

TMS320F2809: GPO electrical state after reset guaranteed zero?

Part Number: TMS320F2809


Tool/software:

I do not understand whether the GPIO outputs (when configured as simple GPO) are on, off, or unknown, after a reset.

The language around figure 4-17 in System Control and Interrupts (SPRU712H) confuses me.

My primary concern is the possibility a GPO could reset into the on state, until it is explicitly turned off in the software. This would be odd behavior, and I want to make sure it isn't possible.

Above figure 4-17, it says "a reset will clear all bits and latched values to zero." This suggests the GPADAT register bits are set to zero and electrical outputs are set to zero. But note #1 says the "... state of the GPADAT register is unknown after reset [and] depends on the level of the pin after reset."

How should one read this? What level? Does the environment (electrical level) decide the state of the data register bit and, therefore, what value it drives after reset?

  • Hi,

    Above figure 4-17, it says "a reset will clear all bits and latched values to zero." This suggests the GPADAT register bits are set to zero and electrical outputs are set to zero.

    Above is correct.

    The second statement is incorrect. The reset state of each pin is definite and not unknown

    All it says that is if internal pull-up is enabled/disabled etc that that determines the default state of the pin. State of the pin will be in line with the expectation hence we cant say blankly that it is zero for all. Hope you got the high level idea, If not you can test and find out as well.

    Thanks