RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    [SOLVED] Conflict between retrogame and TFT DT overlay ?

    Scheduled Pinned Locked Moved Help and Support
    waveshare 3.2retrogameconflict
    2 Posts 1 Posters 991 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.
    • T
      theDude
      last edited by theDude

      Hi everyone,

      I'm currently working on a "GBA Zero", using a Pi Zero to fit a Game Boy Advance case. The goal is to have a GBA with ABXY buttons, so it can play nicely any SNES game and even some titles of the PSX (although I now that I'll need to upgrade to PI3, that is for a v2)

      What I've done yet :

      • power supply using Adafruit Powerboost 1000c and 3.7V 2500 mAh LiPO battery
      • display on a 3.2 tft (chinese copy of the waveshare)
      • next to that I'm working on the casing itself (I think I'll do a topic of the project for pictures and worklog, but it is a GBA case with NDS buttons)
      • and finally I was working on buttons but have difficulties to make them work

      After a fews days of struggling I unsoldered evertything and tried again from scratch, focusing on the input.
      And... They work... Until I setup the dtoverlay param in the /boot/config.txt file for the waveshare screen.
      And... they work again if I comment the line and reboot.

      I use retrogame (guide https://learn.adafruit.com/running-opengl-based-games-and-emulators-on-adafruit-pitft-displays/adding-controls) and 3.2 waveshare screen (guide https://retropie.org.uk/forum/topic/295/retropie-and-waveshare-32b)

      It seems that there is some kind of conflict. The screen has 26 pins and I only use pins 4,13,15,19,20,32,24.
      I have 4 buttons at the moment and I use 35,36,37 34 for ground (so I can see how a conflict can happen here) and the pin 7 which is GPIO 04. I've looked into waveshare32b-overlay.dts and I don't find any reference about this GPIO.

      Any help will be greatly appreciated, I really want to go through with this project. Available for any information / photo / config file. (You might have note that English is not my first language, so I'm sorry for any mistakes)

      Pi Model or other hardware: Zero W
      Power Supply used: NorthPada 2.5A
      RetroPie Version: 4.2
      Built From: Pre made SD Image on RetroPie website
      USB Devices connected: None

      1 Reply Last reply Reply Quote 0
      • T
        theDude
        last edited by

        Hum, I edited the retrogame config file and remove all buttons that weren't wired yet, and it seems to work !
        I don't understand why it was working when the dtoverlay was off though... But I can go on to another issue now :)

        Regards

        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.