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
    14
    Views
    372

    As a final followup on this old thread, I've...

    As a final followup on this old thread, I've updated the download page with improved instructions specific to each operating system. Arduino 1.8.13 appears to fix the Java issues. Catalina needing...
  2. Replies
    7
    Views
    233

    Wow, pretty lucky to get 4N35 to work with any...

    Wow, pretty lucky to get 4N35 to work with any board. It's a slow optocoupler, just marginal for MIDI.
  3. Replies
    36
    Views
    1,216

    Kinda hoping for some help from Windows experts...

    Kinda hoping for some help from Windows experts to recommend the best way. It might take some time fiddling & testing?

    Today I'm doing lots of long-neglected updates because they take a lot of...
  4. Replies
    36
    Views
    1,216

    Would it be ok to put these screenshots and steps...

    Would it be ok to put these screenshots and steps directly on the web page? (no need to click for a PDF)
  5. Yes, wire can be used to connect those signals...

    Yes, wire can be used to connect those signals the needed locations. Shielded wire isn't necessary. Ordinary wire is fine if you keep the length under ~4 inches.

    MCLK is the most sensitive...
  6. I've updated all the comments in imxrt.h for the...

    I've updated all the comments in imxrt.h for the latest reference manual. :)

    https://github.com/PaulStoffregen/cores/commit/08b835afb8bc4e3adc5b0173b88c20c69abde2a1
  7. Replies
    36
    Views
    1,216

    Can someone who knows Windows help with...

    Can someone who knows Windows help with screenshots and specific instructions for configuring Windows Defender to not real-time scan Arduino?

    I put a "TODO: Wanted... screenshot(s) for Windows...
  8. Replies
    36
    Views
    1,216

    I've reorganized the installation instructions on...

    I've reorganized the installation instructions on the downloads page.

    https://www.pjrc.com/teensy/td_download.html

    The old 3-steps-fits-all approach obviously wasn't working. Instead I changed...
  9. Do you have a multimeter which can measure...

    Do you have a multimeter which can measure frequency? Or another Teensy which can run the FreqMeasure library?

    Can you check what frequency your Raspberry Pi is actually sending on the LRCLK pin?
  10. Yes, it's works. Here you can see a test I ran...

    Yes, it's works. Here you can see a test I ran shortly after it was first supported. I created 4 waveforms using PWM and resistor-capacitor filters. The 4 waveforms go into the inputs of both...
  11. Any chance I could talk you into disconnecting as...

    Any chance I could talk you into disconnecting as much stuff as possible, ideally so you have only the Pi, Teensy, ethernet (not even a screen or keyboard), and use a "normal" power supply for the...
  12. Yes, very sure it's really using 4 bit mode. ...

    Yes, very sure it's really using 4 bit mode.

    We're also using the PSRAM's fastest (not default) mode where the initial command is transmitted with all 4 bits.
  13. Sadly, no, I have no idea why it's not working. ...

    Sadly, no, I have no idea why it's not working. But I do have a couple suggestions about how you might collect more info.

    The Linux kernel creates system logs as USB devices are detected and...
  14. Sticky: Not all USB hubs are created equal. I use...

    Not all USB hubs are created equal.

    I use Teensy regularly through a USB3 hub which is permanently mounted to the side of my desk. I've also used a few others at times. All worked.

    Can you...
  15. You can put a char array into flash, but not...

    You can put a char array into flash, but not String because String is a C++ object.
  16. Replies
    3
    Views
    195

    Sadly, there aren't any easy tutorials. But you...

    Sadly, there aren't any easy tutorials. But you might read through the DMAChannel.h class. I put lots of comments in the source to explain how things work. As things are today, those comments are...
  17. Replies
    4
    Views
    371

    I know this is an old thread, but just for a...

    I know this is an old thread, but just for a final followup, the dimensions page now has drawings for Teensy 4.0 and 4.1.

    https://www.pjrc.com/teensy/dimensions.html
    ...
  18. Which ethernet hardware are you using? ...

    Which ethernet hardware are you using? Ethernet.h is for the Wiznet-based boards. For the ethernet hardware on Teensy 4.1 you need NativeEthernet.h.
  19. I've updated the dimensions page. I know this...

    I've updated the dimensions page. I know this thread is a bit old by now, but hopefully it helps?

    https://www.pjrc.com/teensy/dimensions.html

    https://www.pjrc.com/teensy/dimensions_teensy41.png
  20. Replies
    36
    Views
    1,216

    Updated this page with Teensy 4.0 and 4.1 info.

    Updated this page with Teensy 4.0 and 4.1 info.
  21. I've updated the dimensions page. :) And...

    I've updated the dimensions page. :)

    And here's the dimensions for Teensy 4.1.

    https://www.pjrc.com/teensy/dimensions_teensy41.png
  22. First try a 16 bit location which will output...

    First try a 16 bit location which will output both channels. To do that, just change SOFF and SLAST to zero, so the DMA doesn't ever change the source address. Then it will just read from the same...
  23. Look at File > Examples > Wire > slave_receiver...

    Look at File > Examples > Wire > slave_receiver for an example of using those functions.

    The wire library also has a master_writer example which you can run on the other side to send data to...
  24. That really depends upon what you consider...

    That really depends upon what you consider "simple". ;)

    Just yesterday I answered a question about transmitting a special 20 bit synchronous serial protocol by repurposing the digital audio...
  25. First a standard disclaimer: this message isn't...

    First a standard disclaimer: this message isn't meant to amend or modify or even explain any open source license. For that, you need to refer to the actual license terms. To truly understand what...
  26. Teensy 4.0 would be a better choice because you...

    Teensy 4.0 would be a better choice because you can reassign the LED pins. On Teensy 3.2 the OctoWS2811 pins are fixed and some conflict with the audio shield.
  27. I'm reluctant to comment too deeply about...

    I'm reluctant to comment too deeply about PlatformIO, since I don't personally use it. But if you try that other approach with teensy_post_compile and teensy_ports, I believe you can see we're using...
  28. The simple answer is yes, you can send multiple...

    The simple answer is yes, you can send multiple MIDI messages at once.

    The actual MIDI communication is done at 480 Mbit using a complicated protocol which communicates in packets. A single...
  29. Replies
    4
    Views
    119

    Lots of PCB routing guidelines for USB say not to...

    Lots of PCB routing guidelines for USB say not to have any routing stubs like these pads. For Teensy 4.0 I didn't route any stub traces. On Teensy 4.1 I risked these 2 small pads. Indeed the main...
  30. Can you share what the problem was? Maybe that...

    Can you share what the problem was? Maybe that info could help anyone who later finds this thread by search.
  31. Replies
    2
    Views
    135

    While it's blinking the orange LED, does Arduino...

    While it's blinking the orange LED, does Arduino detect it and show it as RawHID in the Tools > Ports menu?

    And does Upload work without needing the press the button (indicating Teensy was able to...
  32. Yes, you can. Or 1.22V anyway. Hopefully that's...

    Yes, you can. Or 1.22V anyway. Hopefully that's close enough?

    This is documented in the audio library design tool, under the SGTL5000 control. Here's a direct link:
    ...
  33. That would be my guess, that it's ignoring...

    That would be my guess, that it's ignoring --upload-port.




    Yes, there are actually 2 other ways.

    You could set the baud rate to 134 on the serial device, perhaps with "stty". Setting 134...
  34. Usually Euro-rack synths need signals like +/- 10...

    Usually Euro-rack synths need signals like +/- 10 volts (or 20 volts peak-to-peak). The audio shield defaults to only ~1.3V peak-to-peak. You can increase it by software control, but the maximum is...
  35. Maybe the BCP bit documented on page 1989 can...

    Maybe the BCP bit documented on page 1989 can help?

    When/if this all works, hopefully you can share the final known-good code and some more info about the project? It might really help anyone...
  36. Indeed those files aren't on github.

    Indeed those files aren't on github.
  37. I've edited those posts to re-upload the images.

    I've edited those posts to re-upload the images.
  38. Just because you can do a thing does not...

    Just because you can do a thing does not necessarily mean you should. If you have just 4 sensors, all this array stuff is probably a lot of complexity when just using 4 copies of the code is...
  39. Here's the waveforms that code generates. ...

    Here's the waveforms that code generates. Hopefully close to what you wanted?

    21813
  40. I did some fiddling. Here's a quick test using...

    I did some fiddling. Here's a quick test using TDM output code copied from the audio library.

    This probably isn't perfect, but hopefully it will give you a good start. It generates 10 MBit/sec...
  41. Comparing these waveforms to the SS-III XY2-100-E...

    Comparing these waveforms to the SS-III XY2-100-E documentation, I see the sync signal polarity is high for 19 of the 20 clocks. But the waveforms on msg #6 have it high only 1 of the 20 clocks.
    ...
  42. Assuming this is the waveform you really want,...

    Assuming this is the waveform you really want, and you really do intend for the clock to be continuous and the data to immediately repeat, this looks like a job for the SAI (digital audio) port.
  43. I ran your program here on a Teensy 4.1. These...

    I ran your program here on a Teensy 4.1. These are the waveforms I see. Is this correct?

    21809
  44. With the map() function, no. It's always linear....

    With the map() function, no. It's always linear.

    But you certainly can create your own non-linear mapping using equations and functions like logf() or expf(). Some math required...
  45. Not sure if this really matters, but I can tell...

    Not sure if this really matters, but I can tell you boot mode 00 "Boot From Fuses" is used. We never use mode 10 "Internal Boot" on Teensy. The BOOT_MODE1 pin (AD_B0_05) is hard wired to GND, as...
  46. Glad you got it back to working. No,...

    Glad you got it back to working.




    No, that's not how it works at all. Program mode fully resets the IMXRT processor, then takes control of it using its debug mode. In theory that should...
  47. Usually the startup delay can be removed. It's...

    Usually the startup delay can be removed. It's there because some devices like MEMS motion sensor chips need time to start up. Many Arduino libraries and projects depend on Arduino's normal slow...
  48. Addresses 60 to 63 are mapped to the first flash...

    Addresses 60 to 63 are mapped to the first flash sector, just like addresses 0 to 4 are. When you write a 32 bit number to either location, 8 bytes are actually written into the flash sector. 4 of...
  49. Yes. Teensy 4.1 and 4.0 use the same chip, so...

    Yes. Teensy 4.1 and 4.0 use the same chip, so the only real difference is more I/O on 4.1. Software-wise they are the same.

    MIDI works well. You get 8 serial ports which can do normal serial...
  50. Teensy 4.0 already does wear leveling. But it...

    Teensy 4.0 already does wear leveling. But it also maps certain emulated EEPROM addresses to particular 4K flash sectors, which greatly improves performance for 32 bit writes. You could maximize...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4