From 725c770d06b3ae97860a7f57944096826742011a Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Fri, 16 Dec 2022 14:05:38 +0100 Subject: [PATCH] add MDC Power Disitributor uC code --- .../MdcPowerDistributor/README.txt | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 esp32/EthernetUART/MdcPowerDistributor/README.txt 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) | -- 2.43.0