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; generated 7 minute(s) ago.

  1. Replies
    1
    Views
    32

    Buying these items works like any other website...

    Buying these items works like any other website order. Go to these product pages.

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

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

    Click the "Add...
  2. Thread: Fft

    by PaulStoffregen
    Replies
    10
    Views
    81

    Which Teensy are you using to run this code?

    Which Teensy are you using to run this code?
  3. Indeed this is very wrong. The main problem is...

    Indeed this is very wrong.

    The main problem is you did not identify the individual segments of your waveform diagram and label each as its own state.

    Without key detail of each state clearly...
  4. Read this thread: ...

    Read this thread:

    https://forum.pjrc.com/threads/57842-Future-Teensy-features-amp-pinout
  5. While the state machine structure (and drawing...

    While the state machine structure (and drawing the diagrams for planning your code) is by far the most important point, you might also consider a couple minor details about use of elapsedMicros.
    ...
  6. Here is an example which can hopefully show you a...

    Here is an example which can hopefully show you a better way to approach this sort of programming task.

    This a programming paradigm called a state machine. It is a widely used approach in...
  7. Again you've posted code which does not compile...

    Again you've posted code which does not compile when copied into Arduino. In this case the mistake appears to be "digitalwrite" (the W not capitalized) which is an easy problem to fix. Still, I...
  8. Replies
    610
    Views
    10,327

    They're #4-40 (imperial, not metric). Digikey...

    They're #4-40 (imperial, not metric). Digikey 36-4800-ND.
  9. Replies
    13
    Views
    1,365

    You might end up exceeding the 30 MHz spec if...

    You might end up exceeding the 30 MHz spec if your bitbanging code is efficient.

    We saw problems with functions like shiftOut() and libraries like ShiftPWM during the beta testing and in the early...
  10. Try installing the latest beta. ...

    Try installing the latest beta.

    https://forum.pjrc.com/threads/66357-Teensyduino-1-54-Beta-7

    A bug with serial+midi+audio was fixed at some point. I don't recall if the fix is in 1.53 or a...
  11. Replies
    610
    Views
    10,327

    Yeah, 4 bit mode appears to be a HM01B0 specific...

    Yeah, 4 bit mode appears to be a HM01B0 specific feature.

    The breakout board applies 3.3V power. Don't plug any non-HM01B0 cameras in if they need 1.8V power!
  12. Replies
    610
    Views
    10,327

    Opps. Indeed the pin between T5 & T2 is...

    Opps. Indeed the pin between T5 & T2 is mislabeled. It is T9. The numbers match the test point numbers on Sparkfun's schematic.

    If you want to get access to the 13 test points on the bottom of...
  13. Replies
    610
    Views
    10,327

    Sorry, I've been preoccupied with business stuff...

    Sorry, I've been preoccupied with business stuff for the last few days, so I haven't managed to keep up with this thread since the weekend. I'm also planning to work more on supporting encrypted...
  14. Replies
    489
    Views
    52,165

    Just last weekend I hand soldered a few M.2...

    Just last weekend I hand soldered a few M.2 connectors on those MicroMod breakout boards. The rows of pins on each side were about the same.
  15. I copied the 3 programs from msg #19 into...

    I copied the 3 programs from msg #19 into Arduino. None of them compile. All 3 are missing definitions of some variables used in the code.

    Before we talk of what you should do with this code,...
  16. Yup, that looks like the problem. Here's the...

    Yup, that looks like the problem.

    Here's the joystick documentation:
    https://www.pjrc.com/teensy/td_joystick.html

    See the first part of "Basic Usage" for the allowed range.
  17. Yes. pulse = elapsedMicros(); ...

    Yes.



    pulse = elapsedMicros(); //is this correct?

    No.
  18. Replies
    8
    Views
    144

    You can try, but you'll end up with far less than...

    You can try, but you'll end up with far less than 24 bit performance due to lack of precision and noise in the analog circuitry which combines the 2 signals.

    For example, if your analog circuit's...
  19. Very difficult to answer this sort of vague...

    Very difficult to answer this sort of vague question.

    I'm sure you know what you mean by "during the ON Time of the function". But please try to read your question from the perspective of anyone...
  20. Keep in mind this code was originally written in...

    Keep in mind this code was originally written in 2014 for Teensy 3.0 and 3.1. When talking of how to "achieve acceptable performance", remember it is also meant for a those older boards which don't...
  21. Yes, but it's not free. ...

    Yes, but it's not free.

    https://www.amazon.com/dp/0124080820

    You can also find this linked from the Teensy 4.1 product page.

    ARM also has this info on their website in various architecture...
  22. That only affects the flag within the peripheral....

    That only affects the flag within the peripheral. It has no effect on the ARM processor. It only changes the signal the peripheral is able to send to the processor.




    When the ARM processor...
  23. Replies
    1
    Views
    80

    Any chance for a photo with the instrument...

    Any chance for a photo with the instrument plugged in and being played?
  24. Yes, #2. Well, unless the library has a...

    Yes, #2. Well, unless the library has a constructor or other way to specify which port. Some newer libraries have this. But most older libraries have "Wire" hard coded. In that case, you will...
  25. Replies
    1
    Views
    60

    Use Serial.available(). Or if you really want...

    Use Serial.available().

    Or if you really want to dive into the low-level details, look at the code in HardwareSerial.cpp. You will also need to read the reference manual to learn the LPUART...
  26. You need to have at least one non-USB input or...

    You need to have at least one non-USB input or output object. USB can't cause the audio library to update. Just add an I2S input or output, even if it's unused.

    This detail is documented in the...
  27. Replies
    7
    Views
    879

    Maybe lame anti-virus software is interfering?

    Maybe lame anti-virus software is interfering?
  28. Replies
    7
    Views
    879

    I clicked the link and it downloaded the program....

    I clicked the link and it downloaded the program.




    Please try again. If it's still not working, maybe give us a screenshot so we can specifically what you're clicking and the exact "not...
  29. Replies
    21
    Views
    418

    Sounds like hardware failure. I really want to...

    Sounds like hardware failure.

    I really want to figure out what happened here. I've asked Robin to contact you next week.
  30. Replies
    10
    Views
    248

    ADC input is still experimental on Teensy 4.x. ...

    ADC input is still experimental on Teensy 4.x. One of the many features it's missing is "update responsibility". That is why you need to add an I2S output to make it work.

    If you use ADC input...
  31. Replies
    21
    Views
    2,843

    Yes, that's the general idea. I would add 2 more...

    Yes, that's the general idea. I would add 2 more things to that list.

    4: AudioStream (audio library) update() functions
    5: Update the asynchronous rate feedback

    But this simple list obscures...
  32. Replies
    21
    Views
    418

    I'd really like to know what went wrong. If...

    I'd really like to know what went wrong.

    If you're willing to measure more voltages, on the bottom side are 4 small round test pads, located between the rectangle pads for pins 24-33. Can you...
  33. Replies
    8
    Views
    1,200

    It works on all ARM Cortex-M processors.

    It works on all ARM Cortex-M processors.
  34. Those writes are just configuring the timers,...

    Those writes are just configuring the timers, which are used to generate hardware trigger events to cause the DMA to move data from memory to GPIO. And the "FTM" timers are only on Teensy 3. Look...
  35. That other thread is still the best place to...

    That other thread is still the best place to discuss more-than-stereo USB audio, because everyone who's interested is already following that thread.
  36. Replies
    13
    Views
    1,365

    The main issue I can see is whether FlexSPI can...

    The main issue I can see is whether FlexSPI can be configured to generate such a slow SPI clock speed. I seem to recall there's a bit somewhere which cuts all the clock speeds in half. But I'm not...
  37. Replies
    21
    Views
    418

    I'm a bit confused, trying to parse this ...

    I'm a bit confused, trying to parse this



    Neither board has 3V power? Or one does and the other does not?
  38. Replies
    21
    Views
    418

    If it's completely unresponsive, let's first look...

    If it's completely unresponsive, let's first look at whether it's getting power....

    Try using a DC voltmeter to measure VIN-GND (should be about 5V) and 3.3V-GND (should be 3.3V).
  39. The jack on the audio shield is output only,...

    The jack on the audio shield is output only, meant for headphones. To get a signal into the audio shield, you need to connect it here:

    24472




    Probably best to start with this 31 page...
  40. Usually these sorts of mysterious problems are...

    Usually these sorts of mysterious problems are due to a buffer overflow. Adding even an unused variable tends to cause the overwriting to corrupt something else (which is less critical and doesn't...
  41. You need to edit usb_desc.h. See the comments in...

    You need to edit usb_desc.h. See the comments in that file for details. Pay attention to the folder name, as 2 copies exist for Teensy 3 vs 4.
  42. Very difficult to say what's going wrong here,...

    Very difficult to say what's going wrong here, but it does remind me of painful problems as couple people experienced with Traco DC-DC step down converters they bought from Adafruit. As I recall,...
  43. With Teensy 4.0 / 4.1 you could do this using...

    With Teensy 4.0 / 4.1 you could do this using SPI1 on pins 26 & 27.

    But with Teensy 4.0 those pins are on the bottom side pads which aren't as convenient as the outside edge pins. The SPI...
  44. Sure, why not. 24463 24464 Hopefully no...

    Sure, why not.

    24463

    24464

    Hopefully no big surprises here, since you should be able to see these traces by just looking at the PCB before soldering.
  45. Replies
    10
    Views
    248

    It is indeed unfinished, but does partially work....

    It is indeed unfinished, but does partially work.

    Make sure you're using the latest beta. In Arduino, click Help > About to check which version you have installed. If it's older than 1.47-beta7,...
  46. Any chance the file is actually stereo data? In...

    Any chance the file is actually stereo data? In that case, the WAV file player will de-interleave the samples and send each channel to its 2 outputs. But the raw player will just give you all the...
  47. Replies
    2
    Views
    94

    Very unlikely your Teensy 4.1 is defective. The...

    Very unlikely your Teensy 4.1 is defective. The Linux kernel is detecting "New USB device found, idVendor=16c0, idProduct=0478, bcdDevice=1.05", which is a strong indication the bootloader is...
  48. The bottom (green) trace isn't SPI at all. It's...

    The bottom (green) trace isn't SPI at all. It's from this:



    void loop() {
    while (1) {
    digitalToggleFast(2);
    }
    }
  49. Replies
    205
    Views
    14,079

    I've not heard of anyone has writing code for...

    I've not heard of anyone has writing code for Pico to work with Teensy's audio shield. I did see a few people working on generic audio stuff (not specifically for SGTL5000 or this shield) but it...
  50. SPIFIFO isn't really recommended anymore, but I...

    SPIFIFO isn't really recommended anymore, but I decided to give it a quick try just to see how much of the CPU time on a Teensy 3.2 would remain unused if an IntervalTimer uses it every 5...
Results 1 to 50 of 499
Page 1 of 10 1 2 3 4