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

    Morning, @mjs513 - I will try to play today as...

    Morning, @mjs513 - I will try to play today as well. Been busy with some other things. You would think that they would both work the same, but could be wrong.

    might help to see your settings....
  2. Replies
    12
    Views
    190

    Again usually I try to keep things like this...

    Again usually I try to keep things like this simple. Assuming you have the watermark set to 0.

    dmachannel1.begin();
    dmachannel1.source((uint8_t&)LPUART5_DATA);
    ...
  3. Replies
    12
    Views
    190

    I agree with vjmuzik, that you should be able to...

    I agree with vjmuzik, that you should be able to do it with one DMAChannel, with simply updating the count to 2.

    However not really sure if doing the 4 byte DMA transfer versus DMA out each byte...
  4. Replies
    12
    Views
    190

    Sorry not sure what your goals here and why...

    Sorry not sure what your goals here and why necessary to convert Serail8 over to DMA...
    There are several different ways to do this. Personally I would not use two DMAChannels for this.
    Can...
  5. I am another forum participant who has done some...

    I am another forum participant who has done some work on these areas.

    But again hard to know what to go on here. So can really only throw a few darts and hope one may hit the target.

    Things...
  6. Sorry I know that Paul is much better at...

    Sorry I know that Paul is much better at understanding this and resolving it than I am, but I am curious and also maybe answering some of them may help him as well.

    Did you try taking the hex...
  7. Sorry have no idea with so limited information. ...

    Sorry have no idea with so limited information.

    So far the only thing I know is that some Hardware Serial does not work.
    Might help to know additional things like:
    What sensor?
    What speed?...
  8. Replies
    4
    Views
    135

    Sorry, I know very little about MBed (read that...

    Sorry, I know very little about MBed (read that nothing).
    But there are many options out there. Which approach you use will obviously depend on your needs.
    I still work with the Arduino IDE, as...
  9. Also with later version of Teensyduino you have...

    Also with later version of Teensyduino you have the ability to like:


    #ifdef ARDUINO_TEENSY41
    for Teensy 4.1 dito for most/all of the other Teensy

    I another hint, if you wish to see how...
  10. Replies
    22
    Views
    214

    Somewhere around my mess I think I have an...

    Somewhere around my mess I think I have an Arducam camera. I ordered one that took a much longer time to deliver. Keep meaning to try it out.
    The pins look correct, but would need to play with...
  11. Sorry I don't know much about mktinyfat... ...

    Sorry I don't know much about mktinyfat... Actually nothing.

    But the only place I see it referenced in the teeny builds is for the Teensy 2 and 2++ in the boards.txt
  12. Replies
    968
    Views
    64,726

    My NyKo keypad arrived today... I charged it a...

    My NyKo keypad arrived today... I charged it a little, actually left it charging...
    25307

    I loaded the example sketch KeyboardBT.
    I built it first with: BluetoothController bluet(myusb, true,...
  13. Thread: Fonts

    by KurtE
    Replies
    7
    Views
    145

    You might want to check the Readme file for the...

    You might want to check the Readme file for the library. There is a section on Font Support
  14. Thread: Fonts

    by KurtE
    Replies
    7
    Views
    145

    Note this compiles with ILI9341_t3n... I did...

    Note this compiles with ILI9341_t3n...
    I did edit one of your functions that was giving compile warnings of converting strings to char *
    (Just added const to parameter...)

    Note: I did not look...
  15. Thread: Fonts

    by KurtE
    Replies
    7
    Views
    145

    Yes - At one point both libraries started with...

    Yes - At one point both libraries started with pretty compatible stuff. But then both continued to evolve independent of each other.
    Likewise I have the ili9341_t3n library, which is a supper set...
  16. Replies
    189
    Views
    13,674

    Wonder what would happen if you put in a delay at...

    Wonder what would happen if you put in a delay at startup... Maybe something like:

    void setup()
    {
    while(!Serial && millis() < 3000) ; // wait up to 3 seconds for the Serial port to be ready.
    ...
  17. Replies
    189
    Views
    13,674

    Hard to say, without seeing things like wiring. ...

    Hard to say, without seeing things like wiring.
    When you say Undetected? Are you saying

    if (myIMU.begin() == false)
    {
    Serial.println(F("BNO080 not detected at default I2C address....
  18. Replies
    23
    Views
    812

    Maybe it would help to see new pictures of what...

    Maybe it would help to see new pictures of what is hooked up.

    From your first pictures, it also looked like maybe you you connected +5v to pin 2
    25276
    25277
    But I can not tell if that...
  19. Replies
    968
    Views
    64,726

    Ok, I broke down and ordered one :D Supposed to...

    Ok, I broke down and ordered one :D Supposed to get here maybe Tuesday
  20. Yes - it looks like ADC library was not updated...

    Yes - it looks like ADC library was not updated in the new release. Obviously too late for now, but we should make sure to update for the next release
  21. Thread: Teensy 4.0

    by KurtE
    Replies
    6
    Views
    264

    Actually depending on coding, maybe it can... But...

    Actually depending on coding, maybe it can... But normal code bases are not setup to do so. That is the endTransmission and requestFrom both loop waiting for the number of bytes to transfer.

    Now...
  22. Thread: Teensy 4.0

    by KurtE
    Replies
    6
    Views
    264

    Sorry I am probably not much help here. I am...

    Sorry I am probably not much help here.

    I am assuming that from previous answer that you are driving I2C at higher speeds, think max of 400khz for the device.

    The only things I can think of...
  23. Again I think, this is standard SPI... So with...

    Again I think, this is standard SPI...
    So with standard SPI pins
    SCk(13), SDA(11), CS and DC and maybe Reset(RES) more or less any digital IO pin.
    CS (Chip select) often times pin 10...
    DC...
  24. Glad it is working reasonably :D I just...

    Glad it is working reasonably :D

    I just issued PR: https://github.com/PaulStoffregen/USBHost_t36/pull/68
    It does have conflict with current code as this also included the Fix for...
  25. Yep - As I mentioned I ran into that on the...

    Yep - As I mentioned I ran into that on the ESP32... Will try now with different ESP32... And See if that makes a difference... Not sure if they have LED...
  26. Replies
    944
    Views
    37,512

    Morning all (at least for me): My two MMod...

    Morning all (at least for me):

    My two MMod Teensy boards arrived Monday, picked up yesterday... Still have not plugged them in yet... Still just using the beta 1.

    Don't have the display board,...
  27. You are welcome... Need to do some more testing...

    You are welcome... Need to do some more testing and then probably wrap up into PR...
  28. Still WIP - I pushed up current changes to...

    Still WIP - I pushed up current changes to USBHost branch...
    Also my current updated sketch:
    Where I now have split the DTR and RTS functions.

    if (usbserial_active) {
    dtr =...
  29. Right now, I have the crash not crashing... I...

    Right now, I have the crash not crashing...

    I hacked the claim code for the CDCACM mode that at the end it was always turned on the DTR...

    So turned that off:

    // Wish I could just call...
  30. Yes was able to program Leonardo directly......

    Yes was able to program Leonardo directly... Issue at connection telling it to have DTR... Not processed... Commented out that setting, which keeps us from crashing. But still not programming.
    ...
  31. @frankB - Yep I understand RTS is different than...

    @frankB - Yep I understand RTS is different than CTS... Question is how do they do this over USB... More on this in a bit.

    As for Leonardo... I think it was left in a state of NOT happy... So...
  32. Note everywhere you see DTR change it is doing...

    Note everywhere you see DTR change it is doing both DTR and RTS...

    I geared it after the CP210 Linux driver which:

    static void cp210x_dtr_rts(struct usb_serial_port *p, int on)
    {
    if (on)...
  33. Just pushed up some changes in the USBHost code. ...

    Just pushed up some changes in the USBHost code. Brought in Frank's fix, plus peek.

    Also tried with CP210x board... ESP32 Micromod... It was totally hanging the Teensy... Did not properly handle...
  34. It works! I have a mucked up version of your...

    It works!

    I have a mucked up version of your sketch:
    Reads and writes full buffers at a time.
    Has a USBHub object in case I plug it in through a hub.
    Prints out information about the serial...
  35. Good catch :o, It is interesting that mostly...

    Good catch :o, It is interesting that mostly used the Serial stuff for output...
    Note: looks like we need to fix ::peek as well, as it does not increment the tail pointer for the character it is...
  36. I have not yet enabled changing the baud rate......

    I have not yet enabled changing the baud rate... Will try that next... I am now monitoring it.

    Also changed the code to check to see how much data is sent or received per usb packet. And read it...
  37. Good morning again, I think with your program,...

    Good morning again,

    I think with your program, I might try adding a flush in both directions.

    I think I might also try something like in the section:

    if (usbserial_active) {
    dtr =...
  38. Hard to tell... Let me check to see if I can...

    Hard to tell... Let me check to see if I can figure out if they are doing something different instead of just doing dtr signal. We may also need to see if they are setting some special baud rate or...
  39. Quick update, I put up a new branch:...

    Quick update, I put up a new branch: https://github.com/KurtE/USBHost_t36/tree/Serial_DTR

    That has setDTR(true/false);

    Only partially there.

    I was able to verify that I could set DTR and in...
  40. I started playing with some of this, but brings...

    I started playing with some of this, but brings me up to interesting question.

    What does for example FTDI devices work with Arduino IDE? Example the Trossen Arbotix board using FTDI cable to...
  41. Sorry, this is probably more of a question for...

    Sorry, this is probably more of a question for Paul... I have not done that much at this USB end... I have done more at the USB Host end...

    But one of the gotchas of the IMXRT USb hardware is: •...
  42. Replies
    5
    Views
    180

    Will have to try one if/when mine fails...

    Will have to try one if/when mine fails...
  43. I will hack something in soon... Was sort of...

    I will hack something in soon...

    Was sort of distracted today with similar but different stuff.

    It looks like to work for several different boards, will need to implement it for several Serial...
  44. First with like DTR... We already set and clear...

    First with like DTR... We already set and clear them when we startup... So are you maybe needing method in class to allow your sketch to control?
  45. Replies
    5
    Views
    180

    Again not knowing your setup... Or your full...

    Again not knowing your setup... Or your full needs... like is it a one off just for you or for product...

    But for my own stuff, I simply use a USB Hub with power switches for each port on it:
    The...
  46. Hi Frank and Paul , I am really rusty with some...

    Hi Frank and Paul , I am really rusty with some of CDC-ACM stuff, Will try to take a look. First up will be to brush back up on the the drivers...
  47. On my machine it is at: 25211 Note: I am...

    On my machine it is at:
    25211

    Note: I am running the current release of Teensyduino.

    It is up on github: https://github.com/PaulStoffregen/USBHost_t36/tree/master/examples/HIDDeviceInfo
  48. Replies
    9
    Views
    427

    Sorry, I know very little about MIDI. But I...

    Sorry, I know very little about MIDI. But I believe you can use multiple Midi objects with hubs as there is the example interface_16x16.ino... But again don't know how this works versus what you are...
  49. Replies
    9
    Views
    427

    Sorry not sure what you are asking... That is...

    Sorry not sure what you are asking... That is who is plugged into whom


    Yes the library does support hub(s), but you need to add hub object(s)... Many of the examples show them.
  50. Replies
    6
    Views
    177

    As @defragster mentioned, make sure to uncomment...

    As @defragster mentioned, make sure to uncomment that line, and then make sure that the build shows it is using the copy of the library you think it is... That is if you have a local copy in <arduino...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4