aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 9 insertions, 6 deletions
diff --git a/README.md b/README.md
index 6fdee35..6570060 100644
--- a/README.md
+++ b/README.md
@@ -14,14 +14,17 @@ and the CERN-OHL-W v2.0 (or any later version).
## Tests
-Go into `tests` and run `make`. To rerun tests, run `make clean` followed
-by `make`.
+Run `./mk.sh` in `tests/` to generate and run tests.
-The test for each mode generates a `.vcd` file which you may view using
-[GTKWave][1]. You can use this to gauge which SPI mode is appropriate for
-your device.
+## Modules
-[1]: https://gtkwave.sourceforge.net/
+"master_no_read" and "slave_no_write" have no Master In, Slave Out ("miso")
+wires (and no corresponding shift registers), while "master_no_write"
+and "slave_no_read" have no Master Out, Slave In ("mosi") wires. This
+is for compatability for "SPI compatible" devices that are read only.
+
+"master_ss" and others include a timer that will assert the Slave Select
+pin and wait a set number of clock cycles before starting the SPI transfer.
## SPI Modes