<p>Harald Welte <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/13679">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">change ISO baud rate default to 6720 bps<br><br>the ISO7816 I/O baud rate is f / (Fd / Dd), with Fd 372, Dd = 1.<br>f_max is 4 MHz, but we will use the minimum 20 / 8 = 2.5 MHz,<br>thus the baud rate after reset will be 6720 bps.<br><br>Change-Id: I9165575404f070c7429daaa3593838d08a5c5e10<br>---<br>M sysmoOCTSIM/config/hpl_sercom_config.h<br>1 file changed, 7 insertions(+), 7 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/sysmoOCTSIM/config/hpl_sercom_config.h b/sysmoOCTSIM/config/hpl_sercom_config.h</span><br><span>index 735fdc2..beac040 100644</span><br><span>--- a/sysmoOCTSIM/config/hpl_sercom_config.h</span><br><span>+++ b/sysmoOCTSIM/config/hpl_sercom_config.h</span><br><span>@@ -59,7 +59,7 @@</span><br><span> // <i> USART baud rate setting</span><br><span> // <id> usart_baud_rate</span><br><span> #ifndef CONF_SERCOM_0_USART_BAUD</span><br><span style="color: hsl(0, 100%, 40%);">-#define CONF_SERCOM_0_USART_BAUD 9600</span><br><span style="color: hsl(120, 100%, 40%);">+#define CONF_SERCOM_0_USART_BAUD 6720</span><br><span> #endif</span><br><span> // </h></span><br><span> </span><br><span>@@ -331,7 +331,7 @@</span><br><span> // <i> USART baud rate setting</span><br><span> // <id> usart_baud_rate</span><br><span> #ifndef CONF_SERCOM_1_USART_BAUD</span><br><span style="color: hsl(0, 100%, 40%);">-#define CONF_SERCOM_1_USART_BAUD 9600</span><br><span style="color: hsl(120, 100%, 40%);">+#define CONF_SERCOM_1_USART_BAUD 6720</span><br><span> #endif</span><br><span> // </h></span><br><span> </span><br><span>@@ -603,7 +603,7 @@</span><br><span> // <i> USART baud rate setting</span><br><span> // <id> usart_baud_rate</span><br><span> #ifndef CONF_SERCOM_2_USART_BAUD</span><br><span style="color: hsl(0, 100%, 40%);">-#define CONF_SERCOM_2_USART_BAUD 9600</span><br><span style="color: hsl(120, 100%, 40%);">+#define CONF_SERCOM_2_USART_BAUD 6720</span><br><span> #endif</span><br><span> // </h></span><br><span> </span><br><span>@@ -875,7 +875,7 @@</span><br><span> // <i> USART baud rate setting</span><br><span> // <id> usart_baud_rate</span><br><span> #ifndef CONF_SERCOM_3_USART_BAUD</span><br><span style="color: hsl(0, 100%, 40%);">-#define CONF_SERCOM_3_USART_BAUD 9600</span><br><span style="color: hsl(120, 100%, 40%);">+#define CONF_SERCOM_3_USART_BAUD 6720</span><br><span> #endif</span><br><span> // </h></span><br><span> </span><br><span>@@ -1147,7 +1147,7 @@</span><br><span> // <i> USART baud rate setting</span><br><span> // <id> usart_baud_rate</span><br><span> #ifndef CONF_SERCOM_4_USART_BAUD</span><br><span style="color: hsl(0, 100%, 40%);">-#define CONF_SERCOM_4_USART_BAUD 9600</span><br><span style="color: hsl(120, 100%, 40%);">+#define CONF_SERCOM_4_USART_BAUD 6720</span><br><span> #endif</span><br><span> // </h></span><br><span> </span><br><span>@@ -1419,7 +1419,7 @@</span><br><span> // <i> USART baud rate setting</span><br><span> // <id> usart_baud_rate</span><br><span> #ifndef CONF_SERCOM_5_USART_BAUD</span><br><span style="color: hsl(0, 100%, 40%);">-#define CONF_SERCOM_5_USART_BAUD 9600</span><br><span style="color: hsl(120, 100%, 40%);">+#define CONF_SERCOM_5_USART_BAUD 6720</span><br><span> #endif</span><br><span> // </h></span><br><span> </span><br><span>@@ -1691,7 +1691,7 @@</span><br><span> // <i> USART baud rate setting</span><br><span> // <id> usart_baud_rate</span><br><span> #ifndef CONF_SERCOM_6_USART_BAUD</span><br><span style="color: hsl(0, 100%, 40%);">-#define CONF_SERCOM_6_USART_BAUD 9600</span><br><span style="color: hsl(120, 100%, 40%);">+#define CONF_SERCOM_6_USART_BAUD 6720</span><br><span> #endif</span><br><span> // </h></span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13679">change 13679</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/13679"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ccid-firmware </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I9165575404f070c7429daaa3593838d08a5c5e10 </div>
<div style="display:none"> Gerrit-Change-Number: 13679 </div>
<div style="display:none"> Gerrit-PatchSet: 6 </div>
<div style="display:none"> Gerrit-Owner: K√©vin Redon <kredon@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>