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
The jack on the audio shield is output only, meant for headphones. To get a signal into the audio shield, you need to connect it here:
Probably best to start with this 31 page tutorial.
...
Yes, several times. But as I was saying, I am not allowed to utilize the Teensy audio design tool for this project as it is for a college class. It says on the Audio shield page (on PJRC) that audio data is transmitted...
Just a quick scan of the code, until this showed something like this could be going off the end of an array where for ( j=0 to limit (n_freq) ) - on the last valid entry it is referring and writing to j+1:
...
Hi Paul, thanks for the hint, I was accessing element of an array inadvertly.
Thank you for pointing out that this was common behavior, consider it solved!
Supposing this thread was found - but to be sure : forum.pjrc.com/threads/59319-Blynk-Support-for-Teensy-4-0
A post there might be seen by the maintainer if nothing else shows up. Not sure that thread has useful...
Usually these sorts of mysterious problems are due to a buffer overflow. Adding even an unused variable tends to cause the overwriting to corrupt something else (which is less critical and doesn't make your program...
Hello all, I've come around to a weird problem.
I have a program that computes a live FFT on an audio buffer and uses that to display that spectrum in an array of LEDs. There are 2 16x16 WS2812B LED matrixes connected...
Thanks Mark, this allowed me to do some more tests, and... here are my findings:
1 - The ladder filter will induce some significant unwanted fixed frequency noise when (at least) one mixer is used in the sketch. The...
@mjs513 - does this link the ArduCam viewer : arducam.com/arducam-host-application-demonstration/ ... there is a zip onder 'here' : precompiled execute program can be download from here
The test of a single uncanny...
@geekguy: Did the 15 second Restore proceed as > Button held 15 seconds to RED LED flash, Button release, some ~30 seconds of RED LED on, then T_4.0 return to 1 second Blink?
> It won't have active USB at that point -...
Hi all,
the Teensy 3.2 has 2 ADC's which connect to different pins. I want to set up some analog pins with a different resolution than the rest but to do that i need to know which pins relate to which ADC. I can't...
Thanks Gary.
SO yeah the POE incoming is 48 Volts however there's a DC Buck converter in my design that down converts it to 5V and is capable of drawing up to 3A. However I'm not drawing anything close to that.
...
Sorry, I don't have any real experience with a Mac. Since it is just a matter of substituting files in the Teensy folders, can you find the appropriate place on the Mac?
I just did this with one Teensy 4.0, but it still does not respond to attempts to program it. I have good USB data cables.
I have not soldered to anything on the underside of either of my Teensy 4.0 boards.
8-Dale
No need to plug anything in, just configure the i2s1 output object (it will flap the I2S pins (MCLK1/BCLK1/LRCLK1/OUT1A) so you can't use them for anything else)
You just need something that's clocked to drive the...
The sensor has a frequency response extending to over 22 kHz
With a sample rate of 20 kHz you will need a "brick wall" 10 kHz low pass filter between the sensor and the ADC. Otherwise the data could be hopelessly...
Actually not really. FlexIO is so intertwined with the DMA stuff that 98% of its still being called for flexIO dma. :) which I chose to leave in. That caused me some problems when doing that :)
Oh - just tried you...
Boy just #ifdef out all my stuff :D ;)
Actually at some point if we really want to kitchen sink it, we should also for the T4.1 add the CSI mode stuff.
@mjs513 - I hacked up the example, mainly just the callback:
void frame_callback() {
//Serial.printf("FCB: %d %d\n", tft.frameCount(), tft.subFrameCount());
uint32_t frameCount = tft.frameCount();
bool...