view venus/src/periph/bl_current_sink.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 d55824058cfc
children
line wrap: on
line source

module bl_current_sink (GND, Vio, BL_GPIO9, BL_GPIO11, BL_GPIO12, LEDK);

input GND, Vio;
input BL_GPIO9, BL_GPIO11, BL_GPIO12;
output [1:3] LEDK;

wire SET;

MAX1916 MAX1916 (.GND(GND),
		 .EN(BL_GPIO9),
		 .SET(SET),
		 .LEDK(LEDK)
	);

resistor BL_EN_pulldown (BL_GPIO9, GND);

bl_current_select cursel (.GND(GND),
			  .Vio(Vio),
			  .BL_GPIO11(BL_GPIO11),
			  .BL_GPIO12(BL_GPIO12),
			  .SET(SET)
	);

endmodule