summaryrefslogtreecommitdiff
path: root/src/z80/spi.org
diff options
context:
space:
mode:
authorThomas Albers <thomas@thomaslabs.org>2022-07-27 18:13:20 +0200
committerThomas Albers <thomas@thomaslabs.org>2022-07-27 18:13:20 +0200
commit561bac75579391c14e47eaccfabdf9eda98855da (patch)
tree00a65bb3c590a072beb9552ccdea8bfa096b8502 /src/z80/spi.org
Initial commit
Diffstat (limited to 'src/z80/spi.org')
-rw-r--r--src/z80/spi.org30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/z80/spi.org b/src/z80/spi.org
new file mode 100644
index 0000000..d0e55a5
--- /dev/null
+++ b/src/z80/spi.org
@@ -0,0 +1,30 @@
+#+TITLE: SPI for microprocessors
+#+SETUPFILE: ../../options.org
+
+Bremen, Germany, {{{date}}}
+
+SPI is a useful serial communications interface. It is used in
+hobbyist projects to control from memory ICs to LCD screens and it's
+even possible to read SD cards through it.
+
+Most modern microcontrollers are equiped with built-in SPI support,
+which can be easily used from code without much hardware required. But
+what happends when one wants to interface SPI peripherals with old
+microprocessors? These usually don't have any built-in peripherals and
+, as far as I am aware, there are no enternal peripherals one can buy.
+
+This article aims to provide an overview of how SPI works, the
+instructions on how to build a SPI module for old microprocessors like
+the Z80 and the explanation of how such a module operates.
+
+This is also a part of my ongoing series on the progress of my [[local:/z80][Z80
+based project]].
+
+** Table of Contents
+1) [[#how-does-spi-work][How does SPI work]]
+
+#+NAME: how-does-spi-work
+** 1. How does SPI work
+:PROPERTIES:
+:CUSTOM_ID: how-does-spi-work
+:END: