-
Older Activity
-
Today, 11:34 AM
This probably won't help much, but here's a page written 10 years ago when I tested Oleg's original hardware (long before any Chinese clones existed) with Teensy 2.0 and Teensy++ 2.0, which were the only 2 Teensy models...
34 replies | 22883 view(s)
-
Today, 11:17 AM
Please show complete programs. Even if the rest of the code is trivial, it is much easier to answer if we can copy the code into Arduino and run on a Teensy without the work of adding (guessing) the missing lines.
2 replies | 29 view(s)
-
Today, 06:00 AM
The connector is a "magjack", which means is more than just a plain RJ45. It has the ethernet magnetic coupling parts built in.
The kit does more or less just break out the pins, but to a magjack. It also has 1...
3 replies | 65 view(s)
-
Today, 04:51 AM
USB can do 2 meters. It's the way needing the least amount of extra hardware, just a good quality 2 meter cable. USB provides power, but for 2 meters make sure the cable has #24 or larger wires for the power. Cheap...
3 replies | 65 view(s)
-
Today, 01:13 AM
Good point. The documentation on the USB serial page says: "Initialize the Serial object. The baud rate is ignored and communication always occurs at full USB speed."
I've updated that page with better info.
17 replies | 438 view(s)
-
Yesterday, 09:40 PM
You can generally expect Teensy 4.0 & 4.1 to give about 25% better DSP performance than STM32H7.
They have exactly the same Cortex-M7 processor, but Teensy's runs at 600 MHz compared to only 480 MHz on the STM32...
1 replies | 73 view(s)
-
Yesterday, 08:52 PM
Well, this is also a discussion of pinout & form factor for the next Teensy.
319 replies | 39515 view(s)
-
Yesterday, 10:26 AM
Like most details of the audio library, it's documented in the design tool.
If you click any of these 3 outputs in the left column, their documentation appears in the right side column. Scroll down to "Hardware"...
17 replies | 1257 view(s)
-
Yesterday, 10:18 AM
I've updated the Serial.rts() documentation on the website to mention this Windows bug, with a link to this thread.
https://www.pjrc.com/teensy/td_serial.html
41 replies | 1255 view(s)
-
Yesterday, 10:05 AM
Quick followup to this old thread, 1.47-beta7 adds more detailed printing of memory usage. It does most but not all of the things discussed here.
This is the source code:...
107 replies | 4861 view(s)
-
Yesterday, 09:39 AM
I unblocked this IP.
7 replies | 442 view(s)
-
Yesterday, 12:21 AM
I've updated the 6 main product pages to have the word "analogWriteFrequency" (in the Digital Pins > PWM section) link directly to the part of the PWM page about controlling the frequency and which pins are associated...
8 replies | 186 view(s)
-
Yesterday, 12:01 AM
The purpose here is to improve compatibility with code designed using Arduino Uno & Mega, even if we can't get to the bottom of what really went wrong with JaredReabow's system.
I do not believe adding a...
17 replies | 438 view(s)
-
03-01-2021, 11:20 PM
Thanks everyone! ;)
10 replies | 300 view(s)
-
03-01-2021, 05:02 PM
This is how I2S works.
Teensy sends BCLK and LRCLK to the SGTL5000 chip. Then it transmits data bits on each BCLK. In the mode we use, the SGTL5000 has no control over the clocks. It has to use whatever clock it...
7 replies | 137 view(s)
-
03-01-2021, 01:45 AM
On the Teensy 4.1 page:
https://www.pjrc.com/store/teensy41.html
Scroll down to "Software" and look for "Command Line with Makefile".
We use an older version of gcc. Sometimes newer versions print warnings or...
8 replies | 141 view(s)
-
02-28-2021, 11:11 PM
I've merged the latest code, moved the constants into the class private members, and taken a few small liberties with the public API to make it similar to the rest of the audio library.
Documentation still needs...
191 replies | 5996 view(s)
-
02-28-2021, 02:22 PM
Hypothetically... if I were to add this for Teensy LC - 4.1, which PC-side software should I use for testing?
A big question I have, which can probably only be answered by experimenting, is whether the PC software...
5 replies | 613 view(s)
-
02-28-2021, 02:10 PM
I've updated the pinlist example.
https://github.com/PaulStoffregen/OctoWS2811/commit/affd97eb9d670cdabeedf94e2f78013f833a6216
2 replies | 254 view(s)
-
02-28-2021, 01:35 PM
Yes. SD was changed to a thin wrapper around SdFat (so all SD card access is SdFat) back at 1.54-beta3.
https://forum.pjrc.com/threads/64235-Teensyduino-1-54-Beta-3
36 replies | 1240 view(s)
-
02-28-2021, 04:06 AM
Even though the while (!Serial) doesn't explain the lockup where pressing the pushbutton was needed, I do believe it's time to reconsider the previously failed attempt to have Serial.begin() wait.
I'm going to put...
17 replies | 438 view(s)
-
02-28-2021, 03:57 AM
Two things...
1: The same PCB is used for both Teensy 3.5 and 3.6.
2: This was my first BGA and first 6 layer PCB design, which was done under time pressure for a Kickstarter campaign launch. A *lot* of work when...
11 replies | 338 view(s)
-
02-27-2021, 11:15 PM
Before merging this to the audio library, I want to see these new constants moved either inside the class definition (eg, at static const types) or to the cpp file. I can do it, if you would like to go with whatever...
191 replies | 5996 view(s)
-
02-27-2021, 07:13 AM
Lower source impedance allows for the voltage sampling capacitor inside the chip to charge (or discharge) to the right voltage during the limited time for sampling, and it also helps overcome small errors due to "charge...
5 replies | 131 view(s)
-
02-27-2021, 02:54 AM
Hopefully this can help?
https://forum.pjrc.com/threads/60599?p=238070&viewfull=1#post238070
There's a photo of the wiring and a video demo!
This particular microphone has a DC offset. You probably want to...
3 replies | 80 view(s)
-
02-26-2021, 09:40 PM
Try uncommenting this line in usb.c
//USB1_PORTSC1 |= USB_PORTSC1_PFSC; // force 12 Mbit/sec
5 replies | 158 view(s)
-
02-25-2021, 11:16 PM
First, a quick disclaimer, this message isn’t a contractual promise or guarantee or legal advice.
PJRC currently has no plans to discontinue Teensy LC or any of the 32 bit products. While I can’t predict the distant...
3 replies | 340 view(s)
-
02-25-2021, 10:18 PM
Just to repeat, I did indeed run the code you shared on a Teensy 4.1 here. I was able to upload several times without pressing the pushbutton. I can’t explain the behavior you have described. But I did test with a...
17 replies | 438 view(s)
-
02-25-2021, 03:54 PM
This is a really intriguing idea, to just use ethernet as a raw serial-like byte stream at 100 Mbit speed. Or maybe as a raw packet delivery?
If the ethernet mac is configured in promiscuous mode and automatic...
2 replies | 139 view(s)
-
02-25-2021, 11:09 AM
Maybe Teensy is transmitting "*** ONLINE ***" before your PC is able to complete USB detection, and then you interpret the lack of that message as the USB device not working? But that doesn't explain needing the press...
17 replies | 438 view(s)
-
02-24-2021, 08:57 PM
Nope. The cards are always included for distributors. The distributors get the cards bulk packaged, usually in sets of 100.
But mistakes and misunderstandings can happen. Sometimes a person will misplace the bulk...
8 replies | 235 view(s)
-
02-24-2021, 08:07 PM
I'm really sorry this happened. Every Teensy is always supposed to come with the documentation card.
Robin & I will contact TinyTronics....
If you want the original printed card (which is much nicer & more...
8 replies | 235 view(s)
-
02-24-2021, 07:15 PM
I might be reading too much into your question, but it sure sounds like you have a misunderstanding how of how programming Teensy really works.
The "Arduino language" really is just C++ which very minor...
6 replies | 170 view(s)
-
02-24-2021, 02:34 AM
I believe you should test without the Moxa products. If the same error happens with both plugged into the same LAN, that is much easier to reproduce and investigate.
If the error only happens with Moxa, perhaps it...
8 replies | 254 view(s)
-
02-24-2021, 01:04 AM
Which Teensy pins each configuration of input & output uses are also documented in the design tool right-side panel.
38 replies | 5441 view(s)
-
02-24-2021, 12:43 AM
The answer depends on so many unknowns. Nobody could possibly give you a definitive answer. The best anyone can do is help you figure out which things you need to know, or just make up some numbers by sheer guesswork....
13 replies | 306 view(s)
-
02-23-2021, 11:36 PM
Yup, PCM1808 is really simple. You can use either I2S or I2S2 on Teensy 4.x. Just connect the 4 signals. MCLK is named SCKI on that chip. The other 3 have names the same as Teensy uses.
PCM1808 has 3 config pins....
2 replies | 72 view(s)
-
02-23-2021, 09:14 PM
That's not how unwanted ground loop currents work. They change the observed signal by altering the ground reference. The signal could be absolutely perfect, but if you alter the ground voltage seen by the equipment...
19 replies | 387 view(s)
-
02-23-2021, 08:52 PM
Looks like this project isn't using USBHost at all.
But yeah, improved USB host MIDI transmit was recently put into USBHost_t36 and it's in 1.54-beta7 (published yesterday).
Part of that improvement is a change to...
8 replies | 179 view(s)
-
02-23-2021, 02:01 PM
Pretty sure that's on me. I've never bothered to put metadata beyond the bare minimum into the resource file. It only has the program's icon and an XML file that prevents the "This program might not have installed...
36 replies | 1240 view(s)
-
02-23-2021, 11:39 AM
Yeah, this beta was prompted by changes to the builds on all 3 operating systems.
On Windows, we were forced to get a new code signing cert. They rubber stamp reissue the old one if you renew within 39 months. The...
36 replies | 1240 view(s)
-
02-23-2021, 03:09 AM
Two questions for everyone using Windows
1: Is Teensy Loader chewing up CPU while idle, like it was on Linux?
2: How difficult is the download & install (before Microsoft's servers re-learn PJRC is safe)?
36 replies | 1240 view(s)
-
02-23-2021, 02:53 AM
I2S slave mode causes the entire audio library to run at the sample rate dictated by the incoming LRCLK signal. Hopefully the fundamental reason why 2 ports running in slave mode can't work is apparent.
Someday...
38 replies | 5441 view(s)
-
02-23-2021, 02:49 AM
It should work, but hasn't been tested.
157 replies | 17784 view(s)
-
02-22-2021, 10:37 PM
Maybe I should package up 1.54-beta7 today, or soon-ish?
Might also be a good time to test Windows installs signed with the new cert (PJRC was forced to renew a couple weeks ago).
76 replies | 1570 view(s)
-
02-22-2021, 10:08 PM
You can also click the button to skip the udev rules check.
76 replies | 1570 view(s)
-
02-22-2021, 12:26 PM
I'll admit, I've sometimes wondered if the 512 tap FIR filter was really a good idea. I wrote the code more as a challenge to see if Teensy could implement such an extreme filter rather than a careful plan. The...
13 replies | 882 view(s)
-
02-22-2021, 11:21 AM
To quickly answer your 3 questions...
Yes.
For Teensy 3.2, in mk20dx256.ld on line 49:
10 replies | 9209 view(s)
-
02-22-2021, 04:46 AM
Arduino Uno is woefully underpowered, only 8 bits and only 16 MHz. Uno also lacks DMA to efficiently move data between memory and audio hardware. It has no hope of running the audio library code.
Your best path is...
3 replies | 132 view(s)
-
02-22-2021, 02:21 AM
Feels good to finally get these many lingering Linux issues fixed. :)
76 replies | 1570 view(s)
-
02-22-2021, 12:43 AM
Probably not worthwhile. I tested 32 bits on Raspberry Pi 4.
Unless Kurt turns up any more issues, I'm going to cross ARM64 troubles off my bug list.
76 replies | 1570 view(s)
-
02-22-2021, 12:37 AM
Did you run 32 bits or 64 bits on your Raspberry Pi? So far, I've only tested 32 bits.
Yup, added the hidraw rule. The usb subsystem rule also applies. But it looks like the more complex wildcard syntax is buggy...
76 replies | 1570 view(s)
-
02-21-2021, 11:46 PM
Today I went down the deep rabbit hole of Linux udev rules.
To make serial raw mode configure work well on Raspberry Pi, I had to rename the file from 49-teensy.rules to 00-teensy.rules.
...
76 replies | 1570 view(s)
-
02-21-2021, 08:52 PM
Well, after much removing and restoring files, I finally tracked it down to this line (meant for some Arduino.org boards):
SUBSYSTEMS=="usb", ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="*", MODE:="0666"
I have...
76 replies | 1570 view(s)
-
02-21-2021, 07:51 PM
Arduino kinda does support UTF8. If you type or copy non-latin characters into strings, the Arduino IDE does end up putting UTF8 encoded strings into memory. And if you transmit UTF8 encoded data to the serial...
16 replies | 392 view(s)
-
02-21-2021, 02:37 PM
Yes, I agree.
But so far, I can't reproduce the problem on my Linux desktop.
The /dev/hidraw devices are being created with open permissions.
76 replies | 1570 view(s)
-
02-21-2021, 02:10 PM
This new size program parses the binary .elf file directly, so we're not depending on the specifics of a human readable text format. ELF 32 bit is a very stable binary format.
I tried to keep the main program part...
88 replies | 3295 view(s)
-
02-21-2021, 01:44 PM
Yes, a check for not enough RAM1 left for a reasonable size stack is a good idea. If you feel like doing this, please add it and send a pull request.
To show an error in red text, just print to stderr without the...
88 replies | 3295 view(s)
-
02-21-2021, 09:27 AM
Yup, a harmless warning. Fixed on github.
https://github.com/PaulStoffregen/teensy_size/commit/492d4b76d8844a770e06ac48a7cf8574b27bfdb5
88 replies | 3295 view(s)
-
02-21-2021, 07:55 AM
I changed teensy_size to print to stderr and prefix each line with "teensy_size:". This causes the size report to be visible in both verbose and non-verbose mode. But Arduino shows it in alarming red color.
I'm...
88 replies | 3295 view(s)
-
02-20-2021, 11:08 PM
I might just patch the Java code to run it, if builder doesn't give a way to have its output seen in non-verbose mode.
88 replies | 3295 view(s)
-
02-20-2021, 11:01 PM
Minor problem... looks like arduino builder discards all the stdout printing in non-verbose mode. :(
88 replies | 3295 view(s)
-
02-20-2021, 09:56 PM
I'm going to edit the linker scripts. Now that we can print more detailed info, having too much stuff lumped together in the .text.progmem segment means we get inaccurate info.
If you grab newer versions of...
88 replies | 3295 view(s)
-
02-20-2021, 09:33 PM
Plan is not using builder's regex stuff.
So add this to platform.txt
recipe.hooks.postbuild.4.pattern="{compiler.path}teensy_size" "{build.path}/{build.project_name}.elf"
and delete the...
88 replies | 3295 view(s)
-
02-20-2021, 08:40 PM
The code on github right now prints this, for the LadderFilter example compiled for Teensy 4.1.
FLASH: code:59452, data:6152, headers:7212 free for files:8053648
RAM1: code:65536, variables:21184 free for...
88 replies | 3295 view(s)
-
02-20-2021, 08:31 PM
I'm kinda hoping for a replacement. Committed some code on github towards that goal.
88 replies | 3295 view(s)
-
02-20-2021, 08:28 PM
Is anyone using a different PDM chip than MP34DT01-M or MP34DT05-A?
13 replies | 882 view(s)
-
02-20-2021, 05:45 PM
I'd like to ask everyone who wants me to work on this a question.
Which PDM microphone or chip are you using?
(hint: I'm more motivated by seeing photos...)
13 replies | 882 view(s)
-
02-20-2021, 05:41 PM
To learn everything in such detail is a huge undertaking. It could reasonably be expected to take years to cover it all in a "deep complete basis".
So with that in mind, you could think of learning probably 6 broad...
6 replies | 170 view(s)
-
02-20-2021, 11:59 AM
Here is the elf parsing code.
https://github.com/PaulStoffregen/teensy_size
Want the final result to be compact in the non-verbose mode, probably 1 line per memory region shown on the product page (so 3 lines for...
88 replies | 3295 view(s)
-
02-20-2021, 09:56 AM
Should be possible. You need to edit usb_desc.h inside {Arduino}/hardware/teensy/avr/cores/teensy4 (or teensy3 - there are 2 copies of this file). See the comments in the top of that file for instructions.
3 replies | 111 view(s)
-
02-20-2021, 09:30 AM
Would you like me to investigate? I need a complete program I can copy into Arduino, even if the rest seems "trivial".
14 replies | 524 view(s)
-
02-20-2021, 02:29 AM
I'm not sure what to do with PlatformIO, but here's a link to the Servo library Teensyduino uses.
https://github.com/PaulStoffregen/Servo
Maybe you can somehow import this to PlatformIO?
6 replies | 129 view(s)
-
02-20-2021, 12:40 AM
I've built the ARM 32 & 64 bit versions. Here are links to all 4 Linux installers.
ARM 32 bit
https://www.pjrc.com/teensy/td_154-beta6c/TeensyduinoInstall.linuxarm
ARM 64 bit...
76 replies | 1570 view(s)
-
02-19-2021, 09:26 PM
Don't waste too much time on the old version on Raspberry Pi. I'm updating the ARM64 build to GTK3.
76 replies | 1570 view(s)
-
02-19-2021, 08:57 PM
Even if Princeton discontinues the genuine PT8211, seems pretty likely the Chinese counterfeits will remain.
35 replies | 1162 view(s)
-
02-19-2021, 08:53 PM
Try the installer on msg #36.
Should be fine to install this "on top of" the 1.51 install you already have. Or extract a fresh copy of Arduino and install into it, if you want to have both copies side-by-side for...
76 replies | 1570 view(s)
-
02-19-2021, 07:53 PM
Kurt, can you remind me about the problems you saw with ARM64 Ubuntu running on Raspberry Pi?
76 replies | 1570 view(s)
-
02-19-2021, 07:39 PM
Ok, here a first attempt at building Teensy Loader with GTK3.
https://www.pjrc.com/teensy/td_154-beta6c/TeensyduinoInstall.linux64
https://www.pjrc.com/teensy/td_154-beta6c/TeensyduinoInstall.linux32
Hopefully...
76 replies | 1570 view(s)
-
02-19-2021, 05:56 PM
Don't choose postal air mail to China. It takes forever and often packages just disappear in the void. Click the expensive UPS option.
Robin can sometimes substitute DHL for UPS if it's less expensive. If you want...
157 replies | 17784 view(s)
-
02-19-2021, 05:52 PM
I still haven't figured out exactly what's different between 20.04.1 (fast after updates) versus 20.04.2 (slow startup even after updates).
But the "big picture" view appears to be that support for GTK2 is dying. I...
76 replies | 1570 view(s)
-
02-19-2021, 04:31 PM
I'm continuing to work on this today. I want to better understand why this happens and what's truly different between 20.04.1 and 20.04.2 before I decide on the best (or least painful) workaround.
Don't worry. ...
76 replies | 1570 view(s)
-
02-19-2021, 10:19 AM
After some rest, I restarted this testing with a more methodical approach. Looks like Ubuntu has published 4 different .iso images:
20.04
20.04.1
20.04.2
20.04.2.0
This time I set up 4 VMs and installed each. ...
76 replies | 1570 view(s)
-
02-19-2021, 09:26 AM
Just place the order on the website.
If you have questions, ask them here. Don't email or call for any questions. All questions need to be asked & answered here on the forum.
After you've soldered the chip to...
157 replies | 17784 view(s)
-
02-18-2021, 11:05 PM
I've reinstalled 20.04 a few times and I just can't reproduce the slow startup again, even with the old versions. Not sure where to go from here?
76 replies | 1570 view(s)
-
02-18-2021, 09:32 PM
Oh so frustrating. Now I can't reproduce the problem in a VM, even after a fresh install without even installing the VM'd tools/drivers.
Yesterday I was definitely able to reproduce it. No idea what changed. :(
76 replies | 1570 view(s)
-
02-18-2021, 08:25 PM
Can you do a couple quick checks?
When it does finally appear, what version does Help > About say?
The file in your {Arduino}/hardware/tools/teensy is supposed to be 7809344 bytes and should have this sha1sum:
...
76 replies | 1570 view(s)
-
02-18-2021, 08:20 PM
FWIW, the problem as I understand it is the GTK developers completely changed how menus work. It's apparently a lot more complicated than just code inside 1 program, as the new system allows each window's menus to...
76 replies | 1570 view(s)