On 9 Feb., 19:56, rsainio <
sai...@t-online.de> wrote:
> Has somebody catched with HARET the GPIO-register settings when
> Windows runs and there is a CF-card inserted ??
I just checked with HARET. GPIOs 80 and 97 are both used for the
keypad interface, unfortunately. Changing the alternate function of
any of these two to DREQ1 makes some of the buttons not work anymore.
There's also GPIO85 with DREQ2 as AFI2. But we are again not lucky, as
that pin is programmed to AFI3: CIV_LV, so it belongs to the quick
capture interface.
Another possibility would be to use DMA in PIO mode, triggering the
DMA transfers from the interrupt handler. But this would probably
make sense only when using "multiple sectors per interrupt" transfers
because of the DMA setup overhead. Multiple sectors per interrupt are
unfortunately not supported by my CF card, but maybe there are CF
cards that support this (you can check with "hdparm -i /dev/sda" or
whatever your CF device is, the value in question is "MaxMultSect").
Martin