Search found 5 matches

by metalphreak
Tue May 12, 2015 11:25 am
Forum: ESP8266 HDK
Topic: HSPI Chip Select Polarity
Replies: 1
Views: 2923

HSPI Chip Select Polarity

I have an SPI device that requires CS be active high rather than the default active low. Is there a configuration bit to change the polarity of the HSPI CS pin?
by metalphreak
Wed May 06, 2015 9:18 pm
Forum: Report Bugs
Topic: softAP + station - DHCP server issues [fixed]
Replies: 0
Views: 3919

softAP + station - DHCP server issues [fixed]

I had an issue where the ESP8266 is in combined mode (0x03): if I set the softAP to channel 1, and then connected in station mode to an AP that wasn't on channel 1, I would no longer get DHCP issued IPs over the softAP network. The softAP would change channel automatically to match the station chann...
by metalphreak
Sat May 02, 2015 1:04 pm
Forum: Showcase
Topic: ESP8266 SPI (Master) & MCP23S17 as PortExpander (Slave)
Replies: 6
Views: 12849

Re: ESP8266 SPI (Master) & MCP23S17 as PortExpander (Slave)

I'm using the latest SDK (esp_iot_sdk_v1.0.1_15_04_24).
by metalphreak
Wed Apr 29, 2015 9:11 pm
Forum: Showcase
Topic: 16 GPIO Output control over TCP connection using MCP23S17
Replies: 0
Views: 3677

16 GPIO Output control over TCP connection using MCP23S17

https://github.com/MetalPhreak/ESP8266_GPIO16_TCP_Example Microchip MCP23S17 SPI GPIO expander connected over the hardware HSPI module. TCP Listener configured on port 33333. Send it a 2 byte command to turn the outputs on or off. echo -ne '\xFF\xFF' | nc 192.168.5.1 33333 Could easily be expanded t...
by metalphreak
Wed Apr 29, 2015 7:20 pm
Forum: Showcase
Topic: ESP8266 SPI (Master) & MCP23S17 as PortExpander (Slave)
Replies: 6
Views: 12849

Re: ESP8266 SPI (Master) & MCP23S17 as PortExpander (Slave)

If you want to use the hardware SPI module, I've written both an SPI driver and a library that uses it for the MCP23S17:

https://github.com/MetalPhreak/ESP8266_SPI_Driver

https://github.com/MetalPhreak/ESP8266_MCP23S17

Enjoy :D

Go to advanced search