lpcware

Pwm with open drain function

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by cto4260 on Thu May 21 07:40:45 MST 2015
Hey,

i want to create a PWM Signal with open drain output at the Pin P1[18] on my LPC1769.

When I configure a normal PWM Signal it works very good, but when I configure the Pin as open drain, nothing changes..
For setting the Open drain function I am using the function from LPCOpen.

Is it possible to create an open drain PWM signal and if, what is my fault?

I want to control a servo, which needs a PWM with 5V. The PWM cable has a 5V Pull up.

thanks,
Marvin

Outcomes