Reading Pins in Parallel -- Teensy 4.1

Are there any examples showing how to mux half the port and read it?
I am not sure if there are easy examples.
One needs to read (many times) the IMXRT reference manual you can download from main pjrc product pages the section on FlexIO.

A few of us have been playing with code that reads 4 or 8 bits from different cameras up in the library:
Main flexIO in the file:

There is library for RA8876 that a few of us are playing with: https://github.com/wwatson4506/Ra8876LiteTeensy
That can talk to the display in either 8 or 16 bit parallel. https://github.com/wwatson4506/TeensyRA8876Combined
Most of the code doing the FlexIO is up in the file:

Both are using my FlexIO library: https://github.com/KurtE/FlexIO_t4
This is installed with the Teensy installs, however the one up on my repository has some updates in it.

Not sure if that helps much but does give you some places to look at the code
 
Thanks for the info.
I have been reading the IMXRT reference manual which is why I'm a bit confused. As you say, I probably need to keep re-reading it until things gel.
I hadn't found any of the links you've listed despite searching for hours. I must be using the wrong keywords.
I'll check out your links later today to see if they help me understand better.
 
Back
Top