If you read the README there is an option to configure pullups for use with the encoder pins.
QuadEncoder myEnc1(1, 0, 1, 0); // Encoder on channel 1 of 4 available
// Phase A (pin0), PhaseB(pin1), Pullups...
You haven't said what frequency range you need to support, but if it's not too high, you could use the Encoder library instead of QuadEncoder. Encoder sets up the pins as digital inputs with interrupts and does all of the quadrature counting in...
I am not aware of any conflicts with other libraries that I tried. Maybe someone else can jump in here.
Only thing to be aware is this warning in the repo:
```
WARNING! Pins 0, 5 and 37 share the same internal crossbar connections and are as...
If you have time, I wonder if you would mind running the program below and sharing your results? What it does is log for 20 seconds at 5 MB/s, with each write being 512 bytes, and keeps track of buffer usage, time to return from SdFat write()...
Note, for various reasons, I have not been doing much with Teensys lately.
Exactly where did you get the files from? Both Chris's original source and my updates have been mentioned in this thread.
My Git repository based off of Chris's original...
Understand, although personally I do wish we at least had a simple partial solution, like, simply adding a file to your version of SDFat, like:
PaulStoffregens_SDFat.h or PJRC_ or Teensy_ something that probably does not exist elsewhere, and it...
Definitely the Audio board was a successful add-on, some improvements could have been possible (e.g. I had issues with digital interference on analog signal)
I should have commented about this earlier. Probably no surprise that I'm going to leave the currently customized SdFat as-is for 1.60. Changing something that could have unintended consequences so soon before a release seems too risky...
I would say that IS the main problem. Teensy is mainly a dev board, but not an ecosystem, like AF Feather or SF Thing Plus. The T3.5/6 ot T4.1 were great for me when I wanted to have a powerful single board MCU with SDIO. Yes, the Teensies have...
@PaulStoffregen
Thanks for the update. Going to be interesting going forward to see what happens. Would like to see boards like adafruit uses for their feather wing. But that is another story - what boards to build vs ROI is always...
I should be careful about talking too much of private meetings. But everyone here does deserve an update. If this seems a bit awkward, please understand I'm trying to balance community openness with private business discussions.
Supply chain...
Hi Paul,
last June you mentioned that you and Robin were planning a discussion with SparkFun about possible new accessory boards for Teensy 4.x, and you invited community feedback on which types of boards would be most useful.
That thread...
Sorry, let me clarify that wording.
I’ve been using Teensy boards for ~6 years, including Teensy 3.x and 4.x, and I currently have several Teensy 4.1 boards here. I’ve worked extensively with the Audio Library and the existing USB audio...
I will also throw in my vote for using a USB-C connector. Virtually everyone is doing it these days and who doesn't want to be like the cool kids. USB-C has the advantage of being a lot easier to socket. I think everyone needs three tries to...
$50 dev board : https://www.microcenter.com/product/665366/arduino-nicla-voice ($53 DigiKey) Or direct ARDUINO.cc
Key Features
Component Type: Development Board
Components: Mainboards
Processor: Syntiant NDP120 Neural Decision Processor
Clock...
https://www.hackster.io/news/syntiant-s-ndp120-deep-learning-chip-offers-a-25x-performance-boost-for-always-on-applications-ad648bc51cd4
Syntiant looks very good and is modern. A board with one of their chips (for offline wakeword-detection for...
5 year ago Article ends with "Volume production is scheduled for summer 2021,"
The link is wrong, but they have that NDP120 and newer: https://www.syntiant.com/hardware
Right now only have a Teensy that I can run it on - don't have an RP dual core. But its on my to do list which seems to be getting longer and longer. :)
Going to jump in here again about running on multi-core processes and using multi-thread setting. Reason -- was poking around the web and asking AI :)
CoreMark Multi Core Reporting Requirement
According to the official EEMBC CoreMark Run and...
Sorry, when I first saw this thread, it went in one ear and out the other and thought it was a good candidate to close.
I took this as meaning: Teensy users often depend on Adafruit libraries.
That is or what libraries do we often start often...
Maybe they meant "Teensy depends on Arduino for software"?
We do indeed use the Arduino IDE software.
We're also still friends with Arduino. Or at least I'm pretty sure we're on good terms with them. I haven't traveled for tech conferences...
Just yesterday I closed a thread about this, which caused a lot of disruption over the last couple weeks.
https://forum.pjrc.com/index.php?threads/open-source-teensy-compatible-what-features-do-you-want.77584/
Paul has shown a lot of restraint, I expected this thread to be locked now.
But it is an interesting point. If one was to make a diy teensy (with Paul's bootloader of course), expose more pins, add an imu or whatever and call it something...
Morning all
Just tried it on win11 ide 1.8.19 and after getting the nonsense of not typically downloaded looked at file properties and saw the signature
Additionally, while the specific context matters, I believe phases "version of Teensy" or "variant of Teensy" for products not from PJRC are extremely problematic.
I've been reluctant to write on this thread, because it really is about drama between Adafruit and SparkFun, or perhaps between Phil/Adafruit and a number people may or may not actually be connected to SparkFun. I have some strong feelings...
Yes, I agree, this conversation needs to migrate to Adafruit's forum. We've allowed it to go on long enough here. We're far past unproductive and now a few solid days into disrupting this community.
@ptorrone - Please create a thread on your...
Good test @KenHahn and if OC'd CPU results are in the master list, would be good to throw some OC'd Teensy ones, too, for reference. When my T41s are operational, they run at 816MHz with passive cooling (small copper finned heatsink), been doing...
The other approach would be to fix measurement time and each core should be allowed to do as many iterations as it can within given time. Then the sum of number of iterations done on each core should be used to calculate total performance. This...
Cache size also really matters. An 8K instruction cache is the reason why Teensy 3.6 scores 66% faster than Teensy 3.5, even though is has the same Cortex-M4 processor running at only 50% higher clock speed.
If instruction and data caches are...
All the numbers I published were based on simply running the CoreMark program on each board using Arduino IDE with all settings at the defaults that board's Arduino core library / platform uses. The idea was to show the relative performance if...
I noticed a lot of the results are with overclocking enabled. As another data point, a couple years ago I ran CoreMark in an infinite loop on Teensy 4.1 running overclocked at 1.008GHz to conduct thermal stress testing using a heatsink with...
Feel free to use my repo (link above). It should work just with adding the board to the platformio.ini. Would be nice to add your results to the readme.
Thank you Tomas, i've added your Benchmark results to the readme, and made the detection code more robust.
Indeed,
build_flags=
-DMULTITHREAD=2
(or 1) in platformio.ini is enough.
Lady added the Dual-Core Code for thr RP2350, an I took her code and added support for ESP32/freeRTOS.
Good idea—I'll make some adjustments to the code to improve automatic architecture detection.
Single core ESP32-P4 @360MHz result ( -DMULTITHREAD=1)
CoreMark Performance Benchmark
CoreMark measures how quickly your processor can manage linked
lists, compute matrix multiply, and execute state machine code.
Iterations/Sec is the main...
In the other thread, Coremark was brought up again. Lady Ada seems to have expanded it for the RP2350 so that it takes both cores into account. I have further expanded the code and it now also runs with freeRTOS – i.e., “real” preemptive...
Wish list item:
I wish I could build Teensy sketches that use MTP or USBHost, when I have the official version of SDFat installed. For example, the HIDDeviceInfo sketch that I was running again yesterday to remind myself how the N-Key rollover...
Wondering at some point if it would make sense to have just two different json files
1) for Released versions only
2) for Beta (and released?) versions
Probably my first answer would be, something, that you would find fun in doing! Whatever that is.
For me, I would probably start off with some new breakout board for the Micromod. That has a mix or match of the three that I use most shown...
For me I just want to make it easier to hook multiple things to the Teensy. Hence the bus. Typically battery powered, so I need a charger. Somewhere to hook an on/off switch. Small as possible. Anything else I can add to myself. Typcially don't...
Adafruit were perfectly happy to sell Teensy with the closed-source bootloader to this point. I don't understand why they don't switch to buying the bootloader chip from Paul and make their own clones to undercut Sparkfun? It would be a quicker...