From d57c299c207ee080418b4d957843b1d208f12b15 Mon Sep 17 00:00:00 2001 From: diferential Date: Fri, 26 Apr 2024 03:48:37 -0400 Subject: [PATCH] docs(tt_um_emilian_rf_playground): update info.md (#528) --- .../tt_um_emilian_rf_playground/docs/info.md | 30 +++++++++++++++---- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/projects/tt_um_emilian_rf_playground/docs/info.md b/projects/tt_um_emilian_rf_playground/docs/info.md index 470a35c..ec4a9f4 100644 --- a/projects/tt_um_emilian_rf_playground/docs/info.md +++ b/projects/tt_um_emilian_rf_playground/docs/info.md @@ -1,15 +1,33 @@ ## How it works -Generates VBIAS based on a resistor and current source / mirrors. +IDAC8 is a Digital to Analog conversion based on string of basic cells dividing the current by two repeatedly and optionally sourcing some current into the output pin. -Differential pairs and a Gilbert mixer perform amplification and frequency mixing. +idac1cell takes the following ports: +- VREF_IN - bias voltage for a 4/1 W/L transistor resulting in an InputCurrent +- OE - controls whether the output is enabled. +- IOUT - source current of InputCurrent/2 into here. +- VDD / VSS - power supply 1.8V +- VREF_OUT - output bias voltage for a 4/1 W/L transistor that results in INputCurrent/2. + +The circuit uses current mirrors and identical transistors to divide the current by two. See tb_idac1cell.sch and SVG output for sample outputs and the schematic inside the xschem directory. + +8 cells of idac1cell are chained together into one IDAC8. Essentially the OE pins correspond to +digital inputs and the IOUT ## How to test -Output is at UA0 +- UI[7..0] are the digital inputs for currents of I, I/2, I/4, ... -## External hardware +- UA0 is the voltage output for the I/256 current (can be ignored.. only present for chaining or testing). + +- UA1 is the current output (can hold a ~10K resistor to ground). -Input in UA1 / UA2. +- UA2 is the voltage input (around 0.7V) corresponding to the high bit current. + +Set UI to 0b10000000 and adjust UA0 so that the current through UA1 to the resistor is around 0.1mA. Then you can modify UI and observe the output changing into UA1 according to the 8 bit DAC output. + +## External hardware -Digital inputs will have the PLL inputs. +- Multimeter on the UA1 10K resistor to ground. +- Potentiometer for setting UA0 bias voltage. +- set UI inputs via switches.