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
    472
    Views
    8,069

    Is the known erased blocks bitmap stored in...

    Is the known erased blocks bitmap stored in volatile memory?

    If someone uses this to build a data logging application, do they need to keep continuous power applied from the time of low level...
  2. Wow, really glad to see you used the vsync info! ...

    Wow, really glad to see you used the vsync info! I had long dreamed of doing that with ILI9341_t3, and months ago I even added the functions to read the scan line... but never had the time to...
  3. Replies
    472
    Views
    8,069

    FWIW, I'm planning to dust off the old...

    FWIW, I'm planning to dust off the old SerialFlash library and try to put a File / FS wrapper on top of it, awkward as that may be. The main problem is SerialFlash needs to pre-allocate files to a...
  4. Replies
    472
    Views
    8,069

    Before you put a lot more work in this, I hope...

    Before you put a lot more work in this, I hope you can spend a little time to think about whether you've building something that is generally useful to a large user base, or if you're optimizing the...
  5. Replies
    472
    Views
    8,069

    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...
  6. 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:
    ...
  7. Replies
    472
    Views
    8,069

    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...
  8. Replies
    472
    Views
    8,069

    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...
  9. Replies
    472
    Views
    8,069

    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...
  10. 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.
  11. Replies
    472
    Views
    8,069

    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
  12. Replies
    472
    Views
    8,069

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

    I've added support for Winbond W25Q256 & W25Q512.

    https://github.com/PaulStoffregen/LittleFS/commit/9d94f3b327f31b92504374d13d58de0887f863c2
  13. 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. ...
  14. Replies
    64
    Views
    691

    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...
  15. 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...
  16. Replies
    13
    Views
    747

    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
  17. Replies
    23
    Views
    1,081

    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...
  18. Replies
    472
    Views
    8,069

    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...
  19. Replies
    64
    Views
    691

    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!
  20. Replies
    64
    Views
    691

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

    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...
  22. Replies
    64
    Views
    691

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

    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...
  24. 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...
  25. 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...
  26. Replies
    64
    Views
    691

    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...
  27. Replies
    13
    Views
    747

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

    Yes.



    200mA rating is a little on the low side, but should work.
  30. 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.
  31. 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?
  32. 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?
  33. 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...
  34. 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...
  35. 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...
  36. Oh, these probably need to updated for Teensy...

    Oh, these probably need to updated for Teensy 4.....
  37. 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...
  38. 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...
  39. 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...
  40. Replies
    472
    Views
    8,069

    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...
  41. 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...
  42. 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...
  43. Replies
    472
    Views
    8,069

    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...
  44. Replies
    472
    Views
    8,069

    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...
  45. Replies
    472
    Views
    8,069

    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...
  46. Replies
    472
    Views
    8,069

    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;

    ...
  47. Replies
    472
    Views
    8,069

    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...
  48. Replies
    475
    Views
    49,016

    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,...
  49. Replies
    3
    Views
    147

    This is the thread:...

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

    Glad you got it working! :)
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4