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

  1. Replies
    15
    Views
    128

    It will work, but slowly, because Teensy 3.x...

    It will work, but slowly, because Teensy 3.x provides software emulation of those old AVR registers. When you write the DDRC and PORTC, you're not actually writing to hardware registers. Those are...
  2. Try Serial1.write9bit(0x132)

    Try Serial1.write9bit(0x132)
  3. Replies
    3
    Views
    138

    That's definitely a counterfeit.

    That's definitely a counterfeit.
  4. Simplest way might be something like this: ...

    Simplest way might be something like this:


    #if F_CPU != 120000000
    #error "This code requires 120 MHz CPU speed, use Tools > CPU Speed menu"
    #endif

    If you *really* want to control the CPU...
  5. Replies
    6
    Views
    102

    You can get a newer toolchain here. ...

    You can get a newer toolchain here.

    https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads

    However, ARM website does not provide binary...
  6. Replies
    3,768
    Views
    389,580

    Sorry, haven't had much time lately to keep up. ...

    Sorry, haven't had much time lately to keep up.

    Generally I'm ok with adding more fields to the hardware description structs which are (or should be) stored in PROGMEM.
  7. Replies
    5
    Views
    100

    Most likely causes are poor quality power or a...

    Most likely causes are poor quality power or a bad USB cable. Could also be circuitry connected to the Teensy is messing things up in unexpected ways (usually when this happens, it's power related...
  8. Replies
    16
    Views
    160

    Trying to understand if uploading new programs to...

    Trying to understand if uploading new programs to your Teensy 3.5 is still working?

    Can you try opening File > Examples > 01.Basics > Blink. Upload it. Does the orange LED start blinking? If...
  9. Replies
    16
    Views
    160

    Try this: Serial.println("program started"); ...

    Try this:

    Serial.println("program started");

    notice the "plain" quotes. The fancy quotes don't work with Arduino. You need the plain ones.


    I can't see the attachment in msg #3. Can you...
  10. Replies
    5
    Views
    47

    Try again? Maybe try with Arduino rather than...

    Try again?

    Maybe try with Arduino rather than PlatformIO.

    Or if another try again doesn't work, maybe follow our "forum rule" to get help here. Saying you get an error, but not even a copy or...
  11. Replies
    5
    Views
    47

    There isn't any ready-made config for this. ...

    There isn't any ready-made config for this. You'll need to edit the USB descriptor data in usb_serial_hid/usb.c.
  12. You're going to need 1 Teensy per phone. You...

    You're going to need 1 Teensy per phone. You could use ordinary serial, perhaps with RS485 transceivers if the wires are long, to broadcast a message or instruction to every Teensy. I2C (the SDA &...
  13. Replies
    6
    Views
    93

    Oh how I wish we could know this precisely. We...

    Oh how I wish we could know this precisely. We most definitely do not, at least not yet. Delays in manufacturing beyond our control add uncertainty. Even we don't yet know a definite release date....
  14. Can you tell us anything more specific than "is...

    Can you tell us anything more specific than "is not correct"?

    Those 3 words could mean almost anything. Maybe the time is slowly drifting from correct? Maybe it suddenly jumps to something...
  15. I really want to know why the normal Arduino...

    I really want to know why the normal Arduino serial monitor isn't working. Can you give us a screenshot, so we can see how it's not working (error message, opening with a blank window, etc...)
    ...
  16. Maybe using a pot with 2 separate circuits would...

    Maybe using a pot with 2 separate circuits would be simpler?

    16949

    The one possible gotcha is to check the pot's taper spec. You probably want linear taper, not "audio" or "reverse audio". ...
  17. Replies
    3
    Views
    40

    This really ought to be able to work. ...

    This really ought to be able to work.



    Would you like us to try helping you resolve whatever's wrong?

    From your message, I can't even deduce what the problem is, only that it doesn't work. ...
  18. Maybe add "while (!Serial) ; " in setup(), so...

    Maybe add "while (!Serial) ; " in setup(), so your program waits for the serial monitor to be opened.

    If that doesn't work, maybe try showing a complete program that reproduces the problem (that...
  19. Replies
    3,768
    Views
    389,580

    Clocks in this chip are indeed complicated. I...

    Clocks in this chip are indeed complicated.

    I tend to think of them in 4 groups.

    1: ARM clock and others sync'd to it
    2: RTC (aka "SNVS") 32 kHz clock
    3: Direct from the 24 MHz crystal
    4:...
  20. Replies
    3,768
    Views
    389,580

    Live dangerously - go for it. :) I've...

    Live dangerously - go for it. :)

    I've stumbled across a few surprising things that do lock up the chip, but power cycling (including VBAT removal) always brings it back. Or always has so far.
    ...
  21. You're probably going to need to put some time...

    You're probably going to need to put some time into learning the basics. We have a tutorial, which admittedly is pretty old (screenshots from a very old version of Arduino) but all the info is still...
  22. Replies
    3,768
    Views
    389,580

    I tracked the mysterious serial monitor freeze to...

    I tracked the mysterious serial monitor freeze to a character set decoder parsing exception within the Java code which gets data from teensy_serialmon and gives it to the serial monitor window.
    ...
  23. Replies
    3,768
    Views
    389,580

    I'm testing Ethernet, using a WIZ850io module...

    I'm testing Ethernet, using a WIZ850io module (W5500 chip). Seeing a strange problem with the WebClient example. Looks like Ethernet WebClient is actually working, but printing to the serial...
  24. Replies
    4
    Views
    95

    Theoretically this should work. With quad I2S,...

    Theoretically this should work. With quad I2S, each codec chip operates independently (its own data lines) without any way of knowing another chip is also getting the same clock signals.

    But...
  25. Replies
    2
    Views
    53

    I2C slave mode is supported by the normal Arduino...

    I2C slave mode is supported by the normal Arduino Wire library.
  26. Teensy's bootloader and the Teensy Loader...

    Teensy's bootloader and the Teensy Loader application are specifically designed to *not* allow this. We have many people who create products using Teensy, who do not wish to see their code cloned.
  27. If "pulling it out" means replacing the 10K...

    If "pulling it out" means replacing the 10K resistor (the one between Teensy and the BC548) with a wire, then yes. Directly driving the B-E junction of a transistor will stress the Teensy pin beyond...
  28. Replies
    3,768
    Views
    389,580

    All 4 PIT timers are usable by IntervalTimer. By...

    All 4 PIT timers are usable by IntervalTimer. By default, none are used. But several Arduino libraries do use IntervalTimer. So does the tone() function.
  29. Replies
    3,768
    Views
    389,580

    No, not without reverting the entire forum. Our...

    No, not without reverting the entire forum. Our server backups are only once per day (around 10:30 to 11pm pacific time), so any revert of the entire forum would be the state it happened to be at...
  30. I'm confused. Is this about T4 beta? I see...

    I'm confused. Is this about T4 beta? I see "T3B2". Was that meant to be "T4B2"?

    If something crashes on the latest T4 beta hardware, please post a detailed report on the T4 beta thread. I...
  31. Nope, no plans. Yes, save a backup...

    Nope, no plans.



    Yes, save a backup somewhere safe.

    That is, if you don't already have a regularly scheduled backup like Mac time machine.
  32. I don't really understand the "background" part...

    I don't really understand the "background" part of your message. But I'll try to answer the one part of your message I do understand.



    This is really 2 separate parts, which you would combine...
  33. Replies
    3,768
    Views
    389,580

    Oh, if only all the peripheral signals connected...

    Oh, if only all the peripheral signals connected to the crossbar switch. But they don't. Only a relatively small number of trigger signals are routed to it. There are a few cases where it might be...
  34. Edit usb_desc.h. See the comments in that file...

    Edit usb_desc.h. See the comments in that file for details.

    If using Windows, you may need to run some sort of utility to clear any previous record of the USB device from the Windows registry. ...
  35. Replies
    3,768
    Views
    389,580

    Today we mailed pinout cards to all 27 people who...

    Today we mailed pinout cards to all 27 people who have the beta hardware. They're coming by ordinary postal mail, just 2 cards in an envelope.
  36. Wow, that's a $20,800 oscilloscope. Awesome!!

    Wow, that's a $20,800 oscilloscope. Awesome!!
  37. If problems still happen rarely, maybe also try...

    If problems still happen rarely, maybe also try adding a 1N5817 or similar schottky diode between the incoming power and the capacitor & Teensy. The diode will allow the current to come into the...
  38. Replies
    3,768
    Views
    389,580

    I believe the quadrature encoders are also 32...

    I believe the quadrature encoders are also 32 bits. They connect to the crossbar switch, so you can route any of the XBAR pins to them.
  39. Looks like the wires between the Teensy and relay...

    Looks like the wires between the Teensy and relay board are permanently soldered? Any way you can disconnect the relays but still run the same code on Teensy? Then you could see if the crashing...
  40. The debug info is interesting. Looks like part...

    The debug info is interesting. Looks like part (most) of the message may be getting truncated. Hard to say for sure, and if that is the case, difficult to know if it's a bug in the library or...
  41. Maybe try MichaelMeissner's suggestion. First...

    Maybe try MichaelMeissner's suggestion. First get a LED to blink, which is a lot easier to troubleshoot than input mode and interrupts.




    If this doesn't work either, maybe something is wrong...
  42. Add this in setup(), before the first...

    Add this in setup(), before the first Serial.print()


    while (!Serial) ; // wait for serial monitor window to open
  43. Replies
    5
    Views
    82

    Because we're kinda conservative about...

    Because we're kinda conservative about over-promising what the hardware can really do. Some pins only support certain features and can't be used as normal digital I/O.

    MichaelMeissner covered the...
  44. Replies
    3,768
    Views
    389,580

    Rev 18 to 21 (all the boards using the FFC...

    Rev 18 to 21 (all the boards using the FFC connector pads) all have exactly the same placement.
  45. Oh, if only I could somehow reproduce this here. ...

    Oh, if only I could somehow reproduce this here. Then I could connect my USB protocol analyzer between the Mac and the pedal, to see what's different about the USB communication.

    Any chance you...
  46. Replies
    3,768
    Views
    389,580

    Yeah, that's why messages 2 - 6 were dedicated...

    Yeah, that's why messages 2 - 6 were dedicated for the most important info. As Defragster mentioned, the pinouts are on msg #3.




    While not shown on the colorful pinout card, in the table you...
  47. Replies
    8
    Views
    152

    Those errors in msg #4 sure look like using the...

    Those errors in msg #4 sure look like using the wrong lib, or not including the correct .h file.



    I want to help you, but without seeing your code, it's impossible to say what's wrong or...
  48. Replies
    3,768
    Views
    389,580

    There aren't any internal capacitors. Or at...

    There aren't any internal capacitors. Or at least not any which can be controlled from software, as we have on Teensy 3.x.

    Teensy 4.0 has fixed capacitors soldered to the PCB. The 24 MHz crystal...
  49. Replies
    2
    Views
    78

    Would you need those steps for Mac, Linux or...

    Would you need those steps for Mac, Linux or Windows?

    Generic not-OS-specific version is you put all the WAV files you want into a folder together with the wav2sketch program. There's a pre-built...
  50. Also, on Teensy 3.x boards, real pullup resistors...

    Also, on Teensy 3.x boards, real pullup resistors are absolutely required. I know you already said you're using them in msg #1. But no mention of resistors in msg #6.

    Be aware, the resistors are...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4