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.

MSPM0G3507: MSPM0G3507

Part Number: MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi,
I'm using the MSPM0G3507 device as a power up sequencer,

the device powers up an external power supply using its GPIOs to do it sequencly  .

however, I need to add the option to put this GPIOs as tree-state (high-z) in some cases.

so, in the program they should start as OUTPUT but I need to put them some-time as input .

in the SYSCFG I see that they are defined only as OUTPUT or INPUT please advise.

  • Hello ISRAEL,

    • If you want to enable High-z state when GPIO is output state, you can enable the "High-impedance" in Sysconfig.

    you can also use the related instruction in your code to enable HIZ

    • If you want to change the GPIO from output state to input state, you need to use related instruction in your code. You need to disable output and then re-initialize the GPIO to input state.

    • If you want to change the GPIO from input to output state, you need to use related instruction in your code. You need to re-initialize the GPIO to output state and then set or clear your GPIO, then enable output.

    • All the function can be found in "includes->source->ti->driverlib->dl_gpio.h". And more information about the GPIO registers, please refer to its TRM

    Best Regards,

    Janz Bai

  • Hello,

    Just add a notice. Because I will go home tomorrow for Chinese New Year so if you have further questions, please add it here after 5th February. Thanks.

    Best Regards,

    Janz Bai