-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
It's not really a bug as such because the colour grande esphome example code works, but it's using the old arduino framework. It would be much more efficient to use esp-idf, as the compiled code tends to be about half the size.
But I've had no luck getting the example code to work with the newer framework. The backlight comes on but nothing is drawn to the screen.
I'm seeing this output:
[22:44:35][C][component:164]: Setup i2c took 20ms
[22:44:35][C][component:164]: Setup spi took 0ms
[22:44:35][C][component:164]: Setup preferences took 0ms
[22:44:35][C][component:164]: Setup ledc.output took 1ms
[22:44:35][D][spi_device:393]: mode 0, data_rate 40000kHz
[22:44:35][D][esp-idf:000]: E (1808) spi_hal: spi_hal_cal_clock_conf(93): When work in full-duplex mode at frequency > 26.7MHz, devE (1827) spi_master: spi_bus_add_device(493): assigned clock speed not supported
[22:44:35]ice cannot read correct data.
[22:44:35]Try to use IOMUX pins to increase the frequency limit, or use the half duplex mode.
[22:44:35]Please note the SPI master can only work at divisors of 80MHz, and the driver always tries to find the closest frequency to your configuration.
[22:44:35]Specify ``SPI_DEVICE_NO_DUMMY`` to ignore this checking. Then you can output data at higher speed, or read data at your own r
[22:44:35][E][spi-esp-idf:203]: Add device failed - err 106
[22:44:35][W][spi-esp-idf:033]: SPI device not ready, cannot begin transactionE (1895) spi_master: check_trans_valid(1055): invalid dev handle
[22:44:35]E (1896) spi_master: check_trans_valid(1055): invalid dev handle
Just wondering whether anyone has cracked this nut and managed to get the hardware working with esp-idf. It would be great if we could, because with the arduino framework if you start using lvgl libabries for screen output you pretty soon run out of space.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels