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.

MSPM0C1104: help on using PA19 SWDIO by PWM1

Part Number: MSPM0C1104


Tool/software:

Hi everybody , 

i need to use  PA19 ( SWDIO by default  )   to be used by PWM . 

I m not able  to make it work both on 20 or 8 pin devices ...

do you have an example on how to use  PA19 by PWM  ?

to enable use  the PA19  pin  I did this : Board -> Debug Configuration ->  disabled  the  "Debug Enable On SWD Pins"   - is this enough ?

thank you 

BR
Carlo

  • Hi Carlo,

    Disabling Debug Enable On SWD Pins should allow you to use PA19 for PWM.

    When you go to TIMER - PWM -> PinMux, are you not able to select PA19?

    Are you able to select PA19 in PinMux, but it doesn't function as expected?

    I would suggest trying to run a pwm example from the SDK, such as timx_timer_mode_pwm_edge_sleep, and configuring the PinMux to use PA19 following the same steps to disable Debug Enable On SWD Pins and to select PA19 in the PinMux.

    If none of the above helps, are you using a custom board? Can you provide more detail how you setup looks like?

    Best,

    Owen

  • Due to BOR, BOOTRST, and SYSRST levels resetting IOMUX logic, if the customer enables pin configuration and sets the internal resistor to No Resistor, then that will prevent the pullup/pulldown resistors from remaining enabled after reset. This will allow PA19 to be used for PWM.