RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    ControlBlock2 GPIO Pin Usage

    Scheduled Pinned Locked Moved ControlBlock, PowerBlock & Co.
    controlblockgpiodac i2s
    2 Posts 2 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hybridsix
      last edited by

      The specs and description for the ControlBlock2 SPI expander indicate that it is using pin 12 (GPIO1/PCM_CLK/PWM0) for part of the connection. Is this a necessary pin? Can it be remapped?

      I ask this because I intend on picking this and one of the many available DAC's for the raspberry pi which also use the PCM_CLK signal from this pin as an audio-clock reference.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • P
        petrockblog Global Moderator
        last edited by

        You could adapt the driver according to your needs. As far as I understand you would need to adapt the classes DigitalIn and/or DigitalOut, see https://github.com/petrockblog/ControlBlockService2/tree/master/src/controlblock/hal.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.