The UI is a little obscure.
- Route/Differential Pair. Get as far as you can. hit escape
- Finish using individual routing.
- Route/Tune Track Length.
- Click on which ever is the longest of the pair. It...
Do look into EEPROM Put(); https://www.arduino.cc/en/Tutorial/LibraryExamples/EEPROMPut It only writes when the value would be changed, which helps with EEPROM endurance. Also note that int/word/long writes are better...
Hi Phil,
I have mostly worked this out except for KiCADs tuning of the differential pair of traces. One would think that you would use "Tune Differential Pair Length" but that produces bizarre results in that no...
I'm working on a design that requires each communication pin to be either input or output. This means I2C is not an option since SDA is bidirectional. All the accelerometers I've been working with have required I2C, so...
I'm trying to understand the extent of the work required to implement this.
From what I gather, the following are required:
1. Update usb description to enumerate the correct number of channels
2. Modify the...
So would I.
I have 0V on all four pins on both modules. I did not believe this until I took three sets of readings. I wish I had a known good module to compare with.
8-Dale
Hello,
I've been working on teensy 4.1 for a year now and recently came into mind blowing troubles.
I have two teensy board that cannot read anologRead() anymore.
I started over with the basic tutorial as I was...
FRAM is one makers Ferro RAM ( i.e. mag with retention) where the other is called MRAM
Look up the parts on digikey { in the 'known_chips' or probably links in the thread }- they are similar function just diff names...
I guess the memory corruption doesn't matter, since the first field of the struct is only overwritten by a type-coerced pointer when the struct is added to the free list. But still, this is pretty ugly, especially when...
I add the I2S output an now it works. Thank you so much!
Just for better understanding: is there any technical reason, why many example sketches don't has this I2S already prepared? If I'm using a program without any...
Like the RT1062, the Rt1176 has 2 ADCs. They are 4.2 Msps @ 12bits. It does also have 5 SAI (Serial Audio: I2S, TDM, etc) channels so you could add external high quality ADC/DAC hardware, like what Paul did with the...
The Teensy 3.2, 3.5, and 3.6 have a real EEPROM chip. The Teensy LC, 4.0, and 4.1 have emulated the EEPROM in their flash memory.
Note, you can read/write an entire structure with the EEPROM library (it uses a...
Cross-posting what I posted here: https://github.com/PaulStoffregen/USBHost_t36/issues/60
This code pattern is used a number of times in memory.cpp for memory allocation and recycling (for Device_t, Pipe_t,...
I'm not sure how many ADCs are on the NXT chip, but if it's more than just the two that the T41 uses, it would be sweet if more were available. Specifically, I'm working on multi-channel optical communications, so...
hi,
i am porting some code from arduino micro to teensy 3.6 and i use the eeprom library to store/recall some configuration and calibration data.
my understanding is that the teensy 3.6 has an emulated eeprom, and...
currently trying to debug my program on a teensy 4.1. Occasionally the main loop will freeze but my interval timer will continue running, so my guess is something is caught in a wait loop.
I'm also running the audio...
Please stick with title of thread (comments on, issues with TD1.54b7) and create different thread for detailed discussion on your program implementation
After Paul integrated SdFat-V2 I updated code to include directly TD SdFat.h (no -beta anymore)
No need to download Bill's beta version.
Best to remove SdFat-beta from local Arduino Libs and only use TD version
Good points all around, the ones in the linked LittleFS are Nor, NAND or FRAM chips. I did not see any MRAM, but perhaps I misread.
That being said I am looking at the AS3004204-0108X0PSAY, as it meets the voltage,...
I refer to my own ubec supply wich convert 4S to 5V ,so I call it 5V_ubec (in this case Mateksys UBEC DUO).
Thanks for the schema I understand where I do put the two diodes (and avoid a mistake ;o)).
Thank's...
I'd really like to know what went wrong.
If you're willing to measure more voltages, on the bottom side are 4 small round test pads, located between the rectangle pads for pins 24-33. Can you measure those 4...
With TD 1.54 ( beta 7) :: SD.h now runs/maps into SdFat for the added speed and functionality that brings along.
The SD.h func()'s were just mapped through by Paul, but now the full SdFat functionality is also...
Good on the missed details Paul - stopped scanning after seeing it doesn't support QSPI ... but has to be 3.3V part. And even some of the supported parts IIRC have slower SPI interface than when jumping to QSPI mode....
Yes.
With the same exact failure.
I understand that. I am not questioning PJRC. There are ways boards can be negatively affected, even in transportation between manufacturer and dstributor.
8-Dale
You're results from peak1.read() are spurious unless you first check peak1.available().
I've had a play with the example and I see only zeroes coming out - this is likely EMI on the rails therefore.
I double...
How would the teacher know if you used the Design tool?
It only generates the code for the structure, if you just remove all the x,y comments and the other generated comment, no one can then say that you did not do it...
Ok, I think I understand...
I've attached new files that should work correctly.
muxAmp.h
#ifndef muxamp_h_
#define muxamp_h_
#include "Arduino.h"
#include "AudioStream.h"
class AudioMuxAmp : public...
The one board worked for some time it seems - but the other never did?
It is strange to have two boards go bad.
Boards have distributors. All boards are manufactured and tested and packaged through/by PJRC.
Excellent. Not essential for Dynamic Updates to the audio routing, but I'm thinking it would be really handy for a hard/soft synth for routing physical front panel controls or MIDI control data to audio blocks.
...
Hi Mark,
Thanks for the tips, I completely understand your last two points and will update the code to initialize and check for limits.
Can you explain further on how I would release all 15 blocks of...
That tool is only a convenience and is not required at all to build Audio lib programs. Find one of the example programs for the
Audio library such as examples>Audio>HardwareTesting>PassThroughStereo, and work from...
You never release the other blocks, so that upto 15 old blocks may be stuck in the inputQueue, so that when the inSource
changes an ancient block will be picked up from one of the stuck channel. You should receive...
@All
Good Morning.
Decided to play a bit more with the camera so I ported over the CMSIS NN example using CIFAR10 example that identifies several objects. Did have to reduce the size of the image down to 32x32 to...
It was not working before with that in there. I admit I don't fully understand the handling of blocks, and with the original code that says if gain is 0, release block. Seems like the block needs to be transmitted, not...
I guess I don't fully understand, but I'm assuming you mean check that when you do something like this, that it happens simultaneously?
digitalWrite(INA,LOW); digitalWrite(INB,LOW);
I don't know of a way to check...
No diode is to be connected to 0V or ground connections (in this case).
Note that the guide's photo is made with Teensy 2.0, which has a 3 pad arrangement, where the center pad is (nominally) 5V _or_ 3V depending on...
Yes the node-red have that, I think that is mostly because it keeps the design small and tidy but you can connect many wires to one input, how they then know the order I don't know.
But they can have multiple outputs,...
Those writes are just configuring the timers, which are used to generate hardware trigger events to cause the DMA to move data from memory to GPIO. And the "FTM" timers are only on Teensy 3. Look for the #ifdef in the...
Hi Bugy74,
thank's for your reply. You seem right.
But could you confirm me this wiring please :
I use symbolic diode like that : ->|-
so
5V_ubec ->|- Vin_T4.0 (5V)
0V_ubec -|<- 0V_T4.0 (G)
The main issue I can see is whether FlexSPI can be configured to generate such a slow SPI clock speed. I seem to recall there's a bit somewhere which cuts all the clock speeds in half. But I'm not sure if even that...
Does also look good and super easy to use but it seems to be targeted at larger machines? The one I linked is explicitly done for Cortex M processors. Don't know if it makes a difference though. Need to wait for my...
OK: it seems I have to install the latest teensyduino 1.54 beta-7 in order to make the microSoundRecorder compile! It works now!
Not sure if I understand why this is so, but good to know there is a way to make it...
Actually yes, on and off thought about but something always distracted me. Just took another look and found this one as well: https://create.stephan-brumme.com/toojpeg/ == it has some good references.
Quick question... I looked at the Node Red website and it appears the only place ports can be placed on a node are left (in) and right(out). However, it also says you can only have one input port, and the Tool clearly...
Do I need to delete the Sd libs inside the installation of Teensyduino or Arduino ?
Or do I need to use the latest beta of Teensyduino? Hmm --> will try that now.
hi Walter,
had some time today to try the new version of microSoundRecorder.
However, I do not seem to be able to compile it.
Arduino 1.8.13 TD 1.53
no other SD library installed except for the newest...
I think he refers to this: https://www.pjrc.com/teensy/external_power.html
A simple "battery" in this case would mean 1.5V (nominal), in 4-series, and adapter would then refer to e.g. buck-converter to drop the 6V...
Have pasted some snips from GPT code Im working on, might help. Some of it inspired by manitou48 here. You can change the line #define GPT_CLOCK_SOURCE 3 to vary the source for the GPT timers. Note that 3 is for...
Any chip on those pins to memory map with processor supported addressing on QSPI needs setup and interface as done in the linked sources for supported chips.
The linked chip doesn't seem to support QSPI - so...
Actually it is quite, say, teensy :-)
Thought of encoding to jpeg before sending to reduce the data to transfer. Maybe something like this: https://github.com/noritsuna/JPEGEncoder4Cortex-M. Of course, this...
Thanks PP. I understand now.
Probably beyond me at the moment to try changing those internal registers but at least i can check which pin is set to which ADC for the moment.
Cheers
NM
I looked through the library, paul is a wild genius to figure all of this out. I would do it in hardware if it were me :D
SO the code doesn't use digitalWrite because that's so slow there's no way it would even come...
So the pins for those slots are accessible and I can put any SPI like SOIC-8/SOP-8 chip there as long as I manage them manually?
I was specifically planning to use a CY15E064Q-SXET in the second slot. It's a 64K...
So the biggest thing is you need a stable and accurate 3.3v supply. Byfar the easiest way to do this is use the one that Paul included on the board :D!
Attach ground to negative, and the battery-positive to the...
So the microcontroller on that one can by the looks of it be configured such that most or any of the analog pins connect to whichever ADC you would like. Well over my head to manually set the internal registers to do so...
Was the Teensy Audio Board designed to fit a specific board mount input jack, similar to the output jack? I would like to install a 3.5mm female jack but I am not finding anything with a suitable pinout/footprint on...
IIRC > @mjs513 wrote support for MRAM - though smaller - they work. That came about as part of the LittleFS IIRC and the support for that is in current TD 1.54 Beta.
That LittleFS thread and the PaulStoffregen...
I'm creating a library object that selects 1 of 16 input blocks, applies gain, and then outputs a single block of audio.
I've been testing this on the Teensy 4.0. The multiplexing/switch of inputs seems to work fine,...
Teensy 4.0 #1: It looks like I do not have 3V power. I have 5.08V.
Teensy 4.0 #2: I do not have 3V power. I have 5.08V.
I do not understand this at all. One of my boards was working for awhile, but the other never...
My plans are to drive 3 displays (using Quad SPI to Bridgetek BT815/6 boards) and be able to store values to memory persistently multiple times per second (at least) for possibly years, but at the same time able to...
If it's completely unresponsive, let's first look at whether it's getting power....
Try using a DC voltmeter to measure VIN-GND (should be about 5V) and 3.3V-GND (should be 3.3V).
I tested the Teensy MM beta board in my DIY stepper motor carrier. This carrier is part of a solder paste dispenser project I'm working on since a couple of weeks. The T4 MM board finally motivated me to work on the...
There is no activity at all on the Teensy 4.0. No flashing or blinking red LED at all. Both just seem to be "dead" now.
Everything looks good to me. No solder splashes, which would be easy to see. No solder bridges,...
Yup. While most programmers would balk at code-dependent timing, if you use consistent overclock and compiler settings, linear strings of "nops" or loops with them are surprisingly useful. Always use FASTRUN to keep...
My main complaint right now is that the first prototype worked so well that it was put into use 2 days after I built it. So now I'm waiting on a digikey order so I can make another one and continue firmware development....
They're just plain old red LEDs in a 25x11 matrix. I use 2x 595s + mosfets as row drivers, and 2x CAT4016 current sinks to drive the columns.
1.0 / (5us * 255 brightness levels * 11 rows) = 71.3 Hz
71 Hz looks...
No - you are going to be in trouble if you use that one. Down the version I am using from here: https://github.com/ArduCAM/Arduino/tree/master/ArduCAM/examples/host_app/ArduCAM_Host_V2.0_Windows