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

Search:

Type: Posts; User: mjs513

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    11
    Views
    672

    Yes there is. This is curtesy of @defragster: ...

    Yes there is. This is curtesy of @defragster:

    #if 1
    #ifdef __cplusplus
    extern "C" {
    #endif

    #if defined(__IMXRT1062__)
    uint32_t set_arm_clock(uint32_t frequency);
    #endif
  2. @KurtE That's strange. I have been using both...

    @KurtE

    That's strange. I have been using both libs without any linker issues. Just did a double check. Just for reference I am using Adafruit GFX lib that Paul packaged with Teensyduino. ...
  3. @KurtE Just tested the changes I made to the...

    @KurtE

    Just tested the changes I made to the ST7789/7735 libraries with a 7789 with no CS pin and it worked fine once I used the right tft.init format :) If ok with you I will go ahead and put...
  4. Thanks Kris - just saw the post, very cool.

    Thanks Kris - just saw the post, very cool.
  5. Replies
    176
    Views
    9,861

    Well have some good news and some bad news. ...

    Well have some good news and some bad news.

    Using the following approach:


    Put Kapton tape above the sdio pads covering the holes, if any, and put another piece above the D+/D- pads.
    I...
  6. Replies
    4,286
    Views
    444,804

    @PaulStoffregen On a windows10x64 machine I...

    @PaulStoffregen

    On a windows10x64 machine I just tested SerialPlotter with IDE1.8.9 and TD1.47beta1 with the following sketch:

    float a, b, c;

    void setup() {
    // put your setup code here,...
  7. @PaulStoffregen Wow! Some article. Was just...

    @PaulStoffregen

    Wow! Some article. Was just skimming through it and its a really thorough overview and explanation of what you had to do in order to get it operational. You don't always get...
  8. Replies
    1
    Views
    24

    Yes. Pins 30(CRX3) and 31(CTX3).

    Yes. Pins 30(CRX3) and 31(CTX3).
  9. Replies
    4
    Views
    51

    You will need to filter the messages for the...

    You will need to filter the messages for the messages ids containing speed, rpm etc.
  10. Replies
    4
    Views
    51

    Would highly recommend using a transceiver. I...

    Would highly recommend using a transceiver. I typically use one of these:...
  11. @manitou Issued a pull request for the...

    @manitou

    Issued a pull request for the changes: https://github.com/PaulStoffregen/NXPMotionSense/pull/10
  12. Thanks for trying it out for me. It was working...

    Thanks for trying it out for me. It was working for me but just wanted to make sure. Going to clean up the library.

    Going to clean up the code and debating whether to make Altitude callable or...
  13. UPDATE: Switched to OneShot mode for altitude...

    UPDATE:
    Switched to OneShot mode for altitude and temperature as well. Changed Oversample to 32ms, while 6ms is nice needs some OS. Now the temp/press/alt is updating at the same rate as the...
  14. @manitou Spent the day playing around with...

    @manitou

    Spent the day playing around with just the MPL3115 and getting familiar with it as well as looking at the datasheet :) - I hate datasheets - they always talk in code :)

    Anyway as a...
  15. Replies
    29
    Views
    1,017

    @wwatson and @Paul I am using IDE 1.8.9 with...

    @wwatson and @Paul

    I am using IDE 1.8.9 with TD1.47-beta1 and timestamp is available with that combination either.
  16. Thanks for info. I know the Sparkfun lib has a...

    Thanks for info. I know the Sparkfun lib has a baro calibration function that I may add to the Paul's lib.
  17. @manitou Pretty much copied over Kris's MPL...

    @manitou

    Pretty much copied over Kris's MPL stuff into the nxpmotionsens library but getting very strange altitude readings. Not sure if its my mpl3115 or something in the library. The updated...
  18. Replies
    176
    Views
    9,861

    @defragster - just out of curiosity did you check...

    @defragster - just out of curiosity did you check the flexcable for shorts or the voltages that are coming out to the sd card to see if there is any problems on the cable.
  19. @manitou Yep. Looking at it a little more...

    @manitou

    Yep. Looking at it a little more closely the function I referenced returns the raw temperature so some conversion would have to be done.

    Well guess I will put it on my short list of...
  20. @manitou - @stiganielsen Just took a look at...

    @manitou - @stiganielsen

    Just took a look at the lib and a little funny. In the NXPMotionSense.h it has the pressure and altitude read call as private and I don't see any way you can get it out. ...
  21. Replies
    176
    Views
    9,861

    Ok finished putting male headers on the breakout...

    Ok finished putting male headers on the breakout and ran @KurtE's any pin. All pins ring out no problem except for the card since I don't have a cable to test with yet. Once I get that I will try...
  22. Replies
    2
    Views
    52

    @KrisKasprzak I think you are talking about...

    @KrisKasprzak

    I think you are talking about this one on you tube: https://www.youtube.com/watch?v=YejRbIKe6e0&t=4s

    Really nice had it running on the ILI9488 with the T4 as a test.

    Would...
  23. Replies
    176
    Views
    9,861

    @KurtE I have been using full size headers for...

    @KurtE

    I have been using full size headers for the edges of the T4 and a half height 2x5 on the smt connector on my breakout boards. So even when the smt connector is a little lower that the edge...
  24. Replies
    176
    Views
    9,861

    @KurtE Yeah - probably shorted something on...

    @KurtE

    Yeah - probably shorted something on the bottom when I did the smt header. I didn't cut the trace either. May have had a solder bridge on one of the bottom resistors. Tried to clean it...
  25. Replies
    176
    Views
    9,861

    Well guys. I tried to solder up another T4, no...

    Well guys. I tried to solder up another T4, no ribbon, and managed to kill another T4. Not sure if I am will to try a third. Think if I was going to do this again I would use full size headers. ...
  26. Replies
    13
    Views
    320

    @luni You are making me remember as well. ...

    @luni

    You are making me remember as well. Think I had the same problem when I was working on UAVCAN. I actually had to add this as well:

    namespace std {
    void __throw_bad_alloc()
    {
    ...
  27. Replies
    13
    Views
    320

    Interesting. This is very similar to the problem...

    Interesting. This is very similar to the problem that I was having a couple of years ago with having to define missing symbols for abort, kill, write and getpid. This was resolved by doing what was...
  28. Replies
    176
    Views
    9,861

    Think that is exactly why I may have fried my T4....

    Think that is exactly why I may have fried my T4. Hopefully yours will still work. Also going to take @defragster advice for the next round - no flux under the flex cable.
  29. Replies
    23
    Views
    543

    Thanks Bill - just got back on line - you did...

    Thanks Bill - just got back on line - you did what I was about to do :)
  30. Replies
    23
    Views
    543

    https://github.com/PaulStoffregen/SPI Just...

    https://github.com/PaulStoffregen/SPI

    Just copy and paste spi.h and spi.cpp to the library already installed
  31. Replies
    23
    Views
    543

    Rev 2 board looks like there are 10k pullups on...

    Rev 2 board looks like there are 10k pullups on pins 4, 9 and 10 already.

    To be honest never really never saw a recommended value. Have seen 10K and 100k.

    Another thing is that @KurtE pushed...
  32. Replies
    176
    Views
    9,861

    Here's the problem I see with removing the cover,...

    Here's the problem I see with removing the cover, there are a couple. If you use the flex cable socket and move it back far enough not to interfere with the sockets you will never get it back on. ...
  33. Replies
    176
    Views
    9,861

    This is with the SD socket, plus the Flex...

    This is with the SD socket, plus the Flex connector plus the low profile headers.

    To be honest not sure its suppose to be but it slide on and off fairly easily. To be honest it was the only way...
  34. Replies
    176
    Views
    9,861

    I actually just ordered these from digi-key the...

    I actually just ordered these from digi-key the other day:
    https://www.digikey.com/product-detail/en/keystone-electronics/1072/36-1072-ND/9921820 (have to look at the drawing) looks like the one...
  35. Replies
    23
    Views
    543

    Posting back here since I don't want to hijack...

    Posting back here since I don't want to hijack the other thread.

    Not sure how much I can help since I don't have the WIZ820io & Micro SD Card Adaptor that you are talking about. But in going...
  36. Hi Bill Glad your new cable worked out for...

    Hi Bill

    Glad your new cable worked out for you. Kind of been following this thread but couldn't add much to what's already been said. Looking forward to see what you do with the T4 :)
    ...
  37. Replies
    203
    Views
    2,154

    @KurtE So close to fixing the display. Maybe...

    @KurtE

    So close to fixing the display. Maybe with changing the cap you need to play with turning the backlight on manually with the backlight pin.
  38. Also did you try the example that is provided...

    Also did you try the example that is provided with the library for a sniffer?
  39. Replies
    176
    Views
    9,861

    Just noticed that if you are not careful with the...

    Just noticed that if you are not careful with the placement of the cable connector on the breakout the lock mechanism will hit the header pins. This means you have to move it farther back and closer...
  40. Sounds like at this point you have a baud rate...

    Sounds like at this point you have a baud rate mismatch. Whats the baud rate coming from the data system? They have to match. Are you using CAN 2.0 or CAN-FD on your data side? Assuming its CAN...
  41. @slythy Try that enabling pin 35 like I...

    @slythy

    Try that enabling pin 35 like I recommended before changing to CAN0.

    EDIT: its been awhile since I used IFCT but just checked:

    CAN0.setTX(ALT);
    CAN0.setRX(ALT); I think is all that...
  42. Instead of doing pinmod(2, OUTPUT);...

    Instead of doing pinmod(2, OUTPUT); digitalWrite(2, LOW) you will probably need to do a:

    pinMode(35, OUTPUT); // for the transceiver enable pin
    digitalWrite(35, LOW);

    Looks like 2 problems...
  43. Replies
    203
    Views
    2,154

    @nerofun - merge complete

    @nerofun - merge complete
  44. Not sure what you have it attached to, but make...

    Not sure what you have it attached to, but make sure on the other end you have low to low, high to high to high, gnd to gnd. Also make sure your baud rates match.
  45. Replies
    176
    Views
    9,861

    Well I screwed up my T4 so full testing will have...

    Well I screwed up my T4 so full testing will have to wait. I wound up lifting the lands on the 2x5 smd pins while trying to fix it. Forgot to test fixt it first :(. Started it at 5 in morning...
  46. Replies
    176
    Views
    9,861

    @DerekR (oops made typo just corrected) I agree...

    @DerekR (oops made typo just corrected)
    I agree with your write-up completely. That is pretty much what I found as I was assembly the board with the SMD components. Flex cable connector was not...
  47. Replies
    176
    Views
    9,861

    Ok finished soldering what i could on the bottom...

    Ok finished soldering what i could on the bottom side of the board. SMD components were easier than i thought they would be to solder. Only thing i am having major problems with is the battery...
  48. Replies
    203
    Views
    2,154

    @KurtE - @neurofun Just merged the both pull...

    @KurtE - @neurofun

    Just merged the both pull requests into the t4 branch.
  49. Thread: SPI on Teensy 4

    by mjs513
    Replies
    12
    Views
    226

    Working on my cell here but a good reference I...

    Working on my cell here but a good reference I found helpful: https://www.pjrc.com/teensy/td_libs_SPI.html
  50. Thread: SPI on Teensy 4

    by mjs513
    Replies
    12
    Views
    226

    Just out of curiosity have you tried mode0...

    Just out of curiosity have you tried mode0 instead of mode1. Also recently when I had to add a delayNanosecond (200) after going low and before going high. Could try that as well.

    Been testing...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4