summaryrefslogtreecommitdiffstats
path: root/firmware/notes
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2024-11-09 00:56:31 +0100
committerLouis Burda <quent.burda@gmail.com>2024-11-09 00:56:31 +0100
commit188b65034fa91ed692ef698602f005bece581272 (patch)
treeabbe81d033b1b085d8b0e15d3785ae06dba91233 /firmware/notes
parentc0f8b7f02f08653953fd200d0676cdbad2b01ebc (diff)
downloaddesk-andon-188b65034fa91ed692ef698602f005bece581272.tar.gz
desk-andon-188b65034fa91ed692ef698602f005bece581272.zip
Add test mode
Diffstat (limited to 'firmware/notes')
-rw-r--r--firmware/notes8
1 files changed, 6 insertions, 2 deletions
diff --git a/firmware/notes b/firmware/notes
index 3795e63..1296a35 100644
--- a/firmware/notes
+++ b/firmware/notes
@@ -1,9 +1,13 @@
V_GS,LOW = V_DD - (V_DD - V_CC - V_TVS) * (R2 / (R1 + R2))
V_GS,HIGH = V_DD - V_DD * (R2 / (R1 + R2))
-V_DD = 0.6 * (1 + R1 / R2) = 0.6 * (1 + 100 / 5.1) = 12.4
-V_GS,LOW = 12.4 - (12.4 - 5 - 0.7) * (100 / (100 + 10)) = 0.6 V
+V_TVS ~= 6.3 V
+
+V_DD = 0.6 * (1 + R1 / R2) = 0.6 * (1 + 100 / 5.1) = 12.4 V
+V_GS,LOW = 12.4 - ((12.4 - V_TVS) * (100 / (100 + 10)) + V_TVS) = 0.55 V
V_GS,HIGH = 12.4 - 12.4 * (100 / (100 + 10)) = 1.13 V
+V_GS,TH = 0.6-0.7
+
Default stdio driver flushes after newline. May sleep for 50ms
when the tx fifo is full, but generally unbuffered.