
During my journey to build the SmartDisk II, I made a ton of mistakes, and at the same time I learned so much, but sometimes it takes very long to sort things out. This is the story of the Bouncing Kamungas where I scratched my head.
The initial software version of the SmartDisk II was using the SPI DMA. SPI is a common hardware interface that enables to send at a given frequency a buffer of bytes. This last word is very important and you will understand why.
The beauty of the SPI DMA is that it is not blocking or consuming CPU resources everything is done in the back. On top of it you can configure the bytes buffer to be circular and to restart at the end forever, a bit like the floppy disk drive.
SmartDisk was loading image track to the SPI buffer, with a length and … Read the rest
