PIC32MX and NHD-2.4-240320CF Questions?
Alright so I'm trying to use the sample code from the NHD-2.4-240320CF-CTXI#-FT on a PIC32MX. But when I run it would seem to just be a blank white screen(same as when its powered on).
16bit parallel interface
my question is...
If I wired all my PORTH bits with the data bits on the display unit, or do I now have the upper and lower 8 bits backwards?
PORTH.0 => DB0
PORTH.1 => DB1
PORTH.2 => DB2
PORTH.3 => DB3
PORTH.4 => DB4
PORTH.5 => DB5
PORTH.6 => DB6
PORTH.7 => DB7
PORTH.8 => DB8
PORTH.9 => DB9
PORTH.10 => DB10
PORTH.11 => DB11
PORTH.12 => DB12
PORTH.13 => DB13
PORTH.14 => DB14
PORTH.15 => DB15
Also is there any known library for PICs?
16bit parallel interface
my question is...
If I wired all my PORTH bits with the data bits on the display unit, or do I now have the upper and lower 8 bits backwards?
PORTH.0 => DB0
PORTH.1 => DB1
PORTH.2 => DB2
PORTH.3 => DB3
PORTH.4 => DB4
PORTH.5 => DB5
PORTH.6 => DB6
PORTH.7 => DB7
PORTH.8 => DB8
PORTH.9 => DB9
PORTH.10 => DB10
PORTH.11 => DB11
PORTH.12 => DB12
PORTH.13 => DB13
PORTH.14 => DB14
PORTH.15 => DB15
Also is there any known library for PICs?
0
-
Hi Zezem,
For PORTH.0 to PORTH.15, DB0 to DB16 is the correct order for 16-bit mode.
8-bit mode will only use DB8 to DB15.
Unfortunately we do know of a good library to use that supports the PIC32MX but you may find a generic library for the onboard ST7789Vi controller used in this display that will help get you going.
Best Regards,0 -
Take a look at the "controllerless" versionĀ of the PIC graphics libraries Microchip provides. You will have to refresh all the pixels on the screen at your desired refresh rate. You will also need enough ram for one full screen of pixels = 240 x 320 x 2 bytes/pixel = >150k bytes. If that is too much you might have to use an external graphics chip like an Epson or BRTChip (which I use).
0
Please sign in to leave a comment.
Comments
2 comments