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.

LP-MSPM0G3507: PA0 PA1 can be used as PWM 5V outputs?

Part Number: LP-MSPM0G3507

Tool/software:

Dear TI experts,

I know that the PA0 and PA1 have both a 5V open drain, is it possible to combine the PWM capabilities with a 5V max output? Although I have changed the jumpers appropriately for this function(I have tried out all configs), I don't seem to reach the 5V. 

Furthermore, if a PWM with 5V max output is not possible on PA0/PA1, are there other pins, also in the debugging board, which could serve this purpose? I require a 5V PWM output for an application.

Kind regards,

Vanessa

  • Hi Vanessa, Unfortunately I don't think you cannot use the 5V open drain pins to create a 5V PWM output, but you could potentially use a 5V rail with a 3.3V PWM output controlling a FET to create a simple level shifter for your 5V PWM output. If you are wanting to output a 5V PWM, I think this is probably the most simplistic approach, but I don't see a way to do that just using the 5V tolerant open drain pins.

    -Brian

  • It worked fine for me with no load.

    This with the tima_timer_mode_pwm_dead_band example.

    Default output PA8:

    Connected to PA0 with default 4.7K

    I get to 5 V OK, but I guess you need a stiffer Resistance to get it to pull to 0.

    (ETA: One of the reasons it does not reach ground is because of the drop across the 270 ohm series resistor. It can be removed to get you closer to 0 V.)