Break out your PWM on to a PIC16Fx (using it crystal-controlled with software-based PWM by counting the clock cycles per instruction) and then use UART to control it.
An alternative fix, but it does give you nice isolation in the process. Depending on how powerful your servos are, you might have to 2 or 3 stage it with SSR's (solid state relay chips) or direct to MOSFET (Irfz24N is a nice cheap one, and use some beefy fast rectifiers going backward to null out the inductive blowback from the coils on stop). Hobby servos can be controlled direct from a standard TTL level output btw. On Tuesday, November 29, 2016 at 10:30:41 PM UTC-7, Akshay Gahlot wrote: > > I want to use for PWM generation to control servo motor. The problem i m > facing is : > > To enable libpruio i m using this dts file > > https://github.com/jadonk/cape-firmware/blob/master/arch/arm/boot/dts/BB-BONE-PRU-01-00A0.dts > > To enable the pwm pin i m using cape-universaln > > https://github.com/cdsteinkuehler/beaglebone-universal-io/blob/master/cape-universaln-00A0.dts > > These both files are kind of conflicting with each other as if one is > loaded to slots then other is not loading. > > If i do not load the cape-universaln i m not able to export the pwm pins. > > Any help appreciated. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/cc6b758e-6ac8-4fa7-a722-135ada7fb6c9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
