Page 1 of 1

ESP32-S3 SPICLK_DIFF Enable

Posted: Sun Jan 29, 2023 4:19 am
by especiallyconfused
Hello,

I would like to utilize the SPI differential clock output in the ESP32-S3. Unfortunately I cannot find any documentation anywhere on how to enable the feature- none in the technical reference manual, none in ESP-IDF, and none from googling. Is there any way to use this feature?

Image

Re: ESP32-S3 SPICLK_DIFF Enable

Posted: Mon Jan 30, 2023 5:05 pm
by ESP_michael
Hi especiallyconfused,

There is a register SPI_MEM_SPI_FMEM_CLK_DIFF_EN. When this is enabled, the DIFF clock will be enabled.

After that, you need to switch the IOMUX of GPIO 47 and 48 by `PIN_FUNC_SELECT(IO_MUX_GPIO47_REG, FUNC_SPICLK_P_SPICLK_DIFF);`, etc.

btw, maybe you need to do this when the cache is disabled. Do this in the place where MSPI is initialized