Open mmMicky opened 2 years ago
It seems normal that it sends a small amount of data. In the example, the length is 194 x 110 x 2 x 16=682,880(bit). Only a small number of messages are sent.
Looks like some 16KiB transaction limitation ? 150109 = 16350 (< 16384) 150110 = 16500 (> 16384) , 116 bytes over , maybe only those got sent ? From ESP-IDF SPI Master: "Maximum transfer size, in bytes. Defaults to 4092 if 0 when DMA enabled..." maybe it got *4 because of QSPI type of transaction
Hi, I meet the same issue, when my data is more than 32,000 bytes
like 34,000
big, it'll only send 2,000
byte. But it's normal when I send 34,000
bytes one by one
I get the same issue too but it seems to behave a little differently, when I transfer a large amount of data, the QSPI bus will stall every 32768
byte and an error will occur when the transmitted data is greater than 32768 * 8
bytes.
E (1627) lcd_panel.io.spi: panel_io_spi_tx_color(387): spi transmit (queue) color failed
is esp32s3 max dma transfer size 32768 bytes?
Board
ESP32-S3-WROOM-1U
Device Description
The pins are connected via board jumpers.
Hardware Configuration
define PIN_LCD_TE 11
define PIN_LCD_CS 6
define PIN_LCD_CLK 7
define PIN_LCD_D0 8
define PIN_LCD_D1 18
define PIN_LCD_D2 17
define PIN_LCD_D3 16
define PIN_LCD_RES 15
Version
v2.0.5
IDE Name
PlatformIO
Operating System
windows 10
Flash frequency
80
PSRAM enabled
yes
Upload speed
115200
Description
Use ESP32-S3 to drive SH1106 chip in QSPI mode. SH1106 is mostly the same as ST7789, but needs to use QSPI to drive. When I send data, I need to set the size of the form and then send the pixel data. Problem: Works fine when I send an image size of 150x109. The waveform I captured is shown below.
When I send the image size is 150x110. The waveform is as shown below. The ESP32-S3 only sent a small amount of data. It looks like there is only one line on the screen.
I have set max_transfer_sz to 3,862,536 (longer than the image data length) at initialization.
Sketch
Debug Message
Other Steps to Reproduce
LCD.zip
I have checked existing issues, online documentation and the Troubleshooting Guide