The out of the box Teens is running Blink code - assuming at default 600 MHz. Adding alternate code at 600 MHz not making any difference doesn't suggest the Teensy itself is the problem ... the next line says the PCB in...
Thank you very much for your replies to this issue I am having, very helpful. However the "bare" Teensy still emits an amount of UFH noise that is a bit too much for this application (close proximity to UHF mic...
You are wright, it would help.
I know there is this incredible tools, but I have never succeed making it work for me :
https://manicken.github.io
There is an "ultimate mixer". Don't know more about it...
Emmanuel
Yes, it is possible. But the ready-made configurations you can select from the Tools > USB Type menu have 4 or 16 virtual cables. To get exactly 5, you'd need to edit the USB code. Probably best to use 16 and leave...
I am hoping to experiment with the LCD on a Thurlby Thandar LA4800 logic analyser. My hope is to replace the currently failing LCD screen with a more modern 9 inch display made for a raspberry Pi.
...
Transistors in saturation have a gain of about 5 to 20 only, the hfe or beta parameter does not apply at all to saturation mode (saturation is very different from using a transistor as an amplifier). You need a...
Guess you are lucky with the actual gain of those transistors then - I'd have just gone with an opamp in non-inverting mode which has very high input impedance.
Absolutely it does, but you might have to search around for code, the standard audio library supports smaller slower processors too and only has 256 and 1024 FFTs to be portable across the range of Teensy's - they don't...
Thanks for the tips!
Can anyone explain what I need to know to be able to use pots greater than 10k? Also read about having 1uf caps for each pot to smooth things out; is this recommended? Thanks again!
Hi everyone,
I want to control a relay (SRD-03VDC-SL-C) using the teensy 4.1. However the current limit on the teensy GPIO pins is 4mA (or not?) and the minimum current required to energize the coil in the relay...
I have now made some test. The problem seems to be when writing wo files.
I changed the size of the bufferwriteout, and I track how often data is written to the sd card. Now you can clearly see that the problem is when...
No, the buffer is not full. The Code saves the max bytes in the buffer. With all my test it was always (way) below 600. Therefore this should not be the bottleneck.
There is another file write. But is the second file...
Is it stalling because the ring buffer is full?
Is there a file write in another location needing?: !file_accel.isBusy()
Just with a quick glance maybe in logData() repeat on this while() there?
//If...
This one intrigued me, and besides, the M5Stack controllers looked too good not to have a play with...
I think I found "it", although there could be something more subtle going on. It looks as if you can get the...
Thanks @defragster I have found and used this example.
I have now implemented the buffer. But sadly this does not make a difference.
Still when recording the timing is all over the place. (When I am not recording...
I will be curious to hear from Paul and others, but my understanding is the T4.x processors have SPI and FlexSPI, which is Quad SPI. They do not have a Dual SPI peripheral. The Quad SPI is described as being for...
Hi,
I like to present an audio filter I ported from the open303 project.
You can find it on my github page: https://github.com/Cinezaster/Teensy-open303-TeeBeeFilter (Code + example)
I'm currently working on a...
Hi, I know the question has come up a few times. But, here we are in 2023 and many analog-digitcal-converters support dual and/or quad sdo. I suppose the same might apply to sdi. It is vitally important because it...
It's highly likely that the Teensy is damaged. 5V will blow up an I/O pin, 12V would likely cause even more damage. Best bet is to get another one. You would need specialized equipment to replace the chip, assuming...
Hi there, I have a diesel that runs the air cart on my drill and this is more or less exactly what I was looking to do to monitor it. Currently there is nothing other than a RPM reading for the fan that it runs on the...
Hi all - thanks for the replies. I've actually gone back to my workshop and grabbed a bunch more Teensy 4.1s, to find that 4 out of 5 of them appear DOA. It could be a USB cabling issue, but I've tried about 15 cables...
exactly.
the loop() is called continuously from (hidden) main. Every direct call to set the volume can generate a glitch. So, put all one-time settings into setup().
If you need to modify volume during replay, you...
Does your statement mean that I should exclude the volume setting code inside the loop? Should I put it inside the setup function? My coding skills are limited, so I don't fully understand your statement.
Hello!
I would like to build the following setup with a teensy 4.0.
4x serial midi OUT
2x serial midi IN
5x class compliant USB MIDI cables
Is this possible at all?
I accidentally connected 12V to one of the pins on the Teensy and now it won't turn on. When I plug it in the USB the part circled red in the picture is heating up. I also measured some voltages and resistances that are...
Morning, thanks for the response. K-bus is set up, I just included some sample code to show how the existing stuff initialises things and sets filters- K/V bus very similar in terms of filters.
Will try disableFIFO()...
I am working on creating a USB audio device using the Teensy 3.2 board and the Rev C Audio Shield. When coding it similar to a simple sample example, it is recognized well and the sound is audible. However, whenever I...
I am working on two projects with the Teensy 3.2 board. One project requires simultaneous operation of a USB keyboard and a MIDI keyboard, while the other project includes a USB keyboard, MIDI keyboard, and audio....
Just out of curiosity: why is there an AudioMixer4 but not an AudioMixer8 or more?
I know that multiple AudioMixer4s can be chained to effectively create more channels. But the ability to use an AudioMixer8, for...
Lesson Learned: CHECK console output for WARNINGS!
- talked about UDP Chat example mod was failing ... called out to class member that expected 'int' return and func() had no return
>> Resulted in CrashReport !!!
I see you setting K bus filter but not setting up the K bus, unless you posted partial code, can't help much. the filters are only updatable while the bus is deactivated, so that is fine and does as it's expected to....
And if the Flash were removed and the stored program area copied to a 'stored file' that would not be a complete solution.
The Teensy Loader wouldn't facilitate programming that to other Teensys? Unless that 'stored...
There were notes on a thread some time back about alternate extensions of the Single Button function. Not sure the suggestions touched on this.
If the Teensy is available to reach the prog Button, then the T_4.x...
The T4.1 microcontroller chip has no internal flash, so the code is stored on an external serial flash chip on the T4.1 board. As @jmarsh said, if the Teensy was not "locked", then it's theoretically possible to remove...
The teensy boards have one button that is dedicated to the bootloader. It would be nice to be able to expand the use of the button.
I would suggest that the bootloader would detect a double click and set a register...
The second one. This is a shipping product but we do not have access to the laptop there it was compiled. We have downloads of the code and libraries but the libraries were incomplete.
Do you mean the code compiled and ran on some target other than Teensy? Or the code compiled successfully on some host, and you no longer have access to that host?
Evening all
Am using this library with a Teensy 4.1, and am trying to add some code to find the PGNs for an item of interest. Usually, when the code is running, it starts up like this:
V_Bus.enableFIFO();...
Thank you, I will certainly check that out.
Curious though... the AVR library seems really straight forward, so is there something I'm doing wrong, or is it not compatible with Teensy 4.1?
Thanks,
Robert
Hi Paul. Yes, you are right on all counts. When those twin towers came down, the DoD pulled all of our funding. I owned DSP Architectures Inc, myself and a handful of great Engineers designed the DSP24.
I believe...
Assuming it's not a locked Teensy you could take the flash chip off and read it with something but that's probably going to be a lot more work than fixing the program to compile properly (and a lot less flexible since...
I know you said you've tried different USB cables and hubs, but the behavior you're describing sounds pretty similar to what many others have seen with low quality USB cables.
Usually the cable is believed to be...
Sorry not sure what is going on. But maybe some additional information might help.
What exactly are you running? Are you running the Teensy example USBtoSerial? any changes at all to the code?
Which IDE are you...
Is there currently a solution in the Audio Library for two different sample rates? One for input and one for output? I wish to change the pitch of live audio. Or does anyone have perhaps a piece of sample code of how to...
Hi all,
I'm having constant issues with serial ports on Teensy 4.1 boards. Basically, my Teensy's USB serial emulation appears to be breaking.
I'll take you through the steps:
1. Upload LED blink example. Led...
@ted - Could I talk you into running this little program on both of those chips and share the results here?
void setup() {
Serial.begin(9600);
while (!Serial) ; // wait for Arduino Serial Monitor
...
Thanks for confirming your experience with these chips. Several people have asked about these wide temperature chips over the last couple years. Testing them has been on my low priority to-do list, but the higher...
What you need for the level shifting are these. They were designed for serial port level shifting / use.
Breakout modules can be bought here as well as many other places.
I have used them without problem.
Congratulations on getting a good build with that chip not seen tested yet. Good to know the bootloader chip can work with them and offer the extended temp range, or when needed fill in for the 600 MHz MCU with speed...
I would personally consider using an isolator instead of simple level shifter. (Note, I am only a hobbyist myself, and I do recommend you do your own designs; showing mine only because they are so simple even a...
Yes, T_4.0 came out with 10x10 and Pin# silkscreen easy large type fit to the MCU. T_4.1's went 12x12 for extra I/O pins and those to on board PHY to MagJack and QSPI needed larger bga pitch to run the wires on Teensy...
Yes:
LFBGA196, plastic, low profile fine-pitch ball grid array; 196 balls; 0.65 mm pitch; 10 mm x 10 mm x 1.3 mm body.
Oh I did not know that the 4.0 had the same package size.
Very cool they got tested to work. Not cheap - but perhaps available.
Those are smaller 10x10 size like on the T_4.0 instead of the 12x12 on the T_4.1?
Are you sure? It is easy to verify.
AFAIK, I2S input allocates 4 blocks for input and you have only 5. You need IMO at least 6 to allow allocation of new blocks while data are still written to USB.
Keep in mind that...
Try this WDT @tonton81 designed/tested with the Teensy's 1062 in mind: github.com/tonton81/WDT_T4
Forum search should show development and use if the github examples are insufficient.
Hello,
I have a program that runs well, but becomes unresponsive at random intervals. Sometimes within 4 hours, sometimes within 30 minutes. I'd like to use a watchdog to reset the program when it becomes...
We can confirm that RT1062 industrial version also works, with Teensy and MKL02 chip.
We have used:
MIMXRT1062CVL5B
Also we have tried with:
MIMXRT1062DVL6B works also fine.
Interesting. Did you design the system yourself?
This DSP-24 chip apparently was designed around the year 2000. The company DSP Architectures doesn't seem to be alive anymore.
Just curious why you used this particular...
I dont think that is the problem. Only when using the tool USBDeview to delete the USB registrations in Windows and un/re plugging the usb cable several times I somehow got audio thru.
There are others reporting...
I got this working but only intermittently. There seems to be something related to how Windows 10 recognizes the USB device. Only when deleting the USB registrations with the tool USBDeview from nirsoft (free tool) and...
Hi, We bought a company and need to program Teensy 4.1s but the code we got will not compile. We do have a working unit. Is it possible to copy the program off of a Teensy 4.1 and burn it onto a new teensy?
Thanks!
...
Meanwhile, I think, the problem comes from using 'real threads', via TeensyThreads:
- not doing so, all done inside loop() (even tricky to make all sub-functions non-blocking there) - it seems to work fine
My TFTP...
Never read much of the manual ... but there is a Low Power element to the MCU with some cute name. That element {in practice} is powered by the main power and runs RTC and maintains the On/Off state, as noted RTC...
bare T_4.1
105.5 mA : running some sketch
0.26 mA : seconds after holding On/Off to GND
Same T_4.1
135.5 mA : running a simple print time with busy calc'ing RND number between seconds after programming...
According to the specs, the RTC needs a coin cell type battery connected to VBAT to keep the RTC running after power OFF. By having that coin cell, the RTC date/time is maintained, and something called 'power state....
Desire is understood - not seen it called out as noted.
There is a low power section that controls the On/Off and it is AFAIK also related to the RTC section which is powered any time the unit has power.
The...
Hmm, the RTC unit is optionally powered by a coin cell. The two features are not connected otherwise. Having the coin cell enhances the turn on according to the specs.
Sorry, but I am looking for a measure of current...
Not recalling having seen that as measured ... suppose it keeps the related RTC unit powered so will be some small current ... maybe my new cheap meter can measure that ...