i2c sync transmit minimum time

eco747
Posts: 2
Joined: Fri Apr 22, 2016 4:57 pm

i2c sync transmit minimum time

Postby eco747 » Thu Sep 05, 2024 8:55 am

Hello,

I'm using i2c_master_transmit on an ESP32S3 / latest IDF.
Sync transmission is using an event, and events timing are dependent of the RTOS task switching time (10ms).

So I cannot send i2c commands faster that every 10ms (without changing CONFIG_FREERTOS_HZ).

Any comment about that ?

Regards
Etienne

MicroController
Posts: 1700
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: i2c sync transmit minimum time

Postby MicroController » Fri Sep 06, 2024 8:13 am

eco747 wrote:
Thu Sep 05, 2024 8:55 am
Sync transmission is using an event,
More accurate would be to say that it uses a FreeRTOS queue.
and events timing are dependent of the RTOS task switching time (10ms).
This assumption is incorrect.

Who is online

Users browsing this forum: No registered users and 38 guests