We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:c2_gpio_pps [2016/06/22 08:41]
mdrjr
en:c2_gpio_pps [2016/06/23 12:22]
odroid
Line 3: Line 3:
 In this example I've choose pin #12 (GPIOX.BIT10) that's GPIO 238 to be my PPS input. You can use any other GPIO [[en:​c2_hardware#​expansion_connectors|Here]]. \\ In this example I've choose pin #12 (GPIOX.BIT10) that's GPIO 238 to be my PPS input. You can use any other GPIO [[en:​c2_hardware#​expansion_connectors|Here]]. \\
 Check the pin number and export number to use on gpio_pin Check the pin number and export number to use on gpio_pin
 +
 +Thanks to dan_d for providing kernel patchs + forum info.
 +[[http://​forum.odroid.com/​viewtopic.php?​f=136&​t=21733&​p=148292#​p148292|Forum Thread]]
  
 == Enabling GPIO PPS Client == == Enabling GPIO PPS Client ==
 <​code>​ <​code>​
 sudo -s sudo -s
-apt-get install ​device-tree-compiler ​pps-tools+apt-get install pps-tools
 echo pps-gpio > /​etc/​modules-load.d/​pps-gpio.conf echo pps-gpio > /​etc/​modules-load.d/​pps-gpio.conf
 echo options pps-gpio gpio_pin=238 > /​etc/​modprobe.d/​pps-gpio.conf echo options pps-gpio gpio_pin=238 > /​etc/​modprobe.d/​pps-gpio.conf
 modprobe pps-gpio modprobe pps-gpio
 </​code>​ </​code>​
- 
-Reboot the board to test.  
  
  
Line 31: Line 32:
 </​code>​ </​code>​
  
-Note this example will only run on kernel 3.14.65-69 or greater.+Note this example will only run on kernel 3.14.65-70 or higher.
en/c2_gpio_pps.txt ยท Last modified: 2017/04/15 10:00 by odroid
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0