summaryrefslogtreecommitdiff
path: root/digital/beacon/tests/twi/README
diff options
context:
space:
mode:
authorFlorent Duchon2013-04-02 20:40:21 +0200
committerFlorent Duchon2013-04-02 20:46:43 +0200
commit2669e1fd2092b33c885166a7ddeecf74a7908dcc (patch)
treeb7ae649f49e8429a9431cf07be18b14cb7b5690f /digital/beacon/tests/twi/README
parent5dc17041cb8b61ffd7734e86360d1519a6315d7f (diff)
digital/beacon/tests: add twi unitary test for lol-v2
Diffstat (limited to 'digital/beacon/tests/twi/README')
-rw-r--r--digital/beacon/tests/twi/README25
1 files changed, 25 insertions, 0 deletions
diff --git a/digital/beacon/tests/twi/README b/digital/beacon/tests/twi/README
new file mode 100644
index 00000000..282ed157
--- /dev/null
+++ b/digital/beacon/tests/twi/README
@@ -0,0 +1,25 @@
+******************************************
+Lol-v2 TWI Test Tool
+******************************************
+
+! This test tool must be used with beacon/pcb/lol-v2 hardware only !
+
+1/ Purpose of the twi test tool
+Validate the hardware compliancy of the TWI bus using lol-v2 as a slave
+
+2/ How to check lol-v2 -> Master communication
+Using the APB TWI protocol, the twi test tool will always returns following fields:
+Opponent1_X = 13
+Opponent1_Y = 37
+Opponent1_trust = 42
+Opponent2_X = 1500
+Opponent2_Y = 1671
+Opponent2_trust = 99
+
+If you get theses values, TWI is unitary functional. Don't forget to check stress and robustness.
+
+3/ How to check Master -> lol-v2 communication
+Using the APB TWI protocol, the twi test tool will light on all the leds when the jack field is set to 1 by the master. Inversely, leds will be shutted down when jack field is set to 0.
+
+
+