Skip to content

Problem with panels of over 32768 pixels size #755

Open
@rigorka

Description

I know I'm kinda on my own with the panels of this size, but still - any advice on where to look at would be much appreciated.
Here's the deal: I have a lot of 32x32 px 1/8 panels (simple SHIFTREG driver), ESP32S3 with 8Mb PSRAM, and I'm trying to create a fairly big screen. I don't need much of a color depth, so I set that to 3.

It works great up to the size of 3x10 panels (30720 pixels). Any size bigger than that, such as 4x8 panels (32768 px) produces random garbage on the panels. The memory size should not be an issue: at 3 bpp color it only allocates about 96kB even with the double buffering enabled.

What worries me, is this weird 32768 px threshold. It is almost as if signed int is used somewhere instead of unsigned int. But where?...

UPD: "Single line" configurations up to 1 row of 31 panels (31744 pixels) work great, but 1 row of 32 panels (32768 pixels) breaks.

Metadata

Assignees

No one assigned

    Labels

    not an issue with libraryThis library works as expected, but something else is the root cause, such as AdaFruitGFX

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions