[time-nuts] Re: Can Anyone Help Me Get PPS Into This Mini PC?

ASSI Stromeko at nexgo.de
Wed Feb 14 17:48:08 UTC 2024


On Freitag, 9. Februar 2024 23:10:26 CET Ed Armstrong wrote:
> If any of you follow my 
> first link, you will see the little mini PC has a header for GPIO. It is 
> a 2x5 header with I believe a 2 mm pitch. According to the listing, 
> there are four input and four output pins. I assume the other two pins 
> are either both grounds or both positive, not really sure.

This arrangement indicates most likely a separate GPIO expander chip that is 
connected to some internal SPI or LPC bus and mapped to an 8bit "register".  
These are probably not suitable for PPS the same way as the GPIO on RasPi and 
may even need to get polled.  However, it is _possible_ that the header 
provides access to some PCH GPIO pins, which would in principle enable the use 
of PCH timestamping on two of these pins unless they're already used up 
elsewhere.

> Now comes my question. Can any of you tell me how to use these GPIO 
> pins? I can find tons of information very easily on setting this thing 
> up as a router, NAS, or as a desktop computer. I have not been able to 
> find a single post related to those GPIO pins. I can't find the pin out, 
> can't find out what voltage they are supposed to work at, nor any 
> information about communicating with them in Linux. I queried the 
> system, hoping I could look up the motherboard online, and this is what 
[…]
> I also tried dmidecode -t baseboard, this obviously gave more details, 
> but most devices were just listed as "other". I haven't found this to be 
> terribly useful.

If the system is correctly recognizing the GPIO resources, they should show up 
under /sys/class/gpio and link to the actual devices which should give you a 
clue as to what actual chips are behind it.  Some of the PCH GPIO will be used 
internally (for instance the i226V needs at least one GPIO for power gating) 
and therefore may be not get exposed.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds






More information about the Time-nuts_lists.febo.com mailing list