The only “new” developments to the hardware have has been the SDRAM DevBoard - But thats an open source members project sponsored by @Dogbone06 and not an official PJRC development.
Some of us have done some cool things with the added SDRAM and...
Problem solved.
I used FreqMeasure on pin 22 and QuadEnc on pins 31 & 33 and just shared pin 22 and 31 from the Quad encoder.
works flawless up to 2000rpm and now I get enc posn and RPM and as they use the hardware encoders it lets the program...
Just wondering if anyone created any good example sketches using zephyr on a Teensy 4 or 4.1
https://docs.zephyrproject.org/latest/boards/pjrc/teensy4/doc/index.html
I know there have been a few threads up here where questions were asked about...
if this is true or not is something I have to stay out of. But I’ll tell you this:
SparkFun founder Nathan Seidle is a great dude. I’ve had a lot of direct contact with him. Trust me when I say that he’s invested directly in electronic design...
@airely
Unfortunately my main computer is down and all my Teensies are packed away - probably be another day or two before I can give this a try.
I am still not clear what sketch you are using. But to explain a bit - its been a while since I...
I have a: logitech Saitek G Pro Flight X56 Rhino HOTAS (Renewed) which I tested on a T3.6 a very long time ago. Should be able to work on a T4.1 no problem. Don't see a sketch that you are testing with so hard to know what the issue is.
Look...
You could try a search of the forum but I didn't see anything specific for the T4.1 I did find this post that might be of interest: https://forum.pjrc.com/index.php?threads/flexcan_t4-flexcan-for-teensy-4.56035/post-305631
The Sumotoy library is rather outdated at this point. @KurtE and myself revamped the Sumotoy library for the Teensy and you should try that. The library is included with Teensyduino. It should be compatible with the Sumotoy library but has...
My guess is you could probably try to hack up the file cores/teensy4/new.cpp
Maybe something like:
void * operator new(size_t size)
{
void * new_obj = malloc(size);
if (new_obj) return new_obj;
return extmem_alloc(size);
}
Note...
I've been idly wondering whether Adafruit will continue to sell Teensies. Now, I realize that Adafruit sells some Sparkfun things, and Sparkfun sells some Adafruit things, and they address different markets. But the change of the supplier may...
Clicked PJRC link to SFun to buy T_4.1 and it has link to:
That links to : https://www.pjrc.com/teensy/first_use.html
Not seeing that as the best 'Product Manual' intro landing page with item on display some Pre T_3.x unit?
T_4.0 has 3 other...
For a first attempt, maybe try editing the startup code where it checks for the first and second chip. If you just hard-code it to pass the check as if the first chip was found, then it should find the second chip. Then try editing the PSRAM...
I made it work!. Changed the startup.c to pass the check of the first chip and go directly to the second one and adjusting the memory size to 8 all the time. Then on the Linker script changed the memory origin to 0x70800000 (not 0x78000000...
Today I ordered this PCB, basically my old MicroMod breakout with LAN8720A ethernet added.
If it actually works, I'll send one to Shawn and publish the files. Will likely have a couple leftovers, if anyone wants them.
If nobody offers up hardware by mid-February, remind me of this and I'll try to make something for you.
Right now PCB vendors in China are shut down or have limited operation due to Lunar New Year festival. Everything should be back to normal...
Good news. The PCB arrived and it works!
Basic ping test code:
#include "IPAddress.h"
// set this to an unused IP number for your network
IPAddress myaddress(192, 168, 194, 67);
#define MACADDR1 0x04E9E5
#define MACADDR2 0x000001
// This...
Here are the PCB files and placement, if anyone wants to make this board or just dive into the minor detail like which parts were used.
The Ethernet PHY chip is LAN8720A.
News made it on to Electronics Weekly:
https://www.electronicsweekly.com/news/products/bus-systems-sbcs/arduino-compatible-teesny-cortex-m7-dev-boards-now-made-by-sparkfun-2025-03
@Dogbone06 was quite involved with Sparkfun around 2 years ago due to reliability issues with the NXP BGA joints coming undone from the thin, flexible PCB of the MM.
They did some rework to the HW I believe to try an minimize that issue.
Sorry Brian - all I can say is that I have been using a couple of the early batch on and off with out issue - must have got luck. Never tried running for more than an hour or so.
Yes, that's my hope... especially coding time!
I'm not ready to think about any new products until Sparkfun has been shipping Teensy 4.0 and Teensy 4.1 for a while. We've been pouring a lot of work into this transition for the last few months...
Indeed, Sparkfun has done well with MicroMod PJRC developed with them and SFun has been good to order from for years.
Will be nice for PJRC to get to focus on things other than parts ordering, building and shipping.
This makes a lot of sense. A trusted partner who deals with supply and manufacturing means more focus on the all-important software and support side (which is the key differentiator from random Arm MCU boards that utterly lack a solid software...
Congrats!
I wondered when something like this would happen. Makes a lot of sense, since they already are making the MicroMod.
Should leave you with some coding time, and potentially new products.
Not sure whether to be sad or not but know it will take a heck of lot of pressure/stress off you and Robin having to deal with supplier and manufacturing issues. Definitely should free up a lot of time etc.
So going to say congratulations and...
We are excited to announce the expansion of our partnership with SparkFun Electronics to include the manufacturing of all Teensy products. Teensy 4.0, Teensy 4.1 and related accessories will now be manufactured by SparkFun in Colorado, USA...
Hello,
I have recently started a thread about a similar project. I start a new thread because I have completely re-designed my Theremin. I have minimised the number of components to make it easy to build on a simple strip board. The code is...
Hello,
I have recently started a thread about a similar project. I start a new thread because I have completely re-designed my Theremin. I have minimised the number of components to make it easy to build on a simple strip board. The code is...
Frank, if you look at file cores\Teensy4\CrashReport.cpp, you will find the code shown below, which reads and interprets the bits of register SRC_SRSR. Bits 0-8 indicate the cause of reset. You can copy and modify this code for your own use. The...
You might also try telling the display to invert the colors, like:
tft1.invertDisplay(true);
As defined in the Adafruit_SPiTFT file:
// -------------------------------------------------------------------------
// Miscellaneous class member...
There is also a ST7735_t3 library that is bundled with Teensyduino, it supports the ST7735 and the ST7789. There are multiple examples to show how to setup. For example, for a 240x240 display the initialization is simply
// For 1.54" TFT with...
Just ran a quick test using itoa() and utoa() and seems to be working at least on a Teensy 4:
char numberArray[20];
uint32_t number = 35000; // 5 digits
#define volumesize
void setup()
{
while(!Serial && millis() < 5000){}...
You might try starting off, running one of the SDFat test sketches from the Adafruit branch, to see if they work at all on the T4.
I have not used this fork of the SDFat library on Teensy boards, I have used it on a few of the Arduino boards.
I...
@JulienS: So, you would probably be safe to conclude that the Teensy is not UL certified. A quick Google search reveals that UL certification is reported as being very expensive. I am certainly not intending to speak in any way that might be...
Before, I try to answer these, I thought maybe should step back a second and give a little more background information.
Half Duplex: The Dynamixels use half duplex Serial to communicate. That is that there is only one data wire between them...
This is my favourite approach (parts 1 & 2):
https://hackaday.com/2015/12/09/embed-with-elliot-debounce-your-noisy-buttons-part-i/
https://hackaday.com/2015/12/10/embed-with-elliot-debounce-your-noisy-buttons-part-ii/
Note: the example can work very easily. Just force tell it, that it has KEYBOARD Interface.
Example: update the code in the example to manually define it like:
// Simple USB Keyboard Forwarder
//
// This example is in the public domain
#include...
Does this help?
I use the following in my app.
extern unsigned long _heap_start;
extern unsigned long _heap_end;
extern char *__brkval;
uint32_t freeRAMTeensy() {
return (char *)&_heap_end - __brkval;
}
uint32_t freeStackTeensy() {...
It's mostly my fault.
In the early days Teensy 4 development and beta testing, many important libraries like SPI were written with fairly conservative goals. We needed broad compatibility with all Arduino libraries. But many other libraries...
Prior post edits don't happen after some hour(s).
With the 16MB Flash it appears as a MicroMod. There are some added pins available ...
SDRAM works with an included library - see this to start: https://github.com/mjs513/SDRAM_t4
In order to avoid using custom cores to support the added pins for this project, we configured those extra pins on the MUX level, on a need to basis.
So using standard Teensy APIs on the newly exposed pins for Analog,Digital,PWM etc won’t work...