Page 1 of 1

Problem with i2s_driver_unistall(1)

Posted: Thu Mar 21, 2019 11:59 am
by JPMJPM
Hi,

I have 2 tasks (A and B) doing different stuff related to I2S interface number 1.

There is an additional task (C) that selects which task has to work, A or B.

Assuming that task A is running, task C do this to run task B :

* i2s_driver_unistall(1)
* delete task A
* create task B

The problem is that i2s_driver_unistall(1) causes ESP32 to freeze.

Any help ?, thanks.