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

Search:

Type: Posts; User: CraigF

Search: Search took 0.00 seconds.

  1. Replies
    325
    Views
    45,185

    MTP_t4 working well on t3.6

    I'm using MTP_t4 https://github.com/WMXZ-EU/MTP_t4 installed following the (brief) instructions given in the ReadMe and have encountered no problems in my T3.6 project.

    I am using SdFat v2.0...
  2. Replies
    3
    Views
    283

    Thanks for that response! Basically what you...

    Thanks for that response! Basically what you wrote worked, except that begin() is called on each instance of SdFs rather than on the cards directly.

    I had some issues at first and was worried...
  3. Replies
    3
    Views
    283

    SdFat V2.0b with multiple SD cards?

    I use SdFat v2.0b ("SdFat-Beta") for a Teensy 3.6 project that also uses the Audio board & library and a number of other bus-based sensors and libraries. The SdFat configuration documentation is...
  4. Two observations: The first is to consider...

    Two observations:

    The first is to consider overlooked obscure opportunities for ground loops. I killed a few myself before I figured out how badly ground loops can affect the Teensy and how subtly...
  5. Replies
    3
    Views
    1,620

    Did you ever get this working?

    Did you ever get this working?
  6. Replies
    10
    Views
    1,459

    SD library deemed harmful due to GPL license

    The default SD library installed by TeensyDuino claims to be a wrapper for sdfatlib, and it carries a GPL license "because sdfatlib is licensed with this." Unfortunately, devices subject to certain...
  7. I was using the SD card on the teensy itself, but...

    I was using the SD card on the teensy itself, but I did try switching to the one on the AudioAdaptor, and that made no difference.

    Since your last suggestion, I added the serial flash memory and...
  8. Thanks so much for the thoughts and suggestions. ...

    Thanks so much for the thoughts and suggestions. I was using arm_fir_decimate_q15 and a 72-tap filter. In response to your question I changed it to arm_fir_decimate_fast_q15, which reduced ...
  9. Thanks for that suggestion, Pete. I have turned...

    Thanks for that suggestion, Pete. I have turned on instrumentation on memory and CPU. When recording is enabled and playback is disabled I see AudioProcessorMax of 31 and AudioMemoryMax of 8. With...
  10. Audio board recording while playing - sampling frequency problem

    I have a project that uses Teensy 3.6 to acquire a half-dozen channels of sensor data and transfer the data in real time via USB Serial to a PC, where I wrote a multi-channel scrolling console to...
  11. Replies
    16
    Views
    4,661

    Kudos to superslot for tracking this particular...

    Kudos to superslot for tracking this particular issue down and reporting back once the problem was resolved!! I've read dozens of i2c threads that just fade out, making it impossible to know whether...
  12. Replies
    54
    Views
    34,015

    I just want to point out that the Adafruit...

    I just want to point out that the Adafruit SleepyDog BasicUsage example doesn't work as intended for Teensy when the host terminal is running under Windows prior to Windows 10. The example is...
  13. Hey, I found that onehorse got the exact same...

    Hey, I found that onehorse got the exact same error as you when using RawHardwareTest on known good chips of the same type as yours. A modified code library worked correctly.

    I *think* these...
  14. You may have already done this, but here's what I...

    You may have already done this, but here's what I would do next with RawHardwareTest:

    Uncomment the serial.print statements and comment out the whole create_signature and short-circuited return...
  15. Replies
    7
    Views
    1,744

    That seems like quite a good suggestion. I do use...

    That seems like quite a good suggestion. I do use USB data isolation and a medical grade isolation charger to feed this project, BUT... I also had a chassis ground wire from my oscilloscope to Teensy...
  16. Got it. Thank you!!! But please help me here:...

    Got it. Thank you!!!

    But please help me here: how did you know that? The traces vanish into vias and under chips, and don't connect to anything I could positively identify from the schematic. I...
  17. Haven't used the Uno in awhile, but in my...

    Haven't used the Uno in awhile, but in my experience EraseEverything is always slow on every flash chip I've used, so if it is fast I would assume that it is not executing.

    I would start there --...
  18. Replies
    7
    Views
    1,744

    Teensy 3.6 died mysteriously x 2

    I have two dead Teensy 3.6 boards that died without obvious cause.

    Each one had an audio adapter soldered in place (piggyback) and a ground wire to my oscilloscope, but no other connections to the...
  19. Trying to fix broken Teensy 3.6 boards -- is there a component layout guide anywhere?

    I'm seeking information that will help me link the schematic with the board layout.

    One of my Teensy 3.6 boards arrived missing a passive component (bare pads coated with solder).

    It still...
  20. Replies
    58
    Views
    33,767

    Are you suggesting that the WinC1500 worked for...

    Are you suggesting that the WinC1500 worked for you with Teensy 3.5 but not with Teensy 3.6? Or perhaps there was something wrong with your 3.6 board?
  21. Replies
    34
    Views
    26,647

    In my experience, you can indeed power the Teensy...

    In my experience, you can indeed power the Teensy 3.2 with 3.3 volts. I suggest you do so by cutting the designated jumper and applying power to Vin rather than to the pin marked 3.3v.

    I have...
  22. I'll post a complete repro. Only reason I...

    I'll post a complete repro.

    Only reason I didn't do so before is that I was specifically asking about the safety of the proposed fix or any user-code workarounds (e.g., wait until exactly 64...
  23. ummm -- perhaps I've misunderstood what's going...

    ummm -- perhaps I've misunderstood what's going on, but from what I can see the situation is a little different. If you look at my code you will see that I never write when space is not available....
  24. Hi Paul. Thanks for responding, and thanks for...

    Hi Paul. Thanks for responding, and thanks for making this processor available in such a great form factor with so much library support!

    After several days of testing I've concluded that the...
  25. Thanks for the response. My device can handle...

    Thanks for the response.

    My device can handle the scenario where the PC is not listening -- as described in my original post, I am applying some algorithms and delivering real-world outputs...
  26. Teensy 3.2 USB Serial "non-blocking" write isn't really non-blocking

    My teensy 3.2 device has an ISR that reads a sensor and writes to a circular inBuffer that handles overflow gracefully. A main loop processes data from the inBuffer, triggers some time-sensitive...
  27. Thread: code hanging

    by CraigF
    Replies
    12
    Views
    2,719

    ParDHarD -- Have you solved this glitch? If so,...

    ParDHarD -- Have you solved this glitch? If so, could you post the cause / solution that you found? I'd be quite surprised if this turned out to be a hardware issue.

    In the spirit of your...
  28. Replies
    34
    Views
    26,647

    One more suggestion. The OP was "looking for" a...

    One more suggestion. The OP was "looking for" a separate power supply, so this might be relevant: I use the AdaFruit PowerBoost boards to provide clean 5v power for my Teensy-based projects that...
  29. Replies
    34
    Views
    26,647

    Just wanted to expand a little bit on...

    Just wanted to expand a little bit on GremlinWrangler's response:

    On Teensy 3.5 and 3.6 the incoming USB +5v power goes directly to pin Vusb, then through a cut pad to pin Vin, then through a fuse...
  30. Ardashsa, I'm live streaming. I'm using...

    Ardashsa, I'm live streaming.

    I'm using Serial over USB to the host right now, while searching for a serial BT device that will talk to the Teensy at high data rates (they all handle sufficiently...
  31. Replies
    0
    Views
    1,162

    Teensy 3.2 Vusb voltage drop

    My current project is using the Teensy 3.2 along with an Adafruit PowerBoost 1000C and some other boards...

    Teensy 3.2 has a fuse and a tiny trace that add up to 0.7 ohms of resistance between the...
  32. Fastest Bluetooth Data transfers from Teensy to Host? Should I use SPI? What module?

    I am currently finishing a medical device that moves about 1.5 Mbps of data from a Teensy 3.2 to a host PC over the USB serial interface. The system runs for 8-10 hours at a time, and everything is...
  33. thanks much!

    thanks much!
  34. VS Error from macro AudioMemory(num) in AudioStream.h

    Visual Studio / Visual Micro give an error when attempting to use the macro


    AudioMemory(60);

    The error message is "Expression expected" and the cause of the error is the parentheses wrapped...
  35. Replies
    3
    Views
    2,433

    Hmmmmmm... If fiddling with ground...

    Hmmmmmm... <jk>

    If fiddling with ground connections changes the noise in any way, your problem is likely related to ground loops.

    This kind of noise can leak into your signal from any nearby...
  36. Ground Loop behavior: Teensy Audio board vs Adafruit AudioFx

    I'm hoping that somebody knowledgeable may help to shed some insight into a situation I've recently encountered.

    I have a Teensy development setup in an environment with known (intentional) ground...
  37. Replies
    24
    Views
    6,521

    First things first

    Obviously everything Paul is saying is correct. Having recently gone through a similar process that was long and frustrating but ultimately successful I will attempt to add what I can in the way of...
  38. Replies
    24
    Views
    6,521

    The Tx/Rx on pins 3 and 4 are for CAN Bus, not RS...

    The Tx/Rx on pins 3 and 4 are for CAN Bus, not RS serial.

    Pins 5 and 27 are alternatives for Tx1/Rx1 in case pins 0 and 1 are taken for some other purpose.
    Similarly, Pins 26 and 31 (on the back...
  39. Yes, thanks for the suggestion, but as I...

    Yes, thanks for the suggestion, but as I mentioned in my post,

    "I have asked on the Visual Micro forum, and Tim responded that he will look at the issue and that there is nothing I can do to work...
  40. Teensy 3.2 problem with Visual Micro "debugging" on UART serial port

    I recently installed Visual Micro for VS Community 2015. The combination works with Teensy 3.2 pretty seamlessly, and I have found the environment quite useful for my current project prototypes...
  41. Teensy.exe remains active after Arduino IDE closed -- failed file creation repeatedly

    After I close the Arduino IDE and unplug the teensy board, the teensy.exe process remains active and continuously attempts to create a file, always getting a "Path not found" result.

    In this...
Results 1 to 41 of 41