Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: TeensyDigital

Search: Search took 0.00 seconds.

  1. Replies
    940
    Views
    85,760

    I can confirm that LittleFS works well with...

    I can confirm that LittleFS works well with external Flash memory using threads under 1.54b10. I traced back and isolated my issues yesterday and today. I found two different issues, which is why I...
  2. Replies
    940
    Views
    85,760

    My code is too large/complex to post (thousands...

    My code is too large/complex to post (thousands of lines, a dozen sensors, four thread loops, etc). Iím heading out of town, but Iíll try and isolate it on Monday and post.

    That said, when I...
  3. Replies
    940
    Views
    85,760

    I've got an issue when using LittleFS on a T4.1...

    I've got an issue when using LittleFS on a T4.1 with an external flash chip, while running under a separate thread. It hangs the thread randomly, where the code works just fine when compiled without...
  4. Replies
    940
    Views
    85,760

    Yep. If anyone else is planning on using the 64mb...

    Yep. If anyone else is planning on using the 64mb flash chip (W25Q512JV), I'd highly suggest attaching it on a Teensy board without header pins and add your header pins once you've cleaned and tested...
  5. Replies
    940
    Views
    85,760

    A quick update... I gave my whole board a CRC...

    A quick update... I gave my whole board a CRC electronics cleaner bath, including an underbody car wash for the Teensy, followed by compressed air, and the worlds tiniest toothbrush scrub around the...
  6. Replies
    940
    Views
    85,760

    Thanks @defragster for the quick reply. That...

    Thanks @defragster for the quick reply.


    That is a typo. A left over error statement from the original example code. My sketch is using "LittleFS_QSPIFlash myfs". In the library it fails almost...
  7. Replies
    940
    Views
    85,760

    Is QSPIFlash in LittleFS on a T4.1 dependent on...

    Is QSPIFlash in LittleFS on a T4.1 dependent on any of the standard GPIO pins?

    I got the 64mb external flash chip (W25Q512JV) working like a boss, using the 1.54 beta #9 and the included example...
  8. @slatkoh1, you need to download the 1.54 beta #9...

    @slatkoh1, you need to download the 1.54 beta #9 of the teensyduino IDE to get LittleFS to compile/work. The library you reference above uses SPIFFS, which I got to partial work, but is not...
  9. Thanks guys. I pulled down the 1.54beta9 and...

    Thanks guys.

    I pulled down the 1.54beta9 and the native LittleFS examples. Now everything works perfect. I've got a full 67Mb of external flash showing up using the W25Q512JV chip. LittleFS is a...
  10. I am resurrecting this thread for a follow-on...

    I am resurrecting this thread for a follow-on question about Flash memory.

    I've got the 64Mb W25Q512JV flash chip soldered and working well on a T4.1 using the spiffs_t4 code. I am holding off on...
  11. Replies
    6
    Views
    551

    Yes, the link to the boot loader page was there....

    Yes, the link to the boot loader page was there. There is a great JavaScript animation that shows the steps to powering up the T4 with a schematic overlay. Very cool way to illustrate what is going...
  12. Replies
    6
    Views
    551

    So, I confirmed that this is a start-up sequence...

    So, I confirmed that this is a start-up sequence timing issue with the different power regulators. I pulled the regulators off my pcb and drove power using external bench power. When I power up the...
  13. Replies
    6
    Views
    551

    Thanks @defragster. I read through the start-up...

    Thanks @defragster. I read through the start-up sequence thread and it really sounds like that might be the issue, but I can't nail it down in my testing. What I do know is that my 3.3v regulator (to...
  14. Replies
    6
    Views
    551

    Teensy 4.1 I2C Start-up Issue

    I've got a T4.1 on a custom PCB with three sensors on the I2C bus. In previous versions of this board, I've had very intermittent issues with a nearby RF radio signal killing my sensors, so in this...
  15. Replies
    1
    Views
    302

    I resolved my own question regarding performance....

    I resolved my own question regarding performance. I was setting my Wire clock speed and then initiating each sensor. The sensors that use wire, call another Wire.begin() and reset the clock speed to...
  16. Replies
    1
    Views
    302

    Teensy 4.x I2Cdev vs. Wire?

    I've got three sensors on my I2C bus that use three different libraries. I am trying to optimize every microsecond on the read/write speed and I noticed a considerable difference in one of the...
  17. Thanks guys. These are good suggestions. I had...

    Thanks guys. These are good suggestions. I had not considered setting all unused pins to 0. that is easy. Every little bit helps. I am running my I2C at 400 kHz and will try different combinations of...
  18. I had not considered changing the Teensy clock...

    I had not considered changing the Teensy clock speed, but I will add it to my list. That should be easy to try, although I've found myself consuming all the rooms in my big new T4.1 house, after I...
  19. The rockets are primarily fiberglass, some are...

    The rockets are primarily fiberglass, some are carbon fiber (RF blocking) with fiberglass avionics bays. The nosecones are aluminum or aluminum tipped and fiberglass. The rockets are sometimes...
  20. Doh! I do not have my replacement for the...

    Doh! I do not have my replacement for the BME280, but I have heard good things about the MPL3115A2R1 from NXP. It does not seem to have the same RF issues and the Bosch. I've got one on order to try...
  21. Thanks Brian. I've got over 30 flights logged...

    Thanks Brian. I've got over 30 flights logged and also have not had many RF issues, until recently with the T4.1. Since I ported it, I've only flown it in 4" and 8" rockets without issue, but this...
  22. Thanks. I have some 1 watt 433mhz Lora radios I'm...

    Thanks. I have some 1 watt 433mhz Lora radios I'm using for another project, so I just need to pull them over to this project and test them. The others I had tested up to 20 miles "peak to peak" in...
  23. Thanks. The SD card itself is not the issue and...

    Thanks. The SD card itself is not the issue and SD is only one symptom of the RF interference. I've flown the SD card (on the T4.1) at 44 gees logging at 100hz without a glitch on bigger rockets...
  24. Teensy 4.1 Radio Interference Shielding?

    I've got a T4.1 that I am using as the brains for a flight computer and radio telemetry in an amateur sounding rocket. I ported my project to the T4.1 from an ESP32 about six months ago and I love...
  25. Replies
    0
    Views
    373

    T4.1 SD hard reset?

    I've got a data logger solution, based on the T4.1 that is used in an amateur rocket. The application also has a high powered radio that transmits telemetry. This weekend on a launch, I had my first...
  26. Thanks BriComp. I hadn't actually thought about...

    Thanks BriComp. I hadn't actually thought about this as a logic level issue, but that could also work. I know a MOSFET or even an npn transistor will work, I was just looking for something more...
  27. Thanks Mark. Given that I have a dozen of these...

    Thanks Mark. Given that I have a dozen of these and the duty cycle could be high, I will plan on using something in-between the T4 and the Opto to be safe. I could use a simple NPN transistor, but I...
  28. I am switching some 24V 2A solenoid valves, but...

    I am switching some 24V 2A solenoid valves, but handling volatile gases/fluids, so I would like isolation and prefer not to run hot positive wires back to grounded switched MOSFETs, hence the opto...
  29. Teensy 4.1 driving opto relay directly?

    I need to drive a dozen 4A opto relays using the Teensy 4.1. I am trying to figure out if I can drive them directly with the Teensy or if I need a transistor in-between.

    The opto relay I am...
  30. Replies
    7
    Views
    1,251

    Thank you! That is very good suggestion. I...

    Thank you! That is very good suggestion. I benchmarked flush() and it was 19% faster than using open/close and it gave me the same write protection. Using a dedicated benchmark sketch I can write a...
  31. Replies
    7
    Views
    1,251

    yeah, so far I am very impressed. I have a LOT...

    yeah, so far I am very impressed. I have a LOT going in on my board. It is a flight computer for a rocket, so it is sampling a dozen sensors, serial to a GPS, serial in/out to high power radios,...
  32. Replies
    7
    Views
    1,251

    Disregard....

    Disregard the OP. It turns out I had an instrumentation error in my measurement when I combined the two threads. I can confirm that I can run the two threads with I2C sampling on one thread and SD...
  33. Replies
    7
    Views
    1,251

    Teensy 4.1 Threading w/SD logging

    I've got a significant code base and program that runs on an ESP32 that I am porting to Teensy 4.1. On the ESP32, I am taking advantage of the two cores, running a bunch of sensor logging on one...
Results 1 to 33 of 33