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. Note: there is additional stuff in my version of...

    Note: there is additional stuff in my version of the library: https://github.com/KurtE/ILI9341_t3n

    The code has the concept of center,
    Where you can output a string and have it centered at the...
  2. Sounds good, tried it and so far no problems, but...

    Sounds good, tried it and so far no problems, but I have not stressed it yet
  3. Replies
    5
    Views
    134

    Look at chapters 37-40 in the IMXRT reference...

    Look at chapters 37-40 in the IMXRT reference manual, and if you have not already downloaded it, you can from the PJRC webpage: https://www.pjrc.com/store/teensy41.html#tech

    For example, some of...
  4. Replies
    5
    Views
    134

    Was not enough room on card for Paul to fit...

    Was not enough room on card for Paul to fit everything. But if you look at at other boards cards, yellow shows digital audio.
    Edit, I see Paul beat me to it.


    As I have mentioned before, I have...
  5. Replies
    3
    Views
    105

    Which sensor? Do you have a link to it? Which...

    Which sensor? Do you have a link to it?
    Which Teensy?
    Which library? Which You mntioned STM, and I see that Adafruit directs you to the ...
  6. It may or may not help in this, case, but...

    It may or may not help in this, case, but sometimes I have had issues where maybe the carrier board was not making full contact with all of the pins. So, I would take it out, reseat it and re...
  7. There is blink information on the page:...

    There is blink information on the page: https://www.pjrc.com/store/ic_mkl02_t4.html
    Look toward the end of it, under troubleshooting.

    Not sure it would help in this case, but you might try the...
  8. We have nothing in there that is deliberately...

    We have nothing in there that is deliberately trying to slow it down.

    And I am assuming you are using the USBSerial_BigBuffer class to handle it. That is if it is marked as High Speed,
    it will...
  9. Replies
    12
    Views
    460

    Sorry, I know I am late to the table. ...

    Sorry, I know I am late to the table.

    Sometimes, with things like, this it is simplest to look at the sources: For example, for T4.x

    If you look at the implementation, it will start of like:...
  10. Sorry, I have no idea in this case on what the...

    Sorry, I have no idea in this case on what the limits will be for your device.

    Once things are setup, the code simply sends the buffers to the other side...

    There are lots of things that can...
  11. Note: In all cases like this, it would help if...

    Note: In all cases like this, it would help if showed a small sketch showing what you are trying to do:

    For example, what are you calling: SerialX.begin(...) with?

    That is, the 7-bit support...
  12. Replies
    1
    Views
    64

    In your first case, you are sending it about 50...

    In your first case, you are sending it about 50 times per second. In the second case you are sending it continuously.

    Sometimes for debugging things like this without a scope or logic analyzer,...
  13. Thread: Teensy MicroMod

    by KurtE
    Replies
    69
    Views
    19,519

    The MicroMod is not exactly like a T4 or T4.1 but...

    The MicroMod is not exactly like a T4 or T4.1 but is related to both. That is they have all have a lot of common pins, especially in the lower pin numbers, but in higher ones they are all different....
  14. For the most part it does not matter, in this...

    For the most part it does not matter, in this case.

    That is you could also do: USB_serial.write(DATA, 199400);
    But then again, the USBSerial class does not overwrite this, and as such uses the...
  15. Replies
    2
    Views
    234

    Quick update. Trying to see if I can use this to...

    Quick update. Trying to see if I can use this to talk to some other Bluetooth hardware. SO far, no luck with XBOX One controller.

    However, the Micrsoft Mouse:


    Bluetooth® Low Energy Central...
  16. Replies
    14
    Views
    419

    Side note: If you are using the current released...

    Side note: If you are using the current released copy of Teensyduino (or anything before the current Beta versions), then the addr2line stuff works great.

    For the current Teensyduino betas using...
  17. Replies
    11
    Views
    455

    As mentioned, it is often times hard to help, if...

    As mentioned, it is often times hard to help, if we do not see what code you are trying to run. Likewise, on how the display is hooked up to the teensy. Which display is it? Do you have a link to...
  18. For what it is worth, for some programs in the...

    For what it is worth, for some programs in the past, before tone I had a quick and dirty version of sound output, that did what I needed, like to let me know the robot got the last command from the...
  19. Replies
    6
    Views
    227

    I used the Local stuff earlier to for example add...

    I used the Local stuff earlier to for example add MTP + Serial, before it was officially added, and it was a lot nicer than having to edit Boards.txt each time.

    But sometimes it did require...
  20. Replies
    2
    Views
    234

    USBHost Bluetooth -> BLE -> ArduinoBLE?

    I thought I would mention, that @mjs513 and myself, have been working on updating the Bluetooth support within the USBHost library.
    Hopefully soon we will have setup to do a Pull request into the...
  21. Some other things to try to look at, a) Is...

    Some other things to try to look at,

    a) Is there any pacing of stuff from the host to it. For example, the Init code, are there pauses or the like, for example one command might be a reset, and...
  22. Replies
    6
    Views
    227

    As far as I know, the boards.txt are not part of...

    As far as I know, the boards.txt are not part of any github project.

    Do you need to change the boards.txt and platform.txt files? or can you get away with just adding new items? If just adding...
  23. Sorry, I have been MIA here for a couple of days,...

    Sorry, I have been MIA here for a couple of days, been investigating some other things (Bluetooth...) And only so many things I can keep straight at time. (Usually, about 0 ;) )

    As Paul...
  24. Replies
    7
    Views
    324

    Sorry I have not played much with his library,...

    Sorry I have not played much with his library, but guessing:

    Like in example Master.ino

    SPI_MSTransfer_MASTER<&SPI, 10, 0x1234> mySPI1234;
    SPI_MSTransfer_MASTER<&SPI, 10, 0x4567> mySPI4567;
    ...
  25. Replies
    16
    Views
    393

    I am wondering if this is something you should...

    I am wondering if this is something you should create an issue against the SDFat library.

    It may be some specific condition, where this shows it up on FAT32 on 16GB SDs, where who knows maybe on...
  26. Replies
    16
    Views
    393

    Wondering if others are seeing this same issue. ...

    Wondering if others are seeing this same issue. Here is a modified version of it that I just ran on a 64gb card (Assume ExFat) and on an 4GB card that is Fat32
    Note I am running on IDE2...

    ...
  27. What is current sample set to? Nullptr?

    What is current sample set to? Nullptr?
  28. If it reboots, maybe it is crashing Try adding...

    If it reboots, maybe it is crashing

    Try adding something like this at start of your program:


    if (!Serial && millis() < 3000) ; // wait up to 3 seconds for serial
    if...
  29. Look at the SD example listfiles (File ->...

    Look at the SD example listfiles (File -> examples -> SD -> listfiles)
  30. You could simply enumerate the directory and grab...

    You could simply enumerate the directory and grab the parts out of it and then decide what you wish to do with it.
    Note: I do most of it with SD library wrapper, but similar...
  31. Replies
    5
    Views
    191

    In another recent thread...

    In another recent thread https://forum.pjrc.com/threads/71385-Teensy-4-0-SPI-MOSI-delay-behavior?p=314943&viewfull=1#post314943

    I think in theory you can setup the registers to try at something...
  32. That is the great thing about open source code. ...

    That is the great thing about open source code. Many can contribute. If you find a better solution that works better than the current stuff, go for it, and if it works for normal usages, then...
  33. Good luck, will try to throw darts at some of the...

    Good luck, will try to throw darts at some of the stuff, but.

    As Paul mentioned, most Serial objects don't know about how the USB may split or not split the data.

    When I have played with...
  34. I went ahead and merged it. So both mine and...

    I went ahead and merged it. So both mine and Pedvide master branches have this fix in it.

    Hopefully will be picked up for next TD release

    Warning: again, I am not the owner of this library,...
  35. Looks like there has been an Open PR against the...

    Looks like there has been an Open PR against the library since last December: https://github.com/pedvide/ADC/pull/81
    Which does fix the compile error.

    Does not look like @pedvide (the owner of...
  36. As @defragster and others mentioned on your other...

    As @defragster and others mentioned on your other thread, I am not sure that sample code exists. Or if it does, it was probably done by someone for a very specific purpose.
    You might google on the...
  37. Again I believe that maybe this might be barking...

    Again I believe that maybe this might be barking up the wrong tree: That is the breaking up of message into two physical USB packets, but I have been wrong before.

    But: in your RX case:

    82, 5,...
  38. Replies
    7
    Views
    383

    As for timer pins, my excel document tries to...

    As for timer pins, my excel document tries to specify shich pin is used for each Pwm pin
    Here is a pdf that shows one page. Not sure if I made other fixes in the xls file...
  39. The token is the QTD.token. ;) In current...

    The token is the QTD.token. ;)

    In current IMXRT 1062RM I believe the section is 42.5.2.5.3 - But you would probably also need to read several other sections of it.

    But the interesting point...
  40. As I mentioned, it is ignored and not coming from...

    As I mentioned, it is ignored and not coming from Serial:

    If you are talking about:

    Descriptor 11 = IAD
    Descriptor 4 = INTERFACE
    HIDParser claim this=200031E0
    HIDParser claim this=200038A0...
  41. Again context: You showed the message:...

    Again context: You showed the message:
    Descriptor 36 = ???

    I believe this is printed from within enumeration.cpp

    void USBHost::claim_drivers(Device_t *dev)
    {
    USBDriver *driver, *prev=NULL;...
  42. With many of these things it is sometimes hard to...

    With many of these things it is sometimes hard to understand fully what messages are without the context.

    As for descriptor 36 (0x24) no idea...
    If you look at USB documents, I don't see...
  43. USB Serial - works like Serial from Teensy to...

    USB Serial - works like Serial from Teensy to PC...

    64 versus 512 - A lot of serial devices use the slower speed and 64 byte packets, where this one is setup with the 512 byte packets, that is...
  44. Replies
    107
    Views
    6,073

    Note, the above comments about Keyboard have...

    Note, the above comments about Keyboard have nothing to do with the Serial code. As mentioned in the comments, those changes had to do with Keyboard object changes, and converting it to use HID...
  45. Replies
    2
    Views
    264

    You can try experimenting changing the settings...

    You can try experimenting changing the settings of the IO pins involved:
    I believe by default SPI sets them like:

    uint32_t fastio = IOMUXC_PAD_DSE(7) | IOMUXC_PAD_SPEED(2);
    //uint32_t fastio =...
  46. There is a set of rules that Arduino uses when it...

    There is a set of rules that Arduino uses when it is searching for header files to choose when there are multiples.

    More details up at:...
  47. Have you tried building with recent versions of...

    Have you tried building with recent versions of Arduino-CLI and Teensy installs?

    I thought that Paul put something in that detected if running on a GUI and if not runs without gui...
  48. If you have not already done so you should change...

    If you have not already done so you should change the
    #define SD_CS 4 // CS for SD card, can use any pin

    to instead use BUILTIN_SDCARD

    (Assuming you are using the SD on the T4.1).

    You...
  49. Sorry not sure how to help here as it builds fine...

    Sorry not sure how to help here as it builds fine on my machine with the sources in your post.


    Maybe post what you are actually building.

    // initialize Adafruit ST7735 TFT library...
  50. Replies
    12
    Views
    1,755

    For what it is worth, awhile ago I made a version...

    For what it is worth, awhile ago I made a version of the CLI, using VS2022...

    It is up in a Pull request: https://github.com/PaulStoffregen/teensy_loader_cli/pull/79
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4