Page 1 of 1

Read TSF from an ISR in a SoftAP?

Posted: Thu Sep 14, 2023 10:48 pm
by geedotk
Is there any safe way to read the SoftAP TSF value from within an ISR? If I'm running STA code, I have been able to call esp_mesh_get_tsf_time from within an ISR and I haven't seen any problems. However, if I'm running SoftAP code, I can't call esp_wifi_get_tsf_time(WIFI_IF_AP) from within an ISR or it causes problems maintaining a connection. Is there any other way of reading the SoftAP TSF?