106 Tiny PIC-like MCU

106 : Tiny PIC-like MCU

Design renderSelect Project123456789ONSW2
  • Author: myrtle
  • Description: serially programmed, subset of PIC ISA, MCU
  • GitHub repository
  • Clock: 1000 Hz

How it works

Implements a subset of the PIC mid-range ISA (no SFR, no carry, no call/stack), 6 GPRs, 16 program words.

How to test

Program data is shifted in serially. For each program word, shift in {(1 << address), data} (28 bits total) to prog_data and then assert prog_strobe. Once loaded, deassert (bring high), reset and the program should start running. GPR 6 is GPI and GPR 7 is GPO

External hardware

A means of shifting in the program (e.g. another microcontroller, USB GPIO interface, etc) is required at startup. Once running, it is standalone.

IO

#InputOutput
0clockgpo0
1resetgpo1
2prog_strobegpo2
3prog_datagpo3
4gpi0gpo4
5gpi1gpo5
6gpi2gpo6
7gpi3gpo7