This is an alternate library to SDRAM_t4?
A bit of ReadMe to see about changing?
Just drop ref to SDRAM_t4 and perhaps make libray\SDRAM and include SDRAM.H?
Other details or changes?
Just to be sure: are we talking about this module?
Why not try to get the basic arrangement to work first as shown in the WIKI? (speakers connected directly to the module)
And as @MarkT stated, how does your circuitry look exactly when powered by...
That's great thanks. I can hopefully work with the first method. I'll need to calculate the freqAdj for each note so we always get the same nr cents correction, but that's just some musical knowledge and maths which seems do-able. I've added a...
Thanks for the follow up. It turned out that the particular encoder I was testing was worse than most others that I tried (of the same model). But it would be nice to have my design more immune to sample variation. I'll give the polled version a try.
Yes, you are missing SYS_FS and MCLK_FREQ, also in CHIP_CLK_CTRL which sets the clock, this in combination with the RATE_MODE determines the sample rate, see datasheet table 18. I think you'll need to reduce the MCLK frequency sent to the chip...
Well the schematic does not show the power supply arrangements or decoupling for one thing. Where does the +/-15V come from for instance?
I do note the TL072 trying to drive 470nF through 16 ohms - likely to oscillate, opamps can't drive heavy...
The T4 is absolutely _not_ 5V tolerant, 3.3V is the limit for all pins - this is clearly stated in the data for the device. You require level converters to talk to a 5V chip (if you haven't fried the T4 already).
The red LED blinks in several ways. If you are seeing a slow steady blink (on time same as off time) repeating continuously (no pattern of blinks separated by a longer time with the LED off), this means your Teensy went into bootloader mode but...
The library is pretty imune against any bouncing as long as bounces don't overlap. I.e., if your encoder bounces so badly that one switch still bounces while the other switch changes transition you might get wrong counts. The same might happen if...
Pushed the "DCD" intialization example to github: https://github.com/A-Dunstan/SDRAM_EXTMEM/tree/master/examples/DCD_Init
The magic is in dcd.cpp: DeviceConfigurationData is basically a uint32_t array of registers and values to be put in them...
Pushed the "DCD" intialization example to github: https://github.com/A-Dunstan/SDRAM_EXTMEM/tree/master/examples/DCD_Init
The magic is in dcd.cpp: DeviceConfigurationData is basically a uint32_t array of registers and values to be put in them...
after I press the button, a Red led is blinking next to the USB port on the Teensy.
Then, I started to download the 'blink' example, and this is what I got:
It looks like it is not connected to the Teensy... right?
@KurtE and I have been at it again. This time creating a library that supports a number Arducam/Arduino camera modules:
Model
FrameSizes
Pixel Formats
Omnivision OV2640
FRAMESIZE_VGA //640x480
FRAMESIZE_QQVGA, // 160x120...
On a somewhat related note, I find with the encoder I'm using that I don't always get changes when clicking to a next detent. Switching to full mode shows more or less than the expected 4 pulse changes. Is there a way of dealing with this in...
The Teensy may be in a state with USB not present or not functioning when connected.
Press the Program button on the Teensy and see if that changes anything
Hi,
I've just received my first Teensy 4.1.
I have Win11 and Arduino IDE 2.3.2.
I've added it to the preferences:
and installed Teensy:
and I can see all teensy borads when I'm selecting one:
the problem is that my PC simply doesnt connect...
Alright this is my first post on this forum. I'll try to provide sufficient details but have mercy.
So I am trying to make an Arduino UNO (master) and a Teensy 4.1 (slave) communicate via SPI. More specifically, the UNO sends the Teensy a byte...
Hello, I am trying to communicate with a DFMiniPlayer using a Teensy4.0. I am powering the teensy with a 7805 regulator. However, when powering with the external regulator I just get a high pitched noise coming out of the speaker, with no music...
Over the last year, I developed a universal DAQ system to capture data from any I2C, SPI, RS232, analog or whatever-protocol sensor. It allows simultaneous and synchronous data capturing of up to eight sensors (or even more - see description) and...
Thanks so much for your quick reply.
Hopefully i have some time next week to look deeper into it. It still surprises me that so few? users seem to have any interest in this topic, even it is the only way to produce pitched samples on the teensy -...
40 LEDs times 30µs means around 1.2ms blocked time for the LED update.
However OctoWS2811 or WS2812serial are great options with non-blocking functionality.
I've changed nothing since post #100, so https://github.com/h4yn0nnym0u5e/teensy-variable-playback/tree/feature/set-start-point is the most recent (October 2023). Best? Who knows? It seems to take months to get any feedback on changes, and even...
Thank you so much for this article! I am still using FastLED with OctoWS2811 this way and I am super grateful and happy about this guidance. I simply don't know or didn't find other ways in the past. I am glad that everything is working...
Confirm, the main reason is to prevent possible back flow of current into your PC. Or the same into whatever power supply is connected to Teensy, if that power supply is turned off while the PC gets connected.
Indeed the risk in practice is...
So I decided to make a facelift, adding SDCARD and USB-PD which supports the PD protocol up to 12V. There are pads to solder if you just want to use the second port as a pass through with 5V. Meaning, it will deliver the same 5V coming into the...
I did not bring out any special ports. All that was done was SDCARD and USB-PD. But ofc we can keep going and make a gen5 that has more stuff. But it needs coordinating, Rezo and KurtE together could make a full pin mapping, that would be ideal...
OK, pulled all three files (source, recording-1, and recording-2) in Audacity. Reviewed each in detail, recording-1 was 1 one-hundredth of a second longer than the original wav file but the extra was "dead air" so apparently Audacity ignored that...
That looks like the equal and opposite problem … ending a recording and tidying up takes a few milliseconds, so the other recording has (by the look of it) time to get a couple of buffers recorded before you stop it. I may not have tested it, but...
OK, pulled all three files (source, recording-1, and recording-2) in Audacity. Reviewed each in detail, recording-1 was 1 one-hundredth of a second longer than the original wav file but the extra was "dead air" so apparently Audacity ignored that...
I did not bring out any special ports. All that was done was SDCARD and USB-PD. But ofc we can keep going and make a gen5 that has more stuff. But it needs coordinating, Rezo and KurtE together could make a full pin mapping, that would be ideal...
I see you made a lot of changes and improvements in this topic.
Could you point me to the best/most recent version of your various branches to try to adapt for my scenario, meaning playing polyphonic, pitched samples from SerialFlash ? (or even...
Thanks for this fantastic reverb. I've run the stereo plate reverb example on a teensy 4 with the pjrc audio shield and am amazed and how this sounds.
I saw there was previous mention of it being merged with the teensy library, but I can't find...
If you mean by "extended can frame" the extended frame format with 29 identifier bits, you can use the FlexCAN_T4 library. It also supports CANFD mode.
Paul
Thanks VERY much for that info. I actually ran into [I believe it was you] informing someone else on another much earlier thread on how to "pause" the interrupts so you could setup for recording but I could not remember exactly how it was worded...
I did not bring out any special ports. All that was done was SDCARD and USB-PD. But ofc we can keep going and make a gen5 that has more stuff. But it needs coordinating, Rezo and KurtE together could make a full pin mapping, that would be ideal...
Shortly after Teensy 4.x came out I wrote this article describing a way you could use FastLED with the code in OctoWS2811_imxrt.cpp which let you use your comfortable FastLED pixel manipulation, fast color math, etc. etc. etc. while outputting in...