Ok found the problem rather quickly to be honest. The issue is with draw pixel in common.
For SPI it has to be:
void RA8876_common::drawPixel(ru16 x, ru16 y, ru16 color) {
graphicMode(true);
setPixelCursor(x, y);
ramAccessPrepare()...
@wwatson - @KurtE
Was able to duplicate the issue in post #305. So tried it with 8080 version and no issue. So would say it probably rules out the GFX piece but maybe have to look.
Yep - I am testing on a T4.1 with PSRAM. Unfortunately not having much luck when not using FB:
no FrameBuffer
with FB it works:
with that said the scrolling text function that uses read/write pixels seems to be working:
but definitely works.
Thought I would mention that @mjs513 and I have made some progress on the NT35510:
Current stuff is up at: https://github.com/KurtE/NT35510_t4x_p
At the moment it only supports 8 bit Parallel, using 16 bit color (RGB565)
I am currently...
The Teensy has had a lot of display options, including: ILI9341, ILI948x, HX8357, ST7735/ST7789, RA8875, RA8876, ...
But most of our support up till now has only been using the SPI interface. 😉
What I remember is that it was a pr to one of the libs that we then propagated through the other libs as we went.
With that said have to hook up the spi ra8876 again and retest. Last time I tested the font4 sketch with ra8876 spi it was all...
@mjs513 I am sort-of foggy on this. I believe that this is one of the few instances of Anti-aliased fonts which there is special processing for.
Do you remember much about this?
Yep - I saw that, which is why I added the print to know which font it was... Still have not looked at it to fix it...
Not sure if library issue or font issue...
Have not read that code - was pointing to teensy4\CrashReport.cpp code as that has been studied and observed to work reliably for years tracking when Crashes are detected, and the same process would be usable to also separate COLD starts from...
But if you have the shield assembled, you can simply plug the RA8876 into the connector on it :D
Also hopefully Monday should have my order from OSHPark, that is new attempt at adapter to convert that RA8876 connection
into an Buydisplay ILI9488...
I think I can cut a small notch in the plastic between the 28 and 4 pin connectors. If I am right, that should allow the tension of the bending PCB to close the gap. Hopefully;) Right now I am in the middle of finishing up the RA8876 24-bit color...
Which font and size are you using. Likewise rotation of screen.
we have example sketch with the different libraries that tries to display several fonts including showing bounding …
Example of text you are displaying...
You might try: tft.writeRect(x, y, w, h, image);
We also have versions of this, which instead of only supporting full RGB565 image (16 bit colors)
We support color palette outputs.
// writeRect8BPP - write 8 bit per pixel paletted bitmap
//...
There is the other recent thread on the RA8876 where @wwatson and @mjs513 and I have been playing with a different
version of the library, which supports both parallel and SPI interfaces.
Which is now 3 libraries...
Thanks,
I also found other areas of information like:
https://github.com/adafruit/Adafruit_NT35510
Although this library only supported 16 bit bus... on things like arduino Mega...
Also the product page...
Been using the DevBrd5 with @KurtE's shield to test the propshield and RA8876 with no issues. So next step was to test the Audio Adapter with the DB5. Ran the play wav file example which reads from the SDCard on the adapter and plays wav files...
Good news 24-bit color is working :D
This is the test sketch which uses some modified functions to generate the screen shown above:
// RA8876_8080_testing.ino
//#include "images.h"
//#include "Teensy41_Cardlike.h"
//#include...
Yes - I picked it up today... Will play soon. It is interesting that the commands are 16 bit as I believe you mentioned.
I see there is an Adafruit library for it, although only 16 bit Parallel from a couple of years ago.
Afternoon all (at least from the east coast). Busy yesterday playing the Propsheild attached to the RA8876 attached to the Devboard 5. It uses we have posted before.
EDIT:
The one still missing piece in the 16 bit code is to handle Asynchronous updates...
But I created the PR anyway...
https://github.com/mjs513/ILI948x_t4x_p/pull/4
readRect fixed - Had not updated the ILI9486 readRect code to handle the 16 bit bus.
Code was pushed up. I also updated the Readme in this branch to mention some of the udates,
like pin numbers for T4.1 and T4, plus mention 16 bit mode and that...
I've been a fan of the Samtec SSQ line of sockets for a couple decades now. When I started ordering more than a few parts, I found Samtec to be very small-business-friendly. I still have a few dozen socket strips left from production runs...
If it worked for you it will work for me:D Thanks Kurt. I new I should not have been so quick to wire it back up again:oops:
Been working on 32-bit color...
Been there... Done that.....
What I did was to start the header pins like you, but don't push them all the way in. Then position the shield. Then sort of force the 4 pin parts into the proper place to get into the holes.... Then push the...
Line 1817 is now commented out. Yes been hit when others have issues with something not working, so I usually leave those other
outputs in there... But you should never see them... Unless you try building for a different teensy board and then...
Did the same thing and cant figure out why its not working been looking and no idea.
Did notice this:
Order: BGR
interface pixel format: 24 bit
24bit pixel format? Looks like its just a fall through.
It did not crash mine did not work any better...
PROGMEM const uint8_t ILI9486_POS_init_commands[] = {
2, 50, 0x01, 0x00,
2, 0, 0x28, 0x00,
// Power Control 1
3, 0, 0xC0, 0x0d, 0x0d,
// Power Control 2
3, 0, 0xC1...
Dont blame you. Got frustrated so hooked my up and used Bodmer TFT_HX8357 library and then selected ILI9486 in user setup and it works on the mega
Tried adding in the config to our lib but crashes the t41
I ordered a different one:
https://www.amazon.com/EC-Buying-Display-ILI9486-Mega2560/dp/B0D3CWRQ87
Maybe it will work better...
This one is going to
🗑️
Changes pushed up...
It may or may not help. That is Serial.begin is optional... But you might be able to do it soon enough for the USB handshaking completes.
Two step process:
a) comment out the two lines of code that have Serial.print still in there that have not been commented out.
b) Ask the owner of the library (in this case me), to update the library... https://github.com/KurtE/ILI9488_t3
And in...
The code is reading in 16 bits at a time... The 16 bit code currently does:
} else if (_bus_width == 16) {
static uint8_t read_debug_count = 10;
static uint16_t debug_read_data[192];
uint8_t debug_read_index = 0...
Yes it is. We got it from buydisplay. This is the link: https://www.buydisplay.com/spi-7-inch-tft-lcd-dislay-module-1024x600-ra8876-optl-touch-screen-panel