view venus/src/core/rf_pa_block.v @ 36:c1256c8757c3

eliminate R209 and tie Iota VLMEM directly to UPR We already eliminated R210 (VLMEM pull-down option) earlier, because our simplified LCD power supply and reset line wiring is incompatible with 1.8V MEMIF. But with VLMEM always needing to be high, a pull-up resistor offers no advantage over a direct tie to UPR, so let's eliminate the superfluous resistor.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 22 Nov 2021 19:19:59 +0000
parents 3ed0f7a9c489
children
line wrap: on
line source

/*
 * This module encapsulates the RF PA along with its power bypass caps
 * and the Rs and Cs on the control inputs.
 */

module rf_pa_block (GND, VBAT, Band_Select, Tx_Enable, APC_in,
			LB_RF_in, HB_RF_in, LB_RF_out, HB_RF_out);

input GND, VBAT;
input Band_Select, Tx_Enable, APC_in;
input LB_RF_in, HB_RF_in;
output LB_RF_out, HB_RF_out;

/*
 * A little bit of muck with the control inputs, following Leonardo
 * and Openmoko schematics.  On FC Venus we completely eliminate
 * R621 and R622.
 */

wire APC_after_resistor;

resistor R623 (APC_in, APC_after_resistor);
capacitor C648 (APC_after_resistor, GND);
capacitor C656 (Band_Select, GND);

/* instantiate the PA itself */

RF3166 PA (.HB_RF_in(HB_RF_in),
	   .Band_Select(Band_Select),
	   .Tx_Enable(Tx_Enable),
	   .Vbatt(VBAT),
	   .GND(GND),
	   .Vramp(APC_after_resistor),
	   .LB_RF_in(LB_RF_in),
	   .LB_RF_out(LB_RF_out),
	   .HB_RF_out(HB_RF_out)
	);

/* 4 bypass caps per both Leonardo and Openmoko schematics */

capacitor C651 (VBAT, GND);
capacitor C652 (VBAT, GND);
capacitor C653 (VBAT, GND);
capacitor C654 (VBAT, GND);

endmodule