-
Older Activity
-
Today, 04:40 AM
@ckahlo (and any others that may know): Would you happen to know how to use the payload key (AES) with the DCP?
More information: in the interests of understanding how things work, I like to go through any...
17 replies | 1353 view(s)
-
Today, 04:37 AM
Can you confirm that the device connected to your computer is T3.6 and the speed is set to 180 Mhz? No, I'm not testing with a powered hub at the moment.
746 replies | 115111 view(s)
-
Today, 04:32 AM
Is there a way to get the RAW incoming data instead of doing this?
// MIDI message, defined by these 5 numbers (except SysEX)
type = USBhostMIDI.getType(); // MIDI message, 128-255
channel =...
0 replies | 0 view(s)
-
Today, 04:30 AM
I am setup for testing now. @mjs513 I am getting the same results as you. Everything seems to be working except un-plugging and replugging the flash drive. I can't remember, but has a powered hub been tried?
746 replies | 115111 view(s)
-
Today, 03:58 AM
I also conducted the test with T4.1 as the device connected to the computer, and it ran without issue.
746 replies | 115111 view(s)
-
Today, 02:58 AM
Alright. I've found something else. If I reduce the speed of the T3.6 connected to the computer from 180 Mhz down to 96 Mhz, the test always completes.
746 replies | 115111 view(s)
-
Today, 01:46 AM
I have the PDM mic attached to pin 8 (Data) and pin 21 (Clock). Where do I move the data and clock lines from the Audio shield?
4 replies | 70 view(s)
-
Today, 01:44 AM
@mjs513
I performed your test as best I could---I was still using T3.6 devices. I performed the test 10 times, each time I power cycled the teensy connected to the computer, leaving the hub, flash drive, and second...
746 replies | 115111 view(s)
-
Today, 01:38 AM
No, I'm talking about the inherent operation of the host controller. Look at the new_Pipe() function, you can see how the queue heads for all async (bulk and control) endpoints are arranged as a circular list. The host...
746 replies | 115111 view(s)
-
Today, 01:15 AM
Actually I don;t believe that is the case. Take a closer look at the sketch. Only time a Midi message is sent is when one of the 3 buttons are pressed. and also look at the last line
// MIDI Controllers should...
746 replies | 115111 view(s)
-
Today, 01:12 AM
You're talking about this code?
if (stat & USBHS_USBSTS_UAI) { // completed qTD(s) from the async schedule
println("Async Followup");
//print(async_followup_first, async_followup_last);
Transfer_t *p =...
746 replies | 115111 view(s)
-
Today, 01:06 AM
Thanks for taking the time to test. I appreciate others taking this issue seriously. The reason your test doesn't hang is because your MIDI device connected to the hub is constantly sending MIDI. The Mass Storage...
746 replies | 115111 view(s)
-
Today, 01:01 AM
No. If an endpoint (pipe) blocks, the host simply moves on to the next round-robin style. If a single transfer blocked everything else until it completed it would even block new devices from being enumerated.
Any...
746 replies | 115111 view(s)
-
Today, 12:53 AM
@yeahtuna regarding your midi sketch. Been looking at on and off most of the day and there has been something that has been bothering me about especially since I dont play with MIDI for any reason. I guess the thing...
746 replies | 115111 view(s)
-
Today, 12:18 AM
Thanks for the helpful responses @radiohound and @MatrixRat. I've suggested using USB cables with ferrite beads and I'm told the error only occurs when using this particular MIDI controller so it's a bit of a head...
3 replies | 84 view(s)
-
Today, 12:02 AM
So, correct me if I'm wrong, but it seems that MIDI devices queue transfers that only complete once a MIDI event is received. So any other transfers that are queue by other drivers won't get called until after a MIDI...
746 replies | 115111 view(s)
-
Today, 12:00 AM
Yes, using 3.3v for everything. The Airlift will take between 3 and 6 volts VIN. I'm even using 3.3v with the Teensy 3.5, and it works fine.
9 replies | 152 view(s)
-
Today, 12:00 AM
Ok got it working using the sketch from this thread https://forum.pjrc.com/threads/70227-USBhost_t36-MIDI-losing-midi-note-on-off-events-(Teensy-3-6)-during-modwheel-change?highlight=usbhost+midi+examples.
82 replies | 6046 view(s)
-
Yesterday, 11:35 PM
@KurtE - Had a chance to play with the MTP sketch. Some interesting results when playing with write sizes.
Kingston DT50 32G, 512 bytes at a time:
Start write file: write_test_file.txt length:1048576 Write Size:512...
746 replies | 115111 view(s)
-
Yesterday, 11:22 PM
Arduino have available a command line interface here: https://arduino.github.io/arduino-cli/
Direct link here: https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Windows_64bit.zip
Example:
Compile for a...
5 replies | 877 view(s)
-
Yesterday, 11:18 PM
If lines 194 and 195 in midi.cpp are commented out, then the test completes.
https://github.com/PaulStoffregen/USBHost_t36/blob/69b90727a5b028699b47910aa5cd6a0823de5f69/midi.cpp#L194
746 replies | 115111 view(s)
-
Yesterday, 09:45 PM
Are you using 3.3v as Vin for the Airlift? Remember Teensy 3's are 5v tolerant but Teensy 4's are not.
9 replies | 152 view(s)
-
Yesterday, 09:32 PM
The build type is MIDI.
746 replies | 115111 view(s)
-
Yesterday, 09:29 PM
Was going to start a new thread but I am curious about MIDI as well. Wanted to experiment a little bit with MIDI and USBHost so I loaded the transmit example from Using USB MIDI on a Teensy 4.1:
#include <Bounce.h> ...
82 replies | 6046 view(s)
-
Yesterday, 09:29 PM
Roland's XV-5080 has a N2012Z601T02 (600 Ohms @ 100 Mhz) on each signal pin of Midi in and Midi out sockets.
Also possible that the receiving device is the culprit.
3 replies | 84 view(s)
-
Yesterday, 09:19 PM
I like differential signals over (maybe shielded) twisted pair, for noise immunity. Any signals could be converted to differential signals, really, but they all require a little extra hardware (transceivers). Something...
1 replies | 71 view(s)
-
Yesterday, 09:19 PM
I copied your exact code and only made minor changes for the busy and reset pins:
#define SPIWIFI_SS 10 // Chip select pin
#define SPIWIFI_ACK 8 // a.k.a BUSY or READY pin
#define ESP32_RESETN 9 // Reset...
9 replies | 152 view(s)
-
Yesterday, 09:05 PM
It would be nice if the audio examples that reference the SD card are fixed so that they at least mention the defaults for Teensy 4.0/4.1. Preferably it would make the defaults for Teensy 4.x be the default since...
82 replies | 6046 view(s)
-
Yesterday, 08:58 PM
Hi FLL-Freak,
I'm an old fart too, can't stand the Arduino IDE and would dearly like to circumvent it. Did the work you did on creating your own makefile come to fruition? If so I'd be really interested to see what...
5 replies | 877 view(s)
-
Yesterday, 08:52 PM
I am currently trying to solve a MIDI problem, it is with 1.57.2 I have tested so far.
The problem is that the LaunchControl XL sends the slider and potentiometer positions at startup, immediately after power on. If...
82 replies | 6046 view(s)
-
Yesterday, 08:46 PM
Hi everybody,
The project:
I am looking for some hardware advice with the following situation: We currently have multiple teensy-based data loggers that we want to arrange in a grid. This arrangement is used to...
1 replies | 71 view(s)
-
Yesterday, 08:43 PM
The code I submitted works for either Teensy 4 or Teensy 3, controlled by a "#define TEENSY4" if you want Teensy 4.
Here's the readRTCFrac() code for only Teensy 4:
#include <imxrt.h>
...
4 replies | 120 view(s)
-
Yesterday, 08:24 PM
Building for USB type - midi
Does it work? Note: I know almost nothing about midi, nor use it at all.
But tried opening the TransmitEverything.ino example sketch on a couple of day old Arduino 2 nightly build....
82 replies | 6046 view(s)
-
Yesterday, 07:55 PM
What USB type are you building for?
746 replies | 115111 view(s)
-
Yesterday, 07:08 PM
Update: as noted on another thread, there's already a call to sgtl5000_1.micGain(); in the code, which typically sets the gain very low (somewhere between +5 and +15dB, depending on which repo you start from). This is...
291 replies | 26076 view(s)
-
Yesterday, 06:59 PM
Yup, that sounds awful all right! But at least we're vaguely in control of the levels now.
As you say, hard to shield the existing cable, though maybe you could get a replacement one which is better-made. Hard to be...
16 replies | 566 view(s)
-
Yesterday, 06:21 PM
Yes, we wanted external reference capability. If you don't need that, there is also the MCP4822, quite similar 2 x 12-bit DAC with internal-only 2.048 VDC reference.
14 replies | 237 view(s)
-
Yesterday, 05:54 PM
From nn28's first posting, so I am assuming they were powered up already with an unspecified voltage (but suspect 12 V) on Vin.
13 replies | 283 view(s)
-
Yesterday, 05:48 PM
I don't have much of anything:
Audio library, there were two different PRs to allow one to play a wav file from all Filesystems, not hard coded to SD... Again not overly critical.
Cores: Looks like you have...
82 replies | 6046 view(s)
-
Yesterday, 05:12 PM
Hard to really know what is going on. As we may not know the whole setup including the setup code, what else is connected...
But code too large: you would normally think that would behave the same for reboot versus...
10 replies | 168 view(s)
-
Yesterday, 05:04 PM
I'm considering wrapping up what we have now as version 1.58. The main idea is publishing the new toolchain, updates for MacOS Ventura, and some bug fixes.... but intentionally not putting many new features into 1.58...
82 replies | 6046 view(s)
-
Yesterday, 05:00 PM
Hey, thanks a lot! I did not know about the # button previously. I have now edited the post with more information you suggested!
2 replies | 77 view(s)
-
Yesterday, 04:58 PM
Chips like MCP4922 have a huge advantage (for some uses) that you can give the chip a stable reference voltage.
14 replies | 237 view(s)
-
Yesterday, 04:38 PM
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
#include <FastLED.h>
#include <deque>
//const int myInput = AUDIO_INPUT_MIC;
const int myInput =...
2 replies | 77 view(s)
-
Yesterday, 04:35 PM
Not sure if you are using a metal case for your midi controller, but that would help shield it. And using ferrite clamp chokes on all wires going to your midi controllers, including power, usb and midi. Chokes are a...
3 replies | 84 view(s)
-
Yesterday, 04:24 PM
Hey sorry to bother I am unable to read data from the left and right line-in at the same time.
I am using Teensy 4.0 with the Audio Board Rev D.
I have checked my (3.5mm jack) out with an oscilloscope and seems...
2 replies | 77 view(s)
-
Yesterday, 04:00 PM
Are these virgin T4.1 that are presenting these problems? Or where they used in a circuit prior?
13 replies | 283 view(s)
-
Yesterday, 03:42 PM
You can change teensyduino versions in the Boards manager. Second icon down on the left edge of main window opens that.
Pull the scroll bar way down and you will find "Teensy by Paul Stoffregen". It should show, by...
82 replies | 6046 view(s)
-
Yesterday, 03:29 PM
After the Arduino build completes, the amount of RAM and FLASH used are displayed. You might have to turn on verbose output.
10 replies | 168 view(s)
-
Yesterday, 03:16 PM
As stated in the post the code was for the Teensy 3.x.
It also suggested that you look at the code for the Teensy 4.x.
4 replies | 120 view(s)
-
Yesterday, 03:09 PM
I actually added those lines because it wasn't working properly, just in case... I let Teensy run over the weekend and there was no change in EEPROM values (nothing was written), so I assume there is no problem in the...
10 replies | 168 view(s)
-
Yesterday, 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?
4 replies | 120 view(s)
-
Yesterday, 02:41 PM
Another 2-channel option is MCP4922. Only about $3.00
14 replies | 237 view(s)
-
Yesterday, 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...
10 replies | 168 view(s)
-
Yesterday, 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...
82 replies | 6046 view(s)
-
Yesterday, 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 | 1572 view(s)
-
Yesterday, 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...
82 replies | 6046 view(s)
-
Yesterday, 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...
3 replies | 84 view(s)
-
Yesterday, 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,...
746 replies | 115111 view(s)
-
Yesterday, 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) {
...
746 replies | 115111 view(s)
-
Yesterday, 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 | 75 view(s)
-
Yesterday, 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...
10 replies | 168 view(s)
-
Yesterday, 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...
4 replies | 120 view(s)
-
Yesterday, 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...
746 replies | 115111 view(s)
-
Yesterday, 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.
746 replies | 115111 view(s)
-
Yesterday, 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...
746 replies | 115111 view(s)
-
Yesterday, 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...
10 replies | 168 view(s)
-
Yesterday, 12:08 PM
Tried with a different USB hub and it seems to be working fine.
746 replies | 115111 view(s)
-
Yesterday, 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 | 101 view(s)
-
Yesterday, 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...
10 replies | 168 view(s)
-
Yesterday, 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...
10 replies | 168 view(s)
-
Yesterday, 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 | 152 view(s)
-
Yesterday, 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...
10 replies | 168 view(s)
-
Yesterday, 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...
746 replies | 115111 view(s)
-
Yesterday, 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...
82 replies | 6046 view(s)
-
Yesterday, 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 =...
9 replies | 152 view(s)
-
Yesterday, 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 | 5922 view(s)
-
Yesterday, 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...
9 replies | 152 view(s)
-
Yesterday, 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 | 63 view(s)
-
Yesterday, 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 | 63 view(s)
-
Yesterday, 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...
14 replies | 237 view(s)
-
Yesterday, 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...
14 replies | 237 view(s)
-
Yesterday, 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 | 66434 view(s)
-
Yesterday, 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...
746 replies | 115111 view(s)
-
Yesterday, 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.
746 replies | 115111 view(s)
-
Yesterday, 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...
746 replies | 115111 view(s)
-
Yesterday, 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...
4 replies | 120 view(s)
-
Yesterday, 12:52 AM
@yeahtuna
Incorrect - at that point no SCSI command has been called...
746 replies | 115111 view(s)
-
Yesterday, 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...
746 replies | 115111 view(s)
-
Yesterday, 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...
9 replies | 152 view(s)