Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

controlling GPIOs from DOS (Announce)

posted by Damien, 07.12.2013, 00:39

> > 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:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 390 users online (0 registered, 390 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum