Hello Ben,
I'd like to ask for a little help.
I tried to install a firmware that uses the ST7789 display on the PIC32MX270F256D MCU.
This code on STM32F446RE run before, the display have worked correctly.
If I use the PIC32, the MCU sends the following command immediately after the SWRESET (01h) and SLPOUT (11h) commands during initialization. For some reason, there is no delay after the first two instructions. There is no time left for the display to process these instructions. The display isn't working.
For STM32, there is a pause of about 150 ms after the SWRESET instruction and about 500 ms after the SLPOUT instruction when the initialization component macro has run. The display is working.
Thank you in advance for your help.
Best Regards,
Sasi
ST7789 Initialization problem with PIC32MX270F256D MCU
-
- Posts: 117
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 12:11 pm
- Has thanked: 39 times
- Been thanked: 14 times
Re: ST7789 Initialization problem with PIC32MX270F256D MCU
Hello,
The source of the problem is in the "PIC32BIT_CAL_Delay.c" file.
Works fine after the next modification.
(Thus, the "DELAY command" will also work if the "delay value" is greater than 127 ms.)
Please fix it.
Best Regards,
Sasi
The source of the problem is in the "PIC32BIT_CAL_Delay.c" file.
Works fine after the next modification.
(Thus, the "DELAY command" will also work if the "delay value" is greater than 127 ms.)
Please fix it.
Best Regards,
Sasi