view venus/src/periph/battery.v @ 94:4502eec1e805

D405: use Nexperia part sourced from Digi-Key direct The previously selected part was from a Digi-Key marketplace vendor, and they seem to not actually have that part, as the order has been in limbo for over a month - so I put in the time and effort to look around, and found a readily available equivalent part from Nexperia.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Jan 2022 19:11:22 +0000
parents 59fb15426c91
children
line wrap: on
line source

/* battery or power supply connector */

module battery (VBAT, GND, Third_pin);

output VBAT, GND;
inout Third_pin;

conn_3pin batt_conn (.pin_1(VBAT),
		     .pin_2(Third_pin),
		     .pin_3(GND)
	);

capacitor big_cap (VBAT, GND);

/* VBAT tap for calibration measurements */
header_2pin vbat_tap (VBAT, GND);

endmodule