Change in osmo-ccid-firmware[master]: change ISO baud rate default to 6720 bps

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Apr 17 10:06:30 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/13679 )

Change subject: change ISO baud rate default to 6720 bps
......................................................................

change ISO baud rate default to 6720 bps

the ISO7816 I/O baud rate is f / (Fd / Dd), with Fd 372, Dd = 1.
f_max is 4 MHz, but we will use the minimum 20 / 8 = 2.5 MHz,
thus the baud rate after reset will be 6720 bps.

Change-Id: I9165575404f070c7429daaa3593838d08a5c5e10
---
M sysmoOCTSIM/config/hpl_sercom_config.h
1 file changed, 7 insertions(+), 7 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/sysmoOCTSIM/config/hpl_sercom_config.h b/sysmoOCTSIM/config/hpl_sercom_config.h
index 735fdc2..beac040 100644
--- a/sysmoOCTSIM/config/hpl_sercom_config.h
+++ b/sysmoOCTSIM/config/hpl_sercom_config.h
@@ -59,7 +59,7 @@
 // <i> USART baud rate setting
 // <id> usart_baud_rate
 #ifndef CONF_SERCOM_0_USART_BAUD
-#define CONF_SERCOM_0_USART_BAUD 9600
+#define CONF_SERCOM_0_USART_BAUD 6720
 #endif
 // </h>
 
@@ -331,7 +331,7 @@
 // <i> USART baud rate setting
 // <id> usart_baud_rate
 #ifndef CONF_SERCOM_1_USART_BAUD
-#define CONF_SERCOM_1_USART_BAUD 9600
+#define CONF_SERCOM_1_USART_BAUD 6720
 #endif
 // </h>
 
@@ -603,7 +603,7 @@
 // <i> USART baud rate setting
 // <id> usart_baud_rate
 #ifndef CONF_SERCOM_2_USART_BAUD
-#define CONF_SERCOM_2_USART_BAUD 9600
+#define CONF_SERCOM_2_USART_BAUD 6720
 #endif
 // </h>
 
@@ -875,7 +875,7 @@
 // <i> USART baud rate setting
 // <id> usart_baud_rate
 #ifndef CONF_SERCOM_3_USART_BAUD
-#define CONF_SERCOM_3_USART_BAUD 9600
+#define CONF_SERCOM_3_USART_BAUD 6720
 #endif
 // </h>
 
@@ -1147,7 +1147,7 @@
 // <i> USART baud rate setting
 // <id> usart_baud_rate
 #ifndef CONF_SERCOM_4_USART_BAUD
-#define CONF_SERCOM_4_USART_BAUD 9600
+#define CONF_SERCOM_4_USART_BAUD 6720
 #endif
 // </h>
 
@@ -1419,7 +1419,7 @@
 // <i> USART baud rate setting
 // <id> usart_baud_rate
 #ifndef CONF_SERCOM_5_USART_BAUD
-#define CONF_SERCOM_5_USART_BAUD 9600
+#define CONF_SERCOM_5_USART_BAUD 6720
 #endif
 // </h>
 
@@ -1691,7 +1691,7 @@
 // <i> USART baud rate setting
 // <id> usart_baud_rate
 #ifndef CONF_SERCOM_6_USART_BAUD
-#define CONF_SERCOM_6_USART_BAUD 9600
+#define CONF_SERCOM_6_USART_BAUD 6720
 #endif
 // </h>
 

-- 
To view, visit https://gerrit.osmocom.org/13679
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I9165575404f070c7429daaa3593838d08a5c5e10
Gerrit-Change-Number: 13679
Gerrit-PatchSet: 6
Gerrit-Owner: Kévin Redon <kredon at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190417/8101731e/attachment.htm>


More information about the gerrit-log mailing list