求助!ESP32-C6 SPI2 配置80Mhz失败

zihaocai
Posts: 1
Joined: Wed Mar 20, 2024 6:56 am

求助!ESP32-C6 SPI2 配置80Mhz失败

Postby zihaocai » Wed Mar 20, 2024 7:08 am

实验环境:
1. ESP-IDF V5.2.1 example/spimaster/lcd
2. ESP32-C6-DevKitC-1
3. IO PIN config follow IOMUX:

main\spi_master_example_main.c

#define LCD_HOST SPI2_HOST
#define PIN_NUM_MISO 2
#define PIN_NUM_MOSI 7
#define PIN_NUM_CLK 6
#define PIN_NUM_CS 16

.clock_speed_hz = 60 * 1000 * 1000,

SPI CLK时钟锁定在了40Mhz,和我设置的60Mhz不一致,我也查看了官方文档的参考,如果用IOMUX专用PIN。应该试可以跑到80Mhz,但是实际上没有达到。有人可以解答我的困惑吗?

Who is online

Users browsing this forum: No registered users and 171 guests