csinko / io-master

Dominate the I/O!
MIT License
4 stars 1 forks source link

Make a short writeup about the MCU Firmware #9

Closed csinko closed 5 years ago

csinko commented 5 years ago

This will be put into the readme and be used for preliminary design presentations and discussions.

Cover what this component is responsible for, what it adds to the design of the project, and some challenges that will arise. Also cover any preliminary design ideas that exist.

csinko commented 5 years ago

The MCU is responsible for reading and writing the logic. Firmware will need to be designed to load in data from the computer, connect it to the corresponding DMA register that routes to the correct output, and stream data as it comes in. Likewise, the firmware will also need to read in data over the DMA, and transfer it to send to the computer when appropriate. Strict scheduling and context switching will need to be designed in order to ensure smooth operation at high frequencies. Other contexts will need to be considered, such as reading from one set of I/O and writing to another set, or recording logic data read in to an SD card.