Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2016 19:57:20 +0100
From:      =?utf-8?Q?Peter_Ankerst=C3=A5l?= <peter@pean.org>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   PPS input on a generic GPIO pin on Raspberry Pi.
Message-ID:  <8C90C80B-AC5F-4B12-8E84-84193B8C55C4@pean.org>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi!

I have sort of exactly the same question as Erik:
http://lists.freebsd.org/pipermail/freebsd-questions/2014-July/259055.html

I have bought a https://learn.adafruit.com/adafruit-ultimate-gps and want to use the PPS output to discipline my clock.

But the only source of information on how PPS works in FreeBSD I could find is this: https://docs.freebsd.org/doc/8.0-RELEASE/usr/share/doc/ntp/pps.html and it clearly states the two ways to provide a PPS signal. "The PPS signal can be connected in either of two ways: via the data carrier detector (DCD) pin of a serial port or via the acknowledge (ACK) pin of a parallel port”

Since the Pi doesn’t have any DCD pin i would like to use a generic GPIO for this. There is a linux kernel module for this: http://lxr.free-electrons.com/source/drivers/pps/clients/pps-gpio.c?v=3.6
[-- Attachment #2 --]
0	*H
010	+0	*H
00ʠk}
׈Q
Y0
	*H
0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0
151216010005Z
301216010005Z0u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA0"0
	*H
0
}â}[[_u$Wy5	|̔
vnqY)\aL$dYG|B"QǤĩVD#'F	k9O_]*ςz_kU.u3r	#:C<ogT)K
Xah8v[\KqdlO)3+u7J5";[vfL/"2ϩJ#4ד[U TB,a˖a7H<=qd0`0U0U%0++0U002U+0)0'%#!http://crl.startssl.com/sfsca.crl0f+Z0X0$+0http://ocsp.startssl.com00+0$http://aia.startssl.com/certs/ca.crt0U$l9aIF+('Hmh0U#0N@[i04hCA0?U 80604U 0,0*+http://www.startssl.com/policy0
	*H
[#'#4pnRۡЗN⛭`]K"#H*߷Թψ;UA8Ҟeg{ozmYE60A)wXRK6c^-Al^k[':G=;oLv{$B5;8b,ZP4{o[-໢j	׏m)[땭[4	s.c|ҴvYLJ<|ӯgu0jD2
@hl+:j\ze_ևa@HyMHINxpK?%	㤺RC:=?^&7m´)A2;E~VB1$EvcKj؝(OoپU`"$a;ҡj0$&<$ۊ+/xjzb,7}W*1ܺtDv#8K
%^P>/i?)yRuQg^z`~sP900ϠFs<އ.d0
	*H
0u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA0
160126171844Z
170126171844Z0810Upeter@pean.org10	*H
	peter@pean.org0"0
	*H
0
]
@4JahQ|DHjkXVA[,5-7d͂?y&AIy~w5@TOW|o} .o݌f	wJL͙ѵU*Rk/2UmF!`mnRglw-6*i	#A/:Mklj],0-5@ģu*W1|1TLEpYa
;%}Vf`굫N/IXr)ϴJөgFJ*C"K@rbdȓd]IaT wbv,h޿UK%i,\z֌Gͷ#?j_9Oa0@'|)|0b_ƒTh:<P!cY2t^H|YX|t@me0~\R=VќX]C=gڝ4DgΠ{L=9bY{<m[v8d00U0U%0++0	U00U4AfQ)`0U#0$l9aIF+('Hmh0o+c0a0$+0http://ocsp.startssl.com09+0-http://aia.startssl.com/certs/sca.client1.crt08U10/0-+)'http://crl.startssl.com/sca-client1.crl0U0peter@pean.org0#U0http://www.startssl.com/0FU ?0=0;+70,0*+http://www.startssl.com/policy0
	*H
[3N݉Y`?jȧW;s 7Az)_ѯA5ayCoEz%(wR7j"WU5p&Fx/}'1Y!BM=)%.DrQ̳!\qU1”{\[$Rc҃N^.\"-	b4
2uFs"b~FٿRϨISm A
.@?6k{fZ֐w1N0J00u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CAFs<އ.d0	+0	*H
	1	*H
0	*H
	1
160303185720Z0#	*H
	1
 oh@ovgh0	+7100u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CAFs<އ.d0*H
	10u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CAFs<އ.d0
	*H
IŇri0X󏴥$kWV7/|qHDxjĦc9W7S0"i7/q_Yڋ,+u"zt*soAdu5-"ie~<PZv7dO?E}Xa&4x$:CQM-ѽQz3VlpQ/1?R53c9Bb{D`|khtt`5$졸.`{09E\jSt0njx1f|22u>e8py
1p%f+
Td?|J7Y0bҊMka4˒δvbnkr\@3%^ZAn'(@t3~U{M;ypV !EY푒(V`ѥ8MvDգƿT2_?>{TՏ9împ/j#

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8C90C80B-AC5F-4B12-8E84-84193B8C55C4>