SPI Master Driver initialization via AT-commands
Posted: Thu Sep 01, 2022 11:02 am
Hello,
I am using ESP32-WROOM-32E and trying to read/write to external flash memory via SPI using AT-commands:
AT+DRVSPICONFIGPIO
AT+DRVSPIINIT
AT+DRVSPIRD
AT+DRVSPIWR
https://docs.espressif.com/projects/esp ... mands.html
I configured the AT firmware (./build.py menuconfig -> Component config -> AT):
It seems that GPIO configuration (AT+DRVSPICONFIGPIO) works, it returns OK, but I keep getting ERROR when I try to initialize SPI Master Driver (AT+DRVSPIINIT). I tried with many clock speeds, SPI modes, etc. I always get ERROR.
I have also tried several different AT firmware configurations (default, all AT command sets on...)
Does anyone have idea what could be a problem?
I am using ESP32-WROOM-32E and trying to read/write to external flash memory via SPI using AT-commands:
AT+DRVSPICONFIGPIO
AT+DRVSPIINIT
AT+DRVSPIRD
AT+DRVSPIWR
https://docs.espressif.com/projects/esp ... mands.html
I configured the AT firmware (./build.py menuconfig -> Component config -> AT):
It seems that GPIO configuration (AT+DRVSPICONFIGPIO) works, it returns OK, but I keep getting ERROR when I try to initialize SPI Master Driver (AT+DRVSPIINIT). I tried with many clock speeds, SPI modes, etc. I always get ERROR.
I have also tried several different AT firmware configurations (default, all AT command sets on...)
Does anyone have idea what could be a problem?