[riot-notifications] [RIOT-OS/RIOT] sys/net/gnrc/netif/ethernet: Support RX timestamp (#15609)

Marian Buschsieweke notifications at github.com
Wed Jan 13 11:19:27 CET 2021


I'm wondering if for external transceivers we could use the GPIO pin connected to the IRQ output of the transceiver also to a timer. So that when an edge on the IRQ pin is detected, it will not only launch the ISR of the driver, but also get a highly precise timestamp in the timer's capture register. If the driver's ISR determines that the IRQ was caused by start of transmission / reception, it driver could fetch the captured timestamp. This way all overhead and jitter due to the ISR would be avoided for the timestamping purpose.

Reading the datasheet for e.g. STM32F7, it seems like this might be possible. But I'm not sure if the same GPIO can be used for both. (But one could simply route the IRQ output of the transceiver to two GPIOs, one for IRQ generation and one for timer capture.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15609#issuecomment-759351521
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210113/577aa914/attachment-0001.htm>


More information about the notifications mailing list