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.

MSPM0C1103: How to output 3.3V PWM while using the debug port for debugging

Part Number: MSPM0C1103

Hi,Experts

I was considering outputting PWM at 5V open drain, 
but because an H output occurs during HiZi mode during reset,
I am also considering PWM output at 3.3V.
I checked the datasheet, and it seems that with the MSPM0C1103,
if you allocate one voltage capture ADC, you cannot allocate two 3.3V outputs
unless you use the debug port. Is this correct?
If there is a way to output 3.3V PWM while using the debug port for debugging, please let me know.

It seems like I should be able to use it at 3.3V if I pull up the two open drain systems to PA24 (pin 8),
setting PA24 to L when powered on and H when operation begins.
Is it possible to use it like this?

Best Regards,
Hidekazu

  • Hello Hidekazu,

    It seems that you use the 8-pin package. It seems that you need one pin to capture voltage, two pin to output PWM.PA0 and PA1 is open drain, if you want to output high (3.3V or 5V) on these two pins, you need add pull-up resistor. And if you want to use SWD pin as GPIO to output PWM, you need to disable SWD function through software code, and then initialize these two Pins as PWM output. In other words, you can't let these two have the debug function and PWM function at the same time. You can consider how to allocate resources on 8-pin device. And maybe you can try to use 16-pin device?

    Best Regards,

    Janz Bai