Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Teensy/Arduino cross compatibility?

  1. #1
    Junior Member
    Join Date
    Feb 2021
    Posts
    1

    Teensy/Arduino cross compatibility?

    So I just found out about the teensy and the wonderful audio GUI PJRC.com offers.

    I actually just bought an arduino UNO, before I found out about the teensy.

    Is it possible to generate code in the audio GUI and run it on my UNO?
    What level of messing with it would I have to do?

  2. #2
    Senior Member
    Join Date
    Feb 2015
    Posts
    248
    The Audio library is heavily dependent upon the specific microcontrollers that are used in the different 3.x and 4.x boards, and doesn't support any 8 bit chips.

    The Mozzi project does support 8 bit chips, I've never used it though: https://sensorium.github.io/Mozzi/

    Good luck

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    27,994
    Arduino Uno is woefully underpowered, only 8 bits and only 16 MHz. Uno also lacks DMA to efficiently move data between memory and audio hardware. It has no hope of running the audio library code.

    Your best path is to get a Teensy 4.0 and audio shield and save the Uno for another project which doesn't need much CPU capability.

  4. #4
    Senior Member
    Join Date
    Jul 2020
    Posts
    1,862
    The integer performance of the T4 is about 300 times the Uno, the floating point is probably 4 to 5 orders of magnitude
    faster on the T4... And the T4 has enough RAM for typical DSP tasks, the Uno does not really.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •