summaryrefslogtreecommitdiff
path: root/tests/i2c-master/README.md
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2017-02-21 21:37:36 +0000
committerKarl Palsson <karlp@tweak.net.au>2017-02-21 21:37:36 +0000
commit115b771e56aba7e7d066c8a58819d61d51009116 (patch)
tree01ebdff93d99eeb26ea0f3461c2abee2c8b9374b /tests/i2c-master/README.md
parent3a79a3b923fc01480924b4bba09009638f4a22b1 (diff)
downloadolsndot-115b771e56aba7e7d066c8a58819d61d51009116.tar.gz
olsndot-115b771e56aba7e7d066c8a58819d61d51009116.tar.bz2
olsndot-115b771e56aba7e7d066c8a58819d61d51009116.zip
i2c: Initial stub import of old f4 code
Currently (despite docs) is an import of code reading the onboard i2c peripheral
Diffstat (limited to 'tests/i2c-master/README.md')
-rw-r--r--tests/i2c-master/README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/i2c-master/README.md b/tests/i2c-master/README.md
new file mode 100644
index 0000000..74acefb
--- /dev/null
+++ b/tests/i2c-master/README.md
@@ -0,0 +1,17 @@
+i2c master mode tests.
+
+While many of the disco boards have some form of i2c device onboard,
+which would, on the face of it, make testing easy, it's a different
+device on each board, and there are boards without it.
+
+Instead, use a known I2C peripheral on all boards, and require/expect
+a known fixed i2c slave device. (Eventually, this will be a soft
+controllable i2c slave in the auto test setup ;)
+
+Debug is via SWO wherever possible, PA2 (tx only) on less capable cores
+
+Pinouts:
+
+board SCLK SDA
+f4-disco PB8 PB9 i2c1
+