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.

MSPM0G1107: GPIO configuration

Part Number: MSPM0G1107
Other Parts Discussed in Thread: SYSCONFIG

Hi,

I want to setup:

1. PA0 as output open drain.

2. PA1 as output with internal pull up 40Kohm.

3. SWDIO and SWCLK as input, after firmware start up.

Is it ok for these configuration? 

Thanks. 

Best Regards,

Justin

  • Hi Justin,

    1. Looks Good
    2. PA1 is an open drain pin, so it will need an external pull-up. You can choose a different pin and use the internal pull-ups.
    3. SWDIO and SWCLK can be reconfigured for GPIO pins. One word of caution is you will need to do a POR + BSL to restore the programming capability on those pins so you can reprogram the device. Sysconfig will provide more detail when you reconfigure these.

    Regards,

    Luke