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

Kévin Redon gerrit-no-reply at lists.osmocom.org
Tue Apr 16 23:29:22 UTC 2019


Kévin Redon has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/79/13679/1

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: newchange
Gerrit-Change-Id: I9165575404f070c7429daaa3593838d08a5c5e10
Gerrit-Change-Number: 13679
Gerrit-PatchSet: 1
Gerrit-Owner: Kévin Redon <kredon at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190416/6d24159c/attachment.html>


More information about the gerrit-log mailing list