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
    448
    Views
    7,846

    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
  2. Replies
    448
    Views
    7,846

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

    I've added support for Winbond W25Q256 & W25Q512.

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

    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. ...
  4. Replies
    60
    Views
    581

    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...
  5. 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...
  6. Replies
    13
    Views
    663

    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
  7. Replies
    23
    Views
    990

    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...
  8. Replies
    448
    Views
    7,846

    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...
  9. Replies
    60
    Views
    581

    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!
  10. Replies
    60
    Views
    581

    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...
  11. Replies
    60
    Views
    581

    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...
  12. Replies
    60
    Views
    581

    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 ...
  13. Replies
    60
    Views
    581

    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...
  14. 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...
  15. 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...
  16. Replies
    60
    Views
    581

    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...
  17. Replies
    13
    Views
    663

    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...
  18. 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...
  19. Yes. 200mA rating is a little on the low...

    Yes.



    200mA rating is a little on the low side, but should work.
  20. 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.
  21. 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?
  22. 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?
  23. 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...
  24. 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...
  25. 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...
  26. Oh, these probably need to updated for Teensy...

    Oh, these probably need to updated for Teensy 4.....
  27. 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...
  28. 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...
  29. 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...
  30. Replies
    448
    Views
    7,846

    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...
  31. Replies
    5
    Views
    109

    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...
  32. Replies
    5
    Views
    109

    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...
  33. Replies
    448
    Views
    7,846

    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...
  34. Replies
    448
    Views
    7,846

    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...
  35. Replies
    448
    Views
    7,846

    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...
  36. Replies
    448
    Views
    7,846

    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;

    ...
  37. Replies
    448
    Views
    7,846

    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...
  38. Replies
    475
    Views
    48,967

    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,...
  39. Replies
    3
    Views
    145

    This is the thread:...

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

    Glad you got it working! :)
  41. 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.
  42. Replies
    16
    Views
    275

    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...
  43. Replies
    11
    Views
    198

    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...
  44. Replies
    23
    Views
    990

    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....
  45. Maybe look for one of the many little breakout...

    Maybe look for one of the many little breakout boards using MAX98357. Power might be a little light or might work out pretty well, depending on how "quiet" the room is and how "room filling" you...
  46. If you read other threads, you'll see we've also...

    If you read other threads, you'll see we've also talked at times about NAND flash chips. Today none of those are well supported. They require software to manage and remap bad blocks. NAND also has...
  47. This flash chip might be an option. It's 64...

    This flash chip might be an option. It's 64 Mbyte and only $5. I already have some on order with plans to support them in LittleFS.
    ...
  48. I got these from Digikey some time ago. They've...

    I got these from Digikey some time ago. They've been sitting unused (untested) on my cluttered desk.

    22578

    The tall header is Samtech MTMM-103-10-T-D-355. The socket is Digikey...
  49. Replies
    448
    Views
    7,846

    Maybe try experimenting with the...

    Maybe try experimenting with the config.block_cycles setting?

    https://github.com/PaulStoffregen/LittleFS/blob/168e03fb79a5eb87f508b427b4eea07b16f23fd8/src/LittleFS.cpp#L460

    Here's the only...
  50. How do you want it to stop? In you question,...

    How do you want it to stop?

    In you question, you said "I want that feedback to continue when note off is send". You did not say you want the note to end, but to continue.




    The envelope...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4