is there any way to set the CS pin of the HSPI interface as an GPIO while the other HSPI pins are driven by the hardware? For the SPI interface I found the following:
Code: Select all
SET_PERI_REG_MASK(SPI_PIN(...), SPI_CS0_DIS | SPI_CS1_DIS | SPI_CS2_DIS);
But there is no HSPI_CS_DIS and as soon as I try to use CS as an GPIO, HSPI doesn't seem to work at all anymore.
Code: Select all
PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTDO_U, FUNC_GPIO15);
The problem is that I cannot change the connections anymore.
Thanks in advance for your responses!