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

Search:

Type: Posts; User: brtaylor

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Can you share code? It's really hard to help...

    Can you share code? It's really hard to help without seeing what's going on.
  2. Do a search for Over the Air updates for options,...

    Do a search for Over the Air updates for options, this gets brought up often.

    Other option is if you can have a second Teensy, BeagleBone Black, Raspberry Pi, etc, then you can upload software...
  3. If you search, I'm sure that you'll find more...

    If you search, I'm sure that you'll find more examples on GitHub as well. I went the CMake route and enjoy that - lot's of different ways to build code.
  4. Why not just use a Makefile and skip Arduino...

    Why not just use a Makefile and skip Arduino altogether?
  5. Replies
    3
    Views
    237

    Yep, thanks. I have some MPU-9250 stock in-house.

    Yep, thanks. I have some MPU-9250 stock in-house.
  6. Replies
    3
    Views
    237

    Minimal MicroMod Carrier

    I'm working on designing a very minimal MicroMod carrier board consisting of only:
    1. The Teensy 4 MicroMod
    2. A 3.3V regulator
    3. An MPU-9250 IMU
    4. A 4-pin serial connection

    I'm doing this...
  7. Replies
    62
    Views
    2,539

    I like CAN Aerospace and ARINC 825. I think CAN...

    I like CAN Aerospace and ARINC 825. I think CAN Aerospace's documentation is excellent and the protocol is very straightforward. ARINC 825 also has excellent documentation; although, it costs around...
  8. Replies
    62
    Views
    2,539

    Anecdotally, the JST-GH connectors aren't great...

    Anecdotally, the JST-GH connectors aren't great either and I'm glad the industry is moving away from I2C on cables and towards CAN; although, the protocol is a discussion for another day.

    Might be...
  9. Replies
    62
    Views
    2,539

    4 wire cable with JST-GH connectors (DroneCode...

    4 wire cable with JST-GH connectors (DroneCode I2C standard) from a Teensy 4.1 based flight controller to a custom board with 2 AMS5915 pressure transducers for static and differential pressure from...
  10. Replies
    62
    Views
    2,539

    Hi Paul, let me see if I can replicate the I2C...

    Hi Paul, let me see if I can replicate the I2C piece with a simple example.
  11. Replies
    62
    Views
    2,539

    Just to bring the original hard freeze to a close...

    Just to bring the original hard freeze to a close - it was I2C on a cable that was causing the issues. Switching over to a protocol meant for cables (i.e. CAN bus) solved the issue.
  12. Replies
    62
    Views
    2,539

    Yes, it's a hard freeze and the Teensy is...

    Yes, it's a hard freeze and the Teensy is unresponsive. COM port is greyed out and a power cycle is required. Good idea about the crash report, thanks! So far just adding back in chunks of code and...
  13. Replies
    62
    Views
    2,539

    Ditto, stalling on Windows with the bare Teensy...

    Ditto, stalling on Windows with the bare Teensy 4.1, but no hard crashes.

    With the other Teensy 4.1 (which has sensors and is in an enclosure running about 10C hotter / around 62C typical), I'm...
  14. Replies
    62
    Views
    2,539

    Teensy 4.1 Lockup

    EDIT: Sorry, wrong category, I thought this was in bug reports...please move.

    I'm encountering a weird issue with a Teensy 4.1 locking up.

    The following is the code that I am using:


    ...
  15. Close. 1. For the ISR, you don't have to...

    Close.

    1. For the ISR, you don't have to check the pin state, you can just attach the ISR on the leading edge of the pulse, assuming that it's a positive pulse (i.e. low to high), check for the...
  16. Add a digital line I/O line that the I2C...

    Add a digital line I/O line that the I2C controller ("master") can pulse and the I2C responder ("slave") can read.
    1. The I2C controller pulses the digital line using digital write fast at the time...
  17. Replies
    853
    Views
    106,865

    How do we emit messages with an extended id? Do...

    How do we emit messages with an extended id? Do we just set the CAN_message_t id field or is there some setup that's needed first?
  18. Replies
    474
    Views
    134,862

    Templates seem like a natural solution. No...

    Templates seem like a natural solution. No dynamic memory allocation and easy to set by the user.
  19. Replies
    853
    Views
    106,865

    What's random doing in this method?...

    What's random doing in this method?
    https://github.com/tonton81/FlexCAN_T4/blob/master/FlexCAN_T4.tpp#L942



    FCTP_FUNC int FCTP_OPT::read(CAN_message_t &msg) {
    bool _random = random(0, 2);
    ...
  20. Replies
    6
    Views
    360

    I would write a state machine that parses the...

    I would write a state machine that parses the packet. You can find an example in my uBlox UBX parser library here:
    https://github.com/bolderflight/ublox-arduino/blob/main/src/ublox.cpp#L225

    It's...
  21. Aircraft, both fixed-wing and multirotor, can be...

    Aircraft, both fixed-wing and multirotor, can be well controlled at much lower rates. We used to run at a 50Hz loop rate and were even successfully controlling vehicles that had flexible structures...
  22. As someone who develops flight controllers around...

    As someone who develops flight controllers around the Teensy series of microcontrollers (https://github.com/bolderflight/spaaro), what I generally do, in pseudo code is:



    void daq() {
    ...
  23. Replies
    2
    Views
    332

    Are you able to post the code and the wiring...

    Are you able to post the code and the wiring diagram? I have some of these in my "future work" drawer and could setup some tests to see if I can re-produce the issue.
  24. Replies
    1
    Views
    265

    Sure, this is what Teensy 4.1 is doing all the...

    Sure, this is what Teensy 4.1 is doing all the time. I would search the forum - there's been a few threads for getting the Teensy 4.x to operate as an SPI Peripheral / Slave and at least one library...
  25. Replies
    21
    Views
    1,371

    I would suggest searching the forum for "over the...

    I would suggest searching the forum for "over the air updates", it seems similar to what you're trying to accomplish and has been asked many times.
  26. Low pass filter + fast moving momentary contact...

    Low pass filter + fast moving momentary contact seem to be contradicting requirements. I think you would need really good knowledge of the frequencies involved to get it to work, assuming there is...
  27. Replies
    259
    Views
    94,628

    I wonder if it's an issue with counterfeits?

    I wonder if it's an issue with counterfeits?
  28. Replies
    259
    Views
    94,628

    The old emsensor boards modified to work with SPI.

    The old emsensor boards modified to work with SPI.
  29. Replies
    259
    Views
    94,628

    I just updated the library with an increased...

    I just updated the library with an increased delayNanoseconds time, should hopefully be a little more robust now.
  30. Replies
    259
    Views
    94,628

    Should work at a CPU speed of 600 MHz. The...

    Should work at a CPU speed of 600 MHz. The sampling rate will always be 1kHz or less because we're using the MPU-9250 internal filter. To go above the 1kHz, you need to disable the internal filtering...
  31. Replies
    259
    Views
    94,628

    Should work, or at least it works fine for me....

    Should work, or at least it works fine for me. Please post your complete code, the error message that you get indicating it's not working, and a picture of the sensor and connections to the Teensy.
  32. Replies
    46
    Views
    2,466

    I can't help with a walk through - I don't have...

    I can't help with a walk through - I don't have the sensor to test a driver against and my work is very busy at the moment. Maybe someone else on the forum can help?

    I wouldn't use the library you...
  33. Replies
    46
    Views
    2,466

    You'll want to use the Wire library:...

    You'll want to use the Wire library:
    https://www.arduino.cc/en/Reference/Wire

    If you search by the sensor name and "github arduino" you'll find some arduino drivers for the sensor. I've never...
  34. Replies
    259
    Views
    94,628

    Hi, I split that library between a version...

    Hi,

    I split that library between a version built for my build system and one for the Arduino. You want the library located here:
    https://github.com/bolderflight/mpu9250-arduino

    Brian
  35. Replies
    6
    Views
    487

    MSP is a binary protocol, I'd be tempted to try...

    MSP is a binary protocol, I'd be tempted to try UART2, which should be NMEA and at least human readable.
  36. Replies
    975
    Views
    50,785

    On your spreadsheet, I think MMOD Pin 17 and Pin...

    On your spreadsheet, I think MMOD Pin 17 and Pin 19 are swapped.
  37. Replies
    975
    Views
    50,785

    Thanks! I missed that MMOD Pin 4 was a UART. For...

    Thanks! I missed that MMOD Pin 4 was a UART. For MMOD Pin 40 and Pin 42, your spreadsheet has those as I2C buses, but when I look at the Teensy 4.1 pinout for Pins 40 and 41 (the corresponding Teensy...
  38. Replies
    975
    Views
    50,785

    There is a lot of capability built into this...

    There is a lot of capability built into this board! I started making a KiCAD symbol, matched back to the Teensy 4.1 pin numbers, and labeled the additionally functionality. I realize this is what...
  39. Replies
    975
    Views
    50,785

    Thanks! That's what I initially thought and got...

    Thanks! That's what I initially thought and got tripped up (and greedy) when I saw the USB VIN.
  40. Replies
    975
    Views
    50,785

    Sorry if this is a silly question - is there...

    Sorry if this is a silly question - is there power regulation on the micromod board? I see USB VIN on Pin 9, 3.3V enable on Pin 4, and 3.3V on Pin 74 and on Pin 2. What is the capacity of the output...
  41. Replies
    975
    Views
    50,785

    They could really learn from PJRC's pinout cards....

    They could really learn from PJRC's pinout cards. Even after looking at the SparkFun Hookup Guide table, it's not easy planning how I would use all the pins.
  42. The rise time does not change with voltage, but...

    The rise time does not change with voltage, but would push towards using the smallest resistor value in order to let the data line rise logical high, especially at higher bus speeds and longer bus...
  43. 4k7 is common with 5V systems, 2k2 with 3.3V. ...

    4k7 is common with 5V systems, 2k2 with 3.3V.

    Yes, one 2k2 on SDA and one on SCL pulled up to 3.3V. Only one set of pullups is needed per bus.
  44. If you're using I2C, I would recommend 2.2k...

    If you're using I2C, I would recommend 2.2k pullups on SDA and SCL (pulling up to 3.3V). If you're using SPI, I would recommend not using pullups. If you have multiple SPI devices on the bus, you...
  45. Section 7.2 on page 22 gives a schematic for a...

    Section 7.2 on page 22 gives a schematic for a typical circuit along with capacitor values:
    https://invensense.tdk.com/wp-content/uploads/2015/02/MPU-6000-Datasheet1.pdf

    Additionally, if you're...
  46. Replies
    11
    Views
    1,199

    So, I just tried clang-tidy on your code snippet...

    So, I just tried clang-tidy on your code snippet and it does produce a warning that the code will result in a dangling reference.
  47. Replies
    11
    Views
    1,199

    Note, I haven't tried either of these, but...

    Note, I haven't tried either of these, but there's a couple options that I see on Stack Overflow:
    1. Remove the _sbrk() function:...
  48. Replies
    1
    Views
    255

    The TJA1051AT/3/0Z‎ looks like a drop-in...

    The TJA1051AT/3/0Z‎ looks like a drop-in replacement.
  49. Replies
    1
    Views
    255

    CAN-FD MCP2562 Alternatives

    I'm designing a project and used the MCP2562FD-H/SN for prototyping. Of course, it's a victim of the chip shortage and I'm looking for good alternatives that are roughly the same footprint. Any...
  50. Replies
    11
    Views
    1,199

    The most rigorous standards I know of typically...

    The most rigorous standards I know of typically require at least two separate coding teams, one writing the code and the other independently reviewing it against the requirements.

    You can also set...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4