<p>tsaitgaist has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/simtrace2/+/16225">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">qmod: lower VCC threshold to 2.5V<br><br>on the QMOD board the VCC signal from the modem is measured using<br>an ADC (SIMtrace board just use card detect).<br>the threshold to consider VCC as activated was set to 2.8V, which<br>gives a bit of margin for the expected 3.0V.<br>still, we had one board where the voltage was 2.8V.<br>to be resilient against lower than expected voltages from<br>modems (or boards), we lowered the threshold to 2.5V.<br>this is still save for the SAM3S to correctly identify high/low<br>levels.<br><br>Change-Id: Iac2778903690045e4e63fef29f812205d00c28ed<br>---<br>M firmware/libcommon/source/mode_cardemu.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/25/16225/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/firmware/libcommon/source/mode_cardemu.c b/firmware/libcommon/source/mode_cardemu.c</span><br><span>index 2d1a687..704e6ba 100644</span><br><span>--- a/firmware/libcommon/source/mode_cardemu.c</span><br><span>+++ b/firmware/libcommon/source/mode_cardemu.c</span><br><span>@@ -309,7 +309,7 @@</span><br><span> }</span><br><span> </span><br><span> #define VCC_UV_THRESH_1V8        1500000</span><br><span style="color: hsl(0, 100%, 40%);">-#define VCC_UV_THRESH_3V 2800000</span><br><span style="color: hsl(120, 100%, 40%);">+#define VCC_UV_THRESH_3V       2500000</span><br><span> </span><br><span> static void process_vcc_adc(struct cardem_inst *ci)</span><br><span> {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/simtrace2/+/16225">change 16225</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/simtrace2/+/16225"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: simtrace2 </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Iac2778903690045e4e63fef29f812205d00c28ed </div>
<div style="display:none"> Gerrit-Change-Number: 16225 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: tsaitgaist <kredon@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>