Hard to say about speed…. Works reasonably when you boost the psram speed up. I am currently playing with it on Nt35510 display 800 by 480, and I have been playing with different number of bytes per pixel. 2,3,4…
Mst of the libraries, unless you allocate the buffer your self, it will try to use malloc to allocate it.
However most if not all, give you and api to set the frame buffer to wherever you want it.
One example:
tft_frame_buffer = (uint8_t...
if you use malloc or new, by default these will be allocated in RAM2
This is from the T4.1 product page, in the memory section.
If you wish to allocate from the PSRAM, you would instead call extmem_malloc.
Simply install it... I have three versions of the IDE installed on my machine.
From the arduino.cc software page:
I typically download the zip file install. You then unzip where ever you want it. And then run it from there. This way
you can...
What I believe he was suggesting, is to try out using the Adafruit SSD1306 driver, which even if that is not the driver you wish to use
it will help isolate the issues.
Looks like the display is setup to be 3.3v compatible.
Might help if you...
Right now I am experimenting with doing some editing of my NT35510 readme.md file using sublime text 3...
I just installed the live preview plug in, which so far is not too bad. It may not have command pallets and the like but at least
I can see...
It was always claimed 'Read Only' but worked when last checked with this code last edit Feb 2023.
...
// LAST PRINT
printf( "End of Free ITCM = %u [%X] \n", ptrFreeITCM + sizeofFreeITCM, ptrFreeITCM + sizeofFreeITCM);
// This now causes...
A one line CORES edit can make the unused RAM1/ITCM 'padding' available as "READWRITE".
In the example above that area is over 30 KB - but can be less than 1KB depending on the build.
This risks self(virus)-modifying code or the dangers of...
Looks like it is the right: json file:
https://www.pjrc.com/teensy/package_teensy_index.json
Maybe something wrong with your network?
if you go to a web browser and type in: https://www.pjrc.com/teensy/
does it get there?
If not have you tried...
This thread appears to have a life of its own! Here is my 2 cents worth... Probably worth about that much:
If your arrays are initialized as part of the build process and are larger than can fit into RAM1 and as such you need to put them into...
Interesting, I did a quote of this section of the post and the forum code jumbled it up.
@mjs513, @PaulStoffregen - in principle for robustness I somewhat agree. However in this case as well as most if not all of our
examples, this code will...
main() is a standard starting point for the c++ program...
That is there is: main.cpp has
#include <Arduino.h>
extern "C" int main(void)
{
#ifdef USING_MAKEFILE
// To use Teensy 4.0 without Arduino, simply put your code here.
// For...
Depends, which Teensy are you using?
If it is a Teensy 3.x, then for some of these libraries like ILI9341_t3 may require special pins to be used, especially for the DC pin.
However on the Teensy 4.x any digital pin should work. Some of these...
This sketch is setup, to allow you display images on a display, and is setup to use MTP, such that you can for example install new image files
to be displayed or removed from the storage using MTP.
It was setup and at one point tested on many...
We should update some/all of these at some point and maybe remove some of the others.
But maybe not critical at this point as per your first post.
Unless of course you are planning to add the MTP library to the install for Beta 1...
Found the issue, fix is actually described in: https://forum.pjrc.com/index.php?threads/mtp_teensy-example-mtp-logger-ino-compile-error-on-t4-1.73565/post-331920 and...
That appears to be the issue, if I change the virtual functions in this class to:
virtual hidclaim_t claim_collection(USBHIDParser *driver, Device_t *dev, uint32_t topusage) = 0;
virtual bool hid_process_in_data(const Transfer_t...
Had a quick look, it seems like there are several virtual functions in USBHIDInput that are declared but not defined, intended to be implemented by derived classes. They should be declared as pure virtual (e.g. "virtual void...
It did on my branch. It was pretty simple, there were two versions of the begin, converted it to just one version, where the format parameter was optional...
The version you put in then was what a mentioned as possible fix earlier on in...
I purchased the 18 bit one which has those shorted out... I assume they specify being to VSSI as to maybe limit noise
coming in through them... Being 0k, I am assuming no signal and not just Pulled down...
LittleFS
https://github.com/PaulStoffregen/LittleFS/pull/56 - fixes a bug in getMediaName and a couple of other fixes
T4 quad encoder lib: may want to synch with https://github.com/mjs513/Teensy-4.x-Quad-Encoder-Library
Not sure if there were any...
Thanks, I have similar code that does as you mentioned. It either takes 3 reads or two...
But I believe the issue is that as far as the display is concerned it has 24 bits to work with as it has the
same hardware Jumper settings as their 24 bit...
There eas the issue with SerialEventX did not work if your SerialX.begin included the format parameter...
I have fix in my variants_override branch part of PR: https://github.com/PaulStoffregen/cores/pull/750
The commit...
All you need to do is maybe read it like 50 times, and maybe something will make some sense :D
I have played with XBar a few times, and each time it takes a few reads, plus trying code a few different ways, until something might work.
Some...
Or you could do, what I do way too often, is to leave the useful information to the imagination of the would-be readers 😉
Often when I do the little bit I do, I look at some of the pages up on github, like...
@DJETH - Just noticed that the pinouts are incorrect.
Here is the corrected pinout:
RA8876 <___________> Teensy 4.1
PIN PIN
*********************************
Use These 8 data lines for 8-bit data bus.
- D0 15...
Thanks,
I saw that these are defined:
#define USE_8080_8_BIT_MODE 8
#define USE_8080_16_BIT_MODE 16
What I was wondering is if you are building for a couple different setups, if you want:
// Set 8/16bit mode...
Sorry for the late reply, @DJETH - You might not have the latest updated versions of the libraries. I would update them. I updated the config file and fixed a few bugs in them. Here is the updated config file:
/* RA8876_Config.h
A file to place...
There are DC pins...
Which pins are valid for T4.1
If I run my example sketch FlexIO_pin_list on a T4.1 we see:
Teensy 4.1 FlexIO pin list
FlexIO1:
Pin Order: Pin:flex
2:4 3:5 4:6 5:8 33:7 49:13 50:14 52:12 54:15
Flex Pin Order...
That is the same version I downloaded from Waveshare...
18 bit color == PIA ;)
I Found I did not make allowances in the DB5 shield I made for > 16 data lines, and used the next ones D16 and D17 for the CS pin and RD pin...
So I hacked it up...
Quick behind-the-screens update... the plugin generated its first automatic report. Indeed it's spammers (probably from Bangladesh) blatantly creating many accounts. The plugin seems to really improve the forum's logging and display of the IP...
Going to jump in here. I believe that the current version of the compiler used for Teensyduino 1.59 is 11.3.1. Compiler flags might be different between PlatformIO and Arduino.
You might want to give your code a try using the arduino IDE...
Thanks,
One thing I am trying to figure out is, how does the Buy display device work in 18 bit mode?
Sorry in advance, I am simply thinking out loud.
That is: with the Novatek Data Sheet, probably the most complete one I have found is up at...
@KurtE This is awesome to see! It's been a couple of years since I played around with the BuyDisplay ER-TFTM040-1 and my 8/16 bit driver code for the NT35510 controllers, but one little useful hardware hack is to wire a switch to flip J1 and J5...
Is this a brand new Teensy 4.1 that has never been programmed?
If so, try doing a verify command in the IDE with some real simple program like the blink example.
When it finishes compiling and the Teensy app is opened up. Then go to the...
Quick update: My two new NT35510 displays from BuyDisplay arrived yesterday.
One is configured with 16 bit bus and the other with 18 bit bus.
I now have the 16 bit running on the DB5. I have a different brand 16 bit one that was earlier...
Sorry I also don't use PlatformIO. Sometimes I will play a little bit with the compiler options, but just a little bit, normally I leave it at the defaults...
As for GCC being root cause, hard to say fully. Yes maybe you ran into some new...
I am not sure there is an easy way to easily preserve your changes an apply them to other projects or on other machines.
In that, you are currently required to update the core sources for these types of changes. And these changes are...
Good point. The extent of my changes...
(cores/teensy3)
To usb_desc.h, I added an entry to the list at line 780:
#elif defined(USB_MTPDISK_DUALSERIAL)
#define VENDOR_ID 0x16C0
#define PRODUCT_ID 0x04D5
#define...
Ok, it's installed and running with default settings. And wow, it has a lot of settings!
Looks like it's going to use free tier IP geolocation services. If we get good results but hit limits, will look into paid tiers.