Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 6 of 6

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

  1. #1
    Junior Member
    Join Date
    Mar 2015
    Posts
    12

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

    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...l=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

  2. #2
    Junior Member
    Join Date
    Mar 2015
    Posts
    12
    this might be the corresponding library from nxp: https://mcuxpresso.nxp.com/api_doc/d...lpc__lcdc.html

  3. #3
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,206
    @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.

  4. #4
    Junior Member
    Join Date
    Mar 2015
    Posts
    12
    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...l=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...l=1#post208797

  5. #5
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    4,206
    @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.

  6. #6
    Junior Member
    Join Date
    Mar 2015
    Posts
    12
    Quote Originally Posted by mjs513 View Post
    Please be warned the T4 does make use of "PORTSx" so you will have to need to do some more research in the manual.
    thanks for the hint

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •