Hi guys. I am working on one device which has two controllers, ble module and ESP32 module.I am switching on and off esp32 using ble. When I need to send the data, I switch on esp32, send the data and switch off. Then ble goes to sleep mode.I am using transistor whose collector is connected to EN pin of esp32 to switch on and off the esp32. But Vcc and gnd remain connected. So, kindly suggest if this setup can really switch off esp32, means no current flow through esp32.I appreciate your suggestions.
I am using another module for ble, and esp is for wifi.