This is a small System-of-Chip (SoC) built around the DuckCPU, an 8-bit CPU that implements a custom architecture based on the Zilog Z80 and Sharp LR35902. It was designed primarily for learning purposes.
The following peripherals are provided:
More detailed documentation will be added to the project page after the tapeout.
Connect a SPI flash IC to the RSPI pins, with rspi_flash_ce_n as its chip enable. Similarly, connect a SPI RAM IC, with rspi_ram_ce_n as its chip enable.
Pull the bootsel pin low and reset the chip. This puts it into its bootloader mode. You can then use ducktool to download code onto the flash/RAM and reset the CPU.
Minimum requirement:
While we do follow the standard Tiny Tapeout pinout for UART, we do not for SPI. This is because we want to save the bidirectional pins for use by the GPIO peripheral.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | rspi_clk | gpio0_data[0] | |
1 | rspi_mosi | gpio0_data[1] | |
2 | rspi_flash_ce_n | gpio0_data[2] | |
3 | rspi_ram_ce_n | gpio0_data[3] | |
4 | bootsel | uart0_tx | gpio0_data[4] |
5 | spi0_miso | spi0_clk | gpio0_data[5] |
6 | rspi_miso | spi0_mosi | gpio0_data[6] |
7 | uart0_rx | spi0_ce_n | gpio0_data[7] |