The IGP is already running with 150MHz.
Not sure about the GPT frequency (would have to take a look..)
The clock diagram on Page1016 (Rev Manual V2) say it can be switched between IGP and 24MHz with CSCMR1.
Perhaps...
Hi, does anyone have any insight on how to change the clock source on the GPT to be higher than 24MHz? I see on page 2961 of the manual that I should be able to change the input to ipg_clk_highfreq but this still seems...
T4 GPIO pins programmable output drive is from 1mA to 4mA... That's why I said 5mA is a tad high.
I'm fairly sure it can handle 5mA with some voltage droop, but I wouldn't want to risk heavily overloading
the pin...
It will be interesting, as I believe it is just a beta that has been released. Also as it is a complete different platform, it will be interesting to see if/when Paul adds support.
I've been away from the forum for about a year, but I'm now back. I had several notifications last night that the all new Arduino 2.0 IDE is now available for download. But it's not immediately useful to us unless...
I put this code sample for fun...
Because when I test it to verify that my post sample doesn't works it is work fine...
The only difference is is that I putit in a .h .cpp files...
So I do compare with the original...
This probably won't help much, but here's a page written 10 years ago when I tested Oleg's original hardware (long before any Chinese clones existed) with Teensy 2.0 and Teensy++ 2.0, which were the only 2 Teensy models...
Please show complete programs. Even if the rest of the code is trivial, it is much easier to answer if we can copy the code into Arduino and run on a Teensy without the work of adding (guessing) the missing lines.
Should be doable, but need some little changes to the core files... maybe Paul Stoffregen reads this and adds some macros...
Edit: The Teensy loader will not find it anymore but there's the 15 sec reset that erases...
I hope I understood your question right... maybe, not...
I don't get what this has to do with the bootloader, how a bootloader can help to remap inputs, and what the bootloader should do exactly. Can you clearify that?...
I have gone through everything I have been able to find on the web on these things (seven host boards in all). I have done the bypass of the power. I have clamped the reset with and without pull up resistors, 1k and...
Hey @gregevans209 !
I discovered Freejoy just yesterday but already have a couple of Teensy's around, and planned to use them for just that kind of project, using Teensy LC and Teensy 4.1. I think what would be...
PERFECT!
Silly mistake/bad assumption on my part. THANK YOU all so much... I should post more - I'd solve my problems much faster :-)
I'll post some stuff on what I'm up to for people's interest. My second custom...
when I added Collin's Object Oriented CAN callbacks to FlexCAN_T4, I also included compiler errors which you would have seen:
#if defined(__MK20DX256__) || defined(__MK64FX512__)
static_assert(_bus == CAN0,...
The connector is a "magjack", which means is more than just a plain RJ45. It has the ethernet magnetic coupling parts built in.
The kit does more or less just break out the pins, but to a magjack. It also has 1...
Thanks for the help. Ethernet seems like it may be the way to go.
Does the ethernet kit just break the pins out to be used with an RJ45 connector? Because of the physical requirements, most of my connectors are...
USB can do 2 meters. It's the way needing the least amount of extra hardware, just a good quality 2 meter cable. USB provides power, but for 2 meters make sure the cable has #24 or larger wires for the power. Cheap...
The project I am working on has a pi and teensy communicating where the teensy controls a bunch of stepper motors and recieves sensor input, and that data is sent to a pi to be diplayed for the user on a large touch...
@All - Trying to get caught up:)
I am writing up doc's that explain more of what MSC does and the way's I have used it with the various versions of MSC. Maybe this will help with the current issues.
Maybe not:)
...
That is handy @brtaylor.
Just checked github.com/TeensyUser/doc/wiki and see some cad stuff but no Ref board notes?
Also - Luni whipped up a Experimental MicroMod T_3.2 the other week. That Thread likely has full...
Yeah, I thought I had once read something about the Teensy being able to run at lower clock speeds on less voltage ... but I can't find that now.
I just tried it on the breadboard for a while & never saw it be a...
Aha! Due to yet another bug in my schematic, I did not have it wired up like I said at all.
The USB 5v connection (Vin) was connected direct to the battery+ on the PO!
Which I would have thought would boil the...
I'm sorry for the previous connection as it did not look good. I repeat in a better way:
Pin connections:
ILI9341 ----- Teensy 4.1
VCC ----------- VIN
GND ---------- GND
CS ----------- Pin 10 (CS)
RESET...
Hey man, I can thank you enough for this.
I actually managed to do exactly what I wanted. Basically I read a CV in signal that I alter through some controlled randomness. Here is a pic depicting my output (yellow)...
Thank you for your quick response and my apologies for answering you at these times due to work. Answering to @MarkT and @KurtE, the link you sent me (http://www.lcdwiki.com/2.8inch_SPI_M...41_SKU:MSP2807), is that i...
Trevor:
I forgot one more bit of advice: If you aren't already too committed to your T3.5, use a T4.1/T3.6 & get the cable that allows you to connect external MIDI devices (keyboards, etc.) to the 2nd USB (host)...
Trevor:
In my <TeensyMIDIPolySynth> project, I had 48 x 50K pots + 42 pushbuttons, all sampled by the T4.1 using the 74HC4067 MUXs. The MUXs require one analog input/output & 4 digital addressing pins. If you need...
I need to upgrade a project using Teensy 4.1 to support Hue lighting. It seems many people have done this with other Arduino. I'm looking for pointers on good libraries and projects that use Teensy specifically. Any...
News Note: The Teensy-based Audio Vector Network Analyzer has been built by a fair number and it continues to serve that original job of measuring components and circuits. But, it has grown!
It now uses the same...
Thank you all for your prompt and helpful replies. I have everything working now.
Unfortunately I haven't spent much time with the gui tool so I missed that detail.
The last thing I had to do was re-encode my wav...
Not from PJRC and not my work, but this Teensy 3.2 reference board clone has a BOM:
https://github.com/thewknd/teensy-boards/tree/master/Teensy%203.2%20reference%20board%20clone
I built it years ago and it works.
Good point. The documentation on the USB serial page says: "Initialize the Serial object. The baud rate is ignored and communication always occurs at full USB speed."
I've updated that page with better info.
I am switching some 24V 2A solenoid valves, but handling volatile gases/fluids, so I would like isolation and prefer not to run hot positive wires back to grounded switched MOSFETs, hence the opto relay.
I have...
I have also enabled this board(USB Host Mini) on ESP32
https://www.arduino.cn/forum.php?mod=viewthread&tid=94444&extra=
And here is the project for connection HP-9800 with USBHostMini and DFRobot ESP32 board.
...
Hi! I'm designing a synth around the 3.5 and audio shield. After getting a 7-pot arduino noise maker to work with Mozzi, I decided I'm qualified to take on a fully realized synth. Oh, and I've never really played one,...
Just wanted to say I love you guys! Finally graduated to Teensy, thanks so much Paul! And my TSynth is in the mail, thanks so much UHF...I'm making my own synth after years of planning to, and it wouldn't be possible...
The datasheet mentions 5mA a lot in the specs, which is a tad high for T4, but ought to work at that level. I wouldn't try to push it harder
per pin. Never connect an LED without limiting resistor to delicate CMOS...
They aren't, there's just some part numbers or values on the layout image. For instance the USB connector has no part number
and I wouldn't like to have to search through the many available to try and guess which...
Hi, I am concerned about that glitches that would occur on adjacent pins when toggling at high speed rather than EMI emissions which is another issue maybe have to be handled externally by the designer. Also the...
@KurtE
Took a break as well today and played with SDR. Got it finally working in windows so now can have some fun listening to radio :)
Anyway made the changes in post#46 but used the SDCard/adapter with 4...
I need to drive a dozen 4A opto relays using the Teensy 4.1. I am trying to figure out if I can drive them directly with the Teensy or if I need a transistor in-between.
The opto relay I am considering is the 4A...
@all - I may take break from this for rest of day.
Then I may try to see if I can reduce the number of abstractions and the like and get it to work... That is how much different does the VolumeName code and the MTP...
That looks great KurtE ...
Got distracted with the FrankB HardFault - made a sample that saves state on fault and picks up where it left off - doing that with Prime numbers - simple restart but shows capturing 2...
Paul et al, do you have a BOM for the Teensy 3.2 to go with the Schematic you would be willing to share? I am designing a project that uses the Teensy 3.2 and i would like to design the teensy into my design.
Thanks.
Bummer on the failed install but awesome it not only worked in the end - but with the improved write speed!
So the PSRAM buffers are emptying faster than they fill now and 16 MB is more than enough?
@Frank B - @KurtE
Ok got my radio and saw the same think as posted in post #26.
Setup the radio in windows using Airspy and was following this tutorial to get it working: https://www.youtube.com/watch?v=7EiRZfw8xxU...
Ok, I changed that test sketch like:
// Function to handle one MS Drive...
void procesMSDrive(uint8_t drive_number, msController &msDrive, UsbFs &msc)
{
Serial.printf("Initialize USB drive...");
cmsReport = 0;...
IIRC, the pins are different between Teensy 3.x and 4.x. On Teensy 4.x the first CAN device is on pins 22 (TX) and 23 (RX). On Teensy 3.x the first CAN device is on pins 3 (TX) and 4 (RX).
Hi All,
I did a search but couldn't find anything...
I'm using Flexcan_T4 on a Teensy 4.1. It works great! I'd also like to use it with a Teensy 3.2. However, the Teensy just crashes. No output to the serial...
You can generally expect Teensy 4.0 & 4.1 to give about 25% better DSP performance than STM32H7.
They have exactly the same Cortex-M7 processor, but Teensy's runs at 600 MHz compared to only 480 MHz on the STM32...
Error - out of DTCM!
Have to find out why this is the case - this error output is not helpful - and this error results in ELF not saved for the teensy_size.exe to parse:
...
For the heck of it, to get another data point I am going to step back and play with the VolumeName sketch, and instead of processing one partition at a time, I am going to try to open up all partitions (up to 4) and...
Hi, im trying to get my head around dsp and micro-controllers, from the all the documentation of the i.MX RT1060 i cant find anything about dsp features, but the stm32h7 talk about great dsp performance in the header on...
That actually makes sense based on the dump and what we did when were originally testing using the SD card.
First we had to attach the device to get the blockdevice (sd.card) then we used sd.card to attached the...
Sorry just got back: It gets sort of interesting, I turned on the debug code in MassStorageDevice(USBHost) Not the big debug turn on, but one specific to this class:#define DBGprint 1
I also edited a lot of the...
Yes, the signal quality is good.
Edit: In Europe te least, GSM can be at 900MHz (parts).
Air traffic is in the >100MHz Range. Transmitting an ILS signal would be not a good idea ;)
Still, the noise levels are fairly minimal. Mostly less than -70db above 1GHz, and nothing higher than about -55db. This type of noise is easily suppressible with grounds added between transmission lines.
I'm using a...
I want to stop the PWM in some cases to write simple 16 bit commands to the display, so I set the registers to stop the PWM and to set pin #33 back to a GPIO pin:
FLEXPWM2_MCTRL |= FLEXPWM_MCTRL_RUN( 0 ); //...
In fact, it's both <- that was with a Teensy 3.2, many years ago (turn on Audio).
All pins disabled.
Single pin: With T4 and using 5cm wire, I can receive it with WFM in best quality HIFI stereo 10 Meters through...
I cannot understand the reason. After removing Arduino IDE and re-installing version 1.8.13. With the subsequent installation of Teensyduino 1.54. half of the libraries were missing, I had to install them manually, but...
If you feel you hear digital noise it is not so very much important what voltage regulator you are using. It is more important to run the audio circuitry from a different voltage regulator than the digital circuits.
...
Hi
I want to receive a big midi SysEx file (approx 300,000 bytes) and have my Teensy 3.6 save it to the onboard SD card. There isn't enough ram to store it between receiving it and saving it to the SD, so I tried to...
Hi,
I'm hoping you people can help me.
I have an Off-the-shelf USB game controller which uses a Teensy-LC.
My PC is Windows 10.
It is currently is set up using 16 inputs (10 buttons and 2 rotary encoders...
I have a similar project. I am reading two frequencies on different pins with FreqCount. I get decent results by the Teensy frequency differs from what the scope connected to the same signal shows. I would like to try...
Arrived today. Well. China.
Its defective, shows stripes on the left side and some more issues like bad colors.
Lets see if they send a new one.. :)
Its good enough to do some tests with VGA (when my PCB arrives)
Thank you! This is very helpful. I will look into that $5 preamp, seems like the way to go. I'm glad not to have to resort to that third option...
Thanks again!
Ah, those prominent caps must be decouplers then...
I think there is indeed a gap for a DC analysis object, AudioAnalyzePeak takes the absolute value, and of course
RMS cannot be negative.
Probably easy to knock...
Ok - commented out the MBR and seems to have got it working. But noticed something funny. I modified the drive partitions so Part 1 = Fat32, 2 = Fat32, 3 = extFat, 4 = Fat16. Going through the debug noticed that it...