^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) ===================================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) A driver for a selfmade cheap BT8xx based PCI GPIO-card (bt8xxgpio)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ===================================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) For advanced documentation, see https://bues.ch/cms/unmaintained/btgpio.html
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) A generic digital 24-port PCI GPIO card can be built out of an ordinary
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Brooktree bt848, bt849, bt878 or bt879 based analog TV tuner card. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Brooktree chip is used in old analog Hauppauge WinTV PCI cards. You can easily
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) find them used for low prices on the net.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) The bt8xx chip does have 24 digital GPIO ports.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) These ports are accessible via 24 pins on the SMD chip package.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) How to physically access the GPIO pins
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) ======================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) The are several ways to access these pins. One might unsolder the whole chip
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) and put it on a custom PCI board, or one might only unsolder each individual
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) GPIO pin and solder that to some tiny wire. As the chip package really is tiny
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) there are some advanced soldering skills needed in any case.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) The physical pinouts are drawn in the following ASCII art.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) The GPIO pins are marked with G00-G23::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) G G G G G G G G G G G G G G G G G G
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) ---------------------------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) --| ^ ^ |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) --| pin 86 pin 67 |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) --| pin 61 > |-- G18
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) --| |-- G19
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) --| |-- G20
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) --| |-- G21
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) --| |-- G22
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) --| pin 56 > |-- G23
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) --| Brooktree 878/879 |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) --| O |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) --| |--
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) ---------------------------------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) ^
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) This is pin 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)