{"id":10562,"date":"2020-01-03T16:58:42","date_gmt":"2020-01-03T16:58:42","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=10562"},"modified":"2020-01-03T17:01:38","modified_gmt":"2020-01-03T17:01:38","slug":"esp32-vspi-hspi","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=10562","title":{"rendered":"ESP32 VSPI \/ HSPI"},"content":{"rendered":"<p><a href=\"https:\/\/docs.espressif.com\/projects\/esp-idf\/en\/latest\/api-reference\/peripherals\/spi_master.html\">SPI Master Driver<\/a><\/p>\n<p>ESP32 integrates four SPI peripherals.<\/p>\n<ul>\n<li>SPI0 and SPI1 are used internally to access the ESP32\u2019s attached flash memory and thus are currently not open to users. They share one signal bus via an arbiter.<\/li>\n<li>SPI2 and SPI3 are general purpose SPI controllers, sometimes referred to as HSPI and VSPI, respectively. They are open to users. SPI2 and SPI3 have independent signal buses with the same respective names. Each bus has three CS lines to drive up to three SPI slaves.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/github.com\/espressif\/arduino-esp32\/issues\/790\">How to use both VSPI &#038; HSPI SPI buses simultaneously? #790<\/a><br \/>\n<a href=\"https:\/\/github.com\/espressif\/arduino-esp32\/issues\/1904\">How to work\/interfacing with more than 8 SPI devices on ESP32 #1904<\/a><br \/>\n<a href=\"https:\/\/esp32.com\/viewtopic.php?t=11469\">Using multiple SPI devices with ESP32<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/espressif\/arduino-esp32\/blob\/master\/libraries\/SPI\/examples\/SPI_Multiple_Buses\/SPI_Multiple_Buses.ino\">github.com\/espressif\/arduino-esp32\/blob\/master\/libraries\/SPI\/examples\/SPI_Multiple_Buses\/SPI_Multiple_Buses.ino<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SPI Master Driver ESP32 integrates four SPI peripherals. SPI0 and SPI1 are used internally to access the ESP32\u2019s attached flash memory and thus are currently not open to users. They share one signal bus via an arbiter. SPI2 and SPI3 are general purpose SPI controllers, sometimes referred to as HSPI and VSPI, respectively. They are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10562","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10562","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10562"}],"version-history":[{"count":3,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10562\/revisions"}],"predecessor-version":[{"id":10566,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10562\/revisions\/10566"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}