Hello everyone !
I'm new on this forum and this is my first post : i've already coded some Arduino projects from scratch ; i'm comfortable with very-basic coding in C and i can easily understand technical hardware language. The project i'm going to tell you about is my first "complex" project on a non-Arduino hardware and i think this is a perfect project to learn coding deeper. I'm not "english fluant", i hope you will understand this post anyway..!
Ok, so : i'm working on a MPC-based Midi sequencer for 3DS ('cause why not) and for now it works as expected. Firstly, i wanted to send the Midi datas through the audio jack output but after i've tested it (badly i think, but anyway), it doesn't worked : basically, on the hardware side there is to much background noises and on the software side, it looks like we can set the sample rate for a DSP channel (31 250 Hz, the Midi baudrate) but not for the DSP output itself.. So i changed my mind on the data sending method.
I choose to use a DS pico to send those datas from the 3DS :
There is the idea and the question :
The Digital Pins of the RP2040's Pico are directly connected to the gamecard slot pins. So i want to send the data to one of those pin, the Pico will convert it to Midi protocol.
On the 3DS side :
I think the functions for that are around 3ds/services/pxidev.h of devKitPro but i'm not sure and this kind of function is out of my competences for now..
As i said, i'm comfortable with coding for Arduino, i've already code Midi projects for it and the RP Pico works alike. However :
Thanks for reading and don't hesitate to ask for information that i've might forgotten, and have a great day !!
I'm new on this forum and this is my first post : i've already coded some Arduino projects from scratch ; i'm comfortable with very-basic coding in C and i can easily understand technical hardware language. The project i'm going to tell you about is my first "complex" project on a non-Arduino hardware and i think this is a perfect project to learn coding deeper. I'm not "english fluant", i hope you will understand this post anyway..!
Ok, so : i'm working on a MPC-based Midi sequencer for 3DS ('cause why not) and for now it works as expected. Firstly, i wanted to send the Midi datas through the audio jack output but after i've tested it (badly i think, but anyway), it doesn't worked : basically, on the hardware side there is to much background noises and on the software side, it looks like we can set the sample rate for a DSP channel (31 250 Hz, the Midi baudrate) but not for the DSP output itself.. So i changed my mind on the data sending method.
I choose to use a DS pico to send those datas from the 3DS :
- because the DSerial project seems lost
- we can use the USB interface AND the development pinouts for multiple Midi in/out
- the Raspberry Pico works like an Arduino so i will be comfortable to code what i want
- it's an open-source project.
There is the idea and the question :
The Digital Pins of the RP2040's Pico are directly connected to the gamecard slot pins. So i want to send the data to one of those pin, the Pico will convert it to Midi protocol.
On the 3DS side :
I think the functions for that are around 3ds/services/pxidev.h of devKitPro but i'm not sure and this kind of function is out of my competences for now..
- Does someone have an example code or a good tutorial or documentation to work with the gamecard slot ?
- Can I interact with the slot with a .3dsx homebrew or should i make the program as a .firm ?
As i said, i'm comfortable with coding for Arduino, i've already code Midi projects for it and the RP Pico works alike. However :
- can i code something from scratch or should i keep some files/functions from the Dspico source firmware to make the card workable with the 3DS (card detection, card type,...) ?
Thanks for reading and don't hesitate to ask for information that i've might forgotten, and have a great day !!






