Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: PaulStoffregen

Page 1 of 10 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    2
    Views
    34

    Looks like it should work. This chip doesn't use...

    Looks like it should work. This chip doesn't use MCLK, so leave that signal unconnected.
  2. Replies
    10
    Views
    205

    Opps, headers are still only 7212. I forgot to...

    Opps, headers are still only 7212. I forgot to merge a 1K alignment change needed for future encryption. This beta was a bit hasty, since Arduino released 1.8.14 this morning.
  3. Earlier you said "with no performance constraints...

    Earlier you said "with no performance constraints or requirements", so you should be aware that using the program memory for file storage requires stalling your program while the flash chip is busy...
  4. 116mA average current seems about right, if...

    116mA average current seems about right, if you're powering up some other stuff besides the Teensy.

    Did a quick check here with a Teensy 4.0 on my desk. At 600 MHz is draws about 90mA. Stepping...
  5. The 8 RMII signals can remap to only 2 groups of...

    The 8 RMII signals can remap to only 2 groups of pins. The other group is native pins EMC_19 to EMC_26. Unfortunately, EMC_19, EMC_20, EMC_21 have no routing to any pins. Those BGA pins simply do...
  6. Replies
    6
    Views
    213

    At this moment, looks like Adafruit still has 50...

    At this moment, looks like Adafruit still has 50 in stock. Several of the distributors who sell Teensy 4.1 on Amazon also appear to still have some.

    That inventory won't hold up much longer. If...
  7. Replies
    6
    Views
    213

    Teensy 4.0 is in stock. Only Teensy 4.1 ran out....

    Teensy 4.0 is in stock. Only Teensy 4.1 ran out.

    A small batch of Teensy 4.1 are due soon, but they won't last long. After those, we're waiting on NXP for more chips. They were supposed to...
  8. 4 pins is fine. The 5th is for the shield which...

    4 pins is fine. The 5th is for the shield which is just connected to GND.
  9. Replies
    7
    Views
    188

    Let's discuss on that other thread.

    Let's discuss on that other thread.
  10. Most multimeters have 1 or 2 fuses. If you ever...

    Most multimeters have 1 or 2 fuses. If you ever mistakenly attempt a voltage measurement across a power supply while the meter is accidentally set to current mode, the fuse blows. That's nicer than...
  11. Replies
    7
    Views
    188

    Today, you can't really. Arduino IDE 2.0 beta is...

    Today, you can't really. Arduino IDE 2.0 beta is still missing a critical (for Teensy) feature called Pluggable Discovery.

    Details here:...
  12. I published 2 designs on OSH Park. They use...

    I published 2 designs on OSH Park. They use different Magjack parts.

    The current board uses Cetus J1B1211CCD. This is the version PJRC currently sells....
  13. Replies
    8
    Views
    665

    Neither of those chips have been tested. I can't...

    Neither of those chips have been tested. I can't say whether they work or not. Best I can do is guess.

    My guess is they are both equally likely to work. I can confirm when the bootloader takes...
  14. If your program doesn't need the full 600 MHz...

    If your program doesn't need the full 600 MHz speed, try setting Tools > CPU speed lower. Even just dropping down to 528 MHz makes a substantial reduction in current, since that's the threshold...
  15. Replies
    6
    Views
    156

    I'm still confused. You have 1 motor. You have...

    I'm still confused. You have 1 motor. You have 2 Teensy. Do you have 2 sensor or 1 sensor?

    I do not understand why the open collector summing of the 2 outputs from the 2 Teensy does not solve...
  16. Replies
    6
    Views
    156

    I don't understand. You question asked "I want...

    I don't understand. You question asked "I want to use two pressure sensors with two teensy 3.6".

    Now you're saying you only have one Teensy 3.6?
  17. Replies
    6
    Views
    156

    Assuming the motor is controlled by a simple...

    Assuming the motor is controlled by a simple on/off digital signal, probably the simplest and (maybe) most reliable way would be to use an "open collector" approach to connect both output signals. ...
  18. I believe most of the AVR chips have TTL level...

    I believe most of the AVR chips have TTL level inputs which work with 3.3V signals even when the AVR runs at 5V. So my best guess is you don't need the level shifter and this is probably a software...
  19. It really depends on how well (or poorly) the...

    It really depends on how well (or poorly) the code makes use of the cache.

    Teensy 3.6 has an 8K cache. Teensy 4.1 has a pair of 32K caches, but cache misses have a much larger impact on...
  20. RAM is being used for code. If you install...

    RAM is being used for code. If you install 1.54-beta7, the memory usage info is improved to show how the memory is being used. 1.53 uses Arduino's default memory summary which can't show more...
  21. Wow, that's an old part. I'm assuming you mean...

    Wow, that's an old part. I'm assuming you mean this, right?

    https://www.ti.com/product/DAC811

    The good news is it uses TTL level inputs, where anything over 2V is logic high and anything under...
  22. I'm afraid only Apple can solve this. It's a...

    I'm afraid only Apple can solve this. It's a kernel level problem, which is way out of my league! Teensyduino doesn't install any drivers on MacOS. Nothing runs in kernel space, or even with root...
  23. Replies
    5
    Views
    132

    void setup() { analogWriteFrequency(2,...

    void setup() {
    analogWriteFrequency(2, 5000000);
    analogWrite(2, 128);
    }

    void loop() {
    }


    24735
  24. Replies
    6
    Views
    170

    Normally if your program reads the same variable...

    Normally if your program reads the same variable more than once, you would want the compiler to perform only 1 read and keep the data in a CPU register so the next access is faster. That's exactly...
  25. Replies
    10
    Views
    310

    // PLAY START if (buttons[0]->wasPressed())...

    // PLAY START
    if (buttons[0]->wasPressed()) {
    // <---- Try adding the delay here!
    sendMMC(1, (uint8_t*)"\x02"); // Play
    }
  26. Nearly all other Arduino boards use 12 Mbit/sec...

    Nearly all other Arduino boards use 12 Mbit/sec USB speed, and most of those have a combination of slow processors and inefficient software that can't manage to use even half that speed. Teensy 4.0...
  27. Replies
    2
    Views
    129

    No, not with Teensy 4.0. This is true only for...

    No, not with Teensy 4.0.

    This is true only for Teensy 3.6 when running faster than 120 MHz. Higher clock speeds on Teensy 3.6 use a special "HSRUN" mode. Internal EEPROM writing is not possible...
  28. Glad it turned out to be just a bad hub. One...

    Glad it turned out to be just a bad hub.

    One of the hubs I have on my workbench feels like they skimped on the power supply or capacitors. It usually works but sometimes when plugging in a board...
  29. You need to turn on the clock to the SPDIF...

    You need to turn on the clock to the SPDIF peripheral before you attempt to use it.

    Here's your program with the clock config copied from the Audio library. It starts up with those 4 lines...
  30. Replies
    18
    Views
    477

    Again, I suspect you're not anticipating the load...

    Again, I suspect you're not anticipating the load (input impedance) of whatever other audio gear will receive your signal.

    This sort of simple all-passive (no additional opamps, transistors, etc)...
  31. Replies
    18
    Views
    477

    10uF is generic advice given without knowledge of...

    10uF is generic advice given without knowledge of the input impedance of whatever will receive the signal.

    10uF is also a very widely used and inexpensive capacitor.




    A simple...
  32. Replies
    13
    Views
    532

    Any chance you can try running the test on Linux...

    Any chance you can try running the test on Linux or Windows?

    When Teensy 4.0 transmits at max speed to MacOS, I've seen issues (and very high CPU usage) that don't happen on Linux and Windows. ...
  33. Can't really comment on that code, but the...

    Can't really comment on that code, but the documentation for the registers is an easy question. It's in the datasheet, pages 129-137, and also on page 409.
    ...
  34. Nope. Atmel put timers 0, 1, 3 and 4 into this...

    Nope. Atmel put timers 0, 1, 3 and 4 into this chip. Why they skipped timer2, I don't know and can only guess.

    But 2 likely guesses would be they made a mistake that ruined timer2 and just...
  35. A couple years ago I made a I2C test board with...

    A couple years ago I made a I2C test board with several devices. One was a Garmin lidar sensor. It needed 5V power but worked fine with 3.3V signals on I2C.

    24696

    Difficult to know if you...
  36. Replies
    9
    Views
    319

    I tried it just now on a Teensy 4.0. The code...

    I tried it just now on a Teensy 4.0. The code needs a minor edit, since the first if condition doesn't allow OUTPUT_1 to OUTPUT_7. To be used within a normal program, the function needs a different...
  37. That's normal, assuming you're measuring ohms...

    That's normal, assuming you're measuring ohms with an ordinary multimeter. The ohms measurement is done by sending a DC current through the circuit and measuring the resulting DC (or average)...
  38. Replies
    7
    Views
    187

    Now, looking at your picture and focusing only...

    Now, looking at your picture and focusing only the right hand side where the LEDs are lit up, it looks like the widest part is about 60 pixels and I counted 42 rows. So in that Processing code,...
  39. Replies
    7
    Views
    187

    You have basically 2 choices. You need to...

    You have basically 2 choices. You need to somehow map the original video pixels onto your irregular shape pixels.

    Most people would do this on the PC side. You would to need to modify...
  40. Sadly, there is no way to do that. NXP simply...

    Sadly, there is no way to do that. NXP simply did not provide a signal path inside the chip for the Wire SDA & SCL signals to route to pins 24 & 25 where the Wire2 SDA2 & SCL2 signals are.

    To be...
  41. Replies
    888
    Views
    19,249

    Sounds like I need to get the test running here,...

    Sounds like I need to get the test running here, maybe over the weekend. I've not managed to keep up with this thread over the last several days. Any chance I can talk you into giving me a quick...
  42. Replies
    888
    Views
    19,249

    The other possible voltage regulator issue I can...

    The other possible voltage regulator issue I can see is the output capacitor. All LDO type regulators need a certain range of capacitor for stability. LDOs aren't inherently stable like standard...
  43. Replies
    888
    Views
    19,249

    You're talking about the voltage regulator on...

    You're talking about the voltage regulator on Sparkfun's ML carrier board, right?

    Their schematic says the part number is AP7361C-33FGE. Here's the part at Digikey. ...
  44. Replies
    8
    Views
    1,224

    This recent reply was spam.

    This recent reply was spam.
  45. Replies
    11
    Views
    450

    I looked briefly at your pull request. You've...

    I looked briefly at your pull request. You've made choices which require a massive number of changes throughout all the files. :(




    The very first step is to look for whether you're getting...
  46. You're not getting clocks on pins 3 & 4 because...

    You're not getting clocks on pins 3 & 4 because you have 2 copies of AudioInputI2S.



    // GUItool: begin automatically generated code
    AudioInputI2S i2s1; //xy=275,91
    AudioInputI2S i2s2;...
  47. Those connections appear to be correct. ...

    Those connections appear to be correct.




    To connect 4 of those boards, I would first try using AudioOutputI2SOct, which is i2s_oct in the design tool.

    Then for wiring, I would their clocks...
  48. Replies
    9
    Views
    380

    Yes, I can confirm the Teensy 4.1 cards got off...

    Yes, I can confirm the Teensy 4.1 cards got off to a rough start. PJRC has been running short-staffed since March 2020. Teensy 4.1 was released in May 2020. Several compromises had to be made. ...
  49. Use the audio library! Here's a 31 tutorial. ...

    Use the audio library!

    Here's a 31 tutorial.

    https://www.pjrc.com/store/audio_tutorial_kit.html

    You can probably skip a lot of this material. Read the first part of section 2 so you...
  50. So many reasons for the code size difference.......

    So many reasons for the code size difference....

    1: Compiler optimization: Arduino Mega optimizes for smallest code size. On AVR (and on ARM M0 chips), speed isn't much different. Teensy 3.5...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4