how to reset spi bus on esp32-wroom module

sushenghua@msn.com
Posts: 3
Joined: Fri Oct 13, 2017 9:58 am

how to reset spi bus on esp32-wroom module

Postby sushenghua@msn.com » Sat Oct 14, 2017 2:35 am

We are doing a project that: sampling sensor data from UART and I2C ---> display value on LCD by SPI and send data to remote by Wifi

This project using framework esp-idf on module esp32-wroom. We use a separate task to render screen, that means this task's only purpose is to call function "spi_device_transmit"(defined in "spi_master.h") in its loop

We now have a problem on SPI display, the function "spi_device_transmit" sometimes(in hours or a day) get blocked, that causes the screen stops updating.

Anyone who has ever experienced this kind of issue? Is there any way to reset SPI bus without hard-reset(let EN pin connect to GND) the module?

Thanks

Who is online

Users browsing this forum: No registered users and 91 guests