]> jspc29.x-matter.uni-frankfurt.de Git - avr.git/commitdiff
add MDC Power Disitributor uC code
authorJan Michel <michel@physik.uni-frankfurt.de>
Fri, 16 Dec 2022 13:05:38 +0000 (14:05 +0100)
committerJan Michel <michel@physik.uni-frankfurt.de>
Fri, 16 Dec 2022 13:10:54 +0000 (14:10 +0100)
esp32/EthernetUART/MdcPowerDistributor/README.txt [new file with mode: 0644]

diff --git a/esp32/EthernetUART/MdcPowerDistributor/README.txt b/esp32/EthernetUART/MdcPowerDistributor/README.txt
new file mode 100644 (file)
index 0000000..643f979
--- /dev/null
@@ -0,0 +1,22 @@
+ **Data format:**    *XuuGcRvvvv*
+         X    - command   (write: W, read: R, answer: A, scan chain: S)
+         uu   - Controllernumber (Hex value)
+         G    - Groupnumber  (to talk to all channels, that belong together, in one command.)
+         c    - channelnumber in the group (Hex value)
+         R    - register (Hex value)
+         vvvv - 16 Bit value
+
+         close with a "\n"
+         e.g. "RF2012FE51\n"
+         
+Distributor has controller number 0xFF, group 0, channel 0.
+All other addresses are forwarded to UART
+
+UART @ 57600 bit/s
+         
+
+| Registers |  description                                                 |
+|-----------|--------------------------------------------------------------|
+|    4      |  Temperature in °C/100                                  (RO) |
+|    5      |  [15:4] Firmware                                        (RO) |
+|    A      |  [3:0] CB3 - CB0 pins                                   (RW) |