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
    67
    Views
    2,726

    I'm planning to rewrite the product pages "soon"....

    I'm planning to rewrite the product pages "soon". The Teensy 4.1 pinout card back side will come later, probably late December or early January. Most of the website is a work in progress, but at...
  2. Replies
    483
    Views
    8,517

    Yes. It already is designed to operate this way!...

    Yes. It already is designed to operate this way!

    Just create multiple LittleFS_SPIFlash instances, one for each chip. For example:


    LittleFS_SPIFlash chip1;
    LittleFS_SPIFlash chip2;...
  3. Just to explain a bit further - a special highly...

    Just to explain a bit further - a special highly optimized serial monitor is used when you select Teensy Ports in the Tools > Ports menu. Here is a blog article I wrote last year about that...
  4. In Teensy > Port, select the "Serial port" copy...

    In Teensy > Port, select the "Serial port" copy rather than the "Teensy port" version.

    Then Arduino's original serial monitor will be used. Just don't print too fast - it can't handle sustained...
  5. I've edited the Hardware Serial Ports page. ...

    I've edited the Hardware Serial Ports page.

    https://www.pjrc.com/teensy/td_uart.html

    Previous it said:



    I've added these words.
  6. Please try to trim these to small programs. If...

    Please try to trim these to small programs.

    If possible, please eliminate the dependency on U8x8lib.h, i2c_driver_wire.h and any other libraries not part of a clean Arduino + Teensyduino install. ...
  7. Replies
    28
    Views
    1,304

    Ok, added. It'll be in 1.54-beta6. CSF...

    Ok, added. It'll be in 1.54-beta6.




    CSF is a digital signature format defined by NXP which can be appended to your program. Currently Teensy is configured to ignore it, and that...
  8. Can this problem be reproduced using unmodified...

    Can this problem be reproduced using unmodified USB code on both boards?

    If so, can I talk you into posting 2 small but complete program I can copy into Arduino and upload to the 2 boards? It's...
  9. They're separate and completely independent of...

    They're separate and completely independent of each other.
  10. Replies
    16
    Views
    141

    Normally the audio shield should not have any...

    Normally the audio shield should not have any impact on the built in SD socket on Teensy 3.6. None of the signals are shared, only power.
  11. Replies
    16
    Views
    141

    I ran it here with the latest beta using Teensy...

    I ran it here with the latest beta using Teensy 3.6 and a Samsung 32 EVO Plus in the built in SD socket. Uploaded 10 times. It printed "success !" every time.
  12. Replies
    16
    Views
    141

    Are you using version 1.53? In 1.54 we're...

    Are you using version 1.53?

    In 1.54 we're changing SD and switching to SdFat version 2 (until very recently called SdFat-beta). Might be worthwhile to uninstall SdFat and give the 1.54-beta5 a...
  13. Replies
    483
    Views
    8,517

    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...
  14. 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...
  15. Replies
    483
    Views
    8,517

    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...
  16. Replies
    483
    Views
    8,517

    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...
  17. Replies
    483
    Views
    8,517

    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...
  18. 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:
    ...
  19. Replies
    483
    Views
    8,517

    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...
  20. Replies
    483
    Views
    8,517

    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...
  21. Replies
    483
    Views
    8,517

    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...
  22. 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.
  23. Replies
    483
    Views
    8,517

    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
  24. Replies
    483
    Views
    8,517

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

    I've added support for Winbond W25Q256 & W25Q512.

    https://github.com/PaulStoffregen/LittleFS/commit/9d94f3b327f31b92504374d13d58de0887f863c2
  25. Replies
    3
    Views
    99

    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. ...
  26. Replies
    71
    Views
    855

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

    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
  29. Replies
    28
    Views
    1,304

    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...
  30. Replies
    483
    Views
    8,517

    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...
  31. Replies
    71
    Views
    855

    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!
  32. Replies
    71
    Views
    855

    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...
  33. Replies
    71
    Views
    855

    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...
  34. Replies
    71
    Views
    855

    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 ...
  35. Replies
    71
    Views
    855

    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...
  36. 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...
  37. 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...
  38. Replies
    71
    Views
    855

    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...
  39. Replies
    13
    Views
    852

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

    Yes.



    200mA rating is a little on the low side, but should work.
  42. Replies
    6
    Views
    110

    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.
  43. Replies
    6
    Views
    110

    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?
  44. 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?
  45. 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...
  46. 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...
  47. 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...
  48. Oh, these probably need to updated for Teensy...

    Oh, these probably need to updated for Teensy 4.....
  49. 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...
  50. 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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4