Hi,
How do you go about changing default pin configuration? Is it only possible to change the GPIO pins?
Thank you,
J
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.
Hi,
How do you go about changing default pin configuration? Is it only possible to change the GPIO pins?
Thank you,
J
J,
The default boot configuration of the GPIOs is not configurable. They all come up as inputs, and several have the internal pull-up enabled. To see which pins have the internal pull up enabled look at the default state of the GPxPUD register for that pin. This is documented in the TRM. https://www.ti.com/lit/pdf/spruhm8
After boot up, obviously, these settings can be changed, but upon a hard reset they will return to the default value.
Regards,
Cody
Anytime the control card is turned off, you have to turn it on and change the settings again?
For example, my teammates want to move a GPIO pin for a reset signal. Can I not assign any GPIO to said reset in code composer?
If we want to change pins for a GPIO, do we have to use Table 8-7. GPIO Muxed Pins from the TRM?
Josh,
At boot up the GPIO configuration is not configurable.
Once the device is powered the rest of what happens is entirely dependent on the code you write and load to the device.
Josh Powell said:For example, my teammates want to move a GPIO pin for a reset signal. Can I not assign any GPIO to said reset in code composer?
What is a "reset signal" are you trying to reset the device or reset an external device? Both are possible, let me know more and I can advise.
Josh Powell said:If we want to change pins for a GPIO, do we have to use Table 8-7. GPIO Muxed Pins from the TRM?
I am a little confused by "change pins for a GPIO". The GPIO and pin number relationship is fixed. If you are talking about reconfiguring what is connected to the GPIOs mux, then yes you are correct. Please follow that table.
Regards,
Cody