Latest activity

  • C
    By default pinMode configure the pin with a feature called slew rate limiting maybe that's the problem ? void setup() { pinMode(?, OUTPUT); CORE_PIN?_CONFIG &= ~PORT_PCR_SRE; // turn off the slew rate limit }
  • B
    I am having trouble with my new Teensy 4.0. Here is my setup: I have the Teensy soldered to the Adafruit teensy feather adapter. This one I have the Adafruit 128x64 OLED feather wing stacked on top. This one These components were purchased last...
  • J
    I feel like this is going to end up being something simple that I'm missing, but I'm stumped. I have built 2 units that use Teensy 4.0. Each unit is supplied power from a wall adapter, so each Teensy has the VUSB pads cut. Unit A uses only the...
  • J
    joepasquariello replied to the thread Teensy 4.1 DAC.
    Please don't double-post. Use the other thread you started this morning.
  • PaulS
    First of all: do not connect the AS5600 sensor to the +5V ! The Teensy 4.1 is a 3V3 device and will get killed when the input voltages are higher than 3V3. When you power the sensor by 5V, the analog output will also near 5V. So don't use the...
  • B
    From a couple of CR2032 battery data sheets, it looks like they run 3.0V or less most of their life, but for a bit at the beginning. Dropping voltage shouldn't be needed. You could measure the current consumption using a good multimeter in...
  • B
    Take a look at doing it with FIR filtering. The size of the FIR relates to the relative frequency width of the narrowest band in the equalizer. Traditional hardware and some DSP implementations used biquad or similar IIR filtering. The Teensy...
  • J
    joepasquariello replied to the thread Teensy 4.0 DAC Function.
    If your DAC update rate is not too high, there are lots of I2C options, too. Try googling "Adafruit DAC Qwiic". They have various breakout boards for 1-chan 12-bit, 4-chan 12-bit, 1-chan 16-bit, etc.
  • L
    LiliV replied to the thread Teensy 4.0 DAC Function.
    Thank you! Another question: I already have a code that should function with the Teensy 3.2 board. If I buy an Arduino Duo board, could I still use the same code (with a couple of appropriate adjustments) or should I completely rewrite the code?
  • B
    I don't know if I am wasting my time by going down a long rabbit hole.... I am intrigued as to what the problem could be, and my curiosity is to investigate it, even though I have a work flow using the Teensy3.0 and FTDI module for serial...
  • N
    Nantonos replied to the thread Teensy 4.0 DAC Function.
    You would probably want to use an SPI DAC in that case. There are many options at various bit depths (from 12 to 18 bits) , both single and multi-channel. Most are surface-mount, but a few through-hole DAC chips still exist.
  • M
    Thanks! Let me know if you have any problems / questions with anything. Your xr-1 groovebox looks amazing and am enjoying the jams you've posted! I'll be following your progress. On a related note, I've been screwing around with FM as too. The...
  • R
    Hello everyone, I'm new to teensy, but familiar with arduino and arduino IDE. For a side project I decided to give teensy a try. My first and major hurdle is I'm unable to read the analog input from the sensor(as5600). I'm attaching the pin data...
    • as56.jpg
  • L
    LiliV replied to the thread Teensy 4.0 DAC Function.
    Thank you very much! I read that the I2S interface is designed especially for audio purposes, in my project I don’t do anything with sound. Do you have other options for me or would the I2S interface still work?
  • PaulS
    PaulS replied to the thread Teensy 4.0 DAC Function.
    On a Teensy 3.2, pin A14 is the output of the onboard DAC. For a Teensy 4.x [which has no onboard DAC's], you could use the I2S interface to connect an external DAC of your choice. Paul
  • D
    I power the RTC using a super capacitor, like this one: 1.5F 3.5v cap. I use a schottky diode between the Teensy's 3.3v output and the RTC power input to charge the cap. With a Teensy 3.2 it powers the RTC for several days. I haven't...
  • C
    Hi! I'm associated with the "Tympan" project, which is what was referenced in one of the links above. Our mission is to produce an open platform for developing algorithms for hearing aid research, a platform that is approachable by...
  • BriComp
    BriComp replied to the thread Teensy 4.1 DAC.
    No.
  • L
    Hi, I just read that the Teensy 4.0 does not have a build-in DAC function. Does the 4.1 version have one and which pin do I need to use for that?
  • S
    Stass48 replied to the thread Freezing Problem..
    Why without any info?) Teensy 4.1 (this was discussed) Arduino IDE 2.2.1 Last Teensy Core for Arduino IDE (TeensyDuino?) is 1.58.1 About code... I think about it. I think, it will be TFT_eSPI library with many fonts. I will try it and write.
  • BriComp
    I am very interested in one of those. I too have age related hearing problems.
  • L
    Hi, I have a question regarding the Teensy 4.0. On the Teensy 3.2 there is a pin called A14 specially designed to connect to a DAC. The corresponding pin on the Teensy 4.0 is called On/Off, and I wonder whether it could still function as a pin to...
  • h4yn0nnym0u5e
    The stock latency with an unmodified audio library is about 6.4ms. That’s using the PJRC audio adaptor, as you are. The good news is that adding extra processing does not increase the latency, except in fairly unusual topologies which you...
  • A
    I'm watching as well as I'm suffering this same issue. I power up my system once every week or four. CR2032 battery - a couple of months and I no longer have an accurate date and my data file naming goes bananas. :( Just ordered an external RTC...
  • T
    TFTLCDCyg reacted to AndyMeyer's post in the thread Engine Monitor - Teensy 4.1 & 3.6 with Like Like.
    KidChaos, Circuit below is driven off of the magneto P-lead. Running off of the low voltage side is safer - both for you and your Teensy. Put a scope on your kill switch or low voltage side somewhere (not sure what type of ignition you're...
  • A
    AndyMeyer replied to the thread Sampling rate of ADC.
    Saksham... No doubt - Paul designed a pretty slick system. Your requirements are easy (so far). Teensy 4.1 ADC can measure from a few mV just above GND to a few mV below 3.3V (I can't remember the exact limit.) Won't burn out the chip unless you...
  • A
    I've been using Linux since 0.98 in the fall of 1992 at 2400 Baud. So cool seeing what you are doing with it and the tricks to get it to do what you want - I guess it's not tricks - these all look like pretty awesome features that are way over my...
  • A
    KidChaos, Circuit below is driven off of the magneto P-lead. Running off of the low voltage side is safer - both for you and your Teensy. Put a scope on your kill switch or low voltage side somewhere (not sure what type of ignition you're...
    • Magneto.png
    • PXL_20230904_195137589.jpg
  • R
    Hi All, I've just about finished up building a prototype bone conduction hearing-aid system. At the moment is consists of a pair of mics, mic pre-amps, 5 watt amplifier and bone conduction transducers. I have single-sided deafness and a hearing...
  • PaulStoffregen
    PaulStoffregen replied to the thread Freezing Problem..
    Without any info... here's a completely blind guess. Maybe you have Teensy 4.0 or 4.1, and maybe you also have it connected to other circuitry which has a separate power source, *and* maybe that separately powered circuitry drives one of...
  • PaulStoffregen
    Agreed, parallel mode is (probably) simpler. On Teensy 4.1 you can read all 16 bits with a single GPIO register if you connect the data pins to all the "AD_B1_xx" GPIO pins. I spent a few minutes reading (more like lightly skimming) the...
    • 1701910871216.png
    • 1701911277619.png
  • F
    Hello. I'm running below test code. It does produce unexpected result on my setup. #if !(defined(CORE_TEENSY) && defined(__IMXRT1062__) && defined(ARDUINO_TEENSY41)) #error Only Teensy 4.1 supported #endif #define BUFFER_SIZE 32000 #include...
    • 1701909882298.png
    • 1701910585437.png
  • J
    Added the following code to the end of the loop to update the channels within 2 usec of each other. See attached scope capture. It's just a blip of the WS. Been stable for hours. //-- Blip the WS to update the Right channel immediatly after...
    • teensy4.0_fast_PT8211_DAC_2us_lag.png
  • J
    joepasquariello replied to the thread Freezing Problem..
    Can you tell which model Teensy and what version of TeensyDuino you are using? If you can create a small program that shows the problem and post it here, it might be possible to help you trouble-shoot. If that's not possible, the only thing I...
  • G
    This is great! I plan on incorporating some of these into a groovebox I'm making. I've just recently gotten dx7 / dexed emulation from the Micro Dexed Touch project ported over, for the most part. I'm posting videos of the progress on my personal...
  • S
    Stass48 replied to the thread Freezing Problem..
    Hello! I’m have a random boot freezing. Sometimes it starts, sometimes no. I’m using a TFT_eSPI library and many fonts in progmem. I can’t to explain how to reproduce this because it’s random. I using last core with Arduino ide 2.2.1
  • KurtE
    KurtE replied to the thread Teensy Loader CLI Windows .EXE.
    No guarantees. But here is a zip of one I build awhile ago.
  • D
    I have no luck compiling this. Do you by chance have the exe file can share?
  • PaulS
    PaulS replied to the thread Spi CS not working properly.
    Would you mind posting your complete code? Your code does not compile. For starters, it's missing void setup() and void loop(). Paul
  • G
    Hello, We have two prototypes, and one is able to communicate via SPI and the other is not. The picture below shows the CS (blue) and SCLK during a working interaction. The other time when it does not work, it looks like below, when the CS...
    • TEK00000.png
    • TEK00007.png
  • B
    Yes, thank you. That was the posting. I added the asm command, which was after a digitalWriteFast(), so it did follow a hardware write. Unfortunately the problem has not been fixed. :-(
  • BriComp
    BriComp replied to the thread SPI with 2 or 4 data lines?.
    I don't know if this is of any use. Code from the above link, modified for Teensy, might need some more. #include <SPI.h> uint32_t startTime, elapsedTime, old_res; #define SCALE_FACTOR 0.000152587890625 /* D14 and D15 should be grounded if you...
  • J
    Have you tried running it on a Teensy 4.0? Looks like this should probably just work, assuming the mcp_can library uses SPI to talk to that chip. SPI uses the same pins, and this code looks like I2C is used for the display, which also uses the...
  • J
    Thank you for good and fast reply, really appreciate it since I am complete beginner. Power draw won't be an issue, but it could be more efficient since this code doesn't need much performance. It seems like the Teensy 4.0 is the same size and...
    • 1701884358497.png
  • M
    mkoch replied to the thread SPI with 2 or 4 data lines?.
    Then I better use the 16-bit parallel interface. Thanks, Michael
  • Nitz76
    Interesting stuff. I knew distortion had to do with clipping and going through an s-curve wave shaper. Reading through different pedal dissection forums, this s-curve is the caracterisation of the pedal. Many have their curve off-centered and...
  • J
    The code for delayMicroseconds() from cores\Teensy4\core_pins.h is shown below. The max value that works correctly will be however many usec are equal to 2^32 clock cycles. For 600 MHz, that would be (2^32)/600 = 7158278.82, so 7158278, or 7.158...
  • Nitz76
    Hey guys! This thread made me understand how an Auto-Wah works. Using the waveform envelope asynchronously with a peak function, it trigs the effect and adjust the bandpass filter accordingly. Here is my first test that gives a nice render...
  • PaulStoffregen
    If "possible" means a nice library, then the answer becomes "no". It is only "possible" by diving into the low-level hardware register details.
  • PaulStoffregen
    Have you tried running it on a Teensy 4.0? Looks like this should probably just work, assuming the mcp_can library uses SPI to talk to that chip. SPI uses the same pins, and this code looks like I2C is used for the display, which also uses the...
Back
Top