XMC2Go - PWMSP001/OpenDrain - setup?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hello all,

I have a short question regarding the Open Drain Mode of the PWMSP001 App.
I 've implemented a controller which is changing the DutyCycle of the PWM signal...
Well, the Push Pull Mode works pretty fine, I get a 3.3V PWM signal on my output pin.
The problem is that I need a 10V PWM signal, but when i was adjusting the settings to
Open Drain and use a external voltage supply of 10V my pin breaks down... (current 5mA)

My setup:

.....................5mA
......... + o--------->--------- ........ --------------------o PWM OpenDrain on P0.0
..................................| ....... |
...........10V..................+--------+-------------------o 10V PWM
....(external supply)
........................................................desired output

...........- o--------------------------------------------------o GND (uC)


Can someone show me how I have to set up the experiment? Maybe with a schematic? I am afraid to lose more pins 😉

Kind regards,
schmidi
0 Likes
1 Reply
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
Hi,

So sorry that I am not so much of a hardware guy. But from my understanding is that the XMC pads is only capable of driving up to 3.3V.
0 Likes