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 40 minute(s) ago.

  1. @KurtE - ok - did the "sledgehammer" on the...

    @KurtE - ok - did the "sledgehammer" on the 7735_t3 update PR and now it is looking good with no conflicts.
  2. Replies
    91
    Views
    4,575

    Poking around Google I found that Cypress makes...

    Poking around Google I found that Cypress makes these type chips: https://www.cypress.com/documentation/datasheets/s25fl064l-64-mbit-8-mbyte-30-v-fl-l-spi-flash-memory. They look really interesting.
  3. Yep - think the sledgehammer will be the way to...

    Yep - think the sledgehammer will be the way to go for me - to be honest think its cleaner (or easier for me to understand whats going on. That will be the project for when I get back from my...
  4. @KurtE That's strange - wonder why its showing...

    @KurtE
    That's strange - wonder why its showing them as additions when I do a diff: https://github.com/PaulStoffregen/ST7735_t3/pull/4/files? Probably me then
  5. Besides using @KurtE's WS2812Serial modified...

    Besides using @KurtE's WS2812Serial modified library did you remember to update your imxrt.h file with the corrections to the DMAMU_SOURCE

    I just ordered a couple of strips from Amazon for...
  6. @JupiterMoll - @KurtE Looks like available pins...

    @JupiterMoll - @KurtE
    Looks like available pins are any SerialX Tx pins (see WS2812Serial.cpp)

    // Teensy 4.0: 1, 8, 14, 16, 20, 24

    EDIT: From what I saw the WS2812 leds are 5v so to use...
  7. @KurtE Was looking at the diffs between my...

    @KurtE

    Was looking at the diffs between my version and Paul's version since my ST7735 lib seems to be 7 commits behind the master (figure they should be close to be even). I did notice a couple...
  8. @charlescarver If you are using the...

    @charlescarver

    If you are using the PulsePosition library on the T4 you may want to take a look at the PulsePositionIMXRT.cpp file. There are several timing parameters that are hardcoded in the...
  9. Replies
    97
    Views
    22,885

    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.
  10. Replies
    97
    Views
    22,885

    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...
  11. 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
  12. Replies
    9
    Views
    125

    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...
  13. Replies
    97
    Views
    22,885

    @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...
  14. Replies
    294
    Views
    17,189

    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...
  15. 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...
  16. Replies
    97
    Views
    22,885

    @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...
  17. Replies
    97
    Views
    22,885

    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__)...
  18. Replies
    2
    Views
    55

    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....
  19. Replies
    97
    Views
    22,885

    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...
  20. Replies
    97
    Views
    22,885

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

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

    @KurtE

    I'll take a look and let you know.

    Mike
  23. Replies
    6
    Views
    112

    @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.
    ...
  24. Replies
    6
    Views
    112

    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...
  25. 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.
  26. Replies
    20
    Views
    359

    @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...
  27. Replies
    20
    Views
    359

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

    @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...
  29. Replies
    20
    Views
    359

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

    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/
  31. Replies
    20
    Views
    359

    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;
  32. @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...
  33. 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.
  34. Replies
    20
    Views
    359

    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.
  35. 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.
  36. 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...
  37. @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...
  38. @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...
  39. Replies
    7
    Views
    255

    @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?
  40. Replies
    20
    Views
    359

    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...
  41. 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...
  42. @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...
  43. Thread: TeensyCAN

    by mjs513
    Replies
    3
    Views
    232

    Nice work Tony.

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

    ...
  46. @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. :)
  47. Replies
    20
    Views
    359

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