nt35510: fix setting of DPRSLCTR register

As described in the NT35510 Application Note V0.04, the DPRSLCTR register
(Display Resolution Control - B500h) needs to be set to 50h for the 480x800
display resolution.

The same patch has already been submitted and merged into the STM32CubeF7
project:
72e73bbb41

Fixes: d599a824df ("Release v1.26.0")
Signed-off-by: Dario Binacchi <dariobin@libero.it>
This commit is contained in:
Dario Binacchi 2024-02-07 18:15:58 +01:00 committed by Ali LABBENE
parent ec87441845
commit f85ae69e88
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ uint8_t NT35510_Init(uint32_t ColorCoding, uint32_t orientation)
const uint8_t nt35510_reg16[] = {0x55, 0xAA, 0x52, 0x08, 0x00, 0xF0};
const uint8_t nt35510_reg17[] = {0xFC, 0x00, 0xB1};
const uint8_t nt35510_reg18[] = {0xB6, 0x03};
const uint8_t nt35510_reg19[] = {0xB5, 0x51};
const uint8_t nt35510_reg19[] = {0xB5, 0x50};
const uint8_t nt35510_reg20[] = {0x00, 0x00, 0xB7};
const uint8_t nt35510_reg21[] = {0x01, 0x02, 0x02, 0x02, 0xB8};
const uint8_t nt35510_reg22[] = {0x00, 0x00, 0x00, 0xBC};