Change in osmo-ccid-firmware[master]: the magic sauce that makes it work

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/.

Hoernchen gerrit-no-reply at lists.osmocom.org
Tue Nov 26 18:39:15 UTC 2019


Hoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16250 )


Change subject: the magic sauce that makes it work
......................................................................

the magic sauce that makes it work

1mio concurrent select mf transfers, 5mhz, fi/di 512/32

Change-Id: I25ba236b5a3a2c876ace4ca4398061889b4a9bff
---
M sysmoOCTSIM/hpl/sercom/hpl_sercom.c
1 file changed, 4 insertions(+), 0 deletions(-)



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

diff --git a/sysmoOCTSIM/hpl/sercom/hpl_sercom.c b/sysmoOCTSIM/hpl/sercom/hpl_sercom.c
index 272fb07..7373962 100644
--- a/sysmoOCTSIM/hpl/sercom/hpl_sercom.c
+++ b/sysmoOCTSIM/hpl/sercom/hpl_sercom.c
@@ -589,6 +589,8 @@
 
 	if (hri_sercomusart_get_interrupt_DRE_bit(hw) && hri_sercomusart_get_INTEN_DRE_bit(hw)) {
 		hri_sercomusart_clear_INTEN_DRE_bit(hw);
+		hri_sercomusart_read_DATA_reg(hw);
+		hri_sercomusart_clear_INTFLAG_RXC_bit(hw);
 		device->usart_cb.tx_byte_sent(device);
 	} else if (hri_sercomusart_get_interrupt_TXC_bit(hw) && hri_sercomusart_get_INTEN_TXC_bit(hw)) {
 #if 0
@@ -598,6 +600,8 @@
 				gpio_set_pin_level(PIN_PB12, false);
 #endif
 		hri_sercomusart_clear_INTEN_TXC_bit(hw);
+		hri_sercomusart_read_DATA_reg(hw);
+		hri_sercomusart_clear_INTFLAG_RXC_bit(hw);
 		device->usart_cb.tx_done_cb(device);
 	} else if (hri_sercomusart_get_interrupt_RXC_bit(hw)) {
 		if (hri_sercomusart_read_STATUS_reg(hw)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16250
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I25ba236b5a3a2c876ace4ca4398061889b4a9bff
Gerrit-Change-Number: 16250
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191126/8495924b/attachment.htm>


More information about the gerrit-log mailing list