diff options
author | Eric Wild <ewild@sysmocom.de> | 2019-11-27 15:06:11 +0100 |
---|---|---|
committer | Eric Wild <ewild@sysmocom.de> | 2019-11-28 13:10:34 +0100 |
commit | 0cc96aa142e0140af23857c45087ed58144d5fd5 (patch) | |
tree | c97eeeebf9c4598781af1e028d6762e69c70c1fe | |
parent | 70d212d72764fa1ae80d03aaf192403ba924990b (diff) |
sercom config for t1
T0 doesn't work, as the datasheet states it's synchronous, apparently to the internal clock.
That doesn't align too well with what 7816-3 says, so this already fails during the ATR after a few tries.
Change-Id: Ie6cb7ec51036f1de15c83b59d130f3cb85309594
-rw-r--r-- | sysmoOCTSIM/config/hpl_sercom_config.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sysmoOCTSIM/config/hpl_sercom_config.h b/sysmoOCTSIM/config/hpl_sercom_config.h index beac040..bb2bbff 100644 --- a/sysmoOCTSIM/config/hpl_sercom_config.h +++ b/sysmoOCTSIM/config/hpl_sercom_config.h @@ -52,7 +52,7 @@ // <i> Number of stop bits in USART frame // <id> usart_stop_bit #ifndef CONF_SERCOM_0_USART_SBMODE -#define CONF_SERCOM_0_USART_SBMODE 0 +#define CONF_SERCOM_0_USART_SBMODE 1 #endif // <o> Baud rate <1-3000000> @@ -70,7 +70,7 @@ // <i> Define ISO7816 protocol type as 0. // <id> usart_iso7816_type #ifndef CONF_SERCOM_0_USART_ISO7816_PROTOCOL_T -#define CONF_SERCOM_0_USART_ISO7816_PROTOCOL_T 0x1 +#define CONF_SERCOM_0_USART_ISO7816_PROTOCOL_T 0x0 #endif // <o> ISO7816 Inhibit Not Acknowledge @@ -324,7 +324,7 @@ // <i> Number of stop bits in USART frame // <id> usart_stop_bit #ifndef CONF_SERCOM_1_USART_SBMODE -#define CONF_SERCOM_1_USART_SBMODE 0 +#define CONF_SERCOM_1_USART_SBMODE 1 #endif // <o> Baud rate <1-3000000> @@ -342,7 +342,7 @@ // <i> Define ISO7816 protocol type as 0. // <id> usart_iso7816_type #ifndef CONF_SERCOM_1_USART_ISO7816_PROTOCOL_T -#define CONF_SERCOM_1_USART_ISO7816_PROTOCOL_T 0x1 +#define CONF_SERCOM_1_USART_ISO7816_PROTOCOL_T 0x0 #endif // <o> ISO7816 Inhibit Not Acknowledge @@ -596,7 +596,7 @@ // <i> Number of stop bits in USART frame // <id> usart_stop_bit #ifndef CONF_SERCOM_2_USART_SBMODE -#define CONF_SERCOM_2_USART_SBMODE 0 +#define CONF_SERCOM_2_USART_SBMODE 1 #endif // <o> Baud rate <1-3000000> @@ -614,7 +614,7 @@ // <i> Define ISO7816 protocol type as 0. // <id> usart_iso7816_type #ifndef CONF_SERCOM_2_USART_ISO7816_PROTOCOL_T -#define CONF_SERCOM_2_USART_ISO7816_PROTOCOL_T 0x1 +#define CONF_SERCOM_2_USART_ISO7816_PROTOCOL_T 0x0 #endif // <o> ISO7816 Inhibit Not Acknowledge @@ -868,7 +868,7 @@ // <i> Number of stop bits in USART frame // <id> usart_stop_bit #ifndef CONF_SERCOM_3_USART_SBMODE -#define CONF_SERCOM_3_USART_SBMODE 0 +#define CONF_SERCOM_3_USART_SBMODE 1 #endif // <o> Baud rate <1-3000000> @@ -886,7 +886,7 @@ // <i> Define ISO7816 protocol type as 0. // <id> usart_iso7816_type #ifndef CONF_SERCOM_3_USART_ISO7816_PROTOCOL_T -#define CONF_SERCOM_3_USART_ISO7816_PROTOCOL_T 0x1 +#define CONF_SERCOM_3_USART_ISO7816_PROTOCOL_T 0x0 #endif // <o> ISO7816 Inhibit Not Acknowledge @@ -1140,7 +1140,7 @@ // <i> Number of stop bits in USART frame // <id> usart_stop_bit #ifndef CONF_SERCOM_4_USART_SBMODE -#define CONF_SERCOM_4_USART_SBMODE 0 +#define CONF_SERCOM_4_USART_SBMODE 1 #endif // <o> Baud rate <1-3000000> @@ -1158,7 +1158,7 @@ // <i> Define ISO7816 protocol type as 0. // <id> usart_iso7816_type #ifndef CONF_SERCOM_4_USART_ISO7816_PROTOCOL_T -#define CONF_SERCOM_4_USART_ISO7816_PROTOCOL_T 0x1 +#define CONF_SERCOM_4_USART_ISO7816_PROTOCOL_T 0x0 #endif // <o> ISO7816 Inhibit Not Acknowledge @@ -1412,7 +1412,7 @@ // <i> Number of stop bits in USART frame // <id> usart_stop_bit #ifndef CONF_SERCOM_5_USART_SBMODE -#define CONF_SERCOM_5_USART_SBMODE 0 +#define CONF_SERCOM_5_USART_SBMODE 1 #endif // <o> Baud rate <1-3000000> @@ -1430,7 +1430,7 @@ // <i> Define ISO7816 protocol type as 0. // <id> usart_iso7816_type #ifndef CONF_SERCOM_5_USART_ISO7816_PROTOCOL_T -#define CONF_SERCOM_5_USART_ISO7816_PROTOCOL_T 0x1 +#define CONF_SERCOM_5_USART_ISO7816_PROTOCOL_T 0x0 #endif // <o> ISO7816 Inhibit Not Acknowledge @@ -1684,7 +1684,7 @@ // <i> Number of stop bits in USART frame // <id> usart_stop_bit #ifndef CONF_SERCOM_6_USART_SBMODE -#define CONF_SERCOM_6_USART_SBMODE 0 +#define CONF_SERCOM_6_USART_SBMODE 1 #endif // <o> Baud rate <1-3000000> @@ -1702,7 +1702,7 @@ // <i> Define ISO7816 protocol type as 0. // <id> usart_iso7816_type #ifndef CONF_SERCOM_6_USART_ISO7816_PROTOCOL_T -#define CONF_SERCOM_6_USART_ISO7816_PROTOCOL_T 0x1 +#define CONF_SERCOM_6_USART_ISO7816_PROTOCOL_T 0x0 #endif // <o> ISO7816 Inhibit Not Acknowledge |