"Welcome to Cheapest essay writing the most budget-friendly essay writing services around! Here, we aim to provide a comprehensive guide to the cheapest options available for students seeking assistance with their academic writing tasks. Whether...
I find it odd that SDRAM is not working well with FlexIO & DMA..
On the original version of the devboard, @Dogbone06 has just standard T4.1 PSRAM, and I was able to use a frame buffer in there with my Micromod 8080 library without any issues...
Hi,
I get this message building my project under PlatformIO for Teensy3.6 after some package updates.
Project worked before but now build shows:
.platformio\packages\framework-arduinoteensy\cores\teensy3/Print.h:118:62: error: 'vdprintf' was not...
Update regarding this:
Further review of the board showed some left over flux on pins 5 & 6 of the BAS40-05V. (Potentially shorting these pins out)
Measuring the button cell battery attached it is dead (<1v but cannot sustain any load)...
We finally have DMA working properly on the MicroMod and presumably the SDRAM Dev Board (not tested yet). My MicroMod quit while testing the 8080 mode for the ER-TFTM101-1 display. Had to reposition the MCU board in the connector. It's working...
We finally have DMA working properly on the MicroMod and presumably the SDRAM Dev Board (not tested yet). My MicroMod quit while testing the 8080 mode for the ER-TFTM101-1 display. Had to reposition the MCU board in the connector. It's working...
We finally have DMA working properly on the MicroMod and presumably the SDRAM Dev Board (not tested yet). My MicroMod quit while testing the 8080 mode for the ER-TFTM101-1 display. Had to reposition the MCU board in the connector. It's working...
Sounds a bit like the same thing I saw when I tried using SDRAM with FlexIO VGA output, using DMA to feed the shifter registers - DMA was too slow to keep up with the higher pixel clocks. Yet somehow the eLCDIF module (which has its own bus...
@mjs513, looks interesting. Wonder what the differences are from the DMA and non-dma? Other than the obvious. Like when we are not using DMA operation, the new data is written to the cache, and only later, when necessary, it flushes it out to...
Once I figure out how to do all that in Arduino code, I'll be sure to keep that little gotcha in mind 😅
I might end up using both the GPTs and quad timers, ideally I'd like to have eight different trigger pulses, but with each GPT having only...
Ok folks got the SDRAM adapter board setup and running with a OV5640 @VGA with a few caveats.
When I first hooked it up the camera clock is was set at 10Mhz which works nicely with a regular Micromod. However, with SDRAM and using SDRAM...
Ok folks got the SDRAM adapter board setup and running with a OV5640 @VGA with a few caveats.
When I first hooked it up the camera clock is was set at 10Mhz which works nicely with a regular Micromod. However, with SDRAM and using SDRAM...
The quad timers can also run off an external signal, up to a frequency of bus clock / 2 (typically 75MHz). They're 16-bits, but multiple timers can be cascaded to get 32-bits.
To configure the input pins, you'll need to write to the mux registers and also the select input registers.
IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_02
IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_03
IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B1_04...
One small gotcha... before you access any of the GPT2 registers, enable its clocks by setting the CCM_CCGR0_GPT2_BUS and CCM_CCGR0_GPT2_SERIAL bits in the CCM registers.
It indeed appears that they will do exactly what I'm looking for.
That is a tremendously helpful feature.
I was just about to start searching for this information.
Thank you for the quick, very helpful answer Paul. Now I need to do some...
Some pin mapping info which might help:
GPT2_CLK is on pin 14 (AD_B1_02 mux = ALT8)
GPT2_CAPTURE1 is on pin 15 (AD_B1_03 mux = ALT8)
GPT2_CAPTURE2 is on pin 40 (AD_B1_04 mux = ALT8) - Teensy 4.1 only
Quick answers
I believe the GPT timers might able to do this. In the reference manual, see Figure 52-2 on page 3015, and section 52.3.1 on page 3016.
The GPT timers are also 32 bits wide, which is much simpler than dealing with only 16 bits...
Thanks so much for the quick reply, Paul. I'm embarrassed by the first drawing I posted, so I made a new and accurate one below.
Both power supplies are connected to mains earth, but I'll double check all the connections to make sure they're ok.
I don't see any connection in this diagram between Teensy and the dual motor driver.
Assuming there is indeed a connection for Teensy to control the motors, check the GND wire. Perhaps GND is not properly connected between them? And maybe that...
Can any of the timers within the Teensy 4.1 be incremented using an external clock signal, rather than the internal oscillator clock?
My goal is to have a timer running off an external 10MHz square wave signal. I could then have a pulse on a...
Hello!
I've found this forum incredibly helpful in the past, but this is my first time reaching out with a question. I'm working on a project that seems like it should be simple, but I'm being deviled by a problem that I think is electrical...
I'm trying to use the ShiftPWM library to control 13 LEDs with 795 shift registers. I'm pretty sure I had this working a few months ago, so I suspect either I've done something wrong or an update to something has broken it. The compile error I...
I'm looking for suggests on how to proceed here:
A few seconds after boot I may find an I2C device connected to the Teensy 4.0 and it would be great if I could add a new device to the USB descriptors. The device is a variant of a HID device - a...
Still looking for help with this ... perhaps if I re-word:
To re-use my proven code with lots of "Wire." entries on Wire2 on my T3.6 I am using:
#define Wire Wire2 but only in the RTC and EEPROM tabs, leaving the SSD1306 OLED on Wire0
This is...
I slightly updated @mjs513 copy of it he sent recently.
In that I filled in more information about the newer pins
I Hid most of the columns, which shows:
The ones in Yellow are the ones we do not have. 3 are critical for CSI (D3-D5)
The...
Connecting a motor direct to pin 8 of the Teensy? That doesn't sound safe, back EMF, burn out the pin through overcurrent, ESD through handling the motor - several ways this could be bad news.
Yes, its an unmodified Audio adapter D that I've had for a while but only just soldered headers too and started using. Since the QA403 has high input impedance the caps distortion should be relatively low.
I hope they are C0G/NP0 type...
I slightly updated @mjs513 copy of it he sent recently.
In that I filled in more information about the newer pins
I Hid most of the columns, which shows:
The ones in Yellow are the ones we do not have. 3 are critical for CSI (D3-D5)
The...
Yes I think 80kHz for the measurement bandwidth - which may be a little unfair.
Well you could measure it directly by sending to USB and capturing the raw data without using any DAC for a definitive answer - the SGTL DAC is clearly dominating...
You would need use Teensyduino 1.59 and unfortunately you have to change your Teensy 4 core file in cores/Teensy4 for that. (Maybe first make a copy of that folder.)
Copy the content of...
The above is designed to use the CapacitiveSensor library not the native touch pins of the Teensy LC, 3.0, 3.1, 3.2 & 3.6, it is a completely different beast that is why I started this thread.
Pin 2 is going to T_IRQ. I switched RST from 3.3v to pin 3, per the test sketch (D'OH!), and my Hello World message appeared. Thank you very much for the second set of eyes!
Hey blazini36, I'm the author of this project and I just came across your work. Nice work on creating an updated PCB. Feel free to contact me via direct message, and I can help getting the configuration UI running. The UI is needed, at least...
Usually when that happens to me its the wiring. On quick review looks like you have RST got to 3,3v so either have RST set to 255 or hook it up to pin 3. Looks like you have pin 3 going to one of the touch pins? I would start by not hooking up...
Each open source library has license terms which allow you to the use the code. Usually this can be found in the comments at the beginning of the code. Some have a separate license file.
I need to emphasize the official word is in those...
Hi everyone,
I am new to the Teensy community. I am working on a project and I was able to save Excel files and send them via USB. (Very powerful thing the Teensy 4.1!) However, I noticed that the Date modified is always the same (Attached is a...
Your test code didn't work before, but I can see no reason why it wouldn't now.
Your "part of " loop() clearly has problems. Let's assume Serial is actually connected, so while (!Serial); doesn't cause an issue. Let's assume you've sent the...
The readme for the neu-rah ArduinoMenu library has the the following statement in the history for release 4.0.
Allow virtual/dynamic data custom menus
Does anyone know where I can find any more information on this feature, or any examples?
I...
That OpenMHA link is great. It's not specific to Teensy, but it is still good work.
If you want something that is more specific to Teensy, you should look at what the Tympan folks have done (I'm a founding member). Like OpenMHA, Tympan is...
Pin 2 is going to T_IRQ. I switched RST from 3.3v to pin 3, per the test sketch (D'OH!), and my Hello World message appeared. Thank you very much for the second set of eyes!
Usually when that happens to me its the wiring. On quick review looks like you have RST got to 3,3v so either have RST set to 255 or hook it up to pin 3. Looks like you have pin 3 going to one of the touch pins? I would start by not hooking up...
Hello--
I'm working to integrate the 3.2" TFT Color touchscreen I purchased here into my project, and after installing (photo below), and creating/uploading a test sketch, I have only a white screen. I have reconnected the pins. Here is the Test...
I corrected the test code, which still works.
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
int16_t *sp;
float float_buffer[128];
// GUItool: begin automatically generated code
AudioInputI2S...