Hello,
based on the actual WEC7 image of the efusA9 I've configured some GPIOs. For some pins (e.g. 56 = SPI_B_CS1, 58 = SPI_B_CS2) it works, for others not (e.g. 161 = CAM_YDATA9/D0_N, 163 = CAM_YDATA8/D0_P).
It seems that the camera pins don't work as GPIOs with my configuration.
For using the SPI_B pins as GPIOs I've disabled the related driver ("Flags"=dword:00000004). Do I have to disable something to use the camera pins as GPIO pins?
(If I set the camera GPIO pins and read them afterwards via the control codes, the calls are successful and the read values fit to the written ones but the real output value doesn't change.)
My GPIO configuration:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\DIGITALIO]
; 00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28
"DataInit"=hex:00,00,00,A0,28,00,00,00,2A,80,00,00,00,00,00,00,00,00,00,00,2A,A8,00,00,20,00,00,00,00
"DataDir" =hex:00,00,00,A0,28,00,00,04,2A,80,00,00,00,00,00,00,00,00,00,00,2A,A8,80,88,22,00,00,00,00
"UseAsIO" =hex:00,00,00,A0,28,00,00,05,2A,A2,00,00,00,00,00,00,00,00,00,00,AA,AA,80,88,2A,00,00,00,00
"IRQCfg0" =hex:00,00,00,00,00,00,00,00,00,20,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00
"IRQCfg1" =hex:00,00,00,00,00,00,00,00,00,20,00,00,00,00,00,00,00,00,00,00,80,00,00,00,00,00,00,00,00
"IRQCfg2" =hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"Prefix"="DIO"
"Dll"="fs_digio.dll"
"Order"=dword:00000097
"Index"=dword:00000001
"Ioctl"=dword:00000004
"Port"=dword:00000000
"FriendlyName"="Digital I/O driver for iMX6"
"Debug"=dword:00000000
Best regards,
Steffen