Hi All. I am very new to BeagleBone and right now I have BeagleBone Blue with me. I want to generate and test PWM on it. I do not have an oscilloscope so I will try to generate the PWM, test it on one of its on-board LED and the blinking pattern of the LED will confirm the PWM Signal. I need help in following points :
I need the schematic of BeagleBone Blue and a document giving description on how to work on BeagleBone Blue.
I need to understand how to generate PWM in BeagleBone Blue. I work on microcontrollers, so I may need a guidance with reference to the same.
I need help in defining one of the on-board LEDs to be defined as GPIO.
There’s no external connection to the internal LED, so proving the PWM output by an internal LED is complicated.
The better solution is to check the PWM pulse train by the internal eCAP feature, analysing frequency and duty cycle at once. Unfortunately eCAP isn’t well supported by the OS. But there’s a third party library called libpruio. It shipps with an example called pwm_cap doing exactly that test.