when to provide spi peripherals driver?

long585
Posts: 11
Joined: Mon Dec 26, 2016 8:19 am

when to provide spi peripherals driver?

Postby long585 » Wed Jan 04, 2017 2:05 am

now,only have spi-flash driver

ESP_Angus
Posts: 1817
Joined: Sun May 08, 2016 4:11 am

Re: when to provide spi peripherals driver?

Postby ESP_Angus » Wed Jan 04, 2017 8:31 pm

The SPI master driver will be in esp-idf v2.0, due for release in the next two weeks.

long585
Posts: 11
Joined: Mon Dec 26, 2016 8:19 am

Re: when to provide spi peripherals driver?

Postby long585 » Thu Jan 05, 2017 12:40 am

ESP_Angus wrote:The SPI master driver will be in esp-idf v2.0, due for release in the next two weeks.
At that time can provide spi DMA Interruption example ?

ESP_Sprite
Posts: 2832
Joined: Thu Nov 26, 2015 4:08 am

Re: when to provide spi peripherals driver?

Postby ESP_Sprite » Thu Jan 05, 2017 3:03 am

The SPI driver will actually be fully capable of interrupt-driven DMA transfers. You basically feed it the transfers you want it to do using a queue and it will give you back the transfers it finished using another queue.

long585
Posts: 11
Joined: Mon Dec 26, 2016 8:19 am

Re: when to provide spi peripherals driver?

Postby long585 » Thu Jan 05, 2017 6:25 am

ESP_Sprite wrote:The SPI driver will actually be fully capable of interrupt-driven DMA transfers. You basically feed it the transfers you want it to do using a queue and it will give you back the transfers it finished using another queue.
Thanks for your swift response

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: when to provide spi peripherals driver?

Postby kolban » Tue Jan 10, 2017 10:26 pm

The SPI master driver is now available in the latest ESP-IDF.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: Baidu [Spider], kuhatovuk, Mark1D and 28 guests