How to operate GPIO in UEFI?

Discussion in 'UDOO X86' started by binbinboom, Nov 29, 2022.

  1. binbinboom

    binbinboom New Member

    Joined:
    Nov 25, 2022
    Messages:
    1
    Likes Received:
    0
    I have an X86 II board and need to develop an APP on UEFI to operate the touch screen. I see that the X86 II has interfaces (GPOI and I2C of connector CN14) reserved for the touch screen on the Braswell side, but I can't find the API of GPIO. How to operate GPIO under UEFI, such as configuring direction, level and interrupt?
     
  2. shannonparry

    shannonparry UDOOer

    Joined:
    Jul 17, 2023
    Messages:
    4
    Likes Received:
    0
    Hello,

    To operate GPIO in UEFI, you need to access the UEFI GPIO protocol. First, check if the board manufacturer provides a GPIO protocol implementation. If not you may need to write your own protocol to interface with the GPIO pins on the Braswell side of the X86 II board.
     
  3. shannonparry

    shannonparry UDOOer

    Joined:
    Jul 17, 2023
    Messages:
    4
    Likes Received:
    0
    Is this was helpful for you? Did you get fixed?
     

Share This Page