With the following initialization I do see a 40Mhz clock on my scope:
disp = ili9341(spihost=2, miso=19, mosi=23, clk=18,
cs=12, dc=14, rst=13, power=-1, backlight=-1,
mhz=40, factor=16, hybrid=True)
I did not add SPI_DEVICE_NO_DUMMY
, but I am using the iomux pins. ESP-IDF 4.0.1.
Go figure…