annotate venus/src/periph/battery.v @ 70:8bc2aa52fd23

manual RESET button new part: 260 g force, shorter actuator One of the main envisioned use cases for FC Venus is field demonstration: the board will be carried around, mounted on a sheet of acrylic or somesuch, it will have a battery and an antenna connected, there will be a test SIM with active service inserted, and the setup will be ready to demonstrate as a working phone at a moment's notice. But when a demo is not actively in progress, the fully assembled setup will be transported around in a big and loose ESD bag, and it will need to be equivalent to a traditional phone in its switched-off state: battery present, RTC keeping time, but not switched on all the time. Having a RESET button of the same keyswitch type as used for the regular keypad and PWON would cause a problem for such field transport scenarios: any spurious press of this button would cause a "misc boot" switch-on. Short spurious presses of PWON are filtered out by the firmware (automatic power-off if the button isn't held down long enough), but the same cannot be done for super-low-level nTESTRESET. However, a button with significantly greater operating force and a shorter actuator (not sticking out to the same height as the regular keypad buttons) should be much safer.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 02 Dec 2021 22:40:39 +0000
parents 59fb15426c91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /* battery or power supply connector */
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 module battery (VBAT, GND, Third_pin);
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 output VBAT, GND;
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 inout Third_pin;
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 conn_3pin batt_conn (.pin_1(VBAT),
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 .pin_2(Third_pin),
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 .pin_3(GND)
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 );
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 capacitor big_cap (VBAT, GND);
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
55
59fb15426c91 add VBAT tap for calibration measurements
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
15 /* VBAT tap for calibration measurements */
59fb15426c91 add VBAT tap for calibration measurements
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
16 header_2pin vbat_tap (VBAT, GND);
59fb15426c91 add VBAT tap for calibration measurements
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
17
12
fff7bffc1ab7 venus/src/periph/battery.v: adapted from FCDEV3B
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 endmodule