SPI support for AT commands?
SPI support for AT commands?
Postby edpeckham » Fri Aug 19, 2016 6:26 pm
Re: SPI support for AT commands?
Postby pratik » Tue Aug 23, 2016 4:04 pm
This can be done with the current AT firmware as well, with any module such as ESP-WROOM-02, ESP-12 etc. You just need to write code for accepting the command via HSPI port and not serial port.
Re: SPI support for AT commands?
Postby tilz0R » Sun Oct 30, 2016 3:24 am
UART is async between TX and RX, where SPI is not and master always makes transmission.
How does ESP notify user about new data to read via SPI?
How do we know how many bytes is ready to be read from ESP?
These are important facts no-where explained.
Saying "SPI is possible too" is not enough because SPI works totally other way than UART.
I hope I get my answers.
Re: SPI support for AT commands?
Postby pratik » Wed Nov 02, 2016 1:04 pm
Officially, there is the SDIO firmware available with the latest nonOS SDK. An SDIO host controller would typically support that directly. You may see the documentation soon though.
As for SPI based communication, you need to implement a mechanism to interrupt the host if ESP8266 is used as SPI slave. Or you may read the status frequently using slave commands. There is no official release for this at this time, probably because that kind of setup is not very practical. I mean... if your host MCU has 512 bytes RAM, having SPI or UART makes no practical difference in most cases. So right now that is a possibility left out for developers who have such highly specific needs.
As with custom AT firmware, you may even combine SPI and UART and use SPI only for block transfers. Endless possibilities! But then it is all application specific.
Re: SPI support for AT commands?
Postby tilz0R » Wed Nov 02, 2016 1:51 pm
When working with SDIO, I'm sure you need that capability of interrupt too, because host MCU is your master.
Anyway, if you will publish SPI based AT command communication (or not AT, maybe something else) with official software, that would be great.
Re: SPI support for AT commands?
Postby pratik » Thu Nov 03, 2016 12:49 pm
By the way, I might create SPI based AT firmware as a personal project if it seems to be worth the effort (will take a week's worth of work).
By the way, SDIO specs include an interrupt mechanism.

-
- Posts: 2
- Joined: Tue Dec 27, 2016 2:28 pm
Re: SPI support for AT commands?
Postby nirajmahapatro » Tue Dec 27, 2016 2:30 pm
I am working on a similar requirement.
Have you made any update on the SPI based AT+command set implementation?
Re: SPI support for AT commands?
Postby pratik » Tue Dec 27, 2016 10:47 pm
You may post on the Free Market section of the forum regarding this and someone will surely help you out! Using SDKs is better than porting the AT firmware itself. Freelancers are the way to go for this.
Re: SPI support for AT commands?
Postby pratik » Sun Feb 12, 2017 1:51 pm
I will get back to one of your posts when I find out, please allow some time.

Who is online
Users browsing this forum: No registered users and 167 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.