Search found 5 matches

by david@millares.se
Wed May 04, 2022 8:14 am
Forum: General Discussion
Topic: ESP32-S3 Ethernet RMII
Replies: 8
Views: 19103

Re: ESP32-S3 Ethernet RMII

Hi, I also want to use the RMII interface in a product with a longer expected availability than ESP32 but none of the coming ESP32-S or ESP32-C have the interface.

If ESP32-S3 have had RMII that would have been an perfect fit. Are there any plans for coming chips with RMII?
by david@millares.se
Wed Jun 16, 2021 9:17 am
Forum: ESP-IDF
Topic: Wifi Driver Receive Buffer Access/Interrupt
Replies: 7
Views: 7494

Re: Wifi Driver Receive Buffer Access/Interrupt

One way is to let the wifi driver setup the interrupt handler. Then you could replace it with your own and call the "original" wmac handler. Assuming it to clear/acknowledge the interrupt properly. Example: #include <freertos/FreeRTOS.h> #include <esp_intr_alloc.h> static xt_handler wmac_xt_handler;...
by david@millares.se
Mon Jun 07, 2021 4:25 pm
Forum: ESP-IDF
Topic: esp_wifi_get_tsf_time takes "long" time to execute ~48us
Replies: 3
Views: 4566

Re: esp_wifi_get_tsf_time takes "long" time to execute ~48us

Thanks esp_timer_get_time() is way faster, around 10us (instead of 48us). I will test if that is fast enough for my application. I have tested to read it once every second in an GPIO ISR. One interesting thing is if I read it twice the second read is fast <2us Example code: static void IRAM_ATTR gpi...
by david@millares.se
Tue May 25, 2021 8:12 am
Forum: ESP-IDF
Topic: esp_wifi_get_tsf_time takes "long" time to execute ~48us
Replies: 3
Views: 4566

esp_wifi_get_tsf_time takes "long" time to execute ~48us

I try to use esp_wifi_get_tsf_time on esp32s2 to timestamp an periodic event on the connected stations. My problem is that esp_wifi_get_tsf_time takes around 48 micro-seconds to evaluate and the periodic event is faster than that (< 30us) Is there a way to speed up the reading of the TSF time? I hav...