controlling GPIOs from DOS (Announce)
> > I would prefer if it took less time, for example 0.1us. But I don't know
> much
> > about efficient low-level access.
>
> Even if you could reach average 0,1us acces you will run into other toubles
> with running SMI BIOS routines (cannot disable them all) that could delay
> your I/O cycle to several us - in a random manner. Simply PC is not
> designed to do such fast realtime controlling / unbuffered sampling. You
> should use some fast MCU (ARM, etc.) that is fully under your control that
> will be controlled by master PC.
Hum I don't know, I've made some tests and I didn't find serious problems such as several us delays (after inhibiting all usb and some hw interrupts), I get a precision of about 1-2us. Maybe (probably) it depends on motherboards.
So with this precision of 1 or 2us established, I want to limit the cpu time dedicated to I/O access. And If I could do I/O acces of 0,1us it would really reduce this cpu time.
At the present time I consider PC is interesting solution, because nice power computation and efficient way to debug/follow your program. In general PC is not used for time-critical application but I consider it can do such job.
I use microcontroler for limited tasks. But I probably don't know much about fast MCU capabilities.
Complete thread:
- controlling GPIOs from DOS - Damien, 03.12.2013, 22:54 (Announce)
- controlling GPIOs from DOS - RayeR, 04.12.2013, 01:08
- controlling GPIOs from DOS - Damien, 04.12.2013, 21:27
- controlling GPIOs from DOS - RayeR, 05.12.2013, 01:07
- controlling GPIOs from DOS - Damien, 04.12.2013, 21:27
- controlling GPIOs from DOS - bretjohn, 04.12.2013, 17:26
- controlling GPIOs from DOS - Damien, 04.12.2013, 21:38
- controlling GPIOs from DOS - bretjohn, 05.12.2013, 03:18
- controlling GPIOs from DOS - RayeR, 05.12.2013, 10:59
- controlling GPIOs from DOS - bretjohn, 05.12.2013, 16:28
- controlling GPIOs from DOS - RayeR, 06.12.2013, 03:09
- controlling GPIOs from DOS - Zyzzle, 06.12.2013, 07:57
- controlling GPIOs from DOS - RayeR, 06.12.2013, 03:09
- controlling GPIOs from DOS - Damien, 05.12.2013, 19:45
- controlling GPIOs from DOS - bretjohn, 05.12.2013, 16:28
- controlling GPIOs from DOS - Damien, 05.12.2013, 19:55
- controlling GPIOs from DOS - RayeR, 06.12.2013, 03:17
- controlling GPIOs from DOS - Damien, 07.12.2013, 00:39
- controlling GPIOs from DOS - RayeR, 08.12.2013, 03:01
- controlling GPIOs from DOS - Damien, 07.12.2013, 00:39
- controlling GPIOs from DOS - bretjohn, 09.12.2013, 05:15
- controlling GPIOs from DOS - RayeR, 06.12.2013, 03:17
- controlling GPIOs from DOS - RayeR, 05.12.2013, 10:59
- controlling GPIOs from DOS - bretjohn, 05.12.2013, 03:18
- controlling GPIOs from DOS - Damien, 04.12.2013, 21:38
- controlling GPIOs from DOS - RayeR, 04.12.2013, 01:08