If you desolder the crystal and try connecting the output of an oscillator (rather than another simple crystal), this corner is the location to connect the oscillator output.
You probably should use resistors to attenuate the oscillator output...
Yeah, probably.
Those look physically smaller than the 3.2 x 2.5 mm part on Teensy 4.1. But yes, if you could get one in the correct physical size, a TCXO would likely give an improvement over the ordinary crystal you have now.
Maybe an OCXO...
Thanks for confirming. I'll keep this thread on my list to watch, but sounds like no need to deep dive right now. If it is looking like Wire might have a problem, hopefully a clear test case can be made before I dive into the Wire library.
Before you disable other interrupts, perhaps first try NVIC_SET_PRIORITY(IRQ_PORTD, 0);
0 is the highest priority, 255 is the lowest. By default, various interrupts are assigned 32 to 128, so setting 0 will allow it interrupt any others and no...
Quick followup, is there still reason to believe the Wire library may have a bug which I should investigate?
I see we have a solution to use Sparkfun's library and connect RST and INT pins. Is there any reason to believe the problems without...
Most but not all Teensy 3.0 had black solder mask. Some of the earliest Teensy 3.1 were also black.
The board in this photo is definitely Teensy 3.0. The lighting doesn't quite catch the main chip well, but it is readable "MK20DX128VLH5" with...
No, there isn't any such comprehensive library hardware usage documentation. While some libraries are fairly simple and use SPI, Wire or Arduino GPIO functions to do their hardware access (most of Adafruit's libraries for various chips do this)...
Check out the "Memory" section of the Teensy 4.1 page for detailed documentation.
https://www.pjrc.com/store/teensy41.html#memory
Might also be worth mention, if you're used to the way NXP's SDK does things... well, we're a bit more creative...
Something must be wrong with the way you're testing. If you show us what you're doing, maybe we could spot the problem. Recommend starting with a photo of your test setup. It could be a "simple" mistake or misunderstanding which you could look...
FWIW, with publishing 1.59-beta4, I changed the main package index to use ZST for all downloads. So far nobody has complained they can't download.
In hindsight, we probably should have switched to ZST earlier. I knew the older versions of...
Yes, speeding up the install time is the main goal.
Reducing bandwidth cost on the PJRC server is icing on the cake, but not my main focus. We currently have 20TB monthly allocation and we're running between 1.6TB to 1.8TB each month...
I also ran the code from msg #1 on a Teensy 4.0, using Arduino IDE 2.2.1 with Teensyduino 1.59-beta4 (0.59.4 in Boards Manager).
This is what my oscilloscope sees on pins 10, 11, 13:
Photos of the hardware are what's missing here. The problem is almost certainly poor soldering or a wiring mistake or misunderstanding.
I can confirm 64GB cards definitely do work with the audio shield and Teensy 4.0.
We can help you get the...
After you install any of these libraries, click File > Examples and scroll down the long list to look for your freshly installed library's examples.
Some of these libraries give multiple ways to access the hardware. You want "hardware SPI"...
I tried running older IDE versions. Looks like ZST works all the way back to IDE 2.0.4, at least on Linux. Assuming Windows and MacOS are the same.
Looks like IDE 2.0.3 is the point where we lose compatibility with "extracting archive: Not a...
Quick followup to this old thread. For the next version of Teensyduino, I'm adding a check for the installed location if running on Windows. If Teensyduino appears to in a pathname installed by Boards Manager, but Arduino IDE doesn't give...
In Arduino IDE, first make sure you have Teensy selected either from the drop-down list in the toolbar or from Tools > Board menu. The rest of Arduino's menus update depending on the selected board.
Then look for the examples in File > Examples...
Please understand I'm guessing trying to figure out what's wrong over the internet without access to your hardware... so here's another blind guess.
I see you have Adafruit_NeoPixel library in use. Looks like Adafruit_NeoTrellis might also have...
You might also consider placing resistors in series with the Teensy pins. Even 1K will go a long way towards limiting current and protecting Teensy is something really bad happens to the transceiver chip, or anything else that has a GPIO pin...
Looking like ZST is the clear winner. And wow is XZ slow (as implemented by Arduino using Google Go) on Windows. It was slower when I tried on Linux, but nothing like that slow!
In this screenshot you can see a slightly different URL than the one recommended on the download and install page. It's from this forum thread where we're testing alternate compression for the next release. For long term use, you should use the...
Version 2.2.1 is the latest stable release. I downloaded the nightly build from Arduino's website just now. It says versions 2.2.2-nightly-20231130. That ought to be the very latest.
Indeed it has the same "Additional boards manager URLs" in...
Wow, I saw XZ was slower on Linux too, but that's a pretty incredible difference.
Hopefully more people with Windows can give this a try and report on the overall speed....
Running on a Windows 11 home edition pc I removed Teensy before each test then did the install. Used 1.58.1 as the common denominator. Windows stopwatch was used for timing.
Original BZ2 Compression: 3 minutes 43 seconds
ZST Compression: 3...
Arduino IDE now supports ZST and XZ compression. I'm considering switching from BZ2. Downside is we lose compatibility with Arduino IDE 2.0.x and maybe even 2.1.x. So the big question is, are these better compression formats worth it?
XZ...
Unfortunately this is impossible. NXP simply did not provide this capability (in the RT1062 chip). No amount of wishful thinking or crafty software can cause a wire to exist where there is none inside the chip between a GPIO pin and the ADC...
Blind guess... can you connect a voltmeter to monitor at the power input? Perhaps with Teensy 4.1 and the LEDs and audio shield you might be running right at the limit of your power supply. Then using the SD card might be adding more power...
I re-read this thread but couldn't see which particular motion sensor board you have. Would be much easier to answer this sort of question if you could give a link to the product page if it's from a well-known site like Sparkfun or Adafruit. Or...
Do you have any specific webcam model that definitely supports bulk transfer? I'd like to buy one to have for testing. Even if odds are slim I'll manage a lot, maybe I can help in small ways with the low-level stuff if you get stuck.
Confirm, the main reason is to prevent possible back flow of current into your PC. Or the same into whatever power supply is connected to Teensy, if that power supply is turned off while the PC gets connected.
Indeed the risk in practice is...
First to answer your "Is it possible" regarding 512 bit data frame, yes, at least in theory from reading the reference manual and datasheet specs. But as a practical matter, editing the audio library code to accomplish this requires...
Several times I've considered making an ADC shield. Might still do it. Recently have been playing with a relatively cheap (~$4) single channel 16 bit ADC chip and a 8:1 mux, both controlled with FlexIO. Input setting time is a difficult...
Every Teensy comes with a pinout reference card that shows which pins. I'm guessing you already have that? Or you can see it on the Teensy 4.1 page and find a link to download the PDF.
If you're looking for more detailed documentation, this...
When talking of what can versus can not be done, it's important to keep in mind whether the limit is the hardware capability or only the artificial limits imposed by the MPU.
If you configure the MPU differently, the hardware can indeed execute...
The location depends on your operation system. On MacOS and Windows it's a hidden folder (as viewed from Finder or Explorer).
On any OS, to see the full pathnames of all libraries Arduino used, click File > Preferences (may be Arduino >...
If you just want to try Phazerville firmware on Teensy 4, all you need is a normal (not VOR) version of the Ornament and Crime boards... with Teensy 3.2 installed in a socket. (sadly, it seems many were built with Teensy 3.2 hard soldered). If...
This is the info I see in the datasheet on page 9.
And this on page 10.
If this doesn't clear everything up, can you give a link or screenshot to the documentation you're seeing about "GAX"? From the info I can see, GAX would mean a 1.75...
The audio library has RMS analysis. This is the official documentation (right side panel)
https://www.pjrc.com/teensy/gui/?info=AudioAnalyzeRMS
And here is a link to the source code...