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

  1. Replies
    2
    Views
    26

    Note: my quick look through the document, I only...

    Note: my quick look through the document, I only see it mention using Serial communications, so not sure if it supports Wire?

    I know that the Sparkfun Lidar Lite:...
  2. Replies
    2
    Views
    36

    There are lots of displays out there, But again...

    There are lots of displays out there, But again it may depend on what you want and how much code you wish to change.
    For example there is a whole thread (probably more than one) on the RA8875...
  3. Replies
    1
    Views
    37

    The issue with supporting different USB types on...

    The issue with supporting different USB types on the T4 is not because it can run at higher speeds like at 480mbps, it is because it is a complete different hardware and software setup for USB...
  4. Hopefully others who use MIDI and the like will...

    Hopefully others who use MIDI and the like will give you a more detailed answer.

    But I will try to give at least $.02 worth of information.

    USB on Teensy 4 - LUFA? First off, hopefully a...
  5. Just an FYI - I just pushed up an update, that I...

    Just an FYI - I just pushed up an update, that I believe makes flush work reasonably well.

    The simple version that simply waits for us to output the last byte in the queue into the shift buffer...
  6. Replies
    20
    Views
    255

    Mine won't get here until Wednesday ;) Needed...

    Mine won't get here until Wednesday ;)
    Needed to pick up a few more Qwiic things to try out once I build a board with connectors
  7. I know what you mean, some of these descriptions...

    I know what you mean, some of these descriptions are not very obvious. And their examples are like here is it working on Pin X timer0 shifter 0... No where to they explain how each of the fields in...
  8. Thanks @tonton81 - CANFD - needs LUPUART... Looks...

    Thanks @tonton81 - CANFD - needs LUPUART... Looks like they are pretty similar in the clock tree...

    As for this one, I isolated down which set of Serial.printf(...) statements when disabled...
  9. :D - looks like the big test may be working...

    :D - looks like the big test may be working now...
    18156

    EDIT: Although turning off debug appears to cause things to not work right??? So still debugging
  10. @mjs513 (and others) - I may have fixed my...

    @mjs513 (and others) - I may have fixed my multiple FlexSerial transmit issue...

    I believe: The TIMCTL register did not have the right TRGSEL value (I think).
    I think it needs to 4* Shifter...
  11. Replies
    3
    Views
    27

    Probably saw the main website page:...

    Probably saw the main website page: https://www.pjrc.com/teensy/3volt.html
  12. Replies
    67
    Views
    3,239

    Just an FYI - I have been playing around with new...

    Just an FYI - I have been playing around with new design board based off of the FRDM (non-usb), that I am in the process of ordering a group from PCBWay... Right now waiting for review...

    Sort of...
  13. You might simply try the st7735_t3 library which...

    You might simply try the st7735_t3 library which now includes the st7789. We also have frame buffer support plus option of DMA updates.
  14. Hi @mjs513 - Still does not make sense to me......

    Hi @mjs513 - Still does not make sense to me... Maybe I am just being dense.

    For example:
    If you look at the SHIFTSEIN register P3049, the bits are defined for Transmit:

    bits 3-0
    SSIE...
  15. Hi @mjs513.... Not sure about the line:...

    Hi @mjs513....

    Not sure about the line: Serial.printf(" (index %d, SDK flag %d)",_tx_shifter, (0x1 & p->SHIFTSTAT) && (p->SHIFTSIEN & (1U << _tx_shifter)));

    In particular the part in RED. ...
  16. Power issue? I believe the LC has a smaller...

    Power issue?

    I believe the LC has a smaller 3.3v voltage regulator, which says you have about 100mA max whereas the 3.2 250mA... So depending on your setup maybe power issue?
  17. Yep - But all of this is strange.... Here is...

    Yep - But all of this is strange....

    Here is debug output:

    pin 3 maps to: 20000bc0, port: 401ac000(FLEXIO1) pin 5
    timer index: 0 shifter index: 0 mask: 1
    Before configure flexio
    CCM_CDCDR:...
  18. Replies
    2
    Views
    83

    For what it is worth, I do not believe that T4...

    For what it is worth, I do not believe that T4 boards support 8 bit or 16 bit outputs to the GPIO registers.

    @Paul mentioned this in the thread:...
  19. @mjs513 - I hacked up another sketch that has to...

    @mjs513 - I hacked up another sketch that has to FlexSerial objects and just does output. Did not bother to echo (also posted this one to NXP).

    ...
  20. Thanks @Paul, Another interesting sub-question...

    Thanks @Paul,

    Another interesting sub-question is in practice what is the performance differences and trade offs for the different caching options.

    Example we currently use: MEM_CACHE_WBWA ...
  21. @mjs513 - I also assumed it was a bug like you...

    @mjs513 - I also assumed it was a bug like you mentioned, except the only place I stuff something into the shift buffer is in that function which does Serial prints, which are not happening...

    As...
  22. Good Morning @mjs513 - I have now posted a...

    Good Morning @mjs513 -

    I have now posted a semi verbose question up on the NXP forum... Assuming it gets approved by the Moderator...
    Will be interesting to see if I get any suggestions...
    ...
  23. As @WMXZ mentioned - When I have run into issues...

    As @WMXZ mentioned - When I have run into issues like this in the past, I would go into the DeviceManager and turn on the option View->Show Hidden Devices

    It used to be you had to set something...
  24. @Paul - If you are looking to fill in FlexIO...

    @Paul - If you are looking to fill in FlexIO pins, my personal preference is to fill in more of FlexIO1 and FlexIO2 over FlexIO3 as FlexIO3 does not have any DMA capabilities.
  25. Hi @mjs513 - Updated Github with the debug output...

    Hi @mjs513 - Updated Github with the debug output changes.
    Decimal FlexIO pin number in early summary info.

    Also outputs now the Teensy Pin number instead of FlexIO pin number in callback and I...
  26. Hi @mjs513 - I hacked up my sketch to not...

    Hi @mjs513 - I hacked up my sketch to not endlessly output the last character screwing up the Terminal Monitor:

    //============================================================================
    //...
  27. Ooops - looks like I did hit the post while I was...

    Ooops - looks like I did hit the post while I was hacking away...
    Yep pin a (was output in hex) so yep 10... And looking at Excel document it shows pin 6 as flexIO 2:10

    Serial.printf("pin %d...
  28. OCRAM and DMA operations: @Paul and others... ...

    OCRAM and DMA operations:

    @Paul and others... I know that I have posted about this in the past, and I know I keep seeing questions about it both forum and PMs and ...

    And I don't know a...
  29. Quick update: I hacked the above test case to...

    Quick update: I hacked the above test case to make it a little easier to handle different configurations:

    //============================================================================
    // Test to...
  30. @mjs513 - Good real early morning, COFFEE needed....

    @mjs513 - Good real early morning, COFFEE needed.

    Yep - I noted that FlexIO3 has no DMA access earlier, these objects are marked in my table as Dma source 0xff which I check for and don't try...
    ...
  31. @defragster - I am not sure if it is valid or not...

    @defragster - I am not sure if it is valid or not to be able to write into the ITCM memory area or not...

    But One thing I have thought about doing, is maybe using more of the memory in the DTCM...
  32. Replies
    4
    Views
    49

    SPI on T3.6 - All three SPI busses have a logical...

    SPI on T3.6 - All three SPI busses have a logical FIFO, just SPI1 and SPI2 the size is 1 where SPI0 is 4...

    For the most part you don't care, except that if have code that is stuffing stuff out,...
  33. @RokGoblin - I am sorry to hear that you have not...

    @RokGoblin - I am sorry to hear that you have not had much luck getting help.

    As @defragster mentioned, the only ones up here that are actually part of PJRC is @Paul/@PaulStoffregen and @Robin -...
  34. @blackaddr - I think you are reasonably close... ...

    @blackaddr - I think you are reasonably close... As mentioned in the other thread, I hacked up an earlier hacked up program (I believe by @FrankB) which prints out more stuff for the T4...

    Also...
  35. Hi @defragster - It is the addresses of these...

    Hi @defragster - It is the addresses of these names that is important... So I hacked a second part onto your program:

    extern unsigned long _stextload;
    extern unsigned long _stext;
    extern...
  36. Replies
    3
    Views
    73

    From a recent forum thread:...

    From a recent forum thread: https://forum.pjrc.com/threads/57280-RA8875-from-Buydisplay?highlight=RA8875

    There are updates to run on a T4 up at:
    https://github.com/mjs513/RA8875/tree/RA8875_t4
    ...
  37. Replies
    67
    Views
    3,239

    Thanks - I ordered a set of these as well as the...

    Thanks - I ordered a set of these as well as the ones without USB... Will figure out which one I wish to use on boards, as not sure if better with your USB which is easy to attach or just use Pogo...
  38. Thanks @manitou - Will double check. I...

    Thanks @manitou - Will double check. I originally created that structure in the header file back in the beta time frame off of the IMXRT1052 documents.

    The interesting thing is all of the...
  39. Replies
    8
    Views
    157

    The simple answer was because when I ported over...

    The simple answer was because when I ported over HardwareSerial early in T4 beta and some Serial ports were not working, I finally figured out about the IOMUXC_..._SELECT_INPUT settings, and at the...
  40. Thanks @manitou and others, Yes I started off...

    Thanks @manitou and others, Yes I started off with some of their examples. However sometimes the issue I was running into, is it might work great for their one example, but it has been unclear at...
  41. Replies
    8
    Views
    157

    I keep meaning to try it, I have so far run my...

    I keep meaning to try it, I have so far run my Dynamixel servos using a buffer like chip with a direction IO pin...

    But I keep meaning to add the code to my BioloidSerial code to allow to use a...
  42. Thanks @Paul, I will try... Right now I am...

    Thanks @Paul,

    I will try... Right now I am trying to figure out why, when I have 4 different Tx Serial only objects on FlexIO1, and I don't actually do anything on lets say the third one, it...
  43. Thanks, still debugging, and still trying to...

    Thanks, still debugging, and still trying to remember/figure out all of those registers and their interaction...
  44. As Blackaddr mentioned, the Teensy 3.2 only has...

    As Blackaddr mentioned, the Teensy 3.2 only has one SPI buss, as you can see on the hardware table: https://www.pjrc.com/teensy/techspecs.html
    As such SPI1 does not exist.

    However the issue is...
  45. T4 FlexIO - Looking back at my T4 beta testing library FlexIO_t4

    During the T4 beta I did some playing around with the Flex IO sub-system that is part of the T4...
    With it I have versions of a SPI handler and a Serial port handler.

    The code is up on github:...
  46. Replies
    9
    Views
    114

    @gfvalvo - Yes you are correct, but I was trying...

    @gfvalvo - Yes you are correct, but I was trying to answer the question asked: Array of HardwareSerial objects ;)

    I have personally done it both ways... Again it may depend on your usage...
  47. Replies
    4
    Views
    108

    Yes it looks like the current code restricts it...

    Yes it looks like the current code restricts it to 1.5us... That is if you look at the begin method with floating point:
    On T4

    bool begin(void (*funct)(), float microseconds) {
    if...
  48. Replies
    9
    Views
    114

    This compiles as well, I have not run it: ...

    This compiles as well, I have not run it:

    HardwareSerial *serials[] = {&Serial1, &Serial2, &Serial3};
    const uint8_t numSerials = sizeof(serials) / sizeof(serials[0]);
    void setup() {
    for...
  49. Replies
    7
    Views
    217

    Yes you can get some cheap ones made in China,...

    Yes you can get some cheap ones made in China, which I have done and still do most/part of the time.

    But the pricing can be interesting. That is if you order a board from example pcbway.com and...
  50. Replies
    67
    Views
    3,239

    @FRDM4236 and ... - Yesterday I received your kit...

    @FRDM4236 and ... - Yesterday I received your kit in the mail. Thanks.

    So later yesterday I used your older instructions with a few obvious differences to assemble your board:
    Which since then...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4