1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

[spi] Implement octal mode (#8386)

This commit is contained in:
Clyde Stubbs
2025-04-09 09:07:59 +10:00
committed by GitHub
parent 6240bfff97
commit a866370a2e
5 changed files with 88 additions and 56 deletions

View File

@@ -1,22 +1,36 @@
spi:
- id: spi_id_1
type: single
clk_pin:
number: GPIO0
ignore_strapping_warning: true
allow_other_uses: false
mosi_pin: GPIO6
interface: hardware
- id: quad_spi
type: quad
interface: spi3
clk_pin: 47
clk_pin:
number: 47
data_pins:
- number: 40
allow_other_uses: false
- 41
- 42
- 43
- allow_other_uses: true
number: 40
- allow_other_uses: true
number: 41
- allow_other_uses: true
number: 42
- allow_other_uses: true
number: 43
- id: octal_spi
type: octal
interface: hardware
clk_pin:
number: 0
data_pins:
- 36
- 37
- 38
- 39
- allow_other_uses: true
number: 40
- allow_other_uses: true
number: 41
- allow_other_uses: true
number: 42
- allow_other_uses: true
number: 43
- id: spi_id_3
interface: any
clk_pin: 8