Skip to content

Unable to initialize larger display sizes with Matrix Portal S3 #8846

@identifystation

Description

@identifystation

CircuitPython version

Adafruit CircuitPython 8.2.9 on 2023-12-06; Adafruit MatrixPortal S3 with ESP32S3

Code/REPL

import board
import displayio
import framebufferio
import rgbmatrix

displayio.release_displays()

matrix = rgbmatrix.RGBMatrix(
    width=320,
    tile=5,
    bit_depth=1,
    serpentine=True,
    doublebuffer=True,
    addr_pins=board.MTX_ADDRESS[:4],
    **board.MTX_COMMON,
)

display = framebufferio.FramebufferDisplay(matrix)

Behavior

I'm attempting to use a MatrixPortal S3 to initialize a 320x160 display made up of 25 64x32 LED panels in a 5x5 configuration. Doing so produces the error ValueError: framebuffer length must be >= 102400.

If I change the size to 320x96 with tile=3, things work as expected.

Description

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions