Skip to content

Produces high frequency clock signals up to 66MHz on the Beaglebone Black's PRU

Notifications You must be signed in to change notification settings

woohn/bbb-pru-clock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BBB PRU Clock program

Creates a clock signal using the PRU on the Beaglebone black. By toggling the status of a digital GPIO pin, a consistent clock signal can be made.

The program uses PRU0 and pin P8.12. This can be changed by editing the device tree overlay in device-tree/ and the clock.c #define.

Installation

The following will compile all the code for the PRU and main cpu:

make

Compile the device tree overlay and enable it:

cd device-tree
make enable

Running

./clock

About

Produces high frequency clock signals up to 66MHz on the Beaglebone Black's PRU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 73.4%
  • Makefile 13.8%
  • OpenEdge ABL 11.1%
  • Shell 1.7%