Just a quick question,
I realized that using the teensy loader cli I have to press the restart button on the T41.
However, when I'm using the arduino to upload (via teensy.exe) it doesn't...
Type: Posts; User: donperryjm
Just a quick question,
I realized that using the teensy loader cli I have to press the restart button on the T41.
However, when I'm using the arduino to upload (via teensy.exe) it doesn't...
Wow, didn't realize it has been so long! Congrats! And thanks you!
OK. I was thinking of leaving the safety checks in place with the LED blinking to indicate failure,
if failure then the rest of code (locking) would be ignored?
I'm too scared to even write this...
I've used the teensy security menu in arduino to write the sketch in the order they appear, successfully.
I have those hex files (fuse sketch and lock sketch bin files) that i write to the teensy.
...
please see latest sketch.
Please understand that the code was hurried trying a bunch of things to reproduce the problem. From the actual interrupt to testing the eeprom saving a file size about the same size as the data I use...
https://drive.google.com/file/d/1n-GAqZkL-hIhulry9dz1vwhNu2g_OcsB/view?usp=sharing
google drive, let me know if still have problems.
Also, can compile the code blocks I posted above.
I did that, it's by the mediafire link. I have adblocker and the link is no problem to get to. I had problems uploading the zip on your forum. If that's too much to do, then it's ok.
defragster...
Obviously something is different if the same code works on T3 but doesn't on T4...
Why are you sounding so hostile? Thought you'd be happy someone found what could be a bug, but I'm just hoping it's...
Only comms I'm using is the Serial class from arduino library.
Is UART the tech that involves the hardware serial? Using the pins to communicate with another device? If so, no I'm using the USB...
Paul, defragster, thank you for responding. It's difficult to post code sometimes based on what exactly it is I'm working on and where the problem is. I understand it's easier to say "there, there is...
thanks. Teensy 1.56
USB port on the teensy via usb cable to PC
using Serial.Print/Readuntil
I can reproduce it with simple sketch. Give me some time...
... and I found the problem while...
Hello,
I've noticed something that I can't seem to find my way around.
On my teensy 3.5 and 3.2, I have code that is written for serial comm. between teensy and windows (bidrectional).
Those...
Ok. That explains it. I got away with using opamp on the 4.1 Analog input (mono)
But the stereo I see won't work.
I guess that means the the external audio i2s Adc will be needed.
If i change this to the mono audio design scheme, it works, sound is passed to the USB
However, using this in stereo doesn't work on the 4.1
This same code works on the 3.5
#include...
Ahh. This must be it!
Thanks for your time (and patience)
280252802628029
I basically ported the code from the old project where i used analog input instead of this i2s chip.
/**********************************SINGLE...
Not sure what Im doing wrong, here is my schematic.
28023
and this is the audio routing/ design
// GUItool: begin automatically generated code
AudioInputI2S2 i2s2_1; ...
I ran the same code on the 3.5 and 3.2 and it works no problems. Porting to 4.0 and I've difficulty sending data to the teensy, more so than reading from it. Let's say it's too fast as is commonly...
27819
27820
How does this pinout wire up look according to the excerpt from the PCM1860 datasheet? I used the same name label names of the 4.1 teensy pins (where applicable.)
What would code...
Yes It worked for me. Now I'm trying to find the same info for T4.1
Paul, I now have audio coming out of the T4 USB!
that one line did the trick
AudioOutputI2S unused_but_needed_output;
This wasn't needed in my 3.5 project, but surely does work in...
Starting to wonder if my problem is in the input part of the library and not the output as others on here has been using the usb output just fine.
Edit:
I made a tone generation test file, and...
OK. I tested your latest adc input cpp.
Still no audio through the USB. Tested 4.1 and 4.0. Tested diff input pins.
I have a 3.5 that I test also, and it works with that, just not the 4.x.
thanks mark
Is there a mislabelling here? On the I2s input help guide it states pin 8 as input, but on the T4.1 card it states pin 7
27657
Can you direct me to this url please? I'm only finding older stuff.
Seems the i2S board you got made it work.
There is an update to the library (beta). I'll be checking it out.
Also, if i should use an ADC, how would I wire it up using the audio tool?
So I've enjoyed using the ADC of the 3.x, process some sounds and then route that to USB audio.
In the 4.1 this isn't possible (or at least isn't working)
What can we use for ADC and then USB...
I'm also having this issue with 4.1
Seems there is limited input audio ADC support for 4.x
Oh shucks.
Works on the 3.5, doesn't on the 4.1
A2 is in the same pin location on 3.5 as is 4.1 right? That's what I am seeing.
So when I used this code on the 4.1 it doesn't give me any audio in my...
All good now. Was using an older version of teensyloader. Not sure how lol.
Step 1. Generate Key - Done
Step 2 Fuse write sketch gave me this response:
Writing public key hash
Okay: public key hash is good :-)
Decryption key was previously written & locked, so
it...
Email with my "plea" sent
15 seconds press did the trick. THanks!
All are running the same windows 10 OS, all used to run the same sketch and have no issue.
I suspect this issue is some deep rooted USB audio issue, something to do not just with teensy but more so...
I have a teensy 4.0 that was working fine the day before. Connected today and i can get no usb connection. Tested another T4 and connects fine.
The problem teensy has a sketch on it that briefly...
OK. I had those in as well, will put them back.
Don't think those preventing it from working though, just tested on another PC and the audio is coming through.
It works ok on another PC, but this...
Thank you paul. While trimming the code I mistakenly removed that.
I'm going to edit original post to include the audio memory if tested and still not working.
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
// GUItool: begin automatically generated code
AudioInputAnalogStereo adcs1; //xy=895.7777913411458,3966.2223307291665...
Will visual micro be compatible with all this? Would I just need to create the keys from the arduino tool and then work as normal?
This is the biggest news ever for Teensies!
To be clear, the single .eHEX will be able to update multiple teensies, correct?
OK. Probably because i'm using the teensyduino install from about 2019 or so.
Did they change anything in the code regarding that? Do you know?
Frank, your code works but i think it introduced a bug.
When I click record and stop in quick succession, the usb device quits communicating sound to the PC.
I have to unplug/replug device for it...
KEep going Dresden-Fx, you doing well!
Can you point me to your library as i want to try it/include it
Is it possible to change this to this:
// GUItool: begin automatically generated code
AudioInputAnalog adc1x(A2); //xy=200.00001525878906,320.00000381469727
AudioAmplifier ...
So i've this device has been used on hundreds of computers. But this one person is having a challenge.
The device is a teensy serial/audio hybrid. And it reads digital pin interrupt and send data....
That was the first thing i tested.