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.13 seconds.

  1. Replies
    464
    Views
    8,030

    I'm not planning to work on effect_delay_ext.cpp....

    I'm not planning to work on effect_delay_ext.cpp. Too many other much more important things to do....

    But if I was to work on it, the 2 things I would do are add support for the cheap PSRAM chip...
  2. Turns out pin 35 is the one exception to the pin...

    Turns out pin 35 is the one exception to the pin mux always using ALT2. I've committed a fix on github:
    ...
  3. Replies
    464
    Views
    8,030

    Oh, I forgot, I also had a small FRAM chip on...

    Oh, I forgot, I also had a small FRAM chip on this I2C test board from early this year (January seems like forever ago...)

    22669

    This FRAM chip was on the I2C tests because it is one of the few...
  4. Replies
    464
    Views
    8,030

    I ordered a few Cypress FRAM chips from Digikey. ...

    I ordered a few Cypress FRAM chips from Digikey. Since they're limited to 40 MHz, these can only be supported on SPI. They're a lot more expensive than flash, but should give much higher write...
  5. Replies
    464
    Views
    8,030

    Nope, missed it, and probably a lot of other...

    Nope, missed it, and probably a lot of other details on this long thread. Saved a note to look at #424 later.

    Robin & I are busy all day shipping the Black Friday orders, and it'll probably go...
  6. Maybe try sharing a PDF. The forum limits the...

    Maybe try sharing a PDF. The forum limits the max size of images, which makes this very hard to read.
  7. Replies
    464
    Views
    8,030

    With W25Q128JVSIQ (date code 2028): ...

    With W25Q128JVSIQ (date code 2028):



    /tmp/arduino_modified_sketch_28042/sketch_nov27a.ino Nov 27 2020 07:34:56
    Started QSPI_DISK

    Bytes Used: 12288, Bytes Total:16777216
  8. Replies
    464
    Views
    8,030

    I've added support for Winbond W25Q256 & W25Q512....

    I've added support for Winbond W25Q256 & W25Q512.

    https://github.com/PaulStoffregen/LittleFS/commit/9d94f3b327f31b92504374d13d58de0887f863c2
  9. Replies
    2
    Views
    60

    You probably have a copy of SD in...

    You probably have a copy of SD in {Documents}/Arduino/libraries. Anything you put there will override everything else. It's a powerful feature meant to allow you to play with editing library code. ...
  10. Replies
    63
    Views
    685

    NXP doesn't tell us how they implemented the PLL,...

    NXP doesn't tell us how they implemented the PLL, but it's a pretty safe bet the phase comparator is a digital circuit like a R-S latch, which drives an analog amplifier / accumulator, which controls...
  11. Does Port Chain "3-2-1-4-3" mean you have...

    Does Port Chain "3-2-1-4-3" mean you have multiple hubs between your PC and Teensy? Maybe try plugging directly into your PC?

    Also, for the sake of testing, please program Teensy with a very...
  12. Replies
    13
    Views
    738

    The Black Friday Sale price is now live on the...

    The Black Friday Sale price is now live on the website!

    https://www.pjrc.com/store/teensy40.html
  13. Replies
    23
    Views
    1,079

    Here is a fix for the serial monitor text...

    Here is a fix for the serial monitor text selecting bug, which was added by 1.54-beta4. Turns out I made a silly off-by-1 mistake while fixing the problem where a long line of text would force the...
  14. Replies
    464
    Views
    8,030

    Yes, currently the flash writing & erasing waits...

    Yes, currently the flash writing & erasing waits for the flash chip to be completely finished before returning.

    In the future I would like to change this, so writes are put into a queue and...
  15. Replies
    63
    Views
    685

    Yes, use a larger denominator. The hardware...

    Yes, use a larger denominator.

    The hardware supports a 30 bit number. Currently the audio library is loading the number 10000, using only 14 of those 30 bits!
  16. Replies
    63
    Views
    685

    I did a quick listening test. Sine waves aren't...

    I did a quick listening test. Sine waves aren't nice for listening.

    On the first test, changing the numerator from 2240 to 6240 while the denominator is 10000, indeed there is a strange noise...
  17. Replies
    63
    Views
    685

    I did some tests to check for how fine we can...

    I did some tests to check for how fine we can adjust the frequency. My scope's frequency counter isn't sensitive enough, so I had to connect it to my real frequency counter (BK Precision 1823A) and...
  18. Replies
    63
    Views
    685

    NXP lied to us!! You can change the PLL while...

    NXP lied to us!! You can change the PLL while it's running!

    Ok, I tried it just now, using this:



    #include <Audio.h>

    AudioSynthWaveform waveform1; //xy=171,84
    AudioOutputI2S ...
  19. Replies
    63
    Views
    685

    Has anyone tried anyway? Does the PLL actually...

    Has anyone tried anyway? Does the PLL actually ignore writes to its registers while it's turned on, or is that just what we're not supposed to do?

    Or can the change turning the PLL off and back...
  20. Oh, I see Arduino's MIDIUSB library has more .h...

    Oh, I see Arduino's MIDIUSB library has more .h files now....

    https://github.com/arduino-libraries/MIDIUSB/tree/master/src

    Still trying to decide how I feel about adding these to Teensy's core...
  21. On Teensy, MIDIUSB.h is just a thin compatibility...

    On Teensy, MIDIUSB.h is just a thin compatibility wrapper which turns Arduino's rather awkward MIDI API into Teensy's usbMIDI (which uses the same API and the MIDI library).

    But we don't have any...
  22. Replies
    63
    Views
    685

    AUDIO_SAMPLE_RATE_EXACT is a constant. You need...

    AUDIO_SAMPLE_RATE_EXACT is a constant. You need to recompile to change it.

    On Teensy 4, the I2S ports run from a clock generated by PLL4, also called the Audio PLL. PLL4 runs in a range between...
  23. Replies
    13
    Views
    738

    Nope. Sadly, USPS international mail rates are...

    Nope. Sadly, USPS international mail rates are very high in the USA.




    We tried the same service OSH Park use, and we were for some time using those padded envelopes.

    The UPS Mail...
  24. Do those pins work if you use File > Examples >...

    Do those pins work if you use File > Examples > OctoWS2811 > BasicTest ?

    In other words, does the problem only happen when all those libraries and network communication are used together? (which...
  25. Yes. 200mA rating is a little on the low...

    Yes.



    200mA rating is a little on the low side, but should work.
  26. Yup, that's definitely a counterfeit. If you...

    Yup, that's definitely a counterfeit.

    If you bought it within the last 90 days, odds are good you'll get your money back with a complaint.
  27. Is it a genuine Teensy++ 2.0, or maybe a...

    Is it a genuine Teensy++ 2.0, or maybe a counterfeit? Can you show us a photo of the board?
  28. Apple's new M1 (ARM based) Macintosh

    Does anyone have access to one of these new Apple Macintosh machines?

    Curious to hear whether Arduino + Teensyduino and Teensy Loader are working under Rosetta 2 emulation?
  29. I see you're using IntervalTimer to run a *lot*...

    I see you're using IntervalTimer to run a *lot* of stuff which generally isn't considered safe to run from an interrupt. Looks like you're also completely disabling interrupts, but while interrupts...
  30. I would imagine using the biquad filters to...

    I would imagine using the biquad filters to emulate the behavior of the "crossover" filters feeding the midrange and tweeters within the speakers. Then estimate the total signal power of each filter...
  31. Those are the NVCC_PLL capacitors. 22614 ...

    Those are the NVCC_PLL capacitors.

    22614




    Yes. Assuming this is the only damage, I'd say odds are pretty good if you manage to get 2 similar capacitors soldered. They probably don't need...
  32. Oh, these probably need to updated for Teensy...

    Oh, these probably need to updated for Teensy 4.....
  33. Wow, I did not know Apple changed the DMG...

    Wow, I did not know Apple changed the DMG filesystem!

    I'm still building the Teensyduino installer on a 2011 Macbook Pro running 10.7.5 (Lion). The rest is built on a "trashcan" Mac Pro running...
  34. If this will be used live, usually the biggest...

    If this will be used live, usually the biggest problem is feedback from the speakers back into the microphone. Audio feedback is a tough problem common to all live performances. Usually the key to...
  35. I'm afraid a burning hot chip usually means...

    I'm afraid a burning hot chip usually means something has gone terribly wrong.




    Please understand we can't see your screen over the internet, unless you take a screenshot and put that image...
  36. Replies
    464
    Views
    8,030

    Today, no, but this probably does need to be...

    Today, no, but this probably does need to be added soon.

    Sadly, I haven't been able to keep up with the forum and MTP development over the last few days. Again PJRC is overwhelmed by several...
  37. Replies
    5
    Views
    111

    Those parts not being placed on Teensy 3.5 is...

    Those parts not being placed on Teensy 3.5 is also documented in a footnote on the schematic.

    I know this may be stating the overly obvious, but usually prototyping all the stuff you're actually...
  38. Replies
    5
    Views
    111

    The TPD3S014 chip and 100uF capacitor are only...

    The TPD3S014 chip and 100uF capacitor are only used on Teensy 3.6 (which shares the same PCB as Teensy 3.5). The MK64FX512 chip used on Teensy 3.5 does not have a 2nd USB port, so those parts are...
  39. Replies
    464
    Views
    8,030

    I read the Winbond W25Q512JV datasheet a few days...

    I read the Winbond W25Q512JV datasheet a few days ago. My first impression was the structure looked nearly identical to W25Q128JV, but the address is 32 bits rather than 24 bits. It has legacy 24...
  40. Replies
    464
    Views
    8,030

    I found this github issue about LittleFS...

    I found this github issue about LittleFS performance. Sounds similar to the 10X slower speed you're seeing in these tests.

    https://github.com/littlefs-project/littlefs/issues/75

    The first...
  41. Replies
    464
    Views
    8,030

    I don't know which "odd 128" you mean. I'm happy...

    I don't know which "odd 128" you mean. I'm happy to explain the rationale behind anything I've written, but if you want a useful answer you do need to be more specific with the question. In so many...
  42. Replies
    464
    Views
    8,030

    LittleFS uses 3 sizes, which are documented this...

    LittleFS uses 3 sizes, which are documented this way in lfs.h:



    // Minimum size of a block read. All read operations will be a
    // multiple of this value.
    lfs_size_t read_size;

    ...
  43. Replies
    464
    Views
    8,030

    This code worries me. The main problem is it...

    This code worries me.

    The main problem is it assumes an entire flash block is blank and does not require erase if only the first 16 bytes are 0xFF. The huge problem is it never examines the other...
  44. Replies
    475
    Views
    49,010

    It should be possible to create a library which...

    It should be possible to create a library which provides a "filesystem" to do this. The code would look similar to SD.h, except instead of calling the SdFat functions to actually access the SD card,...
  45. Replies
    3
    Views
    147

    This is the thread:...

    This is the thread:
    https://forum.pjrc.com/threads/57842-Future-Teensy-features-amp-pinout
  46. Glad you got it working! :)

    Glad you got it working! :)
  47. Difficult to see from the angle of the camera,...

    Difficult to see from the angle of the camera, but looks like the 3 wires might be on pins 9,10,11 rather than 10,11,12.
  48. Replies
    16
    Views
    286

    Yes, USE_WS2812SERIAL is the best solution,...

    Yes, USE_WS2812SERIAL is the best solution, though it does limit you to specific pins and use a little more memory.

    The other thing to try is this, before you include FastLED.h

    #define...
  49. Replies
    11
    Views
    199

    Probably not another fixed 64K, but.... ...

    Probably not another fixed 64K, but....




    Yes, this, more or less.

    I'm still not 100% sure of all the details, but my general plan is to make future bootloader versions scan the flash for...
  50. Replies
    23
    Views
    1,079

    Some of this increase is probably due to the...

    Some of this increase is probably due to the change to SdFat. It's much faster and supports cards larger than 32GB and long filenames, but all that SD card goodness does come with a code size cost....
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4