Two inputs change together (J1-54 and J1-63)

  • Hello,

    I have a problem using these two pins as inputs.

    In one of our devices we have LCD connected and both pins work fine (J1-54 as LCD_B3 and J1-63 as LCD_HSYNC).

    In our new device I need to use many pins of LCD interface as GPIO. In dts I set CONFIG_PICOCOMA9X_LCDIF0 to DISPLAY_NONE and I use many of these J1 pins as GPIO without problem.

    But J1-54 and J1-63 - even if try via /sys/class/gpio interface - both inputs change together, although I can see on analyzer that input signals chgange differently.

    It seems to me that there might be some other setting to for J1-63 to be connected to gpio# 90 and not 65, but I couldn't find anything in documentacion.

    Can you advice me what to check or set?

    Thank you,

    Kamil

  • Hello,


    you can check the GPIO Reference Card for the PicoCOMA9X. The pin J1-63 is shared between the pads LCD_HSYNC and LCD_B2.

    Otherwise, it seems that there currently is an error in the Reference Card for the signals LCD_B3 to LCD_B6 that the gpio numbers are off about one IO.


    The correct mapping should be as followed, but I will check that again:

    J1-63: LCD_HSYNC (GPIO3_IO26 -> gpio# 90) and LCD_B2 (GPIO3_IO01 -> gpio# 65)

    J1-54: LCD_B3 (GPIO3_IO02 -> gpio# 66)

    J1-55: LCD_B4 (GPIO3_IO03 -> gpio# 67)

    J1-56: LCD_B5 (GPIO3_IO04 -> gpio# 68)

    J1-57: LCD_B6 (GPIO3_IO05 -> gpio# 69)


    If your tests are successful with the updated mapping, please reply shortly.



    Your F&S Support Team