From: Jan Michel Date: Fri, 16 Dec 2022 13:05:38 +0000 (+0100) Subject: add MDC Power Disitributor uC code X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=725c770d06b3ae97860a7f57944096826742011a;p=avr.git add MDC Power Disitributor uC code --- diff --git a/esp32/EthernetUART/MdcPowerDistributor/README.txt b/esp32/EthernetUART/MdcPowerDistributor/README.txt new file mode 100644 index 0000000..643f979 --- /dev/null +++ b/esp32/EthernetUART/MdcPowerDistributor/README.txt @@ -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) |