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.

  1. Replies
    97
    Views
    22,841

    Sorry - same here. Knew the selected default pin...

    Sorry - same here. Knew the selected default pin was open for discussion. But I think I agree with you. Think pin 5 would be better selection.
  2. Replies
    97
    Views
    22,841

    Yep - just finished an update. In addition to...

    Yep - just finished an update. In addition to changing the logical test for really a DAC pin I also set it up to default to pin A0 for the Teensy 4 if no begin(pwmPin) is specified. Sorry it took...
  3. If you look at the second post in that thread: ...

    If you look at the second post in that thread:

    The only other thing is that it was only applicable to the T3.1 and probably will still work for the T3.2. No similar function exists for the T4
  4. Replies
    8
    Views
    72

    Will double check and update. Just as a note I...

    Will double check and update.

    Just as a note I have the same display and tested it with both libraries. It both cases did not have a problem. In addition to checking that you have installed the...
  5. Replies
    97
    Views
    22,841

    @defragster and others Just did a PR to update...

    @defragster and others
    Just did a PR to update Talkie to single begin: https://github.com/PaulStoffregen/Talkie/pull/6

    1. If voice.begin() will default to DAC if available and you can use the...
  6. Replies
    294
    Views
    16,930

    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...
  7. 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...
  8. Replies
    97
    Views
    22,841

    @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...
  9. Replies
    97
    Views
    22,841

    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__)...
  10. Replies
    2
    Views
    54

    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....
  11. Replies
    97
    Views
    22,841

    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...
  12. Replies
    97
    Views
    22,841

    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...
  13. Ok you beat me to it - just did the merge!

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

    @KurtE

    I'll take a look and let you know.

    Mike
  15. Replies
    6
    Views
    107

    @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.
    ...
  16. Replies
    6
    Views
    107

    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...
  17. 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.
  18. Replies
    20
    Views
    352

    @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...
  19. Replies
    20
    Views
    352

    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...
  20. Replies
    20
    Views
    352

    @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...
  21. Replies
    20
    Views
    352

    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...
  22. Replies
    20
    Views
    352

    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/
  23. Replies
    20
    Views
    352

    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;
  24. @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...
  25. 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.
  26. Replies
    20
    Views
    352

    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.
  27. 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.
  28. 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...
  29. @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...
  30. @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...
  31. Replies
    7
    Views
    250

    @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?
  32. Replies
    20
    Views
    352

    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...
  33. 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...
  34. @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...
  35. Thread: TeensyCAN

    by mjs513
    Replies
    3
    Views
    209

    Nice work Tony.

    Nice work Tony.
  36. 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...
  37. @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");
    …...

    ...
  38. @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. :)
  39. Replies
    20
    Views
    352

    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...
  40. 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...
  41. 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...
  42. 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...
  43. 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:...
  44. @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...
  45. That should be simple enough for nxp :)

    That should be simple enough for nxp :)
  46. @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:...
  47. 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...
  48. @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...
  49. Replies
    100
    Views
    3,100

    @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...
  50. Replies
    100
    Views
    3,100

    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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4