Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord
    1. Home
    2. llegoff
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by llegoff

    • RE: [PROJECT] JAMMA-Pi

      Hello,
      I have not tested, but there is an overlay to reroute the pins cs0 and cs1.

      see on /boot/overlay/readme :

      Name: spi0-cs
      Info: Allows the (software) CS pins for SPI0 to be changed
      Load: dtoverlay=spi0-cs,<param>=<val>
      Params: cs0_pin GPIO pin for CS0 (default 😎
      cs1_pin GPIO pin for CS1 (default 7)

      put in /boot/config.txt , the line :

      dtoverlay=spi0-cs, cs0_pin <n°pin>

      there is another way : software i2c with dtoverlay i2c-gpio

      Name: i2c-gpio
      Info: Adds support for software i2c controller on gpio pins
      Load: dtoverlay=i2c-gpio,<param>=<val>
      Params: i2c_gpio_sda GPIO used for I2C data (default "23")
      i2c_gpio_scl GPIO used for I2C clock (default "24")
      i2c_gpio_delay_us Clock delay in microseconds
      (default "2" = ~100kHz)

      posted in Community projects
      llegoff
      llegoff