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.02 seconds.

  1. Replies
    3,331
    Views
    357,881

    Interesting question is how best to handle...

    Interesting question is how best to handle libraries like these. Sumo toy has not logged in for something like 2 years. Also has not updated many of these for several more...

    Edit: And if by...
  2. If you are talking about:...

    If you are talking about: https://www.pjrc.com/teensy/techspecs.html

    The line: talking about I2C ports? An I2C port has two pins associated with it: SCL (clock) and SDA (data)
    Each of these...
  3. Replies
    3,331
    Views
    357,881

    @mjs513 - Thanks, I knew they were, as they show...

    @mjs513 - Thanks, I knew they were, as they show up in my excel document:

    34 SD_B0_03 2.15 Serial5(8) RTS SPI2(1) MISO PWM1_B1 IO-07 DATA1
    35 SD_B0_02 3.14 Serial5(8) CTS SPI2(1)...
  4. Replies
    3,331
    Views
    357,881

    Fixed PWM pins for SDCards:...

    Fixed PWM pins for SDCards: https://github.com/PaulStoffregen/cores/pull/381

    Tested with:

    void setup() {
    pinMode(13, OUTPUT);

    analogWriteFrequency(34, 100);
    analogWriteFrequency(35,...
  5. Replies
    3,331
    Views
    357,881

    @PaullStoffregen and @others ... Again looking...

    @PaullStoffregen and @others ...

    Again looking at backside of card...

    Reminds me that all of those SD card pins are PWM capable and looking at pwm.c the tables only go up to pin 33... Not...
  6. As mentioned the SPI library only supports master...

    As mentioned the SPI library only supports master mode. But the chips do support slave mode.

    If you do a search on google like: teensy spi slave
    You will see several thread that hit, plus a...
  7. The ISR page you mentioned is for the older...

    The ISR page you mentioned is for the older Teensy 2 which is also AVR based.

    Yes Teensy 3.x (and soon to be Teensy 4) also support Interrupts and have a set of interrupts...

    The SPCR, SPSR,...
  8. Replies
    3,331
    Views
    357,881

    The ribbon is installed pointing toward the USB...

    The ribbon is installed pointing toward the USB input plug. He did a hard bend down of the cable and then it runs back under the T4, where he has a matching connector on breakout board the front...
  9. Replies
    3,331
    Views
    357,881

    @mjs513 - Thanks. I guess the real question is...

    @mjs513 - Thanks. I guess the real question is should HardwareSerial stuff try to use the same settings as pinMode would give by default. Or should it go to some "Fast" mode?


    @PaulStoffregen...
  10. Replies
    3,331
    Views
    357,881

    OK, I updated the serial port code to enhance the...

    OK, I updated the serial port code to enhance the internal tables (structures) to allow two RX and two TX pins... The ports default to using the first one defined...

    It appears to work. While...
  11. Replies
    3,331
    Views
    357,881

    Easier - Maybe - But should not take me much...

    Easier - Maybe - But should not take me much time, to update the code/tables to make it work.

    I will try to get that done in the next few days.
  12. Replies
    49
    Views
    12,144

    @marcmerlin - Many of us have been there, done...

    @marcmerlin - Many of us have been there, done that... (more or less) - I have seen magic smoke more than once... Example try plugging in 12v wall wart into an UP board who want's 5v... (Same...
  13. Thanks Paul, Will try that if trying to solder...

    Thanks Paul,

    Will try that if trying to solder on new connector fails... Found some reasonably cheap ones up on Amazon, which should arrive tomorrow.

    I figured if that failed, (too much of the...
  14. Replies
    3,331
    Views
    357,881

    @PaulStoffregen - Back side of card. Probably...

    @PaulStoffregen - Back side of card.

    Probably need the warning like T3.6, that no pins are 5v tolerant....

    Also I noted: you put in the Serial5 alternate Tx/Rx pins... I suppose I should...
  15. Replies
    3,331
    Views
    357,881

    Comments to some of the other comments.. ...

    Comments to some of the other comments..

    ili9341_t3 - Does not compile... I made a version of it that will run on T4.....
    I have a version that does run on T4... In Pull Request:...
  16. Replies
    3,331
    Views
    357,881

    I was going to suggest doing something else with...

    I was going to suggest doing something else with PWM pins as well. First suggestion was to simply mark with P instead of PWM...
    Or maybe just a PWM color band right next to the digital pin...
  17. Printrbot control board - USB connector torn off...

    Sorry, I know this is off topic...

    But yesterday we purchased new deck furniture... And one part had some crushed leg ends... So I thought I would get out my older Printrbot Metal 3D printer and...
  18. Replies
    3,331
    Views
    357,881

    Adding empty inline functions for T3 might not be...

    Adding empty inline functions for T3 might not be bad idea...

    Will probably need to document this pretty well, as I am not sure how many places this will hit.

    If it were just DMAMEM - than...
  19. Replies
    3,331
    Views
    357,881

    @PaulStoffregen - I probably should just look ;) ...

    @PaulStoffregen - I probably should just look ;)

    But I know one of the issues before was if you did something like:

    DMAMEM uint8_t frame_buffer[320*240*2];
    ...
    memset (frame_buffer, 0,...
  20. Replies
    3,331
    Views
    357,881

    Did quick check with Serial repeater test app,...

    Did quick check with Serial repeater test app, and reenabled the call to availableForWrite and it runs!
  21. Replies
    3,331
    Views
    357,881

    Unless there has been a very recent update, Paul...

    Unless there has been a very recent update, Paul has only implemented
    USB serial...
  22. Sorry, I am not sure what you are asking? ...

    Sorry,

    I am not sure what you are asking? Would really help to actually have an idea of which library or libraries you are having issues with?

    The Arduino build process has a set of...
  23. Replies
    3,331
    Views
    357,881

    Hi @wwatson - It has been awhile since we played...

    Hi @wwatson - It has been awhile since we played with it, but Mike does have the driver: https://github.com/mjs513/ILI9488_t3
    Which I believe I tested on SPI2 of the T4 (I think it was with the...
  24. Replies
    2
    Views
    85

    You might do a search on the forum: like...

    You might do a search on the forum: like __throw_bad_alloc

    You will find postings like: ...
  25. Replies
    3,331
    Views
    357,881

    @all I thought I would look at the loop timing,...

    @all
    I thought I would look at the loop timing, with how much time is being used, in particular how much time is added by calling yield() and where the time is used and how to make quicker...
    ...
  26. Replies
    3,331
    Views
    357,881

    Sounds good - Mine shipped From Seed on 6/4, but...

    Sounds good - Mine shipped From Seed on 6/4, but update says that today: Depart from facility to service provider. (USPS) Not sure how long it will take....

    I probably should do a parts list and...
  27. Replies
    3,331
    Views
    357,881

    @mjs513 and... I would have probably missed...

    @mjs513 and...

    I would have probably missed it as well, except my T3.6 board uses SPI1 and I tried to compile the edited version of the simple client/server I previously updated to run on SPI1......
  28. Replies
    3,331
    Views
    357,881

    I thought I might take a quick look at some of...

    I thought I might take a quick look at some of the avr_emulation code for SPI that is not currently implemented.

    I hope it is fine, but I am finding that some of this code is using some of the...
  29. Probably not an issue. As many of us read...

    Probably not an issue. As many of us read most/all messages coming in.

    And for example I have not tried to answer this one as I have never done anything with midi nor some of the other...
  30. Replies
    3,331
    Views
    357,881

    RadioHead - Appears to work for RFM95 However...

    RadioHead - Appears to work for RFM95

    However did not allow SPI1 and SPI2 to be used, so updated code to allow this: https://github.com/PaulStoffregen/RadioHead/pull/31

    I have the simple...
  31. Replies
    3,331
    Views
    357,881

    @mjs513 and ... Not sure how much help I can be...

    @mjs513 and ... Not sure how much help I can be with some of the Analog things... But will give my $.02 worth of comments :D

    Hopefully someone who uses it more, can give hopefully give at least...
  32. Replies
    3,331
    Views
    357,881

    @PaulStoffregen @mjs513, @defragster... In...

    @PaulStoffregen @mjs513, @defragster...

    In the previous program I posted, that did:

    void serialEvent() {
    Serial.println("serialEvent called");
    uint8_t buffer[80];
    uint8_t cb = min...
  33. Replies
    3,331
    Views
    357,881

    No should not be related as they use completely...

    No should not be related as they use completely different sets of code. That is Teensy3 boards use the code in the cores\teensy3 and T4 code uses cores\teensy4...

    Once I get this simple test...
  34. Replies
    3,331
    Views
    357,881

    SerialEvent(s) and main() loop call yield... ...

    SerialEvent(s) and main() loop call yield...

    I have been playing with it today and trying to get all the SerialEvent(x) calls to work.

    This includes updating the main loop to not do debug...
  35. Replies
    3,331
    Views
    357,881

    Yep - I keep going back to my Excel document... ...

    Yep - I keep going back to my Excel document... But a Card would be Nice... Although I still go to my T3.6 document at times than card as to get more precise information like which CS pin is what......
  36. Replies
    3,331
    Views
    357,881

    Hi @mjs513 - looks like it should work. ...

    Hi @mjs513 - looks like it should work. Currently don't have any hardware to easily test... I did not install any Pogo pins on 26/27 - I think I have some still around here somewhere... But on test...
  37. Replies
    3,331
    Views
    357,881

    @mjs513... Wonder in changes: in...

    @mjs513...

    Wonder in changes: in pins_arduino.h that now have: #if defined(__IMXRT1052__) || defined(__IMXRT1062__)
    Should just be removed from #if... As I think this file is only used for...
  38. Replies
    3,331
    Views
    357,881

    Note: Page 482 was from first version of the 1052...

    Note: Page 482 was from first version of the 1052 reference manual. I believe that this is now page: 2457 in the current 1062 manual.

    Edit: I may be also missing it, but I think the analog.c...
  39. Replies
    3,331
    Views
    357,881

    Hi @defragster (and others) - As I mentioned I...

    Hi @defragster (and others) - As I mentioned I thought some of these items could be removed or replaced (reworded).
    That is, there is code in place that is about 10 or do from the bottom of list...
  40. Replies
    3,331
    Views
    357,881

    SPI - There are several items in that first list,...

    SPI - There are several items in that first list, that I think we can remove/replace...

    Things like:
    minimal code works SPI minimal code in beta3
    SPISettings not used, clock fixed at 12.5...
  41. Again with many things like this, it might help...

    Again with many things like this, it might help if you posted Photos and/or actual wiring diagrams, so maybe someone will see something obvious.

    For example it has been a long time since I have...
  42. The first thing I would probably do, is to try...

    The first thing I would probably do, is to try using your SPISettings to see if they help.

    That is: I would add a call to: beginTransaction... Something like:...
  43. Replies
    3,331
    Views
    357,881

    @defragster - And of course if all else fails......

    @defragster - And of course if all else fails... Reboot!
  44. Replies
    3,331
    Views
    357,881

    FYI - I updated to new beta and it looked like it...

    FYI - I updated to new beta and it looked like it updated the firmware in both the new T4B2R as well as the T4B2 brownout... Note: T4B1 I already have sitting on shelf.

    So far I have only done a...
  45. Sorry, many of the things I mentioned in my...

    Sorry, many of the things I mentioned in my previous posting and questions in your last posting are things that probably only you can answer as only you know what your goals are, the form of the...
  46. Actually it can do multiple devices at same time:...

    Actually it can do multiple devices at same time: Again don't know which Teensy you are using: Hopefully a 3.x?

    Also don't know how you have Nano connected to Teensy? Maybe a hardware Serial...
  47. Hi and welcome, I guess the first question...

    Hi and welcome,

    I guess the first question would be, is what do you mean by HID commands?

    That is a Teensy can output HID data like several different HID devices, such as keyboard, mouse,...
  48. Just an FYI - Saleae does have a discount for...

    Just an FYI - Saleae does have a discount for hobby people... https://blog.saleae.com/saleae-discounts/
    Example you can get a logic 8 for: $199
  49. Note: many of these clones would actually direct...

    Note: many of these clones would actually direct their customers to use the Saleae software on their clones. Or in some cases they themselves copied down older versions of the Logic software that...
  50. Replies
    3,331
    Views
    357,881

    There is actually most of the information about...

    There is actually most of the information about what will be the new board contained within this thread:

    Examples:...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4