If I2C protected again multible access
Posted: Sat May 11, 2019 3:11 am
Hello,
i have 3 Task. They all try to access I2C.
Currently if this happen i get
CORRUPT HEAP: Bad head at 0x3ffece18. Expected 0xabba1234 got 0x3ffed320
assertion "head != NULL" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/heap/multi_heap_poisoning.c", line 214, function: multi_heap_free
abort() was called at PC 0x400f789b on core 1
Do i have to avoid multible access with semaphore ?. Or is this already implemented in I2C driver
thanks
i have 3 Task. They all try to access I2C.
Currently if this happen i get
CORRUPT HEAP: Bad head at 0x3ffece18. Expected 0xabba1234 got 0x3ffed320
assertion "head != NULL" failed: file "/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/heap/multi_heap_poisoning.c", line 214, function: multi_heap_free
abort() was called at PC 0x400f789b on core 1
Do i have to avoid multible access with semaphore ?. Or is this already implemented in I2C driver
thanks