Here's the problem: I need to program some equipment through 2 PIO pins (1 clock, 1 data). Dates are limited - 10 ms. All this, of course, while I maintain a very high level of services (CAN bus, TCP / IP). The downstream unit is also ACKS, claiming the PIO pin configured as input is high. Thus, this cycle must be read and written. I need to send 16 bits to a serial stream.
Is there an established way to do such things, or do I just want the hardware guys to add PIC or something like that.
I would prefer to avoid the exotic, for example, the RTAI extension at this point. I once saw a link to user I / O mode, which implied a possible driver controlled by interrupts, but lost it.
Any pointers are welcome.
source
share