Can the ESP32S3 adjust the spi clock speed below 78.7 kHz?
Posted: Sat Feb 18, 2023 12:04 pm
I tried to connect ESP32S3 to 74HC165 by Logic level shifter 3.3 to 5 vdc bidirectional and tested to get data from 165 it didn't work. What I think is because clock speed is 78.7 kHz and cannot set clock speed lower than 78.7. kHz how to solve the problem?
Code: Select all
spi_device_interface_config_t devcfg={
.clock_speed_hz=1000, //Clock out at 1000 Hz
.mode=0, //SPI mode 0
.spics_io_num=PIN_NUM_CS, //CS pin
.queue_size=1 //We want to be able to queue 1 transactions at a time
};