-
Older Activity
-
Today, 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...
289 replies | 25780 view(s)
-
Today, 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,...
717 replies | 114767 view(s)
-
Today, 04:13 PM
Any thoughts re my comment above? Search for '705' above.
7 replies | 465 view(s)
-
Today, 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...
3 replies | 57 view(s)
-
Today, 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
717 replies | 114767 view(s)
-
Today, 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.
717 replies | 114767 view(s)
-
Today, 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...
717 replies | 114767 view(s)
-
Today, 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 | 208 view(s)
-
Today, 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...
717 replies | 114767 view(s)
-
Today, 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 | 266 view(s)
-
Today, 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...
70 replies | 5775 view(s)
-
Today, 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...
70 replies | 5775 view(s)
-
Today, 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 | 228 view(s)
-
Today, 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...
717 replies | 114767 view(s)
-
Today, 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...
70 replies | 5775 view(s)
-
Today, 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)
{...
70 replies | 5775 view(s)
-
Today, 11:43 AM
Many thanks for all the tests and the idea in general. For me these tests indicate that the PT8211 with it's ability of asynchronous communication (no need for a steady data stream) will be perfectly suited as a cheap...
19 replies | 266 view(s)
-
Today, 11:00 AM
@wwatson - sounds good and again glad you tracked it down and it was a easy fix.
717 replies | 114767 view(s)
-
Today, 10:43 AM
Hello, when I try to migrate a project from Teensy 3.2 to Teensy 4.0, the EEPROM is somehow not keeping correctly the stored values.
I use the simple functions EEPROM.update() and EEPROM.read() to store 20 uint16_t...
0 replies | 60 view(s)
-
Today, 10:16 AM
Hmm, I cannot reproduce a problem in playing the WAV files recorded with my code, they play correctly and smoothly with different players on different devices.
You may be right that the chunk lengths are...
7 replies | 465 view(s)
-
Today, 10:16 AM
Hmm, I cannot reproduce a problem in playing the WAV files recorded with my code, they play correctly and smoothly with different players on different devices.
You may be right that the chunk lengths are...
289 replies | 25780 view(s)
-
Today, 08:37 AM
You can but I don't think it's very deserved, I'm sure lots of people could have told you the same thing. It would probably be better to simply thank the community / people on the forum rather than me specifically.
...
11 replies | 208 view(s)
-
Today, 07:17 AM
I think tough the problem, I am having is more related to USBHost_t36.h
if I update my code to the board with Arduino 1.8.19 it works fine. if I update it with the 2.0.5 I get glitches on the Stream Deck display (it...
70 replies | 5775 view(s)
-
Today, 06:11 AM
I feel I need to add: QNEthernet is very reliable (notwithstanding any undiscovered bugs). My understanding is that it was being called from an interrupt context, and the library is expressly not designed to be used...
2 replies | 105 view(s)
-
Today, 06:10 AM
Hi, thank you again, both Sandisk drives working now, CSW error is gone, but Kingston Datatraveler G2 keeps initializing infinitely as shown here. Maybe the unit is too old and is faulty but works on Windows, what I've...
717 replies | 114767 view(s)
-
Today, 05:34 AM
Anyways, problem was AUDIO_BLOCK_SAMPLES was set to 128 in the audio library
changing to 256 solved the problem.
1 replies | 71 view(s)
-
Today, 05:21 AM
Is it just me or are there major race conditions in ehci.cpp? Lots of list manipulation happening without interrupts disabled and isr() being triggered can easily modify those same lists...
As a basic example, look...
717 replies | 114767 view(s)
-
Today, 01:46 AM
Great, I'll look at the updated board then! Looks like it's up to 8 in and 8 out , with the extra ADC chip, nice!
I assume these are line level? Will oshpark assemble, or how hard is the codec chip to solder by hand?...
3 replies | 57 view(s)
-
Today, 12:48 AM
It wasn't ever turned into a commercial product, but this board was updated for Teensy 4.x. New version also on OSH Park.
https://oshpark.com/shared_projects/gVFy0fWQ
3 replies | 57 view(s)
-
Today, 12:29 AM
Hi everyone!
I came across the audio board that Paul Stoffregen made up that provides for 6 inputs and 8 outputs on oshpark ( https://oshpark.com/shared_projects/2Yj6rFaW ). Wondering if that ever made it to a...
3 replies | 57 view(s)
-
Today, 12:02 AM
Sounds like PT8211 would be a useful starting point.
8 replies | 119 view(s)
-
Yesterday, 10:50 PM
Great - glad the problem fixed and working now ...
Didn't get as far as clicking the screen shot to post ... though did wonder why the tiny words didn't look like the console output :)
4 replies | 101 view(s)
-
Yesterday, 09:56 PM
/**
* Audio Guestbook, Copyright (c) 2022 Playful Technology
*
* Tested using a Teensy 4.0 with Teensy Audio Shield, although should work
* with minor modifications on other similar hardware
*
* When...
7 replies | 465 view(s)
-
Yesterday, 09:44 PM
Thank you h4yn0nnym0u5e. New here -- didn't seem like my question needed my sketch (since it's all pretty much copy/paste) but I can do so next. For now I've imported a wav into Audacity and I see a flatline of audio....
7 replies | 465 view(s)
-
Yesterday, 09:39 PM
I am still sort of curious on the speed of these drives:
So put an elapsedMillis into the sendObject code, and at the end (debug >= 1)
printf("SendObject complete size:%u dt:%u\n", size, (uint32_t)emSendObject);
...
717 replies | 114767 view(s)
-
Yesterday, 08:51 PM
changing the serial port fixed it, thank you so much! <3
i was on COM1, when the port i was supposed to choose is COM4
I'm new to programming with Arduino boards, so I'm not surprised that I missed something this...
4 replies | 101 view(s)
-
Yesterday, 08:41 PM
This is the build console output:
7. the ouput only displays memory usage stuff:
To see the USB Serial output the Serial Monitor must be opened.
With the Teensy selected under: Tools / Port
On keyboard for IDE 2...
4 replies | 101 view(s)
-
Yesterday, 08:40 PM
@KurtE @mjs512 - Decided to just comment out "msReset()" call. Updated my version of USBHost_t36 with @PaulStoffregen version and did a PR for it and extending the timeouts defined in "msc.h".
Glad to see a lot of...
717 replies | 114767 view(s)
-
Yesterday, 08:38 PM
It works on mine:
Note: if it does not work, try to make sure it is trying to write to the Teensy port code and not the generic Arduino port code.
You should see it in the tools menu:
Also should make sure...
4 replies | 101 view(s)
-
Yesterday, 08:35 PM
It's not quite as simple as that, unfortunately. Here's a selection of the MTP enable / disable code, as found in the original repository:
uint32_t MTPcheckInterval; // default value of device check interval
......
289 replies | 25780 view(s)
-
Yesterday, 08:24 PM
Hi folks,
Just wanted to inform others, who may be using the OSH Park PCB for the original Teensy 3.6 CS42448 IC that, after 3 days searching for a code error to explain why my 7th AOUT channel was exhibiting inverted...
163 replies | 89270 view(s)
-
Yesterday, 08:21 PM
Personally I would only send one device reset event, after you have changed the file or file(s).
What it does is it tells the host to end the current session, the host will send MTP a new begin session, at which...
1375 replies | 105523 view(s)
-
Yesterday, 08:16 PM
Seems like this is SPI slave mode. Teensy's standard SPI library does not support slave mode, but if you look at the SPI page of the PJRC site, you'll see links to libraries for SPI slave mode, several of them by user...
1 replies | 60 view(s)
-
Yesterday, 08:08 PM
oh hi,
i have a Teensy 4.1 that does not give me anything in the Serial Monitor
- the Teensy 4.1 has been purchased on 17.03.2023 from a 3rd party retailer
- nothing is wired in currently
- OS is Windows 10 Pro...
4 replies | 101 view(s)
-
Yesterday, 07:57 PM
Joe:
Than this quote is probably the action to follow:
Regards,
Ed
8 replies | 119 view(s)
-
Yesterday, 07:52 PM
What if it's not an audio application, and you just want 0-3.3VDC at something like 10-100 kHz?
8 replies | 119 view(s)
-
Yesterday, 07:41 PM
Hi everybody,
I have a problem with my audio guestbook with bad record with my micro.
I test code of DD4WH and there is issus with record. I test code of playfull and all is OK with record. So, I think the MTP...
289 replies | 25780 view(s)
-
Yesterday, 07:39 PM
Kurt:
What does an F5 do on Windows? I have not used Windows for a long time.
So, you are saying that I should use the "MTP.send_DeviceResetEvent()" after I close the file and then when I open it again and change...
1375 replies | 105523 view(s)
-
Yesterday, 06:34 PM
A new example of a speech sketch been posted here. It has some improvements over the previous one, and makes it easier to integrate with your own code.
-Removed most delay functions and now relies on isPlaying to...
4 replies | 231 view(s)
-
Yesterday, 06:28 PM
+1 to that : see post #52 above to integrate to IDE 2 with added: "platform.local.txt"
70 replies | 5775 view(s)
-
Yesterday, 06:27 PM
Repost from 1.58 Beta 3 thread:
For anyone {USER} using TyCommander - or looking for an IDE 2.0.3 solution to the symptom of poor Serial Monitor connectivity/usage.
Install TyCommander to some {PLACE}
Then in...
470 replies | 210704 view(s)
-
Yesterday, 06:09 PM
Yes, with the Teensyduino supplied Audio library, the DAC operates at 16 bit, 44.1kHz.
With the OpenAudio_ArduinoLibrary, you can take it up to 24bit and higher sample rates. Although a sample rate higher than 48kHz is...
8 replies | 119 view(s)
-
Yesterday, 06:03 PM
If you are certain that your application is AC, any of the DACs will likely work of you. If you expect to do very low frequencies or DC, then the PT8211 becomes a good choice. The PT8211 is a straight-up 2-channel R2R...
8 replies | 119 view(s)
-
Yesterday, 05:33 PM
Adafruit sells the following cable. It has a micro USB-b female cable that you plug in your power/computer to, and it has two USB-b male cables. The longer cable provides both data and power, and the shorter cable...
1 replies | 66 view(s)
-
Yesterday, 04:57 PM
This isn't very surprising ... if you record a quiet signal with a lot of noise, turning the volume up will just turn the noise up along with the signal. You need to get a better signal into the WAV file.
I just...
289 replies | 25780 view(s)
-
Yesterday, 04:45 PM
Note: As for the not seeing the last lines... There was a fix since the last released version.
You can download from the main arduino.cc software page.
As mentioned there are still many issues with the Serial...
70 replies | 5775 view(s)
-
Yesterday, 04:42 PM
Jeglin:
OK, I understand as I have been teaching electronics to mostly graduate engineers for over 40 years. It seems that going to a university for an education, for a long time (more than 40 years) is only about...
8 replies | 119 view(s)
-
Yesterday, 04:31 PM
Post a WAV file that shows the problem? See Forum Rule at the top of every page you visit here ... "details to reproduce any issue".
One issue with DD4WH's fork, which I fixed and got pulled into the original repo,...
7 replies | 465 view(s)
-
Yesterday, 04:25 PM
So whatever I installed as release version, I got the same "weird" behavior so it has nothing to do with that version. It looks like Serial.printf/print are not blocking functions (I thought they were) because if I...
74 replies | 10165 view(s)
-
Yesterday, 04:25 PM
Again I don't use the MAC, except at times for MAC specific issues. I mostly use Windows (main machine has W11), secondary machine Ubuntu 22.04 (or W10)...
Note: At times I think of Ubuntu in the same way that Paul...
1375 replies | 105523 view(s)
-
Yesterday, 04:24 PM
Look at post #689 basically in mscInit comment out the msReset() line.
717 replies | 114767 view(s)
-
Yesterday, 04:05 PM
Thanks for coming back to me... I have already tried to switch the black and yellow wires. Unfortunately without look. Still bad audio. If i increase the volume, the background noise seems to be louder as well. I will...
289 replies | 25780 view(s)
-
Yesterday, 04:02 PM
Note: you will never exit the line: while (1) yield();
74 replies | 10165 view(s)
-
Yesterday, 03:58 PM
That sample is incredibly quiet, so I'm not surprised the noise level is high. From your third image it looks as if you have the mic ground (black wire) connected to the mic input of the audio card ... though of course,...
289 replies | 25780 view(s)
-
Yesterday, 03:44 PM
Thanks Ed, I will direct attention to these.
FTR "accuracy" isn't high on my list at this point. Speed and the fact that there are 2 DACs on the 3.6 are the best feature. This is a teaching environment and I'm...
8 replies | 119 view(s)
-
Yesterday, 03:41 PM
Hi team,
I have a project that uses a Teensy 4.1 as the center, but I'm also using a LC to offload some work. If I can, I'd like to power the LC from the 4.1, to reduce the amount of wiring needed going into my...
1 replies | 66 view(s)
-
Yesterday, 03:35 PM
Jeglin:
Most of the DAC's you will find mentioned here on the forum are used specifically for audio work, and since the human ear is not a linear device a lot hardware design is built in to these products to compensate...
8 replies | 119 view(s)
-
Yesterday, 03:19 PM
Hi, again. Finally get the guestbook working :o thank you all in sharing your knowledge. I have some background noise in the audio recording from the original microphone. Seems there are some interferences in the cable....
289 replies | 25780 view(s)
-
Yesterday, 03:12 PM
Thank you all for your effort, I'm a bit lost, what is the change to finally make? Tomorrow I'll have access to the teensy 4.1 to try all the drives that didn't work for me until now.
717 replies | 114767 view(s)
-
Yesterday, 03:02 PM
hello i used Rawhid example for Teensy 2.0, everything went well, i attempt to choose it for atmega8u2 the board logs in, everything is fine, but when I want to send or receive something, apparently something is wrong...
0 replies | 71 view(s)
-
Yesterday, 02:45 PM
I'm using that release to build a program with a Z80 core emulation.
It worked fine the first times I installed a version which was only working with Arduino IDE 1.8.x (Windows 10) then I tried your 1.58 beta (for a...
74 replies | 10165 view(s)
-
Yesterday, 02:43 PM
Not sure if swapped wires was the problem but I have the same issue -- the wav files play on the phone but there is no audio level when played on a PC. The file sizes look right. I'm using the libraries from...
7 replies | 465 view(s)
-
Yesterday, 02:40 PM
Seeing the same issue with copying large files to those drives from the PC. Just copied a 12gb directory to the drive and took like 10 minutes
717 replies | 114767 view(s)
-
Yesterday, 02:37 PM
Quick update:
The problem child (SDCZ73-032G-G46) that "works now"
https://www.amazon.com/dp/B01FTQP7ZM?psc=1
I was able to transfer a 6.44mb file to it, but it took probably over a minute to complete.
As...
717 replies | 114767 view(s)
-
Yesterday, 02:36 PM
@Garug
Just checked, newest is Arduino IDE 2.0.4 not 2.0.5? Regardless IDE 2.0 serial com is not ready for prime time. It can't catch the 1st output lines and doesn't update the window to the latest lines without...
70 replies | 5775 view(s)
-
Yesterday, 02:27 PM
Thanks for digging and finding the issue!!!!! I had the easy part. Oh of course I tested the three sansdisk drives I had as I previously mentioned.
717 replies | 114767 view(s)
-
Yesterday, 02:24 PM
Kurt:
Here is the way my Teensy4.1 software works:
It logs environmental data from a BME680 at 10 second intervals for 24 hrs to a RAMDisk with the the current date in it's name.
At midnight it closes the...
1375 replies | 105523 view(s)
-
Yesterday, 02:13 PM
Thanks for testing:) I'll test more of my devices and issue an appropriate PR.
717 replies | 114767 view(s)
-
Yesterday, 02:10 PM
No worries, glad it worked!
51 replies | 3054 view(s)
-
Yesterday, 02:09 PM
Looks like it's being printed as a signed 32-bit int when it should be unsigned. -387938129 = 0xE8E088AF = 3,907,029,167 sectors. Multiply by 512 bytes per sector = 2000398933504 bytes which matches the reported...
717 replies | 114767 view(s)
-
Yesterday, 02:09 PM
I have a few things I have to do this morning so after that I want to test more devices SD card readers, Hard Drives, etc. Just to make sure msReset() is not needed. For the most part I am convinced it's not needed. I...
717 replies | 114767 view(s)
-
Yesterday, 02:07 PM
I’ve been searching the forums for my question but I feel like I’m missing something simple. I have 2 Teensy 3.6s and a bunch of 4.1s. The dual 20kHz DACs on the 3.6 are GREAT, but since 3.x are no longer made, my...
8 replies | 119 view(s)
-
Yesterday, 01:55 PM
A little bit of an update
The Silicon Power 2TB HD does need a powered hub to be able to write/read using MTP.
Also just tried hooking up a very old Samsung HDD which definitely needs a powered hub
...
717 replies | 114767 view(s)
-
Yesterday, 01:42 PM
Ok did some testing with MTP (writing/reading files and transferring files) and all worked fine with that change.
Drives tested so far:
1. Crucial MX500 500GB 3D NAND SATA 2.5 Inch Internal SSD, up to 560MB/s -...
717 replies | 114767 view(s)
-
Yesterday, 01:36 PM
Note: I am not much of a MAC person, but have older MAC laptop that I use to debug stuff on from time to time.
On it I was using some version of MTP like you mentioned, that had a 10 day trial period...
But then...
1375 replies | 105523 view(s)
-
Yesterday, 01:07 PM
Thank you Paul, this sounds like the perfect solution!
4 replies | 142 view(s)
-
Yesterday, 12:43 PM
The logged info here looks really suspicious. First a CBW goes out for a WRITE_10 command of length one sector, then the 512 bytes of sector data go out, then trying to bring in the 13 byte CSW fails with a STALL. But...
717 replies | 114767 view(s)
-
Yesterday, 12:30 PM
@wwatson @mjs513 - I tried the change and as mentioned it appears to fix the issue with at least the problem child I picked up. I ran the MTP USB example and was able to both have it create the log file on the drive. ...
717 replies | 114767 view(s)
-
Yesterday, 12:17 PM
Hi everybody,
using the pcjr-forums seems to be complicated compared to arduino-forum.
I'm asking this for another user who encountered IP-blocking when trying to access the PCJR-forum himself
first of all a test...
1 replies | 60 view(s)
-
Yesterday, 10:39 AM
just implemented the raw import on my current project, thanks a lot!
51 replies | 3054 view(s)