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.04 seconds; generated 26 minute(s) ago.

  1. Replies
    293
    Views
    16,789

    I agree with @defragster. That SD socket is a...

    I agree with @defragster. That SD socket is a lot better for soldering and testing. Having to remove the cover on the old one and put it back on was a challenge.

    The cable is a lot better as...
  2. Been playing with servos for a couple of projects...

    Been playing with servos for a couple of projects and I know that this might be a sin but it would be nice if a few of the PWM pins could be 5v tolerant - know they all won't be but a few would be...
  3. Replies
    91
    Views
    22,791

    @defragster - just woke up and the more I think...

    @defragster - just woke up and the more I think about I think we are saying the same thing. Actually sleeping on it can do it with one begin statement. Can replace this

    void...
  4. Replies
    91
    Views
    22,791

    Actually that piece of code was changed to: ...

    Actually that piece of code was changed to:

    if(_hasPShield) {
    #if defined(__MKL26Z64__)
    analogWrite(A12, nextPwm);
    #elif defined(__MK20DX128__) || defined(__MK20DX256__)...
  5. Replies
    2
    Views
    53

    The Teensy encoder library does work with the T4...

    The Teensy encoder library does work with the T4 - had tested that a couple of times with the T4 in beta testing so unless something drastic changed....
  6. Replies
    91
    Views
    22,791

    Actually, what I did back in January 2018 (when I...

    Actually, what I did back in January 2018 (when I updated for T4, a long time ago now), I set it up so that if you used voice.beginPWM(XX), XX would be any available PWM pin, you would need some sort...
  7. Replies
    91
    Views
    22,791

    There are two options in the Talkie Teensy...

    There are two options in the Talkie Teensy version of the Talkie library. One for using any PWM pin or for use with Propshield. For the T3.2 the pin associated with the propshield is in actuality...
  8. Ok you beat me to it - just did the merge!

    Ok you beat me to it - just did the merge!
  9. @KurtE I'll take a look and let you know. ...

    @KurtE

    I'll take a look and let you know.

    Mike
  10. Replies
    6
    Views
    105

    @KurtE Your list is actually better than mine -...

    @KurtE
    Your list is actually better than mine - I missed the second ADC assignment when I went through your list. I must have an outdated spreadsheet -the one I have doesn't have the analog pins.
    ...
  11. Replies
    6
    Views
    105

    I extracted this from pg3457-3458 of the...

    I extracted this from pg3457-3458 of the IMXRT1060 Ref manual and used the pinouts from page 1 of the T4 Beta Thread: Hope it helps:

    14/A0 AD_B1_02 ADC1_IN7 Analog channel 1 input 7...
  12. Thanks for the compliment but @KurtE did the work...

    Thanks for the compliment but @KurtE did the work on the libraries to be able to use multiple SPI busses.
  13. Replies
    20
    Views
    351

    @ckmiauto What I put together was a kludge to...

    @ckmiauto
    What I put together was a kludge to see where the problems could be. They changes resolve the SYMPTOMS but not the underlining issue. The issue I think lies in the interface itself...
  14. Replies
    20
    Views
    351

    Morning All Think last post on this until @KurtE...

    Morning All
    Think last post on this until @KurtE gets one and tries it out. I did one more update tightening the delayMicroseconds in the sendpacket and receivepacket funtions and raw data sketch...
  15. Replies
    20
    Views
    351

    @KurtE and others Attached is the updated .CPP...

    @KurtE and others
    Attached is the updated .CPP file for the library. I just tested some of the other example sketches and the only one I am able to get to work is the rawdata one as shown in the...
  16. Replies
    20
    Views
    351

    That Qwiic is beginning to grow on me. I picked...

    That Qwiic is beginning to grow on me. I picked up one of the qwiic to dupont connector and works nice. As for the BNO080. Think I got it working. Not sure if its a problem with I2c or the how I2c...
  17. Replies
    20
    Views
    351

    One more note there is a mbed library as well...

    One more note there is a mbed library as well that would like to go over as well: https://os.mbed.com/users/MultipleMonomials/code/BNO080/
  18. Replies
    20
    Views
    351

    I made a slight modification to your sketch to...

    I made a slight modification to your sketch to see if it would get through:



    #include <Wire.h>

    TwoWire *_i2cPort;

    uint8_t _deviceAddress;
  19. @KurtE Cool that you got FlexIO Serial working. ...

    @KurtE
    Cool that you got FlexIO Serial working. I read that section a couple of times and still gets me confused. :) Nothing new :)

    Yeah - FlexCAN seems to need LPUART enabled to work for some...
  20. Try reducing the SPI clock in the ILI9341_t3n...

    Try reducing the SPI clock in the ILI9341_t3n lib, think its configure for #define ILI9341_SPICLOCK 600000000u, try reducing it to 20Mhz as a start. Forgot what I had it set at.
  21. Replies
    20
    Views
    351

    Yep you are right - got confused looking at the...

    Yep you are right - got confused looking at the code on my phone.

    I did just order one from Amazon but wont have it until Sunday now.
  22. I have a hacked up version that I did to get this...

    I have a hacked up version that I did to get this working: https://www.youtube.com/watch?v=Fp0MW_M013o It does use @KurtE's ILI9341_t3n library.
  23. Just tested your non-mailbox sketch going from...

    Just tested your non-mailbox sketch going from CAN3 to CAN3 in legacy mode and seems to be sending the data without an issue. This is what I am getting on the receiving T4:

    MB 99 LEN: 8 EXT: 0...
  24. @KurtE I loaded up the interrupt SDK example on...

    @KurtE
    I loaded up the interrupt SDK example on the 1062EVKB and saw a couple of things. First, the way the sdk is set up is it transmits on one pin and recieives on another. So I hooked up the...
  25. @KurtE Confused is the normal state for me :) ...

    @KurtE
    Confused is the normal state for me :) Guess I will have to go back to the manual and bounce the two off each other. Either that or I can run the SDK interrupt example on the 1062EVKB and...
  26. Replies
    7
    Views
    248

    @RichardG - have you thought about porting your...

    @RichardG - have you thought about porting your changes over to the existing Wire library so there are not 2 I2C libraries?
  27. Replies
    20
    Views
    351

    Looking at the i2c commands in the getData and...

    Looking at the i2c commands in the getData and sendPacket functions of the library you might have to modify the code to use beginTransaction and endTransaction commands instead of...
  28. I converted that piece from the SDK code frag I...

    I converted that piece from the SDK code frag I posted:
    kFLEXIO_UART_TxDataRegEmptyFlag & status. In the SDK its was specified as
    kFLEXIO_UART_TxDataRegEmptyFlag = 0x1U, /*!< Transmit buffer...
  29. @KurtE Started playing again this morning and I...

    @KurtE
    Started playing again this morning and I did add a couple more debug prints to your callback function. In the SDK it has this as a test:

    /* Send data register empty and the interrupt...
  30. Thread: TeensyCAN

    by mjs513
    Replies
    3
    Views
    207

    Nice work Tony.

    Nice work Tony.
  31. Yeah, that's kind of what I wanted to check. It...

    Yeah, that's kind of what I wanted to check. It is strange. Its almost like you have to flush the last character or send a 0xff or 0x00 just to complete the sequence - think I saw that someplace but...
  32. @KurtE Know this is going to sound strange but...

    @KurtE
    Know this is going to sound strange but could you put you LA on it again using these prints:

    SerialFlex.print ("Flex112345");
    SerialFlex2.print("Flex2 More");
    …...

    ...
  33. @KurtE Have to go do a couple of errands -...

    @KurtE
    Have to go do a couple of errands - didn't get a chance to test if the same thing happens on other pins as well. I assume you did though knowing you. :)
  34. Replies
    20
    Views
    351

    Know this is going to sound obvious - but did you...

    Know this is going to sound obvious - but did you to change wire.setClock to 100000? Just as a test. Also are you using the latest Teensyduino 1.48 - Paul did put some fixes in for the issue with...
  35. Morning @KurtE Been playing the lib most of the...

    Morning @KurtE
    Been playing the lib most of the morning. Reading = checking - trying and just can't see why it continues to send. Unless when you test for head = tail in the write you have to zero...
  36. Evening @KurtE Thanks - just updated the lib. ...

    Evening @KurtE
    Thanks - just updated the lib. Started looking though the manual and the flex-uart example from the SDK for starts - then tomorrow will play more.

    I did put a scope on pin 3 of...
  37. Not for me - usually helps more with the...

    Not for me - usually helps more with the debugging.

    Yeah - DELEETED my error -------------- Like I said - have to read or at least skim FlexIO chapter of the manual.

    Thanks much appreciated...
  38. Here is part 2. If I try T=1 and S=0 on pin 5...

    Here is part 2. If I try T=1 and S=0 on pin 5 and sending HI

    pin 3 maps to: 20000b30, port: 401ac000(FLEXIO1) pin 5
    timer index: 0 shifter index: 1 mask: 2
    Before configure flexio
    CCM_CDCDR:...
  39. @KurtE Have a question for you on how FlexIO...

    @KurtE
    Have a question for you on how FlexIO works. Using T=0 and S=1. I will see what I guess you would expect jumping pin 3 to pin 0:

    pin 3 maps to: 20000b30, port: 401ac000(FLEXIO1) pin 5...
  40. That should be simple enough for nxp :)

    That should be simple enough for nxp :)
  41. @KurtE Now that I am up and running again and...

    @KurtE
    Now that I am up and running again and looking at the output I am getting confused on the pin mapping. If I am reading this right you are using pins 6, 18 and 19?
    On the output I am seeing:...
  42. Just starting to play with this now - have to go...

    Just starting to play with this now - have to go through it somewhat. The last character is getting me. This is just me walking through and then for debugging - it Tx's the right characters until...
  43. @KurtE - this was the post I was referencing...

    @KurtE - this was the post I was referencing about FlexIO3: https://community.nxp.com/thread/514359

    EDIT: I just downloaded your latest repository and gave you sketch a try along with the change...
  44. Replies
    100
    Views
    3,078

    @KurtE - @manitou @KurtE - I went ahead and...

    @KurtE - @manitou

    @KurtE - I went ahead and updated the Readme with the added info to match what you have in your readme which is a good idea.

    @manitou - very cool that you got down counting...
  45. Replies
    100
    Views
    3,078

    UPDATE: Incorporated the changes into the...

    UPDATE:

    Incorporated the changes into the pulseposition main lib using the approach that @KurtE suggested. Gave it a quick spin and test using the loopback example with no problem. I issued a PR...
  46. Replies
    100
    Views
    3,078

    @KurtE - @manitou …. Just finished testing. ...

    @KurtE - @manitou ….

    Just finished testing. Had a slight bug for implementing framePin but all is good now. Want to change digitalWrites to digitalWriteFast for final version.

    Also I just...
  47. Replies
    100
    Views
    3,078

    @KurtE Will go the route u suggest, better that...

    @KurtE
    Will go the route u suggest, better that way.

    Have a couple more tests to run
    (1) frame pin and
    (2).rising and falling for polarity

    Know polarity works for tx cause I had a scope on...
  48. Replies
    100
    Views
    3,078

    Shoot - forgot about that we everything else...

    Shoot - forgot about that we everything else going on - working it now.

    EDIT: Done:

    18052

    Still have to test but off for an errand now will do when I get back.
  49. Replies
    100
    Views
    3,078

    Well that's 2 major things that are errors within...

    Well that's 2 major things that are errors within the 1060! This and flexcan-FD FIFO.

    At least we know it wasn't something we all were doing wrong.
  50. Replies
    100
    Views
    3,078

    @KurtE Wow - I just back on the computer and...

    @KurtE

    Wow - I just back on the computer and its all done :)

    Just did a couple of tests. (1) using 2 T4's all pins are receiving and transmitting (only tested 3 really)… The receive pins are...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4