Is the SPI flash module's CS pin exposed on ESP-12E module?

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
User avatar
liudr
Posts: 211
Joined: Tue Oct 17, 2017 5:18 am

Re: Is the SPI flash module's CS pin exposed on ESP-12E module?

Post by liudr » Sun Oct 22, 2017 5:46 pm

deshipu wrote:
Fri Oct 20, 2017 1:20 pm
It's actually traditional to use gpio 15 for cs, as it's what used for cs when it's handled in hardware (of course, in our case we handle it ourselves, so you can use any pin, but since gpio 15 is already marked as cs...).
Do you mean that the SPI bus for sd card is software instead of hardware? Thanks.

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: Is the SPI flash module's CS pin exposed on ESP-12E module?

Post by deshipu » Sun Oct 22, 2017 6:17 pm

No, both SPI and HSPI are hardware, but the MicroPython implementation of SPI doesn't do CS toggling in SPI hardware – instead the drivers need to toggle that pin separately as a normal GPIO pin.

Post Reply