Parallel bus: Delay between adl_busDirect...() calls


#1

We’ve got a hardware, that is connected to the parallel bus of the Q2687. So the hardware is accessed via adl_busDirectWrite() and adl_busDirectRead(). This functions are working fast, if multiple bytes are written/read within one function call. But consecutive calls of this functions leads to a delay of about 20…40 us. This is a problem, because we need to write/read just 1 byte to/from different addresses (first reading a interrupt register, then reading a status register, then…). So in each case the 20…40 ms delay is added and the performance goes down. :frowning:

Does anyone has an idea, how to speed up this?
Oliver.


#2

I think the delays are inherent in the operation of the bus API - but I certainly think they should be documented! :angry: