Question about HSPI interface

cap
Posts: 13
Joined: Tue Mar 29, 2016 7:23 pm

Question about HSPI interface

Postby cap » Tue Aug 16, 2016 10:34 pm

Hello!

Is the HSPI API an implemented of mSPI as described in https://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus#mspi? The description of mSPI seems to match with that of the ESP in that only one CS line is needed and that every transaction starts with the device's address. Whether or not mSPI is there an overview of the HSPI on ESP that describes it independent of the API?

pratik

Re: Question about HSPI interface

Postby pratik » Thu Aug 18, 2016 10:41 am

Hello,

Yes, the ESP8266 HSPI is compatible with the Microchip SPI bus specifications. The command, address, dummy and data phases of the transmission are all optional and length is also variable. So you may configure it in any way that suits your application.
The CPOL and CPHA bits are also the same as in that Wikipedia article.

Who is online

Users browsing this forum: No registered users and 303 guests