#97561 - masscat - Thu Aug 10, 2006 1:46 pm
EDIT: The SPI/UART bridge now has a webpage. Corrected the link to the MCU programming tool.
I have put together a SPI UART bridge so that you can connect a DS to anything with an RS232 port. The port settings are currently fixed at 9600 baud, 8 data bits, no parity and 1 stop bit.
The hardware side is based around a Zilog Z8F0412 microcontroller. It takes the SPI bus from the DS Card port and puts the data received out of its UART port. Any data received over the UART is sent to the DS during the SPI transfer.
The hardware is not portable - I have put in a seperate power supply as I am not sure how much current the DS card port can supply and the microcontroller is a big chip. But the main reason for me developing it is to debug over, it is cheap to build and somebody with little hardware knowledge (me) can put it together.
Check the webpage for the latest release.
If you want to change and build the zilog code you can get the development environment from the Zilog website. The serialnds.hex file from the zilog tarball above is the file you program the MCU with. You can program/debug the MCU by connecting the debug port (see schematic) to your PC and using the tools from here.
To make the DS Card slot connector either hack an DS cart that you do not want anymore, etch one or, like me, carve one out of a plain copper PCB board using a stanley knife (not a fun job but I could not bring myself to destroy a DS cart and I do not have the equipment to etch PCBs).
Last edited by masscat on Sat Aug 12, 2006 6:12 pm; edited 1 time in total
I have put together a SPI UART bridge so that you can connect a DS to anything with an RS232 port. The port settings are currently fixed at 9600 baud, 8 data bits, no parity and 1 stop bit.
The hardware side is based around a Zilog Z8F0412 microcontroller. It takes the SPI bus from the DS Card port and puts the data received out of its UART port. Any data received over the UART is sent to the DS during the SPI transfer.
The hardware is not portable - I have put in a seperate power supply as I am not sure how much current the DS card port can supply and the microcontroller is a big chip. But the main reason for me developing it is to debug over, it is cheap to build and somebody with little hardware knowledge (me) can put it together.
Check the webpage for the latest release.
If you want to change and build the zilog code you can get the development environment from the Zilog website. The serialnds.hex file from the zilog tarball above is the file you program the MCU with. You can program/debug the MCU by connecting the debug port (see schematic) to your PC and using the tools from here.
To make the DS Card slot connector either hack an DS cart that you do not want anymore, etch one or, like me, carve one out of a plain copper PCB board using a stanley knife (not a fun job but I could not bring myself to destroy a DS cart and I do not have the equipment to etch PCBs).
Last edited by masscat on Sat Aug 12, 2006 6:12 pm; edited 1 time in total