Teensy 4.0 - MPU/8080 support with i.MX RT1060

Status
Not open for further replies.

Stefan

Member
Hello Forum,

i want to explore the possibilities of driving 16bit parallel LCDs hardware accelerated with Teensy 4.0. I found nothing directly related on the forum. Please let me know, if i missed it.

First of all, thanks Paul Stoffregen for this beautiful new piece of hardware!

Reading this datasheet of the i.MX RT1060 it seems that there is hardware support for 8/16bit MPU/8080 parallel port LCDs on the processor of the T4.0. On page 3 it says:
Each i.MX RT1060 processor enables the following interfaces to external devices (some of them are muxed and not available simultaneously):
• Display Interface:
— Parallel RGB LCD interface
–> Support 8/16/24 bit interface
–> Support up to WXGA resolution
–> Support Index color with 256 entry x 24 bit color LUT
–> Smart LCD display with 8/16-bit MPU/8080 interface

With the help of the forum, i was able to drive a Newhaven Display (NHD-2.4-240320CF-CSXN#-F) via it's builtin ST7789S controller with a T3.6 in the past. I specifically used PortB (https://forum.pjrc.com/threads/39053-Portmanipulation-for-Teensy-3-6?p=174992&viewfull=1#post174992) of the T3.6 to drive the display in 16bit RGB565 mode. This was updating the 320x240 display pretty fast already.

I would like to find out, wether T4.0 might be able to take this even further. I guess, i would need to find out next, if and where the pins for LCDIF would be located on the T4.0 and also where to find the nxp libraries for LCDIF. Did anyone had a look into this already?

(Please let me also know, if i missed something important or looked into wrong datasheets.)

Best Regards, Stefan
 
@Stefan

Unfortunately the T4 does not have the LCD pins on the T4 broken out from the processor to the edge pins. You would need to develop your own functions or find a library to drive the Newhaven Display. Maybe on future versions of the T4.x they will be broken out.
 
Hi mjs513, thanks for the answer. I might try direct port access on T4.0 in a similar way to T3.6.

I found detailed pin information here: https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=207775&viewfull=1#post207775
Seems like there might not be 16 pins from the same port available. But since T4.0 is a lot faster than T3.6, 8bit parallel might be enough for a display with less than 80000 pixels.

Also i found this thread, where i will read further before asking more questions: https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=208797&viewfull=1#post208797
 
@Stefan

Please be warned the T4 does make use of "PORTSx" so you will have to need to do some more research in the manual.
 
Status
Not open for further replies.
Back
Top