-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to read the ID of the screen chip? #127
Comments
Right now the display river only uses the MOSI signal, what register do you need to read to get the ID?
Thanks for the code snippet, I will add more display orientation options to the ST7789, I got the IPS 240x240 display to test.
I don't remember to be honest, it worked for me and I leave it like that, it doesn't work for you? I had been busy updating the code for LVGL v7 and ILI9341 and ILI9488 displays, will work on the ST7789 now that I know you are using it. |
Right now the display river only uses the MOSI signal, what register do you need to read to get the ID?Reply:Now the screen display function is written directly. Can you consider that the "littlevgl" display will have a flower screen (the display is disordered), if I regularly (for example, 3 minutes) compare the content written in and the content read out is the same? Just to be more stable. My idea is that if you read the ST7789V ID (non-zero value), if the reading fails, the chip works abnormally, you need to reset ST7789V and reinitialize. I don't remember to be honest, it worked for me and I leave it like that, it doesn't work for you?Reply:It works. I use ST7789V2 (240*320) |
No feedback, then I close this issue. |
Hi,
Is it possible to read the ID of the screen chip? No read function is defined.
I use ST7789V2
Why does ST7789V use SPI mode 2?
I modified and modified st7789.c to increase the vertical screen display:
{ST7789_MADCTL, {0x80|0x20}, 1}, // Set to 0x28 if your display is flipped
The text was updated successfully, but these errors were encountered: