-
Older Activity
-
Today, 02:54 PM
Thank you. I tried compiling using your code and I'm getting "Compilation error: 'RTC_TPR' was not declared in this scope". Is there a library I'm missing?
2 replies | 73 view(s)
-
Today, 02:41 PM
Another 2-channel option is MCP4922. Only about $3.00
12 replies | 185 view(s)
-
Today, 02:36 PM
It feels like something related to what you're doing in your ISRs, but that's just a guess. You don't need to disable interrupts when reading/writing EEPROM, so as a quick test, you could try commenting out those lines...
7 replies | 136 view(s)
-
Today, 02:10 PM
Yes, as mentioned Arduino IDE 2.0.5 is by default with 1.57.2, and I have been testing that today.
But I could/would very well use beta if that provides help with the wireless mouse etc. and not too badly breaks...
74 replies | 5926 view(s)
-
Today, 01:51 PM
Hi joshnishikawa :) .. just picking up this older thread and wanted to send you my THANKY YOU, as I always use (and love) your library, works awesome, great ! fyi: Using your TouchSwitch (on-off_stable example)
The...
4 replies | 1562 view(s)
-
Today, 01:31 PM
@Garug - not sure here... Especially if for example your Arduino 1.x version and 2.x version are both running the same version of Teensyduino code. Then I would think
they should give you more or less the same...
74 replies | 5926 view(s)
-
Today, 01:31 PM
Hi, I produce midi controllers for use in live shows and one of my customers recently reported that using a Motorola radio (walkie talkie) in close proximity of the controller was causing it to spontaneously send a MIDI...
0 replies | 14 view(s)
-
Today, 01:19 PM
Thanks for the reply, KurtE. The RawHID was a red herring. I know all hubs are not created equal, and I tested with a few more hubs and could not reproduce the issue. The second test with the devices set to USB MIDI,...
730 replies | 114974 view(s)
-
Today, 01:10 PM
@yeahtuna Quick thing on your sketch, which may or may not help.
On the second teensy, it logically looks like it boils down to:
void loop() {
myusb.Task();
if (rawHIDTimer > 50) {
...
730 replies | 114974 view(s)
-
Today, 01:07 PM
Hi,
I have created an audio class that allows to create waveforms (square, triangle, sawtooth) by addition from sine waves. I want to use the class for a synth that should not get aliasing problems in the higher...
0 replies | 27 view(s)
-
Today, 01:02 PM
Thanks for trying to help me, Joe... That Int in the name was actually meant as eeprom_readInteger(), eeprom_writeInteger()... But I have a few ISR in the code, that's why I'm disabling and re-enabling interrups, when...
7 replies | 136 view(s)
-
Today, 01:00 PM
Paul posted this code:
extern "C" int _gettimeofday(struct timeval *tv, void *ignore) {
uint32_t hi1 = SNVS_HPRTCMR;
uint32_t lo1 = SNVS_HPRTCLR;
while (1) {
uint32_t hi2 = SNVS_HPRTCMR; // ref manual...
2 replies | 73 view(s)
-
Today, 12:38 PM
Here's a sketch to show that the USB Host MIDI driver is causing the Mass Storage driver to fail.
Both teensy devices should be running the same sketch included below. If the test is performed without the second...
730 replies | 114974 view(s)
-
Today, 12:26 PM
That is not the serial port, and it's just an illustration to get the idea across. The first teensy is of course attached to a computer. It looks like the real culprit is the MIDI driver. I'll post an updated test.
730 replies | 114974 view(s)
-
Today, 12:12 PM
Not sure that would ever work the way you have it set up. As far I as know you are only going to be able to access the mscDrive if its hooked up via the USBHost port not the serial port. Running the same sketch on the...
730 replies | 114974 view(s)
-
Today, 12:10 PM
It's really not possible to help without seeing a complete program, so please try to reduce what you're doing to a small, working program that shows the issue. With that said, does "Int" stand for interrupt in these...
7 replies | 136 view(s)
-
Today, 12:08 PM
Tried with a different USB hub and it seems to be working fine.
730 replies | 114974 view(s)
-
Today, 11:48 AM
You may also want to look at https://forum.pjrc.com/threads/72233-OTA-through-Ethernet-with-Teensy-4-1 for and example using FlasherX to perform updates over the ethernet interface.
The way this works is that as the...
2 replies | 87 view(s)
-
Today, 10:52 AM
So actually I don't need to write to EEPROM at all, but EEPROM changes randomly on every restart when my code is running... Here, first at address 30 the value 250 is zeroed after a reboot, then at address 32 value 6 is...
7 replies | 136 view(s)
-
Today, 10:39 AM
Here is another example - I wrote 4 at address 26, but after turning Teensy off and on, I got a value of 0 at address 12 ... Then I just turned Teensy off and on again without any write and I got a random value of 6577...
7 replies | 136 view(s)
-
Today, 10:35 AM
I just wanted to say that JackTrip is an awesome project, never heard of it and I will be digging in for sure.
Exactly what connection is needed electrically to connect an external clock to the Teensy? I know I've...
3 replies | 144 view(s)
-
Today, 09:23 AM
Hi Joe, thanks for your time, your code is working as it should, of course... Not sure what is happening in my case...
Just to test the issue I'm trying to read EEPROM at the beginnig of the setup(), and then...
7 replies | 136 view(s)
-
Today, 09:21 AM
I've also got one of these old Kingston Datatraveler drives (a 4GB). When connected directly to a Teensy 4.1 it will not work at all, not matter how long the timeouts are or if the initial reset is skipped - the...
730 replies | 114974 view(s)
-
Today, 08:34 AM
Thanks, with the help of /Users/{username}/Library/Arduino15/packages/teensy/hardware/avr/ and Go I found the relevant files
It seems the Arduino IDE 2.0.5 is by default with 1.57.2
also after
void...
74 replies | 5926 view(s)
-
Today, 07:02 AM
As far as I can tell, in the code printed, you are using the standard SPI pins (MOSI = 11, MISO = 12, SCLK = 13). Note the Teensy LC, 3.2, 3.5, and 3.6 allow you to use alternate SPI pins (MOSI = 7, MISO = 8, SCLK =...
6 replies | 112 view(s)
-
Today, 05:33 AM
Well I've been hacking with this some more and I got this ADAT going on SAI3 (Teensy 4.x only), that's right the SAI3 used for Medium Quality Sound (MQS).:D Tx_Data0 out on Pin 31- EMC36,
There is also MCLK3 on Pin...
72 replies | 5918 view(s)
-
Today, 04:39 AM
I just wired my Teensy 4.1 up using Adafruit's WifiNINA / Airlift library, and it seems to be working fine for me. I did not have any luck at redefining SPI pins, although I didn't try too hard on it. Here is my working...
6 replies | 112 view(s)
-
Today, 04:21 AM
Is only a single QSPI/PSRAM chip needed?
Most of those pads look awful. As long as they aren't shorted there might be a way to get one PSRAM working.
refer to the T_4.1 card and get the orientation right ...
The...
1 replies | 56 view(s)
-
Today, 03:28 AM
Long story short, I tried surface mounting additional PSRAM onto my Teensy 4.1 without having the requisite soldering skills to do so. As you can imagine, this resulted in the additional PSRAM not being recognized, and...
1 replies | 56 view(s)
-
Today, 03:28 AM
Yes and since this one is R2R, that dovetails with another lab where they have to build a 3-bit R2R DAC by hand :cool:
My laser galvo project is AC coupled, but if I decide to do anything where they have to measure...
12 replies | 185 view(s)
-
Today, 03:20 AM
I've got labs already using the 4725 but with either an Arduino or a RPi; however, I've not been able to drive the I2C bus fast enough for my tastes at full bit depth. For teaching purposes this is ok but somewhat...
12 replies | 185 view(s)
-
Today, 02:57 AM
Arrow has IMXRT1062DVN6B and MIMXRT1062DVL6B. They aren't what you want but are the only thing I've seen in stock that can work for Teensy.
224 replies | 66419 view(s)
-
Today, 02:12 AM
Here is a minimal setup to cause the MassStorageDriver to fail.
Both teensy devices should be running the same sketch included below. If the test is performed without the second teensy connected to the USB host...
730 replies | 114974 view(s)
-
Today, 01:29 AM
@KurtE - that worked. Thanks. Want to test some hard drives as well. They are always faster but probably not practical for remote applications.
730 replies | 114974 view(s)
-
Today, 01:13 AM
Sorry, there is not much of checking in this code. Like most of the commands in that sketch, it runs off of the currently selected drive.
SO in Command prompt after comes up if you use the 1 command
1<cr>
It will...
730 replies | 114974 view(s)
-
Today, 12:53 AM
I want to see if I can implement an NTP and PTP client on a Teensy 4.1. I can send/encode and recieve/decode the NTP and PTP packets to/from the servers all day. But, I've only been successful at getting epoch to the...
2 replies | 73 view(s)
-
Today, 12:52 AM
@yeahtuna
Incorrect - at that point no SCSI command has been called...
730 replies | 114974 view(s)
-
Today, 12:48 AM
@KurtE - Linux Arduino 1,.8.19 TD1.58B3 - Downloaded MTP_TEENY-MAIN.zip. Setup T4.1 and uploaded. All good. Then selected:
store:2 storage:30001 name:MSC0-126GEXFAT fs:200030cc
Ran this:
w 1048576 512 test.txt
The...
730 replies | 114974 view(s)
-
Today, 12:30 AM
I spoke too soon, I guess. Even though everything was working (I swear it was) after I added the SPI.begin() call as I described before...now it is not. For either the Teensy 4.0 or 4.1 I now get the constant restarting...
6 replies | 112 view(s)
-
Today, 12:06 AM
This might be somewhat what you are looking for: https://github.com/joepasquariello/FlasherX
I have used that code to be able to update a Teensy MicroMod from an SDCard. It is entirely possible to use it for OTA...
2 replies | 87 view(s)
-
Yesterday, 11:40 PM
If more than one board has this issue then I don't think debris is the problem.
You need to measure the voltages to get a 'feel' to what is going wrong. 3.3 Volts should be 3.3 Volts +/- about 50 millivolts, too...
11 replies | 255 view(s)
-
Yesterday, 10:53 PM
I'll holler uncle.
I redid the process (0.58.3 -> 1.57.2) and got no error.
I have no idea what happened, but I am back on 1.57.2 and this time it works.
- Wes, W5ZZO
77 replies | 10216 view(s)
-
Yesterday, 10:31 PM
It's not just you. This probably explains the problems I'm seeing. I have a hub / MIDI / rawUSB also running concurrently, so my device is putting ehci through its paces. Sometimes a drive will timeout during...
730 replies | 114974 view(s)
-
Yesterday, 10:17 PM
Appreciate all the feedback -- gotta pull the plug for today!
15 replies | 545 view(s)
-
Yesterday, 10:16 PM
Okay, I cranked the mic gain up to 52 dB (thank you h4) -- and now the wav has good audio level -- including a terrible noise background! Now I need shielded audio mic lines? Can't do that in the "curly" cable coming...
15 replies | 545 view(s)
-
Yesterday, 10:15 PM
Thanks for the reply, Paul. I checked the WiFiNINA library and I found a begin call in one of the utility classes. But it is unclear to me that it is called. So, I added one to my code right after setting all of the...
6 replies | 112 view(s)
-
Yesterday, 09:43 PM
Kurt:
Thanks for your help,
Ed
1378 replies | 105667 view(s)
-
Yesterday, 09:40 PM
If you are curious about MTP:
The main document I look at when doing this, can be downloaded from: https://www.usb.org/document-library/media-transfer-protocol-v11-spec-and-mtp-v11-adopters-agreement
This gives you a...
1378 replies | 105667 view(s)
-
Yesterday, 09:31 PM
Does your program have SPI.begin() somewhere? Or maybe it's inside a library you're using?
If you call any SPI functions without first calling SPI.begin(), your program can crash when it tries to access the SPI...
6 replies | 112 view(s)
-
Yesterday, 09:20 PM
Odd that you can't attach stuff, not much I can do to help with that! Could be a forum restriction on new joiners, is the only thing I can think of. Can you put the WAV on a DropBox or Google drive, with public access?...
15 replies | 545 view(s)
-
Yesterday, 09:04 PM
Hi everyone, my name is Andrew and I am looking for some help with programming this guitar, which I call the Kimura Gumo. I run an open source guitar company called Praxis Guitars. All of our guitar designs are...
0 replies | 62 view(s)
-
Yesterday, 08:58 PM
Thanks! Appreciate the heads up. I will try looking in that area.
473 replies | 210765 view(s)
-
Yesterday, 08:54 PM
Not sure about non windows. This post might point to where the files are stored:
473 replies | 210765 view(s)
-
Yesterday, 08:53 PM
FWIW, this is the relevant code that I use to connect to the Airlift. But I don't think it is a code problem, since it works fine on the Teensy 3.5.
const uint8_t WIFI_SPI_CS0_PIN = 10; // SPI CS0 used by...
6 replies | 112 view(s)
-
Yesterday, 08:50 PM
Perhaps Windows Defender or other anti-virus software got a little overly ambitious and deleted or "quarantined" it?
77 replies | 10216 view(s)
-
Yesterday, 08:49 PM
Sure thought I had it when I realized I was recording with the Teensy connected to my PC. So I recorded 00015.wav connected to an external power pack. Still no amplitude in the playback on my PC (the greeting.wav plays...
15 replies | 545 view(s)
-
Yesterday, 08:47 PM
Yes. Look for the 2 links below the parts placement image. One of those has lots of info, including the parts list. Technically that list is for the older version, but pretty much all the parts are the same. For the...
5 replies | 105 view(s)
-
Yesterday, 08:40 PM
Hello everyone,
I've been struggling recently with my Teensy 4.0 with audio shield and got stuck with cracking noises from any file including example files from WavFilePlayer. The sound seems to be distorted and...
0 replies | 38 view(s)
-
Yesterday, 08:36 PM
Paul,
Is there a BOM associated with this board?
Best,
Frank
5 replies | 105 view(s)
-
Yesterday, 08:31 PM
I installed Beta 3 and everything worked. But I got tired of being nagged about updating my boards, so I reverted to 1.5.7 (awaiting release).
I got this error:
exec:...
77 replies | 10216 view(s)
-
Yesterday, 07:58 PM
That looks like a noisy example uploaded to the forum recently. Here it is before:
and now, after I got rid of a loud glitch at the end, then did Effect / Normalize:
Couldn't hear it before I did that...
EDIT:...
15 replies | 545 view(s)
-
Yesterday, 07:46 PM
Many thanks for that - SD card tests OK.
The next problem, however...
I downloaded the program for the wedding audio guestbook from https://github.com/playfultechnology/audio-guestbook - and following the youtube...
2 replies | 102 view(s)
-
Yesterday, 07:26 PM
Kurt:
This is the way that I have done it currently:
if (currentTime == 0) // Seconds = zero.
{
if (currentTime == 0) // Minutes = zero.
...
1378 replies | 105667 view(s)
-
Yesterday, 07:25 PM
I have successfully used the Adafruit Airlift board with Teensy 3.5 using SCK/CS/MISO/MOSI pins. I used the Adafruit fork of the WiFiNINA library (which allows one to set the MISO/MOSI/etc pins), and I am able to...
6 replies | 112 view(s)
-
Yesterday, 07:20 PM
Thank you h4yn0nnym0u5e -- Learned something new today (the conversion of kbps from ksps)! I did the Insert Image thing (and upload of the .jpg file) but it didn't work. I'll try it again here for practice. Guess I'll...
15 replies | 545 view(s)
-
Yesterday, 07:17 PM
Guarug:
Another Mac user here, to find any folder of file for that matter you can simply use the Go menu in the Finder:
Go/Go to Folder
and then type in the path name into the window that opens, it does not matter if...
74 replies | 5926 view(s)
-
Yesterday, 07:09 PM
What is the recommended way to integrate tycommander to IDE 2.0.4 for a Raspberry Pi(64 bit)? In IDE1, I knew where the files were. In IDE2, umm, I have no idea where they are stored? This is the appImage from...
473 replies | 210765 view(s)
-
Yesterday, 06:46 PM
To insert an image, use the insert image button:
Note you have to choose the file, then upload it.
You may need to zip a WAV file in order to upload it, not sure.
705kbps is correct: 44100 ksps = 88200 kBps =...
15 replies | 545 view(s)
-
Yesterday, 06:36 PM
Replied to here: https://forum.pjrc.com/threads/70553-Teensy-4-0-based-Audio-Guestbook?p=323057&viewfull=1#post323057
15 replies | 545 view(s)
-
Yesterday, 06:36 PM
A good solution for student lab use might be the Adafruit MCP4728 quad 12-Bit DAC
https://learn.adafruit.com/adafruit-mcp4728-i2c-quad-dac
It's reasonably priced at $7.50 and in stock. It uses an I2C interface,...
12 replies | 185 view(s)
-
Yesterday, 06:32 PM
I am right about the chunk lengths - here's the Goldwave error message:
As I also noted, I have players which play the resulting files without complaint; but I don't think it's totally unreasonable to say "it could...
290 replies | 25972 view(s)
-
Yesterday, 06:26 PM
Starting from your code, I made a short working program that reads your 20 x 2-byte locations, increments and writes them back. This test works for me, with the data shown below. Note that it also works fine if I...
7 replies | 136 view(s)
-
Yesterday, 06:10 PM
I'd like to build something that can do OTA firmware updates, with no PC or other controller in the loop.
The way I would do this on a non-teensy setup would be to have a small boot shim at the standard boot address,...
2 replies | 87 view(s)
-
Yesterday, 05:41 PM
I am using Teensy 4.1 with 4 MEMs microphones. I have been using the audio design tool to plot and record the peaks, which has been very helpful, but I would like to record the raw signal. I am looking for the best way...
0 replies | 58 view(s)
-
Yesterday, 05:02 PM
So I am using a teensy 4.1 and the 4x audio sheild. I'm using the original code to program the board. The only change I made is to use a RAW greeting file instead of a wav file because the wav file playback was...
290 replies | 25972 view(s)
-
Yesterday, 04:55 PM
@wwatson @mjs513 @defragster and all
I hacked up the USB_MTP-logger.ino sketch and added a write file test. Pretty primitive:
void test_write_file(int ch) {
test_file_write_size = CommandLineReadNextNumber(ch,...
730 replies | 114974 view(s)
-
Yesterday, 04:13 PM
Any thoughts re my comment above? Search for '705' above.
15 replies | 545 view(s)
-
Yesterday, 04:11 PM
So... I've been googling around for CS42448 usage elsewhere for inspiration, and came across the following.. Does it look similar? Other than the teensy specific interface layout, which I could work around with a ribbon...
5 replies | 105 view(s)
-
Yesterday, 03:58 PM
You are right... For awhile, I did not see ones from some libraries I have worked on... like FlexIO... But it is there now
Thanks
730 replies | 114974 view(s)
-
Yesterday, 03:49 PM
...loads of ReadMe.txt and other text/help files in my Teensy Libraries stored in C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries.
730 replies | 114974 view(s)
-
Yesterday, 03:25 PM
Sorry, I am just trying to be pragmatic here and go with the flow.
As I mentioned, I have tried to keep things within the ways that Paul has used in some of these areas. And with the case you mentioned, tried to...
730 replies | 114974 view(s)
-
Yesterday, 02:36 PM
I will do a thank you to the community here. And I will give that a shot. Thank you for your time and help.
11 replies | 239 view(s)
-
Yesterday, 02:32 PM
The mass storage code definitely isn't doing anything like that, data transfers are being queued with interrupts enabled which means there is the potential for list corruption (due to the interrupt service routine...
730 replies | 114974 view(s)
-
Yesterday, 02:25 PM
I've added a "Using PT8211 Without Audio Library" section which links to this forum thread on the PT8211 page.
https://www.pjrc.com/store/pt8211_kit.html
Hopefully it will help everyone who wishes for use PT8211...
19 replies | 283 view(s)
-
Yesterday, 01:28 PM
Again I am not a MAC person, but have pulled mine out of the cupboard, and going to update it now... was 2.0.3...
Easy parts: What version of Teensyduino are you running?
With Arduino 2.x:
You can see it a...
74 replies | 5926 view(s)
-
Yesterday, 01:24 PM
On MacOS, the default location when using Arduino 2.0.x is /Users/{username}/Library/Arduino15/packages/teensy/hardware/avr/{version}/libraries/USBHost_t36
The "Library" folder in your home directory is usually...
74 replies | 5926 view(s)
-
Yesterday, 01:17 PM
Ok, I didn't post on the MicroPython forum but I got it working.
- On the Teensy's flash: main.py and all other code
- On the SD card: boot.py, webserver files and log files
boot.py has only one line of code:...
4 replies | 248 view(s)
-
Yesterday, 12:48 PM
I understand what you are saying, but at least in many of these cases it may depend on who and how these methods are called. For example if you look in Serial.cpp,
where the txTimer is used.
Whenever we start or...
730 replies | 114974 view(s)
-
Yesterday, 12:44 PM
The big frustration is, I have no idea where this is or how to find that 'Look in the USBHost_t36 directory'
This is Mac Arduino IDE 2.0.5
as for "version of Teensyduino" how do I see that. I just installed the...
74 replies | 5926 view(s)
-
Yesterday, 12:22 PM
Maybe one of us (me?) may have left a debug line uncommented.
Look in the USBHost_t36 directory.
And look in hid.cpp for:
void USBHIDParser::out_data(const Transfer_t *transfer)
{...
74 replies | 5926 view(s)