ESP32-S3 SPICLK_DIFF Enable

especiallyconfused
Posts: 1
Joined: Sun Jan 29, 2023 4:11 am

ESP32-S3 SPICLK_DIFF Enable

Postby especiallyconfused » Sun Jan 29, 2023 4:19 am

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

ESP_michael
Posts: 37
Joined: Mon Aug 28, 2017 10:25 am

Re: ESP32-S3 SPICLK_DIFF Enable

Postby ESP_michael » Mon Jan 30, 2023 5:05 pm

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

Who is online

Users browsing this forum: No registered users and 30 guests