Open ric96 opened 5 days ago
@erwango , can you help take a look as this is being tried on an ST board.
Looks like the error is coming from the driver's ls0xx_write()
function:
https://github.com/zephyrproject-rtos/zephyr/blob/022c8ee1afbc6373265ef9c0a198defa3e862247/drivers/display/ls0xx.c#L182-L185
The sample in question simply feeds the driver back what it reports through get_capabilities(): https://github.com/zephyrproject-rtos/zephyr/blob/022c8ee1afbc6373265ef9c0a198defa3e862247/samples/drivers/display/src/main.c#L203 and: https://github.com/zephyrproject-rtos/zephyr/blob/022c8ee1afbc6373265ef9c0a198defa3e862247/samples/drivers/display/src/main.c#L297-L310
The sample isn't checking for the return value of display_get_capabilities()
, so it's possible that it's failing, e.g. because there's something wrong with your board configuration or snippet.
I am trying to run the Adafruit Sharp memory display 2.7 inch on a STM32H7B0 board but cannot run the display driver sample.
here's the dt snippet I used:
And here's the error log from console:
From what I can tell from basic printf, the demo sends a fraction of the width, in this case its 100px. While that works fine with displays like the
st7735r_160x80
, its failing forls0xx_ls027b7dh01
.