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
    58
    Views
    1,713

    Maybe you could explain what you have in mind for...

    Maybe you could explain what you have in mind for the RAM, especially if it would require special software support.

    If you're not familiar with the FlexSPI controller (and really, it's so...
  2. Replies
    58
    Views
    1,713

    Why SDRAM? If we add a RAM chip, which is...

    Why SDRAM?

    If we add a RAM chip, which is still a very big "if", one of the lower pin using formats like Hyperbus (12 signals) or QSPI (6 signals) would be much more likely.
  3. Replies
    14
    Views
    165

    I've ordered 1 from Adafruit. It will probably...

    I've ordered 1 from Adafruit. It will probably take about 1 week to arrive, since they can't ship until Tuesday and it has to go from New York to Oregon.
  4. Replies
    7
    Views
    88

    MacOS 10.15 Catalina

    Is anyone using MacOS 10.15 Catalina yet?

    Looks like Apple has finally disallowed the method we've been using to modify a copy of Arduino. We may soon have to provide a complete copy of the IDE...
  5. Replies
    58
    Views
    1,743

    Sticky: These are probably bugs in Arduino's "builder"...

    These are probably bugs in Arduino's "builder" program. Hopefully there's some way to reproduce the bug with one of Arduino's products. It's much easier to report a bug to them if it can happen...
  6. Yes, you're supposed to run this program on the...

    Yes, you're supposed to run this program on the PC side.

    https://github.com/PaulStoffregen/Time/blob/master/examples/Processing/SyncArduinoClock/SyncArduinoClock.pde

    It runs on Processing,...
  7. The test points are indeed shown on the...

    The test points are indeed shown on the schematic.

    17890

    Most of them connect to the chip's many power supply voltages. During testing, a bed-of-nails test fixture measures the voltages at all...
  8. Replies
    16
    Views
    116

    Which version of MacOS are you using?

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

    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. ...
  10. Replies
    14
    Views
    165

    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.
  11. Replies
    14
    Views
    165

    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.
  12. Replies
    14
    Views
    165

    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");
    ...
  13. 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...
  14. 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.
  15. 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...
  16. Maybe try running the PJRC prop shield from your...

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

    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...
  18. Replies
    12
    Views
    70

    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...
  19. Replies
    12
    Views
    70

    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...
  20. Replies
    58
    Views
    1,713

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

    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...
  22. Replies
    12
    Views
    70

    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...
  23. 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...
  24. Replies
    5
    Views
    541

    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....
  25. Replies
    58
    Views
    1,743

    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...
  26. Replies
    17
    Views
    335

    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.
    ...
  27. 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...
  28. 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() {
  29. Is this a genuine Teensy++ 2.0 from PJRC, or a...

    Is this a genuine Teensy++ 2.0 from PJRC, or a Chinese counterfeit?
  30. 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...
  31. 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...
  32. 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...
  33. 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.
  34. Replies
    21
    Views
    354

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

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

    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...
  36. 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
  37. 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...
  38. Replies
    9
    Views
    259

    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...
  39. Replies
    58
    Views
    1,743

    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...
  40. Replies
    58
    Views
    1,743

    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...
  41. Replies
    13
    Views
    363

    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...
  42. Teensyduino 1.48 was been released, with the fix...

    Teensyduino 1.48 was been released, with the fix for this problem.
  43. Replies
    58
    Views
    1,743

    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...
  44. Replies
    58
    Views
    1,743

    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...
  45. Replies
    24
    Views
    587

    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. ...
  46. Replies
    24
    Views
    587

    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.
  47. 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...
  48. 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.
  49. Replies
    24
    Views
    587

    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...
  50. Replies
    24
    Views
    587

    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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4