Using Camera pins of efusA9 for GPIO

  • 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

  • The camera pins are routed to the MIPI CSI interface in the default configuration, this interface can't be used as GPIO.
    Parallel CSI, which can be used as GPIO, is a mounting option and only available on request.
    (see efusA9 Hardware Documentation 0.8 pg. 23)

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.