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
    13
    Views
    1,319

    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...
  2. 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...
  3. Replies
    570
    Views
    9,847

    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!
  4. Replies
    570
    Views
    9,847

    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...
  5. Replies
    570
    Views
    9,847

    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...
  6. Replies
    489
    Views
    51,970

    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.
  7. 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,...
  8. 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.
  9. Yes. pulse = elapsedMicros(); ...

    Yes.



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

    No.
  10. Replies
    3
    Views
    74

    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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. Replies
    1
    Views
    76

    Any chance for a photo with the instrument...

    Any chance for a photo with the instrument plugged in and being played?
  16. 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...
  17. Replies
    1
    Views
    54

    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...
  18. 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...
  19. Replies
    7
    Views
    870

    Maybe lame anti-virus software is interfering?

    Maybe lame anti-virus software is interfering?
  20. Replies
    7
    Views
    870

    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...
  21. Replies
    21
    Views
    403

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

    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...
  23. Replies
    21
    Views
    2,828

    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...
  24. Replies
    21
    Views
    403

    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...
  25. Replies
    8
    Views
    1,191

    It works on all ARM Cortex-M processors.

    It works on all ARM Cortex-M processors.
  26. 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...
  27. 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.
  28. Replies
    13
    Views
    1,319

    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...
  29. Replies
    21
    Views
    403

    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?
  30. Replies
    21
    Views
    403

    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).
  31. 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...
  32. 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...
  33. 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.
  34. 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,...
  35. 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...
  36. 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.
  37. Replies
    10
    Views
    244

    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,...
  38. 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...
  39. Replies
    2
    Views
    93

    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...
  40. 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);
    }
    }
  41. Replies
    205
    Views
    14,022

    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...
  42. 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...
  43. Replies
    16
    Views
    1,166

    Yes, there is a solution. All you need to do is...

    Yes, there is a solution. All you need to do is use a recent beta version, because PDM support for Teensy 4.x was added after 1.53 was released.

    Get it here:...
  44. Replies
    570
    Views
    9,847

    Yup, let's fix the struct in imxrt.h and see if...

    Yup, let's fix the struct in imxrt.h and see if anything breaks. ;)


    EDIT: committed a fix. https://github.com/PaulStoffregen/cores/commit/64f7d7c1eededf0102510530a4e621395c4d51f7
  45. Replies
    570
    Views
    9,847

    Yup, sent a pull request just now. I'm not sure...

    Yup, sent a pull request just now. I'm not sure it's 100% working yet. I'm seeing a lot more VSYNC interrupts than screen refreshes. I added a some code to print the actual refresh rate.
  46. Replies
    570
    Views
    9,847

    Opps, sorry, I made some mistakes. Working on it...

    Opps, sorry, I made some mistakes. Working on it now...
  47. Replies
    570
    Views
    9,847

    Send a pull request for continuous FlexIO DMA. I...

    Send a pull request for continuous FlexIO DMA. I took the liberty of replacing Defragster's continuous "F" mode in hm01b0_testv3.ino.
  48. Replies
    570
    Views
    9,847

    I'm working right now to add start / stop for...

    I'm working right now to add start / stop for FlexIO, as similar to Kurt's API as I can.
  49. Replies
    570
    Views
    9,847

    Just wanted to ask which buffers are really meant...

    Just wanted to ask which buffers are really meant to be DMAMEM vs DTCM?

    I see this in the examples.


    uint8_t frameBuffer[(324) * 244];
    uint16_t imageBuffer[(324) * 244]; DMAMEM
    uint8_t...
  50. Replies
    570
    Views
    9,847

    Yes, I believe your library tries to do the...

    Yes, I believe your library tries to do the dynamic allocation of FlexIO resources, right?

    The camera interface is a bit special through, because only shifters 3 & 7 support receiving parallel...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4