Very Slow GPIO
Posted: Sun May 29, 2016 9:03 am
Change the state of the port is a very, very long.
Time change is more than 2ms, why so long?
I need to generate a GPIO course of 50us, and it is not feasible.
01000001001110101000001000110111110001001
Every bit is to have 50us. How to do it?
ESP is set, max speed 160MHz
Code: Select all
for i=1 to 100
ow 2 0
ow 2 1
next i
Time change is more than 2ms, why so long?
I need to generate a GPIO course of 50us, and it is not feasible.
01000001001110101000001000110111110001001
Every bit is to have 50us. How to do it?
ESP is set, max speed 160MHz