Hardware Homebrew Others Homebrew app DS Slot 2 GPIO timings?

SynthGal

New Member
OP
Newbie
Joined
Jan 25, 2022
Messages
2
Trophies
0
Age
30
XP
38
Country
Canada
Hi folks, I have an odd question. I have an idea for a DS/DS Lite homebrew project that would have a nice progression of (relatively) easy to more difficult programming goals. I am not very proficient at coding at the moment and haven't really found the right thing to sink my teeth into to get better. The absolute last thing to implement in this idea would be controlling addressable LEDs (preferably neopixels, but I'm not picky) via the Slot 2 GBA connector.

My question is, would this be even remotely possible? I've done some research and from the documentation I found I think the GBA slot can be addressed in such a way directly without an intermediary device such as an arduino (I've seen some stuff where the GBA port is connected to a microcontroller dev board and then the board does the controlling of the LEDS but I would like if it did not require any hardware other than a flash cart, a DS/Lite, a simple cartridge connector, and the LEDs themselves), but I am very clearly not knowledgeable enough (not yet, hopefully) to know if it can be done with strict enough clock timing*, if it would require learning assembly instead of sticking to a higher level language, and/or if it would require bit bashing to accomplish.

Is this a really dumb idea? Yeah. Am I thinking way too far ahead? Definitely. Is this just another flash-in-the-pan ADHD special interest that I will furiously fantasize about and then burn out on within a week? Probably. But I'm just curious if the end goal is physically possible, even if it only goes as far as a disorganized notes file in my google docs like most of my other great/terrible ideas.

If you end up reading docs and have the time, knowledge and patience to answer, I really appreciate it!

*while typing this post out I found an article about neopixel timings being a little less strict that documented although I cannot post it due to newbie restrictions. If you google "NeoPixels Revealed: How to (not need to) generate precisely timed signals" you'll probably find it.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,373
Country
United Kingdom
Everything I have seen even vaguely in this world was an ASIC or some kind of intermediate chip (micro, CPLD, FPGA... it matters not), or maybe speaking GPIO. There are some serious low pin count pic chips these days (we see them often enough in drive chips for older devices) if you did want to do something there.

Still general overview
http://problemkaputt.de/gbatek.htm#gbacartridges
and
http://problemkaputt.de/gbatek.htm#gbacartioportgpio

Something that might be of interest
https://www.darkfader.net/gba/ , particularly https://www.darkfader.net/gba/psxmem.html though you might need https://web.archive.org/web/20110527074511/http://darkfader.net/gba/psxmem.html for the pictures.
 

SynthGal

New Member
OP
Newbie
Joined
Jan 25, 2022
Messages
2
Trophies
0
Age
30
XP
38
Country
Canada
Everything I have seen even vaguely in this world was an ASIC or some kind of intermediate chip (micro, CPLD, FPGA... it matters not), or maybe speaking GPIO. There are some serious low pin count pic chips these days (we see them often enough in drive chips for older devices) if you did want to do something there.

Still general overview
(link removed because newbie)
and
(link removed because newbie)

Something that might be of interest
(link removed because newbie) , particularly (link removed because newbie) though you might need(link removed because newbie) for the pictures.
Looks like that darkfader stuff is through the GBA link cable port (unless my reading comprehension has failed me, as it often does) but I do appreciate the gbatek links! I think I found some other leads on the darkfader website for DS stuff as well, so that helps too.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://www.acepcs.com/products/wizbox-g-mini-pc-amd-r7-7735hs lol wizbox +1