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
    6
    Views
    36

    Which version of MacOS are you using?

    Which version of MacOS are you using?
  2. Replies
    2
    Views
    38

    Buying the pre-programmed chip is the simplest...

    Buying the pre-programmed chip is the simplest way.

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

    But if you really want to use something like the MKII, such programming hardware does exist. ...
  3. Replies
    11
    Views
    112

    Can you confirm whether the problem happens with...

    Can you confirm whether the problem happens with only 1 of these boards, or if 2 or 3 are needed.

    I will order 1, 2 or 3 from Adafruit for testing, depending on your answer.
  4. Replies
    11
    Views
    112

    Which version of Teensyduino are you using? ...

    Which version of Teensyduino are you using?

    Version 1.48 (the latest) fixed a bug in the Wire library. If you're using 1.47 or older, please update to 1.48.
  5. Replies
    11
    Views
    112

    Looking at that library's code...

    Looking at that library's code, I see the begin() function is supposed to print a few lines to the serial monitor.



    // Useful debugging info

    Serial.print("Product ID: 0x");
    ...
  6. Buying chips on Aliexpress is risky. Usually it...

    Buying chips on Aliexpress is risky. Usually it works, but sometimes you will get counterfeits or inferior quality parts. Often the Chinese companies who manufacture these parts on behalf of the...
  7. 74HCT245 is usually the best choice for level...

    74HCT245 is usually the best choice for level shifting 3.3V to 5V.

    Avoid the bidirectional circuits, especially the type using 1 mosfet and 2 resistors. Those are terrible for WS2812 signals.
  8. One last quick thought... what type of capacitor...

    One last quick thought... what type of capacitor are you using right next to the amp chip? If it's a low quality Y5V or Z5U type, try using a X5R or X7R type. I believe the one we use on the PJRC...
  9. Maybe try running the PJRC prop shield from your...

    Maybe try running the PJRC prop shield from your board's power supply?
  10. Replies
    21
    Views
    308

    At this moment I've considering 3 shields... ...

    At this moment I've considering 3 shields...

    1: Speaker amplifier with I2S input, plus NAND serial flash (64 Mbyte) - similar to the prop shield, but meant for Teensy 4.0, and without the motion...
  11. Replies
    12
    Views
    69

    However, on Teensy 4.0 where the CPU runs at 600...

    However, on Teensy 4.0 where the CPU runs at 600 MHz and the processor has a pair of 64 bit paths to tightly coupled memory, perhaps the overhead could possibly be low enough? With overclocking to...
  12. Replies
    12
    Views
    69

    Only if your theory doesn't take the realities of...

    Only if your theory doesn't take the realities of interrupt overhead into account.

    The ARM processor has to flush and refill its 3 stage pipeline, push several registers onto the stack, and do...
  13. Replies
    51
    Views
    1,530

    Best to start a separate thread for each specific...

    Best to start a separate thread for each specific shield, or group of related shields (like rugged vs screw terminals). Mixing shield requests into this thread means your feedback on shields is...
  14. Replies
    12
    Views
    69

    Also remember to use FASTRUN on any interrupt...

    Also remember to use FASTRUN on any interrupt function you're going to try to run so often. Teensy 3.2 has a tiny cache for the flash, so you really want to use this so the function is allocated in...
  15. Replies
    12
    Views
    69

    IntervalTimer's microseconds input supports using...

    IntervalTimer's microseconds input supports using a floating point number which gets converted to timer ticks, so you can get better than 1 us resolution.

    But the fastest rate IntervalTimer allows...
  16. Yes, that's correct. Those synth examples...

    Yes, that's correct.

    Those synth examples don't use the SD card at all. But if they did, as long as you don't edit them to SDCARD_BUILTIN, they will work with the SD card on the Rev D audio...
  17. Replies
    5
    Views
    366

    Latency should be exactly the same as with Teensy...

    Latency should be exactly the same as with Teensy 3.x. Same code, same codec hardware = same latency.

    Reducing the block size is the way to get low latency. Some latency exists within the codec....
  18. Replies
    56
    Views
    1,567

    Sticky: Yup. The main reason I left it disabled in...

    Yup. The main reason I left it disabled in boards.txt is "seremu" isn't implemented at all. So while you can use RawHID to send packets back and forth, anything you do with Serial.print() will just...
  19. Replies
    17
    Views
    327

    A mac address is 48 bits, or 6 bytes, not 12. ...

    A mac address is 48 bits, or 6 bytes, not 12.

    The low 24 bits are meant to be the product serial number and the top 24 bits are a OUI (organizationally unique identifier) assigned by IEEE.
    ...
  20. As a very rough guideline, the DSP performance is...

    As a very rough guideline, the DSP performance is approx 11 times what you had with Teensy 3.2. So has a very crude guess, if you were able to synthesize 2 voices on Teensy 3.2, you'll probably be...
  21. I ran this here on a Teensy++ 2.0. void...

    I ran this here on a Teensy++ 2.0.



    void setup() {
    DDRA = 0b00000111;
    PORTA = 0b00000001;
    }

    void loop() {
  22. Is this a genuine Teensy++ 2.0 from PJRC, or a...

    Is this a genuine Teensy++ 2.0 from PJRC, or a Chinese counterfeit?
  23. Ok, sounds like you're familiar with using the...

    Ok, sounds like you're familiar with using the command line.

    On your Mac, open a terminal and change to the Arduino.app folder. Then go into Contents/Java/hardware/tools. There you will find a...
  24. Replies
    6
    Views
    90

    You don't need to include anything extra. ...

    You don't need to include anything extra. Teensyduino provides these as an extension to the normal Serial.

    Just use Serial.dtr() and Serial.rts() to read the status of those signals controlled by...
  25. Which version of Teensyduino are you using. ...

    Which version of Teensyduino are you using. Click Arduino > About to check.

    Version 1.48 was released just yesterday, after weeks of beta testing. One of the major changes in 1.48 is this work...
  26. Teensyduino 1.48 has been released, with Kurt's...

    Teensyduino 1.48 has been released, with Kurt's fix for this problem.

    I retested the code from msg #1 just now with the Adafruit sensor. It seems to work fine.
  27. Replies
    21
    Views
    346

    Teensyduino 1.48 has been released, with Kurt's...

    Teensyduino 1.48 has been released, with Kurt's fix for this problem.
  28. Replies
    1
    Views
    68

    Yup, here's ENOB spec from page 64 in the...

    Yup, here's ENOB spec from page 64 in the datasheet.

    17838
    (click for full size)




    Maybe collect and average together *many* more samples and hope the noise is Gaussian or otherwise evenly...
  29. Great. Please mention it in the blog section and...

    Great. Please mention it in the blog section and we'll probably show it on the website's main page.

    https://forum.pjrc.com/forums/9-Blog-Project-Submission
  30. Yes, exactly. If you write to the DACs with...

    Yes, exactly.

    If you write to the DACs with analogWrite() or other non-DMA, not audio library code, then this has no bearing. In that case, you're in control of the DAC with your code and it's up...
  31. Replies
    9
    Views
    255

    I've updated the stand-alone Teensy Loader to...

    I've updated the stand-alone Teensy Loader to version 1.48.

    https://www.pjrc.com/teensy/loader_mac.html
    https://www.pjrc.com/teensy/loader_linux.html...
  32. Replies
    56
    Views
    1,567

    Sticky: I'd guess it's aluminum. I've never seen any...

    I'd guess it's aluminum. I've never seen any copper ones offered with anodized colors.

    But I really don't remember. It was bought during the very early days of the beta test (as were so many...
  33. Replies
    56
    Views
    1,567

    Sticky: I left the WavFilePlayer example running, playing...

    I left the WavFilePlayer example running, playing from a SD card (via SPI) on the audio shield. That blue heatsink had some air flow from a fan nearby on my desk.

    At 960 MHz it played for several...
  34. Replies
    13
    Views
    334

    Teensyduino 1.48 has been released, with support...

    Teensyduino 1.48 has been released, with support for Arduino 1.8.10, which is now fully 64 bit for MacOS 10.15.

    I still do not have 10.15 installed, but I plan to update my main software testing...
  35. Teensyduino 1.48 was been released, with the fix...

    Teensyduino 1.48 was been released, with the fix for this problem.
  36. Replies
    56
    Views
    1,567

    Sticky: Yes, it used to show more info. Looks like...

    Yes, it used to show more info. Looks like Arduino made some changes to that part of the IDE.

    Unless something is really wrong, I'm not going to consider this a bug or put it on my (already too...
  37. Replies
    56
    Views
    1,567

    Sticky: Yup. But at least with the 1 board on my desk...

    Yup. But at least with the 1 board on my desk right now, 960 MHz seems pretty stable with this heatsink. (and it does get quite hot with only natural convention)

    17833

    1.008 GHz (really 996...
  38. Replies
    24
    Views
    570

    Oh, opps, I missed editing that number. Already...

    Oh, opps, I missed editing that number. Already something to fix for 1.49...

    As far as trying other overclocking, just editing those numbers in boards.txt lets you try pretty much any frequency. ...
  39. Replies
    24
    Views
    570

    Not sure. I tried several different software...

    Not sure. I tried several different software reset ways. All fail and I don't know why.

    Not going to hold up the 1.48 release for this. But I have put it on my list of bugs to investigate.
  40. In your screenshot on msg #8, looks like Teensy...

    In your screenshot on msg #8, looks like Teensy 3.2 is select. That's probably why you're getting the error the SDCARD_CS_PIN is undefined. Teensy 3.2 doesn't have a built in SD card socket.

    I...
  41. Get the latest 1.48-beta3...

    Get the latest 1.48-beta3.

    In that screenshot, you have 1.47 which is older than the latest Arduino 1.8.10.
  42. Replies
    24
    Views
    570

    PulsePosition hasn't been ported yet. It's...

    PulsePosition hasn't been ported yet. It's filled with FTM/TPM timer code. Only Teensy 3.x & LC have those timers. NXP put different timers in this IMXRT new chip.

    I will eventually port...
  43. Replies
    24
    Views
    570

    The multiple libraries warning when only a single...

    The multiple libraries warning when only a single library exists is (probably) a bug in arduino-builder.exe. That's not going to be fixed by 1.48, since we currently do not patch arduino-builder in...
  44. Replies
    24
    Views
    570

    My hope is to release 1.48 soon, probably very...

    My hope is to release 1.48 soon, probably very close to this 3rd beta.

    The serial monitor timestamp feature still missing. Sorry, it just isn't going to happen for 1.48, since the speedup stuff...
  45. Committed faster clock speed support. ...

    Committed faster clock speed support.

    https://github.com/PaulStoffregen/Audio/commit/ae4df75649aa25e27ccb0f8d5aac9e49897cd6ba

    I did not go with use of IRC48MCLK, as above on this thread, since...
  46. Can you share a (hopefully much smaller) program...

    Can you share a (hopefully much smaller) program meant to simply copy & paste into Ardiuno to demonstrate the problem?
  47. They should all be pretty similar, since layer #2...

    They should all be pretty similar, since layer #2 inside the PCB is a ground plane and the chip has many GND pins.

    But if you had to choose one, I'd suggest going with the GND on the right hand...
  48. Replies
    4
    Views
    91

    Oh, defective breadboard wires are the worst!

    Oh, defective breadboard wires are the worst!
  49. Only the USB input & output depend on USB audio...

    Only the USB input & output depend on USB audio type. Everything else in the audio library works fine. Well, almost everything. A few of the other input and output hardware options are not yet...
  50. Replies
    4
    Views
    91

    I don't see the GND wire from the LEDs back to...

    I don't see the GND wire from the LEDs back to the 74HC595 chip.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4