Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
raspberry:wiring_gpio_clock [2020/02/15 20:51] admin created |
raspberry:wiring_gpio_clock [2020/03/05 17:30] admin [Clock over GPIO] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Clock over GPIO ===== | + | ===== Clock around the GPIOs ===== |
- | One can use the GPIOs of the Raspberry Pi to generate a clock signal.\\ | + | No need for an external crystal, one can use the GPIOs of the Raspberry Pi to generate a clock signal. The library wiring makes it easy and accessible.\\ |
+ | \\ | ||
+ | [[http:// | ||
- | === Install Wiring === | + | ==== Install Wiring |
In the terminal: | In the terminal: | ||
$ sudo apt-get install wiringpi | $ sudo apt-get install wiringpi | ||
Line 15: | Line 17: | ||
==== Clock the Pin ==== | ==== Clock the Pin ==== | ||
- | The clock frequency is derived from the 19.2MHz. One can use GPIO 4 (pin7), GPIO 5 and GPIO 6.\\ | + | The clock frequency is derived from the 19.2MHz |
2.4Mhz would be 2400000\\ | 2.4Mhz would be 2400000\\ | ||
Line 22: | Line 24: | ||
$ gpio clock 7 2400000 | $ gpio clock 7 2400000 | ||
- | Or in C. | + | Or in C:\\ |
| | ||
| | ||
Line 41: | Line 43: | ||
==== Links ==== | ==== Links ==== | ||
+ | [[http:// | ||
[[https:// | [[https:// | ||
- | |||
---- | ---- |