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.14 seconds.

  1. Keep in mind that every datasheet is a sales...

    Keep in mind that every datasheet is a sales pitch. It's main purpose is to convince you to buy the chip. Complete & accurate technical documentation is a secondary concern. Datasheets are written...
  2. Replies
    2
    Views
    33

    Very mysterious... I can't really give you...

    Very mysterious...



    I can't really give you an answer, other than this question, where I can say this definitely isn't a known behavior. I especially can't see any reason (regarding Teensy)...
  3. Next measure VIN. Normally is should be 5 volts...

    Next measure VIN. Normally is should be 5 volts because of USB power.
  4. Replies
    22
    Views
    519

    Oh, yeah, I completely missed this was on the old...

    Oh, yeah, I completely missed this was on the old 8 bit boards.
  5. Replies
    22
    Views
    519

    Can you post a copy of that program, and a place...

    Can you post a copy of that program, and a place to get the exact ITG3200 library you are using, plus any other files not part of Teensyduino which we would need to have?

    I can't investigate and...
  6. Replies
    2
    Views
    59

    Yes, there many ways to communicate between 2...

    Yes, there many ways to communicate between 2 boards. But using 2 may not be the best solution.

    I can only guess how your code works... so here is a blind guess. Most of the display libraries...
  7. Wow, would not have suspected the cable. ...

    Wow, would not have suspected the cable. Normally we hear about bad (power only) cables with USB.
  8. Replies
    22
    Views
    519

    I don't have answers to all questions about...

    I don't have answers to all questions about encryption yet, because I'm still working on how we'll eventually support encrypted firmware.

    I can say 3 pretty general things.

    1: Encryption will...
  9. Replies
    2
    Views
    57

    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.
  10. Replies
    22
    Views
    519

    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.
  11. 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...
  12. 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...
  13. 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...
  14. Replies
    6
    Views
    241

    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...
  15. Replies
    6
    Views
    241

    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...
  16. 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.
  17. Replies
    7
    Views
    216

    Let's discuss on that other thread.

    Let's discuss on that other thread.
  18. 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...
  19. Replies
    7
    Views
    216

    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:...
  20. 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....
  21. Replies
    8
    Views
    681

    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...
  22. 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...
  23. Replies
    6
    Views
    167

    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...
  24. Replies
    6
    Views
    167

    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?
  25. Replies
    6
    Views
    167

    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. ...
  26. 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...
  27. 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...
  28. 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...
  29. 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...
  30. 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...
  31. Replies
    5
    Views
    137

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

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

    void loop() {
    }


    24735
  32. Replies
    6
    Views
    174

    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...
  33. Replies
    10
    Views
    324

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

    // PLAY START
    if (buttons[0]->wasPressed()) {
    // <---- Try adding the delay here!
    sendMMC(1, (uint8_t*)"\x02"); // Play
    }
  34. 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...
  35. Replies
    2
    Views
    131

    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...
  36. 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...
  37. 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...
  38. Replies
    18
    Views
    486

    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)...
  39. Replies
    18
    Views
    486

    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...
  40. Replies
    13
    Views
    541

    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. ...
  41. 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.
    ...
  42. 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...
  43. 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...
  44. 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...
  45. 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)...
  46. Replies
    7
    Views
    191

    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,...
  47. Replies
    7
    Views
    191

    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...
  48. 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...
  49. Replies
    888
    Views
    19,741

    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...
  50. Replies
    888
    Views
    19,741

    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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4