-
Older Activity
-
Today, 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...
3 replies | 3 view(s)
-
Yesterday, 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 | 158 view(s)
-
Yesterday, 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 | 158 view(s)
-
Yesterday, 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 | 135 view(s)
-
Yesterday, 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 | 213 view(s)
-
Yesterday, 01:04 AM
Which Teensy pins each configuration of input & output uses are also documented in the design tool right-side panel.
38 replies | 5316 view(s)
-
Yesterday, 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....
10 replies | 195 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 | 54 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 | 337 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...
6 replies | 108 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...
24 replies | 453 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...
24 replies | 453 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)?
24 replies | 453 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 | 5316 view(s)
-
02-23-2021, 02:49 AM
It should work, but hasn't been tested.
157 replies | 17358 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 | 1450 view(s)
-
02-22-2021, 10:08 PM
You can also click the button to skip the udev rules check.
76 replies | 1450 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 | 835 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 | 9179 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 | 113 view(s)
-
02-22-2021, 02:21 AM
Feels good to finally get these many lingering Linux issues fixed. :)
76 replies | 1450 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 | 1450 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 | 1450 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 | 1450 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 | 1450 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 | 344 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 | 1450 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 | 3182 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 | 3182 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 | 3182 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 | 3182 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 | 3182 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 | 3182 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 | 3182 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 | 3182 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 | 3182 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 | 3182 view(s)
-
02-20-2021, 08:28 PM
Is anyone using a different PDM chip than MP34DT01-M or MP34DT05-A?
13 replies | 835 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 | 835 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 | 135 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 | 3182 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 | 96 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".
11 replies | 387 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 | 126 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 | 1450 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 | 1450 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 | 1104 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 | 1450 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 | 1450 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 | 1450 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 | 17358 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 | 1450 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 | 1450 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 | 1450 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 | 17358 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 | 1450 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 | 1450 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 | 1450 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 | 1450 view(s)
-
02-18-2021, 08:01 PM
Ok, here's a fix for the slow startup issue on Ubuntu 20.04.
https://www.pjrc.com/teensy/td_154-beta6b/TeensyduinoInstall.linux64
I also put some work into the long-standing bug where Teensy Loader consumes...
76 replies | 1450 view(s)
-
02-18-2021, 02:14 PM
Any chance you're using Ubuntu 20.04?
Might be this issue.
https://forum.pjrc.com/threads/62809-Teensy-Loader-slow-to-start-up
8 replies | 171 view(s)
-
02-18-2021, 02:09 PM
Looks like Ubuntu 18.04 is the oldest (of the LTS releases) which builds a fast startup Teensy Loader for Ubuntu 20.04. The 18.04 build at least loads on 16.04, but it can't run at all on 14.04 due to C library...
76 replies | 1450 view(s)
-
02-18-2021, 11:28 AM
I'm continuing to work on this problem. The root cause seems to be related to appmenu-gtk2-module not installed by default, so Ubuntu 19.10 and 20.04 don't support programs using the older GTK2 APIs. Seems Teensy...
76 replies | 1450 view(s)
-
02-18-2021, 11:23 AM
Have you tried without the Moxa wireless devices?
8 replies | 213 view(s)
-
02-18-2021, 04:48 AM
I was finally able to reproduce this problem inside a virtual machine.
Hope to get to the bottom of this soon and find a fix for 1.54-beta7.
76 replies | 1450 view(s)
-
02-18-2021, 02:42 AM
The envelope effect probably doesn't make much sense for this application. It's meant to turn a steady waveform into a note which starts & stops. But the sound you're processing already starts and stops. Even if you...
7 replies | 164 view(s)
-
02-18-2021, 01:14 AM
Every chip with a Cortex M0 inside uses its own method of programming memory. While the M0 might play a role in the programming, the specific programming details aren't part of the M0. Chips from different companies...
2 replies | 108 view(s)
-
02-17-2021, 11:51 PM
In terms of bandwidth, USB at 480 Mbit/sec is definitely the fastest way to communicate.
The serial ports do offer a nice simplicity though, where latency is much easier to anticipate. They can run at 6000000 baud,...
2 replies | 109 view(s)
-
02-17-2021, 11:12 PM
This is exactly what the envelope object does. It blocks all sound until you call noteOn(). Then when you call noteOff(), it fades the sound out and again blocks everything.
Normally envelopes are used after...
7 replies | 164 view(s)
-
02-17-2021, 08:42 PM
I recall looking at Opus some time ago. It wanted 8 kHz sample rate back then. Almost everything we do is for 44.1 kHz.
6 replies | 193 view(s)
-
02-17-2021, 07:42 PM
You can also use analogWriteFrequency with any of the PWM pins. But you'll get 32765.4 Hz, because it has to use an integer division of the 150 MHz peripheral clock. That peripheral clock also comes from the ARM clock...
19 replies | 356 view(s)
-
02-17-2021, 07:33 PM
On Teensy 4.1, you can access it here:
19 replies | 356 view(s)
-
02-17-2021, 07:27 PM
To turn on the 32 kHz clock output at that pin, use this:
IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_00 = 2; // AD_B0_00 = REF_CLK_32
Details on page 472-473.
19 replies | 356 view(s)
-
02-17-2021, 07:19 PM
Yes, it is GPIO_AD_B0_00, which is pin M14 on the BGA. On Teensy 4.0 it can be accessed at this bottom side test pad.
19 replies | 356 view(s)
-
02-17-2021, 02:46 PM
On Teensy 4, try using 1.54-beta6. I believe we lowered the default SPI speed to only 16 MHz so more of those cheap level shifter boards could work by default.
...
8 replies | 171 view(s)
-
02-17-2021, 01:44 PM
You can subscribe to the announcements forum.
https://forum.pjrc.com/forums/6-Announcements
Look for the "Forum Tools" drop-down menu on that page.
24 replies | 486 view(s)
-
02-17-2021, 12:54 PM
Should I merge this into the audio library? I see it already has the MIT license header. :)
Would be nice to get it into 1.54-beta7 so more people can get access and test it... before a 1.54 release.
On the...
19 replies | 1076 view(s)
-
02-17-2021, 12:28 PM
That AD5679R chip looks amazing. And for the price, it really ought to be!
SPI protocol is designed by "burst" style access. Achieving sustained full audio bandwidth output at a low-jitter sample rate is really...
6 replies | 210 view(s)
-
02-17-2021, 11:54 AM
Updated on github.
https://github.com/PaulStoffregen/Audio/commit/96d0c98a045d56e07cf881c73a4996f52648b719
181 replies | 5590 view(s)
-
02-17-2021, 03:18 AM
I just upgraded to from Ubuntu 18.04 to 20.04. Teensy Loader comes up quickly for me on the new system.
Will try soon with a clean 20.04 install in a VM. If that doesn't reproduce it, I'll get a real machine for...
76 replies | 1450 view(s)
-
02-16-2021, 11:58 PM
I'm still on Ubuntu 18. Maybe its time to finally upgrade....
76 replies | 1450 view(s)
-
02-16-2021, 08:09 PM
If anyone works on this, we please also consider what sort of numerical range is normally used by "typical" USB audio devices.
Linux prints a warning (syslog message) about the range we have now....
6 replies | 284 view(s)
-
02-16-2021, 07:11 PM
Any chance I could talk you into trying this test with the clock speed configured to 528 and 396 MHz?
Use Tools > CPU Speed before uploading to set the clock speed.
NXP's extended temperature parts are rated only...
2 replies | 214 view(s)
-
02-16-2021, 01:09 PM
From your error log on msg #63:
/home/linuxgoran/Downloads/arduino-1.8.13-linux64/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c
-O1 -g -Wall -ffunction-sections -fdata-sections -nostdlib...
66 replies | 3310 view(s)
-
02-16-2021, 12:47 PM
I don't know what a "Moxa AP" is. This page on the Moxa website shows 4 products. I'm not familiar with any of these, or how they would fit into this... or if my quick searching even found the relevant info.
But...
8 replies | 213 view(s)
-
02-16-2021, 12:39 PM
Looks like there is code here, in a ZIP file.
This appears to be the code on the Teensy 4.1.
#include <NativeEthernet.h>
//#include <SPI.h>
//#include <NativeEthernet.h>
8 replies | 213 view(s)
-
02-16-2021, 12:24 PM
Can you say which SD card you're using? If you're not going to show us any code to reproduce the problem, maybe at least describe what your code is doing with that card?
15 replies | 448 view(s)
-
02-16-2021, 11:06 AM
I've committed the code on github, so it'll certainly be in future releases.
https://github.com/PaulStoffregen/SD/commit/bd9b8316df6940691ae866c2c44606c7579e7fe7
Timing of future releases is difficult to predict. ...
24 replies | 486 view(s)
-
02-16-2021, 10:40 AM
The test with 480 mA extra current (a 10 ohm and 22 ohm resistor) has been running continuously for over 6 hours.
At this point, I'm going to turn this off and move on to other more urgent matters, since I just don't...
15 replies | 448 view(s)