Search found 2 matches

by fliptrail
Sat Sep 16, 2023 6:24 pm
Forum: ESP-IDF
Topic: Nanosecond precision packet arrival time for WiFi
Replies: 2
Views: 2972

Re: Nanosecond precision packet arrival time for WiFi

Thanks for your reply. This wouldn't work anyway. When counting CPU clock cycles, the jitter in the timing before any code actually runs in response to a WiFi event/interrupt is huge (can be dozens or even hundreds of CPU cycles). I could live with that jitter, hypothising that since my WiFi task co...
by fliptrail
Fri Sep 15, 2023 9:05 am
Forum: ESP-IDF
Topic: Nanosecond precision packet arrival time for WiFi
Replies: 2
Views: 2972

Nanosecond precision packet arrival time for WiFi

Hi everyone, To implement Time-Of-Flight scenarios, I need to know the exact packet arrival time (accurate to ESP32 clock of 240MHz - 4 nanosecond) in the promiscuous mode callback. The current `rx_ctrl->timestamp` field received in the payload is not sufficient as it is precise only to the current ...