[help]spi pin number
Posted: Wed Mar 22, 2017 7:46 am
Hi
i am trying to use spi.
the pins:
But the function "spi_bus_initialize()" reports "Guru Meditation Error".
it stopped at "gpio_set_direction()" in spi_master.c.
i found esp32 stopped when i use "gpio_set_direction(8,GPIO_MODE_OUTPUT)".
whether i have to change pins or not?
i am trying to use spi.
the pins:
Code: Select all
#define PIN_NUM_MISO 7
#define PIN_NUM_MOSI 8
#define PIN_NUM_CLK 6
#define PIN_NUM_CS 11
it stopped at "gpio_set_direction()" in spi_master.c.
i found esp32 stopped when i use "gpio_set_direction(8,GPIO_MODE_OUTPUT)".
whether i have to change pins or not?