Search results

  1. J

    Teensy Threads, Mutex in IntervalTimer causes code to crash

    Hello, Wow, go to sleep and wake to ideas, thanks. A bunch of these thoughts match where my head was going as I laid in bed thinking rather than sleeping. I dont need perfect 40Hz for extra data so I will investigate adding to the same loop as the GPS data. The more important part is I...
  2. J

    Teensy Threads, Mutex in IntervalTimer causes code to crash

    Hello, I am working on a data logger for a trackday (race track) motorcycle. The full code requires CAN bus, GPS into Serial1 etc so below is a skeleton of the same structure and though doesn't repeat the issue as often it will break and cause crashes. Full implementation hardware is...
  3. J

    [posted] SchmickBike: Teensy based motorcycle instruments and telemetry

    How accurate and how fast is the update for the ultrasonic sensors for the suspension? I have built a data logger for my track bike and adding tire temp and suspension is on my list for this season. For suspension I have been looking into making my own string-potentiometer type of setup...
  4. J

    Another Teensy 4.0 Breakout Board

    I guess I should have waited 2 more days. I was quietly watching this as wanted SD and USB for my Teensy 4.0's so I ordered a set of the PCBs last 2 nights ago in the .8mm thickness so I suspect in a week or so I'll end up with some boards that won't work as well :) See how they are when they...
  5. J

    CMSIS problems

    I believe that is a rather old (3.0.3) version of ChibiOS, current is 17.6 I believe Jeff
  6. J

    Fastest Bluetooth Data transfers from Teensy to Host? Should I use SPI? What module?

    Hello, I'm using Serial 1 & 2 vs 6 and also upped the buffer in the serial code from their default 64 but adding debug code I have not seen my serial buffer getting used beyond 64char (usually it's around 40-50 char after my sensor read cycle) If all you are doing is effectively a serial...
  7. J

    Issue: Teensy 3.3 randomly boots into bootload while no USB is connected

    Hello, The module I am using is http://www.canadarobotix.com/bluetooth/rn42-xv-bluetooth-module-pcb-antenna and the datasheet they reference is http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Wireless/Bluetooth/RN42XV.pdf After doing some poking around this seems to be the main information...
  8. J

    Issue: Teensy 3.3 randomly boots into bootload while no USB is connected

    @Frank - yes, I tried it and it seems to work. Still trying to figure out why the BT adapter is causing the issues in the first place for my own curiosity but at least now it powers up consistently and I can also test my code in a moving vehicle between sessions of looking at the power issues...
  9. J

    Issue: Teensy 3.3 randomly boots into bootload while no USB is connected

    Working from home sometimes has its benefits. Boring con-call so I did more review of my teensy 3.6 power issue. I didn't follow standard debug procedure .... I removed the sensors from my board but I never removed the Bluetooth and GPS items from the board when testing power. Too bad, it...
  10. J

    Issue: Teensy 3.3 randomly boots into bootload while no USB is connected

    Yes, the LED starts to flash after grounding reset. Jeff
  11. J

    Issue: Teensy 3.3 randomly boots into bootload while no USB is connected

    I am starting to think at some point I may have damaged something hardware wise with the startup of my Teensy 3.6. Even feeding 5V into Vin of the board seems to be hit and miss, the voltage reg seems to work as 5V into my Teensy 3.6 powers up my 3.3V sensors. But the code (even just Blink)...
  12. J

    Issue: Teensy 3.3 randomly boots into bootload while no USB is connected

    Paul, The item I had a problem with is Digikey PN 945-1661-5-ND (http://www.digikey.com/products/en?keywords=945-1661-5-ND) which is the 500mA version and is the version that seemed to have solved the issue for the OP. The datasheet I used for details is at...
  13. J

    Issue: Teensy 3.3 randomly boots into bootload while no USB is connected

    Thanks for the reply. I am using the 500mA version and from datasheets the items connected to the 3.3V (other than teensy) is currently about 75-80mA. I probably have a few other sensors < 10mA total to add. So I will be under the 250mA limit on the sheet for the teensy. But since they were...
  14. J

    Issue: Teensy 3.3 randomly boots into bootload while no USB is connected

    Hello, I was about to start a new thread but then found this when searching 'Recom'. I want to use a Teensy 3.6 on a motorcycle for a data logger and thought I would use a Recom R-783.3-0.5 to provide the 3.3V from the motorcycle 12V. On my test bench I can power it with a 12V wall wart (sems...
  15. J

    Fastest Bluetooth Data transfers from Teensy to Host? Should I use SPI? What module?

    That matches what I found in my research as well, you want to stay to Classic modules and not LE modules if you want throughput. I moved to a RN-42 module at the moment communicating with Teensy @ 460800bps with CTS/RTC flow control though I have not tested actual throughput as of yet. It is...
  16. J

    CMSIS problems

    Hi Bill, I was wondering if you are planning to share your latest work with ChibiOS/RT on Teensy 3.6? I used your https://github.com/greiman/ChibiOS-Arduino on an Arduino in the past but for my new data logger project I wanted some additional capabilities and the size and features of...
  17. J

    Fastest Bluetooth Data transfers from Teensy to Host? Should I use SPI? What module?

    Hello, I have a similar problem where I would like faster comms with a bluetooth module. I was wondering if Adarsha or CraigF has any luck with other modules. I have the cheap ZS-040 at the moment and it works OK up to 115200. At 230400 it seems the module just locks up after a bit. Once...
  18. J

    Teensy 3.6 - multiple I2C ports still 1 bus and therefore all same speed?

    Thanks. I did download the datasheet and did some reading there first but wasn't looking for the right thing and still learning on how to find what I need in large complex datasheets. Still kinda new to these microcontrollers. I would have seen it if was looking for 'frequency divider' and if...
  19. J

    Teensy 3.6 - multiple I2C ports still 1 bus and therefore all same speed?

    Hello, Yes, I saw the i2c_t3 library and that is what spawned this thread as it didn't seem to confirm the ports are truly independent, I think I actually saw something in the i2c_t3 thread that they were basically a mux'd bus and not sure if each treated the same as I have a i2c mux chip...
  20. J

    Teensy 3.6 - multiple I2C ports still 1 bus and therefore all same speed?

    Hello, I have a selection of sensors I would like to connect with I2C. Most will support 400Khz I2C but 2 are SMBus 100Khz. Reading the datasheet for the K66 it seems the multiple I2C interfaces are really the same bus and is basically multiplexed. Is this correct? Therefore do all ports...
Back
Top