<p>laforge <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/simtrace2/+/23620">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">card_emu: Use USART timeout for waiting time<br><br>Instead of using the timer/counter peripheral to handle the waiting time<br>and corresponding timeout, the USART peripheral internal timeout<br>mechanism is used.<br><br>This is particularly important for the SIMtrace board since there<br>(contrary to other boards) the I/O signal is not wired to a TIO pin<br>of the timer/counter block, and hence Rx/Tx data cannot reset that<br>timer/counter.<br><br>As a result of this migration, cardem is now supported not only on<br>owhw + qmod, but also on the simtrace board.<br><br>The guts of this change have been lifted out of Change-Id<br>Ibcb2c8cace9137695adf5fb3de43566f7cfb93b5 by Kevin Redon, which was<br>unfortunately touching various different topics at the same time and<br>hence was split up. Some improvements are the introduction of the<br>ENABLE_TX_TIMER_ONLY mode, which avoids the USART interrupt handler<br>getting hammered with TXRDY between release of RST and start of the ATR.<br><br>Change-Id: Ibcb2c8cace9137695adf5fb3de43566f7cfb93b5<br>---<br>M firmware/apps/cardem/Makefile<br>M firmware/apps/trace/Makefile<br>M firmware/apps/triple_play/Makefile<br>M firmware/libcommon/include/card_emu.h<br>M firmware/libcommon/source/card_emu.c<br>M firmware/libcommon/source/mode_cardemu.c<br>6 files changed, 132 insertions(+), 32 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/20/23620/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/simtrace2/+/23620">change 23620</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/+/23620"/><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: Ibcb2c8cace9137695adf5fb3de43566f7cfb93b5 </div>
<div style="display:none"> Gerrit-Change-Number: 23620 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: tsaitgaist <kredon@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>