Martin Preuss
6c1e8a45ff
com2wn: only trigger led if LED_ACTIVITY is defined.
2025-09-06 00:41:17 +02:00
Martin Preuss
808a7c4258
com2w: check COM_ACCEPT_ALL_DEST
2025-09-06 00:40:42 +02:00
Martin Preuss
eac37b9927
com2w: increase buffer size.
2025-09-01 23:25:20 +02:00
Martin Preuss
b95a4fa872
avr: more work on com2wn module.
2025-09-01 23:25:02 +02:00
Martin Preuss
81669a5442
avr: first try irq driven com2w interface.
...
probably doesn't work like that but that's for later.
2025-09-01 23:24:15 +02:00
Martin Preuss
3270a71cb0
com2w: simplified module.
2025-09-01 23:23:30 +02:00
Martin Preuss
32a0ad5eae
added comments, removed unused code.
2025-08-25 11:24:53 +02:00
Martin Preuss
7efaf720cc
com2w: work in COM2W_Run, not in COM2W_Every100ms
2025-08-25 10:20:13 +02:00
Martin Preuss
3a7951be16
com2w: added some recovery code, improved protocol.
...
after sending a byte wait for the same time when sending the last bit as
with the other bits (otherwise the last bit might get lost by slower
devices).
2025-08-20 23:27:17 +02:00
Martin Preuss
6a3f6be8a9
avr: improved timing for sending bytes via com2w interface.
...
Still quite different among devices but that's just prove that the protocol
works without prior synchronisation.
2025-08-20 20:48:55 +02:00
Martin Preuss
6c3926c1e4
avr: added a note regarding timing.
2025-08-19 23:36:58 +02:00
Martin Preuss
8467408fd8
avr: increased waittimes for com2w (too fast for 1MHz nodes).
2025-08-19 23:36:44 +02:00
Martin Preuss
fc073696f8
avr: tweaked timing for com2w transport layer.
2025-08-19 23:03:15 +02:00
Martin Preuss
d9e7d4df81
com2w*: allow for higher frequencies than 8MHz
...
to be used with node S03, which is run at 20MHz.
2025-08-18 18:04:30 +02:00
Martin Preuss
8c13f9fdf7
avr: started adding com2wn module (multiple com2w devices in one)
2025-08-03 00:55:52 +02:00
Martin Preuss
6c5dc21f6a
avr: started adding r06 device.
2025-08-03 00:55:21 +02:00
Martin Preuss
2b25fed2cd
com2w1: follow changes in com2w0.
2025-07-21 18:25:17 +02:00
Martin Preuss
1091ec1dee
read CLK and DATA early.
2025-07-20 23:15:22 +02:00
Martin Preuss
d0b5f84316
adapt com2w1 from com2w0 (the latter is proven to work now).
2025-07-20 00:15:13 +02:00
Martin Preuss
78cbbf334e
com2w: alloc buffer after receiving message. receiving works now.
2025-07-19 17:47:52 +02:00
Martin Preuss
ae1853ba62
enable sending messages.
2025-07-19 17:08:19 +02:00
Martin Preuss
59a0962420
added com2w0
2025-07-19 15:02:31 +02:00
Martin Preuss
bdd710fc5c
avr: started working on new SPI-like COM protocol.
...
use a clock and a data line to introduce synchronisation into the
protocol to be able to work with the wide range of mcu speeds (no need for
exact timing, no need for exact calibration).
2025-07-19 09:42:02 +02:00