Arduino SPI and Shiftin Shiftout

Is it possible to use both SPI and Shiftin function in a code, when I enable SPI.setClockDivider(SPI_CLOCK_DIV4) and use Shiftin together, the code is not flashed on the board.
When I disable SPI, the code is flashed successfully, individually both SPI and Shiftin works, when I disable one or the other.

The development board is ESP32.

Are you using SPI code and shiftIn() on the same pins?

No they both are on the separate pins.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.