Yes, generally the power and problem of edits to CORES files is manually maintaining any edits to any IDE install or update.
Some changes may lend themselves to a means of isolating or extracting them to more maintainable edits, though some...
Sorry really not much to go on.
Things like how you are doing all of the things like sending and reading data? In the main loop? On some form of interrupts, like
IntervalTimer? ...
Could be as simple as your code is looping doing the SPI and...
Never tried using the TFT_eSPI library on the Teensy. Primarily use the ST7735_t3 library that is packaged with Teensyduino. It supports both the ST7735 and ST7789 modules.
A cursory look at the TFT_eSPI library suggests that you might be able...
The Teensy versions of SD library is a thin wrapper over the top of the SDFat library. If you are comfortable with SD library, I would simply
use it.
Again on Teensy 3.5, 3.6, 4.x, if you use BUILTIN_SDCARD as the chip select passed in to...
Depends? Which library are you using?
If you are using the SD library,
Pass in BUILTIN_SDCARD
#define BUILTIN_SDCARD 254
As shown in some of the examples, like the listfiles, which has:
#include <SD.h>
// change this to match your SD shield...
No, it uses SDIO, which is a lot faster.
On the Schematic on the Teensy 4.1 product page:
Which from my Excel document:
Which the center area shows actual Teensy IO pins for it.
PSRAM for T4.1, and on the experimental Dev Boards, using SDRAM...
Currently in 24 bit mode, when using frame buffer, I am using one array with each pixel taking 3 bytes. Currently not worrying about double buffering, but have done that in the...
As others have mentioned, it sounds like, the actuators might respond to the commands. I tried to go to webpage for the device, but it insisted on cookies with no control on which ...
But sounds similar to some smart servos I have worked with...
I agree with you as well as other tables that have T4.x boards on it.
But, the Micromod is a Sparkfun product. They do have some information up on their website...
For PJRC products, like T4.1... and T4 you can look at the web page:
https://www.pjrc.com/teensy/td_uart.html
You can look at my Spreadsheet....
In the source code, for Serial2:
teensy4\hardwareSerial2.cpp:
#ifndef ARDUINO_TEENSY_MICROMOD...
Quick and maybe final update...
I have a version running for 24 bit 8 bit bus DMA, using 1 FlexIO buffer. Will try it soon with 16 bit bus. Unless someone has demonstrated that multiple FlexIO buffers helps a lot with DMA, will probably...
What baud rate? How are they connected? Wires? How long.
How long are the messages, and how long between the time you look for them?
That is Serial1 by default has a software queue of 64 bytes. If you receive more than this before you read...
These are practically all bots/spam accounts. Most of them aren't bothering to post messages, they're just filling their profile/'About" pages with links as a form of SEO.
If the About pages could be turned off, would anyone really miss them?
I have done it a few times, now on my W11 machine... And when I would do it and then start up the IDE 2.x, it would then
download all of the old original AVR type libraries again... And the updated stuff in boards.txt would show up. I sort of...
AFAIK you need to clear out the full cache:
There is still an open Github issue on this: https://github.com/arduino/arduino-ide/issues/1030
Which I opened 2+ years ago.
On that Issue: @PerT described the workaround.
I may be asked something like this before as part of a different thread... Not sure...
But...
Suppose I have a logical frame buffer for a display that is 800x480 and in the case I am playing with 3 bytes per pixel.
(24 bit color).
Now there...
Again it has been a few years since I played with this stuff. I personally do very little with Analog. I was hoping someone who uses it might
be able to fill in the holes.
If i remember correctly, when I tried the chain to DMA, it...
I followed through a bit on my thoughts and ended up cutting a PR: https://github.com/PaulStoffregen/cores/pull/753.
It's not complete, but I'd be happy to complete it if @Paul can confirm that this has a possibility of being merged.
Sorry, I think most of the stuff I tried is in the examples as part of my fork of the library, like the peripheral scan.
Looks like my fork is about 23 commits behind the master branch. Should probably try to sync it up.
I may be slightly confused, you mention: Micromod Teensy 4.1
There are Teensy 4.1 boards and there are Micromod Teensy boards.
From this I am assuming Micromod.
As B0_04 is on pin 40:
40
40
*
B0_04
2:04
Wire3(2) SCL
QT2_1
2:4...
Thanks for all of the input and suggestions.
My main goal with all of this, up till now, is for a proof of concept. Which I personally believe it is worthwhile. I have no doubts that there are probably some missing defines in some of my quick...
Sorry, there are multiple things involved here and I am not sure what you're asking or what your needs are:
When I am mentioning 16mhz, this is the SPI speed. Not the CPU speed. That is by default the processor will still be running at 600mhz...
By the looks of it, it appears like your display should work. Looks like same pinout as PJRC one...
How do you have it connected? Have you tried slowing down the clock to see if that helps.
For example with my ILI9341_t3n it defaults to try to...
Sorry, there is not enough information here, to suggest what issues you might be having with your ILI9341.
There are lots of options for displays. I will only mention a few of them, as ones that I have played with and libraries that I have...
Sorry, I have not been doing anything recently with the bluetooth stuff on the Teensy for a long time.
Especially with USBHost_t36. So far, we only implemented a small subset of the Bluetooth interfaces/Profiles. And I don't believe that
we did...
@KurtE thanks for working on getting this rolling.
I've had some time to sift through the cores along with your experimental variants repo and I threw together a (currently very messy) script that generates a bunch of defines using data scraped...
I assume you looked back at the main ADC forum thread, that talked about some of this a few years ago.
Like some of the posts near:
https://forum.pjrc.com/index.php?threads/adc-library-with-support-for-teensy-4-3-x-and-lc.25532/page-21#post-292852
Right not I am contemplating if the 32 bit frame buffer is the right way to go for 24 bit color, or if I would be better off with packing it to 24 bits per pixel... Probably would make it easier to support DMA and IRQ support.
For example, when...
The Teensy might send stuff before the USB is ready for it. So most of my programs have something like:
while (!Serial && millis() < 5000) {}
Will wait up to 5 seconds for the Serial object to be ready. You can do it without the timeout, but...
I am glad it is working better for you.
Over the years I have played with a lot of the different teeny boards. probably not as many of some who sell products using them. I have also played over the years with different boards and the like...
Sorry, I don't think I have tried doing much with the cameras using the T40 @mjs513 did you try any of these?
With using FlexIO, it can be a challenge on the T4. I did get some of the parallel displays to work on them, but had to do some...
I assume you have a common ground between external power and the teensy...
Also you might take a look at a library that couple of us have been playing with:
https://github.com/mjs513/Teensy_Camera
If you look at your numbers:
RAM1: variables:137664, code:384344, padding:8872 free for local variables:-6592
You notice that a lot of it it taken up by code: 384344 and another 8K of padding as to round up the code usage to 32kb blocks...
So...
Sorry, I am not sure how much help any of this will be, as I have never used LVGL nor CAN. So can only mention some generic stuff.
If your objects are defined like:
MyObjectClass instance;
By default, all of the instance data for this object...
Sorry it has been years since I played with any of this stuff.
@mjs513 and I did some of the initial stuff to add support to the ADC library for Teensy 4.x. We had our own library back then:
https://github.com/KurtE/ADCL_t4 which I have since...
Some of this is covered on the Teensy 4.1 product page in the memory section.
https://www.pjrc.com/store/teensy41.html#memory
new and malloc are created in RAM2 (DMAMEM)
You can add DMAMEM to a declare to move it to RAM2, however RAM2 variables...
I believe software serial on teensy 4.x boards, only works on hardware serial port pins. Pins 4 and 3 are not hardware serial pins. you can probably use flexio to create an emulated serial port. See the flexio_t4 library for details
I have not done much yet with the 16 bit DMA. The 16 bit one I have now is hooked up to T4.1... I have a couple more Buydisplay ones ordered and shipped (one 16 bit the other 18 bit) waiting to transfer to USPS... How many days it will take this...
Sorry for the delay in responding. Rather out of it. Wife and I are both pretty sick with some bug. So checking forum only periodically now.
I agree with @KurtE. When the default remains at 88Mhz there needs to be some way the user to change...
Or you can use my variants version of core and try to create a variant for yours...
I took the simple way out to start with, which was I did not collapse the pin numbers, for ones that were not available. Their current 4, 4.5 and 5 boards are...
Hey folks, I'm happy to report I was able to create a custom teensy with sdram using this thread as a reference 😁
I was already in the throws of designing a custom teensy board that had usb host, usb device, and microsd all on a single edge...
Can totally understand. However, the flip side is also true. I have had the PSRAM fail to work properly when used with a few different displays, like the NT35510, where I try to use it as a Frame buffer. The current setup is 16 bit parallel to...
Potentially could also take it one step further and add it as a menu to the T4.1.
Maybe like add to boards.txt:
menu.psram=PSRam Speed
...
teensy41.menu.psram.120=120 MHz
teensy41.menu.psram.88=88 MHz
teensy41.menu.psram.132=132 MHz...
@KurtE
Sent you a PR to your variants_override branch to add a new function to clockspeed.c, set_psram_clock(int speed_mhz). Just did a rename to make in line with set_arm_clock
MEMTEST EXAMPLE:
extern "C" uint8_t external_psram_size;
extern...