Looking for PC PCI-to-Teensy solution

u_cap

Well-known member
I am looking for e.g. PCI card to provide GPIO for a PC.
Want to use that GPIO to talk to a Teensy 4.1 "directly" (not via USB or serial COM emulation via PC USB host).

Digital in/out, needed, analog in/out desirable but optional.
Not using PWM.
Might try SPI.

T4.1 also to be connected by USB via USB host as usual.

Output: It would be good to have both the option of

a) having a Windows thread directly trigger a GPIO change (DMA), or to
b) schedule a sequence of GPIO changes for a specific hardware time-ahead

It is not critical for my immediate purpose how soon a sequence could start, but once it starts it should have as little temporal jitter as possible.

Do not want to drive this "realtime" from PC (Windows or Linux) software (in fact, first issue will be to try measure that jitter using PC-to-Teensy).

Input: hoping for hardware interrupts on at least one/some (digital) inputs.
Need an accessible MHz hardware clock timestamp - in a perfect world, the card would even tell after the fact when it actually changed the output.
If all fails looping an output back into an input.

Some flexibility on hardware trigger (rising, falling, both) would be great.

Targeting 10kHz temporal resolution, 3+ digital inputs, 2+ digital outputs at minimum.

I am basically looking for something that gives me some timer/interrupt capability accessible from the PC matching that of T4.1.
If anybody offers a Teensy(4)-on-PCI board solution, that would fit the bill.
 
I am basically looking for something that gives me some timer/interrupt capability accessible from the PC matching that of T4.1. If anybody offers a Teensy(4)-on-PCI board solution, that would fit the bill.
It's hard to imagine you will find a PCI board where you can do the kinds of things you're asking. It sounds like something you could do with Teensy 4.1, with custom software, but if you did that, why would you want to control it via a PCI bus interface?
 
Yeah, that's pretty much what it comes down to - a Teensy I can talk to from Windows using PCI. PCI cards that provide I2C or SPI?
 
He's asking about using a PCI generic bridge to connect to the Teensy 4.1, something similar to the Broadcom PEX 8311. In terms of complexity, this is pretty high and requires knowledge of drawing high-speed traces to work. The best you can hope for in terms of speed is determined by memory written to the Teensy's GPIO, likely under 1gbe equivalent. Theoretical is 600 MBps per 8-bit port, but there is overhead on both ends.
 
PCI cards that provide I2C or SPI?
Perhaps this board? EDIT: no, not usable, it's using USB over the Mini-PCIe bus.
1716389949326.png


Or this board?

1716390082368.png


Paul
 
Last edited:
Back
Top