RA8876 Parallel Display Library Testing

Merged pull requests. @KurtE - not sure where the cursor images array got changed. They are not like that in the original files:confused: Thanks for fixing. Still trying to get the MicroMod to work...
 
Merged pull requests. @KurtE - not sure where the cursor images array got changed. They are not like that in the original files:confused: Thanks for fixing. Still trying to get the MicroMod to work...
Note: it is only setup for 8 bit.. Not sure if you might be configured for 16?
 
Note: it is only setup for 8 bit.. Not sure if you might be configured for 16?
Sorry guys been kind of distracted and out of it this afternoon.

Remember can always add tft.setBusWidth to your sketch so you don't have to mess with the headers
 
Sorry guys been kind of distracted and out of it this afternoon.

Remember can always add tft.setBusWidth to your sketch so you don't have to mess with the headers
I'll have to check that out. Didn't see it. Finally got thee MicroMod working again :D Going through examples from the latest updates. I seem to have acquired a cold so will probably call it a day after testing all of the examples...

EDIT: Making to many mistakes...
 
Going through examples from the latest updates. I seem to have acquired a cold so will probably call it a day after testing all of the examples...

EDIT: Making to many mistakes...
Know the feeling a bit out of it as well thats why no soldering today :) Feel better!
 
Maybe time to merge into one branch...

Maybe not master yet, but... Could try to merge the ...._WIP into the combined branch
Definitely and maybe archive the old branches - too many - getting me confused. Had to delete my desktop repo and redo it :)
 
Definitely and maybe archive the old branches - too many - getting me confused. Had to delete my desktop repo and redo it :)
Getting close to that on mine as well. Sometimes I forget all of the git tricks,
Like: Ok I used github desktop to select @mjs513\XYZ branch...
Now WWATSON now has updated version of XYZ... So I decide to save local...
So I try to checkout XYZ. I then reset --hard to upstream... I then push it to Origin...
But github desktop wants to look at MJS513 for updates instead of origin...

I believe there is some git command or option on command to tell my local fork/branch to track a different remote BUT...
🤯
 
Morning all (at least in my time zone)

Though I would play a little and again get my MTP TFT Picture viewer to build and run on both of my RA8876 boards.
One SPI the other Flexio...

So far Setting up for now have the SPI version running.

Issues I ran into:
The header file define is different, so sketch did not know it was configured for RA8876:
It used to define: _RA8876_T3
Now it defines: _RA8876_T3_P
(Maybe should change back as _P probably implies parallel and this one is SPI.. But sketch handles now.

tft.useCanvas(); - Now has an added parameter. Fixed my calls to add (true). Wonder if that should be default in header file?

Sketch: is using:
while (!tft.DMAFinished())

Which DMAFinished was no longer in header file: added to ...t3.h file

Next up Flexio version
 
@KurtE @mjs513 - Sorry for being gone for so long. This cold knocked me on my butt. Still really weak. @KurtE I did do the PR but it failed. Commenting out the FlexIo resets caused the MicroMod not to boot and hang. Had to do a power off/on to get it back. Was testing with the examples in the "testcases" folder. I un-commented them in my GItHub. It looks like everybody is really busy on the other thread. Have a doctors appointment to get to but hopefully I can get caught up with everything soon:)
 
@KurtE @mjs513 - Sorry for being gone for so long. This cold knocked me on my butt. Still really weak. @KurtE I did do the PR but it failed. Commenting out the FlexIo resets caused the MicroMod not to boot and hang. Had to do a power off/on to get it back. Was testing with the examples in the "testcases" folder. I un-commented them in my GItHub. It looks like everybody is really busy on the other thread. Have a doctors appointment to get to but hopefully I can get caught up with everything soon:)
Hope you feel better...

Not sure why yours is not working. Will take a look. I do have several other changes going on, in another branch, I think I will package up some of them into PR... The other part is experiments for readRect to do all of the reads in a group instead of cycling on readPixel...

I now have the picture viewer working on both of them again:
1720456635139.png


SPI - top right, FlexIO bottom left
 
@KurtE @mjs513 - Sorry for being gone for so long. This cold knocked me on my butt. Still really weak. @KurtE I did do the PR but it failed. Commenting out the FlexIo resets caused the MicroMod not to boot and hang. Had to do a power off/on to get it back. Was testing with the examples in the "testcases" folder. I un-commented them in my GItHub. It looks like everybody is really busy on the other thread. Have a doctors appointment to get to but hopefully I can get caught up with everything soon:)
Just want to ditto what @KurtE said. Hope all goes well at the Doctor and you are better soon.
 
@KurtE @mjs513 - Went to the doctor yesterday and he said I still have a bit of a fever but I should be better soon.
@KurtE - I just downloaded and tested the cherry pick branch. Went through all of the test cases and then the regular examples. All was working well until I tried the "pictureEmbed". This is what I got on the screen:
pictureeEmbed.jpg

After that I had to power up/down and was still getting intermittent failures like this:
TestCases.jpg

I'll have to play with it some more and see if I can figure out what is going on. It is intermittent and always starts with the pictureEmbed sketch.
This is with the MicroMod in 8bit mode...
 
@KurtE @mjs513 - Went to the doctor yesterday and he said I still have a bit of a fever but I should be better soon.
@KurtE - I just downloaded and tested the cherry pick branch. Went through all of the test cases and then the regular examples. All was working well until I tried the "pictureEmbed". This is what I got on the screen:
Hope you are better soon - no fun having fever - personally never was able to handle it well.

Just tried "pictureEmbed" with 8bit parallel - seems to be working for me with out issues. Same thing @KurtE's FB sketch?

Try specifying tft.setBusWidth(8) - more out of curiosity. Maybe a loose connection between display and Teensy?
 
Hope you are better soon - no fun having fever - personally never was able to handle it well.

Just tried "pictureEmbed" with 8bit parallel - seems to be working for me with out issues. Same thing @KurtE's FB sketch?

Try specifying tft.setBusWidth(8) - more out of curiosity. Maybe a loose connection between display and Teensy?
I'm feeling pretty good today :)
I have been playing with this all day and the only solution was to comment out gpioRead() and gpioWrite() in 4 places. After that it works ok. I have no clue as to why. What's really odd is that you cannot get another sketch to run after loading it. I have to power down the MicroMod and power it up after about ten seconds. Maybe it is my MicroMod, I have had problems with it in the past. Don't know:unsure:

EDIT: Something else to mention is when if fails I usually start getting the "2d ready failed..." message. I think I am going to hook up a T41 and see what happens.
 
Last edited:
Will take a look maybe something of T4.1 is conflicting with the MMOD stuff... Might have missed some location like hard coded pin number...
 
Will take a look maybe something of T4.1 is conflicting with the MMOD stuff... Might have missed some location like hard coded pin number...
Thanks, hopefully something simple. You really have cleaned up the code. It's easier to work with:)
 
Thanks, hopefully something simple. You really have cleaned up the code. It's easier to work with:)
Forgot to ask, are you running 8 bit or 16 bit?

EDIT: Most likely 8 as well there are not 16...
 
Last edited:
Back
Top