I could be wrong, but my reading of the LPSPI chapter of the RM is that 2-bit parallel half-duplex transfers can be done with available pins, as they require only SOUT and SIN.
- PCS0 and PCS1 are always chip selects...
The documentation for QNEthernet::EthernetClient::close() notes that it closes the connection, but does so in a non-blocking fashion. Overall, I really like QNEthernet, because just about everything can be made...
Well... I have added initial support and have limited it to the from 1.0 to 37500000.0 Hz range. Should be good for now.
If anyone wants to try, here are Standard and Pro Beta versions:
...
Sure, here it is. It is titled 816x in the datasheet, the last digit is 6, 7, or 8 for speeds 250ksps, 500ksps, or 1Msps. There is an eval kit at the bottom of the page.
...
Hi,
I'm trying to learn can-bus, but I'm getting stumped on how filtering and mask work. I understand the general concept, you configure the object to ignore data from nodes you don't care about, and you configure...
Can you be more specific? At the very least, can you give a link to the Analog Devices web page or datasheet (so we don't have to guess the last digit). Links to eval or breakout boards would also be good, for anyone...
As a general rule of thumb, higher resistance pots consume less power but give a weaker signal which results in noisy data. So you would normally want to use lower resistance for better results, but not too low that...
For future reference you cannot expect to co-locate sensitive UHF receivers in the same box as a high frequency digital processor unless stringent RF design techniques are used. 600MHz for instance will probably...
Hi there, I'm trying to adapt the 16n firmware for Teensy 4
As the original code is made for Teensy 3.2 & LC, I have to adapt the i2c part for the Wire library, but no idea how to set to master/slave and the i2c...
For those interested, I've managed to double the throughput by changing packet size to 1024 (RAWHID_RTX_SIZE_480), and increasing RX_NUM to 64 helps greatly. Throughput is now around 10MB per second. It's still along...
I soldered to the initial one that didn’t work, but just headers - I’ve literally used hundreds of teensys and I don’t think I’ve ever managed to kill one. The others that didn’t work were brand new. The working one out...
Does anyone know if the audio library code changed between release 1.57 and 1.58? In our code, encoder response went from about 1 second/detent move to almost 30 seconds/detent move. (We are doing some...
Hi Paul.
The absolute King of Ai is Nvidia. No large cap company has ever done what they just did in the stock market, see image below:
The only company with a chance of overtaking Nvidia is probably Tesla. It...
Hi Michael, reading your statement: do you see a potential revival of this particular chip architecture? Or perhaps even an update of the DSP24 chip?
Do you have a specific area of the AI market in mind?
Paul
Thanks for the recommendation, do you have any specific MOSFET p/n in mind? I'm not really sure how to choose the correct one for my application, or what criteria I should be looking for. For my needs it has to carry up...
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.