Damien 03.12.2013, 22:54 |
controlling GPIOs from DOS (Announce) |
Hello, |
RayeR![]() CZ, 04.12.2013, 01:08 @ Damien |
controlling GPIOs from DOS |
Some years ago I found some PCI/PCI-E bridges that behaved like GPIO controlled via few registers from IO space. Also some implemented MMIO. I really cannot remember the type or manufacturer but it exists. Also you can use IDE (PATA) port as fast 16b IO. --- |
Damien 04.12.2013, 21:27 @ RayeR |
controlling GPIOs from DOS |
> Some years ago I found some PCI/PCI-E bridges that behaved like GPIO |
RayeR![]() CZ, 05.12.2013, 01:07 @ Damien |
controlling GPIOs from DOS |
Yes, PATA behaves similar to simplified ISA bus. There are 16b data lines but only 3 address lines + iord#, iowr# and some others. I belive you can find some older GPIO cards on ebay - used in industry PCs... --- |
bretjohn![]() ![]() Rio Rancho, NM, 04.12.2013, 17:26 @ Damien |
controlling GPIOs from DOS |
You're going to need to go into a little more detail on what you mean by "real world". Something inside the computer, next to the computer, in the next room, down the street, halfway around the world, a plane or satellite flying through space, ...? Do things like bandwidth, speed, latency, security, reliability, electromagnetic/radio-frequency interference immunity, etc., matter? Is the communications simplex, half-duplex, or full-duplex? What kinds of protocols, voltage/current levels, etc. does the device with which you're trying to communicate understand? |
Damien 04.12.2013, 21:38 @ bretjohn |
controlling GPIOs from DOS |
> You're going to need to go into a little more detail on what you mean by |
bretjohn![]() ![]() Rio Rancho, NM, 05.12.2013, 03:18 @ Damien |
controlling GPIOs from DOS |
Regular parallel ports can easily exceed 1 Mbps, so it doesn't sound like speed is your issue -- you don't need an "improved" parallel port in that sense. It sounds like your main concern is the interface, not the speed. |
RayeR![]() CZ, 05.12.2013, 10:59 @ bretjohn |
controlling GPIOs from DOS |
> The data in the reverse direction (from the device to the --- |
bretjohn![]() ![]() Rio Rancho, NM, 05.12.2013, 16:28 @ RayeR |
controlling GPIOs from DOS |
The first parallel ports IBM came out with were bidirectional, and then they made them unidirectional (they were a little cheaper to make that way), and then with the PS2's they made them bidirectional again (and they weren't even EPP or ECP, they were just bidirectional). You don't actually need EPP or ECP to have a bidirectional port. |
RayeR![]() CZ, 06.12.2013, 03:09 @ bretjohn |
controlling GPIOs from DOS |
> The first parallel ports IBM came out with were bidirectional, and then --- |
Zyzzle 06.12.2013, 07:57 @ RayeR |
controlling GPIOs from DOS |
> Really theoretical. Just try to toggle some bit as fast you can and measure |
Damien 05.12.2013, 19:45 @ RayeR |
controlling GPIOs from DOS |
> |
Damien 05.12.2013, 19:55 @ bretjohn |
controlling GPIOs from DOS |
> Regular parallel ports can easily exceed 1 Mbps, so it doesn't sound like |
RayeR![]() CZ, 06.12.2013, 03:17 @ Damien |
controlling GPIOs from DOS |
> I would prefer if it took less time, for example 0.1us. But I don't know much --- |
Damien 07.12.2013, 00:39 @ RayeR |
controlling GPIOs from DOS |
> > I would prefer if it took less time, for example 0.1us. But I don't know |
RayeR![]() CZ, 08.12.2013, 03:01 @ Damien |
controlling GPIOs from DOS |
> I get a precision of about 1-2us. Maybe (probably) it depends --- |
bretjohn![]() ![]() Rio Rancho, NM, 09.12.2013, 05:15 @ Damien |
controlling GPIOs from DOS |
> By 1 Mhz I mean that each access to the port (read or write) is 1 µs. so it |