Firmware for Nucleo boards for the SLab system Description at http://r6500.blogspot.com.es/2018/02/slab-first-release.html All associated files at https://github.com/R6500/SLab
Diff: protocol.txt
- Revision:
- 1:d81bef65eece
- Parent:
- 0:39a545e08ccd
--- a/protocol.txt Sat Feb 10 09:43:16 2018 +0000 +++ b/protocol.txt Sun Feb 11 16:14:51 2018 +0000 @@ -263,13 +263,40 @@ P-TxCRC B : if P-CRC != B-RxCRC B -> P : ECRC - B-TxCRC - + B-TxCRC else B -> P : ACK <Dump In buffer> B-TxCRC +Command 'Q' Wave Play + + P -> B : byte('Q') + U16(Number of Waves) + P-TxCRC + B : if P-CRC != B-RxCRC + B -> P : ECRC + B-TxCRC + else + B -> P : ACK + if halt TRAN_HALT + else TRAN_OK + B-TxCRC + +Command 'q' Dual Wave Play + + P -> B : byte('q') + U16(Number of Waves) + P-TxCRC + B : if P-CRC != B-RxCRC + B -> P : ECRC + B-TxCRC + else + B -> P : ACK + if halt TRAN_HALT + else TRAN_OK + B-TxCRC + Command 'X' Single Wave Response P -> B : byte('X') @@ -360,6 +387,9 @@ B-TxCRC <Dump In Buffer> + if halt + B -> P : TRAN_HALT + if overrun B -> P : TRAN_OVERRUN @@ -371,6 +401,9 @@ All Samples in U16 <Dump Triggered In Buffer> + if halt + B -> P : TRAN_HALT + if overrun B -> P : TRAN_OVERRUN