Re: ADC glitchs - I2S - ESP32
Posted: Mon Aug 13, 2018 7:51 am
Hello
I understand your 1/2. If it' already connected it's ok, if not, you try to connect and if it's okay you return true else you return false and you retry.
For the 3, it's a good idea.
The 4, why the read call is blocking the queue ? Can we remove it just like that ?
For the 5, ok it's what I understood.
And for the 6, it's ok like you saif because of the test before.
I tried with the code in raw, modifying the "connect = false" to "connected = false" in the loop with the test on sending.
2Buffers - 512 length.
Glitchs are always here.
I tried then with 3 buffers but couldn't go in the loop after the xEvent. Same for 4 buffers. (Edit : Nevermind, I just have to restart all [TCP listen, power supply] to have it works but still glitchs, no difference)
.
I understand your 1/2. If it' already connected it's ok, if not, you try to connect and if it's okay you return true else you return false and you retry.
For the 3, it's a good idea.
The 4, why the read call is blocking the queue ? Can we remove it just like that ?
For the 5, ok it's what I understood.
And for the 6, it's ok like you saif because of the test before.
I tried with the code in raw, modifying the "connect = false" to "connected = false" in the loop with the test on sending.
2Buffers - 512 length.
Glitchs are always here.
I tried then with 3 buffers but couldn't go in the loop after the xEvent. Same for 4 buffers. (Edit : Nevermind, I just have to restart all [TCP listen, power supply] to have it works but still glitchs, no difference)
.