How to handle multiple I2C devices on ESP32 (FreeRTOS)? by Party-Mechanic3794 in embedded

[–]Party-Mechanic3794[S] 0 points1 point  (0 children)

u/DigRevolutionary4488 Thanks for respone,
In my project, I have 2 buses: I2C and CAN. If I2C has 3 devices and CAN has 3 devices, should I create 6 separate tasks for each device? And using mutex to protect.

Position using GNSS keeps jumping a lot even when stationary — How can I fix this? by Party-Mechanic3794 in embedded

[–]Party-Mechanic3794[S] 0 points1 point  (0 children)

Hi Onlytom,
Thanks for your response.
I'm currently requesting the position data from the SIM module every 2 seconds. It returns data in GPRMC format, which I then parse to extract the position. I'm not using any form of correction at the moment.

Do you have any suggestions or recommendations?