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

Search:

Type: Posts; User: KurtE

Page 1 of 10 1 2 3 4

Search: Search took 0.05 seconds.

  1. I got it to build, not sure if it will work. ...

    I got it to build, not sure if it will work.

    But if you look where your FastLED library downloaded and look for the file:

    ..FastLED\platforms\arm\mxrt1062\fastled_arm_mxrt1062.h

    And try...
  2. Replies
    3
    Views
    37

    Again it has been awhile since I worked on this...

    Again it has been awhile since I worked on this library, so I am pretty rusty.

    I believe that the buffer you pas in to sendControlPacket is probably during the transfer, So putting it on the...
  3. Nope, sorry it looks like FastLED has an issue......

    Nope, sorry it looks like FastLED has an issue...

    Looks like someone needs to port it over.

    Not sure I will have time today to look much...

    However it looks like someone has maybe...
  4. Replies
    3
    Views
    37

    Maybe it would help to see more complete code. ...

    Maybe it would help to see more complete code. like where is buf defined? Is it in a function and as such on the stack?
    Does it ever change or is that the actual message? Have you tried making...
  5. @wpunkts - not sure what you are asking? I am...

    @wpunkts - not sure what you are asking? I am confused by your question as this thread is about hardware managed Transmitter pin, and you are mentioning RTS pin?

    The Transmitter enable pin, is...
  6. Thanks @MichaelMeissner. I moved the setup to...

    Thanks @MichaelMeissner.

    I moved the setup to the FRDM (with USB) board, which is plugged into breadboard and tested the other pins, and they appear to work as well.
    This is including 39 which...
  7. @ MichaelMeissner not sure what happened. ...

    @ MichaelMeissner not sure what happened.

    @all.

    I have better case now for level shifter using propshield... Working better. I have updated the two examples plus readme.md file, fixed Pin...
  8. @mjs513 - Yep - I run into that at times as well....

    @mjs513 - Yep - I run into that at times as well. Sometimes it is because I am not 100% synced up with Paul...

    That is when I use my sledgehammer approach to sync... For example in my home...
  9. @mjs513 - Good morning, I am not sure? If I...

    @mjs513 - Good morning,

    I am not sure? If I look at my master branch, it shows those lines in it.

    Also I looked up at Paul's version up on github:...
  10. Did you update the cores\teensy4\imxrt.h file? ...

    Did you update the cores\teensy4\imxrt.h file? If not The DMAMUX_SOURCE values are wrong and nothing will happen...

    A quick test and hack is if you edit the file WS2812Serial.cpp for example for...
  11. Replies
    11
    Views
    212

    My guess is you might have run into the DMAMEM...

    My guess is you might have run into the DMAMEM twilight zone :D

    That is in the second 512KB of memory is a different memory than the lower 512KB of memory and it has a write back memory...
  12. It is not done yet. There have been several...

    It is not done yet.

    There have been several threads about the lack of different USB options. @PaulStoffregen is planning to work on it soon.

    One of the most resent messages on this:...
  13. Replies
    5
    Views
    648

    Note, If you go up to the PJRC website and try to...

    Note, If you go up to the PJRC website and try to add something to a shopping cart you will see a message:
  14. Replies
    11
    Views
    212

    Did you grab my updated imxrt.h file? If not...

    Did you grab my updated imxrt.h file?

    If not a quick test to see if anything changes:
    Currently you are using: DMAMUX_SOURCE_LPUART4_RX
    Try changing it (temporarily) to use...
  15. Replies
    11
    Views
    212

    Update, Today I played around some with being...

    Update,

    Today I played around some with being able to DMA out a UART...

    I ran into an issue while doing this that found the DMAMUX sources are wrong for T4 UARTS. I updated the...
  16. It took a little longer than an hour, with lots...

    It took a little longer than an hour, with lots of hair pulling. Actually not much (as I don't have much left ;) )

    I have a version up at: https://github.com/KurtE/WS2812Serial/tree/T4

    However...
  17. The datasheet which you can download from:...

    The datasheet which you can download from: https://www.pjrc.com/teensy/datasheets.html


    The question might be, is the 20ns a hard rule for all of the timers, or potentially just what the timers...
  18. This is sort of a two part answer. The simple...

    This is sort of a two part answer.

    The simple answer is, as far as I know, this library has not been adapted to allow it to work on a T4.
    The first place I look in questions like this is in...
  19. Replies
    11
    Views
    212

    HuHu, I am sort of lost with your setup. Looks...

    HuHu,

    I am sort of lost with your setup. Looks like you are setting up LPUART1_ And your code looks like you are working Serial2?
    Where on T4 Serial 2 uses LPUART_4... LPUART_1 is used on...
  20. I could be wrong, but it looks like this was his...

    I could be wrong, but it looks like this was his (JBeale) own functions, Where it looks like he hacked up the main library to add it. Not sure if it ever was officially added as an API...
    ...
  21. Replies
    21
    Views
    1,087

    And ? Not sure if this is question or answer? ...

    And ? Not sure if this is question or answer?

    And yes not all displays require a DC (Data/Command) pin. Some distinguish commands from non-commands by other means.
  22. Replies
    9
    Views
    122

    Is this the Adafruit one?...

    Is this the Adafruit one? https://www.adafruit.com/product/4311

    Which version of Teensyduino do you have installed? If the most recent, than I believe the support that @mjs513 and I did to...
  23. Don't see it any any of the Teensy sources? That...

    Don't see it any any of the Teensy sources? That is I did a search in Sublime text at the directory where Teensyduino is installed and only see any hits in the library openGLCD
  24. Thread: Teensy 3.6

    by KurtE
    Replies
    5
    Views
    135

    As @defragster mentioned, +5v and T3.6 don't get...

    As @defragster mentioned, +5v and T3.6 don't get along very well...

    Hard to say why your +5v signal gets all of the pulses, but the 3.3v signal does not. You might need to see your actual...
  25. My $.02 Allowing the board to be Cut or...

    My $.02

    Allowing the board to be Cut or snapped:

    Having it, such that it can be cut or the like could create lots of other issues. Like, can you route this board in such a way that only those...
  26. Sorry, I will throw out a few things here, but...

    Sorry, I will throw out a few things here, but not sure anything will help here or not.

    First here is a sketch I was playing around with earlier. If I remember correctly I am not sure if it...
  27. Replies
    294
    Views
    17,100

    Edit - Don't have Annie (50 pound lap dog)...

    Edit - Don't have Annie (50 pound lap dog) sitting in my lap on my arms :D

    @loglow - Thank you! Should make it a lot less error prone. Also having the option to have these parts pre-soldered...
  28. Replies
    294
    Views
    17,100

    Good question: I see arguments going both ways. ...

    Good question: I see arguments going both ways.
    That is most of the documents talk about GPIO1-5, the main part the you actually find more on GPIO1->GPIO6 is in the definition of the register:...
  29. Replies
    294
    Views
    17,100

    Yep it is a nice set of cards! Just an FYI,...

    Yep it is a nice set of cards!

    Just an FYI, for other forms of the data:
    There is a table of all of the pins in the Beta thread:...
  30. Replies
    3
    Views
    45

    Again without seeing code or the like, it sounds...

    Again without seeing code or the like, it sounds like a memory corruption issue.

    Often times this can be caused by having an array or the like before what it is you are outputting that is over...
  31. Replies
    11
    Views
    212

    Sorry I am not Paul... Hints? Not sure, I have...

    Sorry I am not Paul...

    Hints? Not sure, I have not done DMA to UARTS before, have done it for SPI, probably similar...

    One hint is to look at SPI library and you can see version that works for...
  32. I could be wrong, as I have not used one of these...

    I could be wrong, as I have not used one of these in a long while, but if you need 16 bits, you can simply use 2 of the 74hc595 to each other and connect the input of one of them to the output of the...
  33. Replies
    11
    Views
    119

    As for setup of the TPS... There are several...

    As for setup of the TPS... There are several postings on the monster thread (T4 first beta)
    There is some information from @mjs513 that was updated by @Paul in the postings starting about:...
  34. Replies
    7
    Views
    84

    Looks like you are having some fun. I enjoy...

    Looks like you are having some fun. I enjoy hacking up some of my own boards, which are only for my own Hobby usage...

    Again others will probably have different takes on how to design boards,...
  35. Replies
    7
    Views
    120

    It is unclear from me, what your issue is or may...

    It is unclear from me, what your issue is or may be. As at least to me there are a lot of unknowns.
    So sorry in advance for this throwing darts answer, but maybe one of the darts will help you...
  36. Replies
    5
    Views
    81

    Sorry it may help me and others to help you, if...

    Sorry it may help me and others to help you, if you showed a complete example, for example what are new_Th and newTS_St defined as?
  37. Replies
    294
    Views
    17,100

    @loglow, - Maybe it was just me, but with the...

    @loglow, - Maybe it was just me, but with the first version, I found using my 10 left thumbs, that it was hard to solder the front connector as well as the SD Card slot. Which one should you try to...
  38. Replies
    294
    Views
    17,100

    Not sure yet, they were sent out for fabrication...

    Not sure yet, they were sent out for fabrication on Monday, so not sure yet when they will be back. I do have one that I got direct from FRDM, which I will use to test the first of the new boards,...
  39. Sounds good - Yep it looks like some of the...

    Sounds good - Yep it looks like some of the tables I have were wrong. I updated my excel.

    Updated code to reflect and added to my open Pull Request that added T4 support for AVR register...
  40. Replies
    294
    Views
    17,100

    @loglow - If it would help, I would be happy to...

    @loglow - If it would help, I would be happy to try another one. It may take me a few days plus to get to soldering it. Right now waiting for parts to try assembling my breakout using the FRDM (not...
  41. @Paul and others. I just did a PR with a pass...

    @Paul and others.

    I just did a PR with a pass of the code that appears to work at least in limited tested for PORTC/B/D AVR register emulations.
    If anyone is interested Code is up at:...
  42. Again it is sort of interesting. There is some...

    Again it is sort of interesting.

    There is some on another thread this morning on someone who was able to read in 8 bits on very specific pins, but had to do some shifting and masking........
  43. Sometimes code fragments like the above it is...

    Sometimes code fragments like the above it is hard to know what the code will compile to without having any idea of some of your definitions.
    That is if you look at the code fragment:...
  44. Replies
    2
    Views
    45

    Good question: Might help to know which Teensy? ...

    Good question: Might help to know which Teensy?

    Then if I could detect when this state was happening, would probably write some code to dump out the state of some of the registers associated...
  45. There is no such thing as PORTC and PORTD on...

    There is no such thing as PORTC and PORTD on these boards (nor Teensy 3.x), they are more specifically used for emulating an 8 bit AVR processor such as used on an Arduno Uno or Mega.

    On the...
  46. Thread: A microSD puzzle

    by KurtE
    Replies
    3
    Views
    121

    Again really hard to know how you have the...

    Again really hard to know how you have the hardware setup. That is you have those 4 CS pins, Do you have them with external Pull Up resistors?

    If not you need to either do that and/or you may...
  47. Hopefully it will be done in a few weeks. My...

    Hopefully it will be done in a few weeks. My strong guess is that it will be compatible with the drivers/libraries for the current Teensy 3.x boards.

    So for example for keyboard you can look at...
  48. Replies
    13
    Views
    348

    What is the difference between the two of them?...

    What is the difference between the two of them? Hard to say without looking through their reference documents. Could simply be more or less the same display but configured slightly different.
    ...
  49. Replies
    2
    Views
    55

    It might help to have a lot more details, like...

    It might help to have a lot more details, like what library are we talking about? Or sketch?
    For example I did a quick search of all of the files installed by Teensyduino for ENC_PORT and did not...
  50. Also maybe not exactly what is asked here. ...

    Also maybe not exactly what is asked here.

    There are settings for the different IO pins on how fast that pin should be run, how strong of a signal...
    Example look at the document at:...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4