RP2040.MM has a tracking number to me ... maybe next week? Hopefully by the time it arrives and unboxed the path to C/C++ building on Windows will be ready :)
SFun doesn't appear to have any unique answer yet for...
Hello KurtE,
Thanks for your answer, I will try and tell you how it goes.
On the other hand, about EventResponder, I read that I must first compile this class and then link it to the source files in C. But I don't...
Sometimes it is so easy (if you are a good programmer and everything runs good)....
While testing I have changed two lines and the touch runs also on the second form...
Thanks for your ideas and replies.....
This is very similar to what I need for a high volume product I'm working on. I've been looking at having to spin my own Teensy board because I need:
- the USB programming interface broken out to a custom carrier board...
The T4 MM would go into my custom hardware. I want to be able to position the USB host and device connectors and uSD connector wherever I want, and use whichever connector style I want. That can be done now of course,...
Hello,
I noticed a bug when using band-limited waveforms and freeverb. My T3.2 crashes when playing high pitch notes. No problem when using standard waveforms.
My code is rather long. I am going to squeeze it and...
It is a huge departure for PJRC (from BB friendly boards) and doesn't really bring out new features. Is there a cost advantage? Given that you need a base board and based on Sparkfun prices, the answer looks to be no....
My guess (and it is only a guess) is they have been waiting for the bootloader chip (https://www.pjrc.com/store/ic_mkl02_t4.html)
Which I think still has a limit of 10...
I didn't anticipate the T4 MicroMod to actually be manufactured by sparkfun. The radio silence since the git commits and blog posts in October could indicate one or both parties lost interest, or maybe SF is just too...
this clock is going to my parents (in there 80's ) so i wasn't thinking of Time zones. here is the full code. Thanks for your help, no way I could figure that out, want even close to what I was seeing in the documents....
And I have a workaround, albeit not pretty. If I also connect pin 26 to VCC through a 3K resistor, it can be programmed again. Will have to design a jig of sorts... WTF.
@all - I think I will try a hack to see how much if any the freeClusterCount code could be sped up.
What I am thinking of doing is start off with Fat (so Fat16/32). I am curious of how fast is it already for large...
I was sort of curious about what ever happened to this project as well as the other Controller board that in another thread, that was made at one point for one of the PrintrBot models. As I still have not fixed my...
Hopefully someone can explain this one. It looks like if pin 26 on a virgin MK20DX256VLH is connected to ground (in my case through a 10K resistor), the RESET line gets held at 3.2V and it can't be programmed. WTF.
Sorry I know nothing abot scones or the like, so not sure how much help I will be...
But one thing stands out is: ARDUINO_TEENSY_MICROMOD
That is for a non-existent board that is rummer to be coming. You might want...
Hello everyone,
Currently Im using teensy3 to distribute firmware that uses a third party SDK. The program is written in C and to compile it I use Scons adding the links to core teensy3.
Now, we want to migrate to...
Thanks a lot for your support.
I try all your right advise but nothing changed.
Maybe i find problem: in the arduino ide, "Tools > USB Type" i enable the option "Triple" an i used SerialUSB1 instead of Serial and now...
Hi MLU,
Thanks for the quick response, and thanks for confirming!
Now I have stopped looking for the reasons in the underlying libraries, and focused on my own code again (lol) I spotted that time servers (NTP)...
@Frank B - @KurtE
Yea - wireshark is pretty neat. A lot of stuff I don't know how to use but it does help.
Anyway found I had USBview on my Win10 machine and decided to give it a try on the SDR dongle. Here is the...
Wishes for a new Teensy with i.mx rt1170:
- DIP-64 format, this gives extra pins and more space on the PCB
- USB C connector
- Ethernet (100Mb) and USB Host on standard pins (like on the first Mbed boards)
- The...
I have 4x5 Matrix keypad and teensy 4.1.
When i have connected teensy 4.1 pin connected to row 6, 5, 4, 3, 2 and column 10, 9, 8, 7 all of my keypad is working properly. But when i change the pin and wiring connection...
Is there any chance these chips might have been pre-programmed with someone else's firmware?
Even if they're not blank, even if security is locked, the bootloader should still manage to erase and use the chip. The...
I am an enthusiastic newcomer to the complexities of modern 32-bit microcontroller technology. What better way to understand this new world than try and follow Paul Stoffregen's Teensy 4.0 Bare-metal Example code. Thank...
Time libraries are supposed to be able to handle times before 1970, so the times can be represented as negative numbers.
If you are sure that your use of time is after 1970 you can convert/copy/typecast time values...
That's even more mysterious! A virgin MK20 chip is supposed to be pulsing its reset line low, as it will be repeatedly watchdog rebooting. Normally a DC voltmeter will read about 0.2 to 0.3 volts, because it goes high...
I'm very certain it's not a soldering issue. I have multiple boards and several virgin chips.
I took the bootloader out of the board, and I'm still getting 3.2 volts on the RESET line. The MCU is not happy and I...
Well, that's quite a mystery. Every Teensy 3.2 is built with a virgin MK20 chip and works fine.
Is there any chance this might have been just a soldering issue with 1 chip? Do you have more than 1 board doing this...
That file exists because I've been planning to add this to Teensy's core library for a very long time. But the FS.h in 1.53's teensy3 folder isn't functional. It's more of a placeholder or experiment than actual...
The distance (9*160mm with connectors) is quite high.
Yes, using lower resitance pullups is a good idea. You could go even lower - mabe 1k?
If that still does not work, I'd try a lower I2C speed.
Hi,
First of all thanks to everyone for such a great platform - I have only been working on it for a few months but its great fun and so flexible and easy to use!
I guess this is a simple (probably a NOOB)...
Went for a MMod RP2040 with stuff in my SFun cart since I'll have to get carrier boards to see the Teensy4.MMod.
There was a note once about making an rPi breakout for Teensy to work with Pi Hats?
There is this...
Dear Group, after so many tests, I replaced this new screen with similar one, apparently the first MSP2807 has intermittent damage. By replacing it, everything was working without errors. Thanks anyway for the support.
Sparkfun now has a MicroMod version of the Pico: https://www.sparkfun.com/products/17720. Looks like the MicroMod form factor is getting traction. Looking forward to the first MM T4 :-) (I already prepared the first...
OK, the penny has finally dropped! This clears up the mystery for me. I understood what you put in your original post but it didn't fully register. I certainly don't need microsecond timing for this, I just thought...
Per default the TimerTool runs the GPT and PIT timers at 24MHz. You can easily switch them to 150MHz in the config file. Configuration is described here https://github.com/luni64/TeensyTimerTool/wiki/Configuration.
...
So the 10 i2c devices are all Teensys? Are they on multiple i2c busses? They have unique addresses for their bus?
Typical pullup values noted for the 3.3V Teensy is 2.2K?
What does i2c SCANNER example show from...
1. We use a magnetic encoder, its purpose was to read the angle between different vertebrae.
2. Yes it I2C , and Im wrong the master and slaves are all teesny3.2.
3.The master has 2 external pullups, each 4.7K Ohm one...
Not sure what sketch is Teensy main? But suspect it is possibly entering setup() and passing those first Serial.println("SETUP"); before the computer completes the connect to the Teensy?
Starting setup() like this...
Hello,
So here is what I'm doing. I have six printer carriages that each have an encoder strip, quadrature encoder and DC motor. For each of these, I have an arduino uno serving as a position decoder and motor...
My custom T3.2 device is unable to boot / get programmed using a virgin MK20DX256VLH. If I swap out the MK20 for a preprogramed one, then there are no issues. The device boots perfectly fine, and the program button...
Looking back, I did provide my version of Teensyduino lol Look -->> Arduino: 1.8.13 (Windows 10), TD: 1.53, Board: "Teensy 4.1, Serial, 600 MHz, Faster, US English"
The Arduino IDE spits out Teensyduino version when...
Good the signal pins were found.
The digitalPinToInterrupt() isn't needed on Teensy, but yes, it needs to see every CHANGE not just RISING.
Better probably would be using the encoder library as linked in p#2:...
I FIGURED IT OUT! :-)
The problem was in these lines:
attachInterrupt(0,PinA,RISING); // set an interrupt on PinA, looking for a rising edge signal and executing the "PinA" Interrupt Service Routine (below)
...
It was probably getting out of step because some interrupts were dropped as they came in while the previous one
was still being handled, like I said. You don't get indefinite length queues for interrupts, and each...
Thanks everyone for the replies. I’m somewhat familiar with counting clock pulses, comparing the count to a known threshold. But, I’m much more comfortable with timed interrupts, and getting other work done either...
The first thing to do is check the pinout of the encoder by buzzing it out with a multimeter or
continuity tester. You need to start by being certain which pin is which and connect to A, B, gnd.
Randomly guessing and...
Trevor:
Yes, what you describe (4 addr pins common to all five MUXs & 1 I/O pin per each mux for a total of 9 pins) is the most straightforward way to connect your MUXs. I think you will find that reading all of...
If you see this...am I correct in planning to use 4 pins in common to all 5 MUX, and one analog pin each, for a total of 9 pins used (5 analog and 4 digital)? Crazy how many pins I ended up using...
Also note that the Arduino timelib has no concept of timezone so you need to make allowances in your code. As a rule I ALWAYS set the RTC to UTC time and apply the appropriate adjustment for timezone when getting /...
Here is a simple piece of code to set the RTC to 05:30:00 on 05 Mar 2021. Provided the RTC battery is connected, that time will be maintained even while the teensy is not powered.
tmElements_t tmElements;
//...
This PJRC page might help? : pjrc.com/teensy/td_libs_Encoder.html
Amazon page doesn't show the pins by function among the 5 - hopefully it is marked or you found notes?
Thanks for all the responses. Some useful pointers but maybe I should clarify a couple of things. First the title of my post might be misleading, it obviously isn't a performance issue but perhaps an implementation...
Hi,
I'm currently using these boards for a project, and I'm running into an issue where I hear the audio output when the board boots up via programming; however, when I unplug and replug power to the teensy it fails...
Hello all!
I am trying to use one of these "Anmbest" brand rotary encoders: https://www.amazon.com/gp/product/B07MW7D4FD/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
...with the tutorial from:...
I used output compares back in the early 90's on old Motorola (NXP used to be Freescale and before that, Motorola) HC11s, creating one shot and PWM outputs, but they can be configured for pretty much any pulse output...
@mjs513, that is sort of what I figured.
@all - Keep wondering about how SLOW the getting free space is
I can imagine that it could probably be sped up a lot, but not sure how doable it is without major surgery...
Looks like they are clamping VCCIO to ground until VM is present. Could be nasty to some power supplies. I like my p-fet switch much better. Especially considering I'm also turning on the VS motor supply via an IO line...
Awesome. My total needs are something like 15 analog knobs, 71 switches and 3 LEDs and I am not yet sure how that will all work.
I don't really know if there are any performance advantages to leaving some analog...
I have spent the day working on this and think I am close to incorporating the second microphone, but I am getting a bunch of errors for "redefining" pretty much everything. I believe its because all of the Audio Design...
When we work on TFT's that do not have a dedicated graphics processor, we must "mask actions so that they appear immediate" on the screen. We can achieve this by duplicating screens, whose difference is subtle between...
@trevorbryden (Trevor):
Yes, for your 21 inputs, 2 x 74HC4067s would cover your need, leaving some additional expansion if/as needed. You'll need to assign 4 pins for the addressing (common to both MUXs) & 1...
Yes, this is normal designed behavior of the Program Button.
That Button as Program Button - the bootloader chip halts the Teensy and prepares it for programming whenever it has power.
To wake using snooze library...
Hi,
I'm currently building a remote controll using a Teensy 3.2 and a xbee.
The remote is battery powered so in order to extend battery life I'm putting the Teensy into hibernation using the snooze library.
The...
Yes So far I have only put in code for formatting of LittleFS stuff, have not dealt yet with FAT file systems... So far no API or methods that I know of for it, only the sketches in the SDFat library.
Maybe sometime...
MicroMod Teensy <--> Teensy MicroMod
So, these are two different versions.
I have a Micromod board... didn't bother unboxing.. :) It's for the MicoMod Teensy 3.2 Luni board I didn't solder...
John: Go and find...
The datasheet at least draws the schematic the right way round(!) And it has a PCB layout which you would
do well to follow verbatim.
Maybe add schottky protection diodes on the audio lines. Stops someone blowing...
The board I linked to also has 2 voltage regulators on board. I assume to generate a 3V3 analog and a 3V3 digital power supply.
If you want an easier-to-use board, go for this one. Check out the wiring here.
To be...