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. Looks like a bug in SoftwareSerial... In...

    Looks like a bug in SoftwareSerial... In particular

    Serial8 existed in the T4 beta 1 board, but not in the Beta 2 board... So looks like we need to update it here... I will try to get in a Pull...
  2. Thanks Paul, I have not tried anything like...

    Thanks Paul,

    I have not tried anything like that yet with FlexIO. So far only done a couple of simple things like UART and SPI. It looks like they have examples emulating some busses like...
  3. Replies
    19
    Views
    157

    Good Stuff! Just an FYI - I think you can find...

    Good Stuff!

    Just an FYI - I think you can find most of this information in In posting #3 in the beta thread:...
  4. @MichaelMeissner @mjs513 ... Sorry I was out...

    @MichaelMeissner @mjs513 ...

    Sorry I was out of town this weekend and have not kept up with all that is going on... Just got back, now to play with dogs, ...
  5. Replies
    5
    Views
    104

    I often setup a breadboard with extra long male...

    I often setup a breadboard with extra long male pins, place teensy on it upside down, then place SMT connector in place. The use two female connectors and go across the two rows, and to matching...
  6. Replies
    78
    Views
    3,048

    @paul did that change 8 days ago to fix some...

    @paul did that change 8 days ago to fix some issue of >2 interval timers...

    Not sure of its implications
  7. Replies
    78
    Views
    3,048

    Some of the ones in startup.c like all the ones...

    Some of the ones in startup.c like all the ones up to before and after call to setup

    Sorry I am not at my computer so can not give much more info

    Edit also remember I added prints in the sketch...
  8. Replies
    78
    Views
    3,048

    @bicycleguy - Sorry, sometimes hard for us who...

    @bicycleguy - Sorry, sometimes hard for us who try to help out for the heck of it to see everything going on... As I mentioned, I don't have much time this weekend...

    Also this looks like a...
  9. Replies
    78
    Views
    3,048

    @bicycleguy - Yep it appears to crash hard... ...

    @bicycleguy - Yep it appears to crash hard...

    I mucked up the Setup function to output stuff to Serial port and I get nothing.

    void setup() {
    // Backlight
    #if 0
    pinMode( BACKLIGHT_PIN,...
  10. Replies
    251
    Views
    11,547

    Yep - Back in T3.6 beta days, I made my own, that...

    Yep - Back in T3.6 beta days, I made my own, that looked sort of like:
    17656

    I also made a one row one back then with the T3.6 signal names..

    Maybe should make a new one with T4 pin numbers...
  11. Replies
    251
    Views
    11,547

    @mjs513 @firehopper ... Yep - As I...

    @mjs513 @firehopper ...

    Yep -
    As I mentioned in that previous posting, when I assembled the first board that I did for the T4, nothing was working, and so I plugged in the sparkfun adapter and...
  12. Replies
    251
    Views
    11,547

    @mjs513... That was what I wondered back in...

    @mjs513...

    That was what I wondered back in the posting: https://forum.pjrc.com/threads/57122-Teensy-4-0-Breakout-Kit?p=216075&viewfull=1#post216075
    :p
  13. Replies
    251
    Views
    11,547

    @mjs513 I confirmed that my current stuff works...

    @mjs513 I confirmed that my current stuff works for an ST7789 display hanging off of the last T4 beta board is working ...
  14. Replies
    251
    Views
    11,547

    That won't work on SPI! It needs to be SPI2... ...

    That won't work on SPI! It needs to be SPI2...
    Note: the SPI2.setMosi and like don't do much of anything as we only have one pin defined for each of these...

    But I assume somewhere you tried...
  15. The processors are setup such that you must...

    The processors are setup such that you must enable access to a subsystem before you use (or even touch) them, or it will fault.

    That is why the first thing that the function serial2_begin does is:...
  16. Replies
    5
    Views
    90

    Again not sure if it helps or not... But if...

    Again not sure if it helps or not...

    But if you look at section 12.5 of the IMXRT1060RM.pdf - There is a section that talks about the ONOFF (button).
    It also shows in in section 19.3 (SNVS...
  17. Replies
    251
    Views
    11,547

    @mjs513 - As mentioned previously my SDCard/USB...

    @mjs513 - As mentioned previously my SDCard/USB connection is toast, so I am not much help here...

    If mine was at the stage yours is? I would plug in either the Sparkfun microsd sniffer...
  18. Sorry I am not sure about the Parallel port... ;)...

    Sorry I am not sure about the Parallel port... ;)

    Some of your questions can sort of be answered by looking at the product page: https://www.pjrc.com/store/teensy40.html

    Form factor: The T4 is...
  19. Replies
    31
    Views
    1,038

    Cool stuff.. I ordered an amazon basic.... Will...

    Cool stuff.. I ordered an amazon basic.... Will be more interesting with Wifi... But still will be fun to play
  20. You might try updating the SPI files that were...

    You might try updating the SPI files that were installed, with the ones that are currently waiting on a Pull Request.
    https://github.com/KurtE/SPI/tree/T4_OLD_APIS

    This fixed some other similar...
  21. @mjs513 and others, have a fix for DMA on T3.6,...

    @mjs513 and others, have a fix for DMA on T3.6, which I pushed up to @mjs513 fork/branch, will now migrate back to my main branch that is in the current active PR to the master project.

    Appears to...
  22. Replies
    36
    Views
    705

    As mentioned looks interesting. A few days ago I...

    As mentioned looks interesting. A few days ago I started playing with some ideas for a castellated setup. At the time I was think two different ones. One for front and one for rear.
    But did not...
  23. Replies
    251
    Views
    11,547

    I know there are a lot of EE types who understand...

    I know there are a lot of EE types who understand a lot more about the stuff like cross talk and the like. And I know some of my own boards have probably lots of issues.

    So take this for what it...
  24. @mjs513 and others, Looks like the DMA stuff...

    @mjs513 and others,

    Looks like the DMA stuff on T3.6 is not working (regardless if hardware CS on DC or not...)

    Looks like having the DMASettings as part of the class structure is not working. ...
  25. Replies
    251
    Views
    11,547

    Wondering, has anyone had success reading an...

    Wondering, has anyone had success reading an SDCard yet? I assume so, but if I had mine hooked up, the next thing I would check would be to ring out Which pins go where.

    That is my first layout...
  26. @UHF - You might try the files mentioned in my...

    @UHF - You might try the files mentioned in my github in posting #5. It should work OK for your pins.

    After the last posting, I also made a few more improvements for it. In particular now if it...
  27. Replies
    251
    Views
    11,547

    @... SDCard Can not test it on mine, as I...

    @...

    SDCard

    Can not test it on mine, as I sort of killed that flex cable...

    @loglow - As mentioned the TPD chip that was on the breakout boards is a little easier for old eyes to work...
  28. Replies
    4,295
    Views
    448,259

    Hi @defragster and @Paul - If I remember...

    Hi @defragster and @Paul - If I remember correctly the USB DN/DP pins don't go negative. They simply have to have a differential of voltage between the two pins.

    Example in the web page:...
  29. Replies
    251
    Views
    11,547

    Update to previous post, where I showed the...

    Update to previous post, where I showed the bottom pads that were either the pads were ripped off or parts of flex cable still sort of there.

    I did quickly just put some solder over the USB pads,...
  30. @UHF @mjs513 @PaulStoffregen @MichaelMeissner ...

    @UHF @mjs513 @PaulStoffregen @MichaelMeissner

    I put in a fix in two different branches.

    The first one is in a branch that I already have an outstanding Pull Request to fix some DMA issues...
  31. @UHF I will take a look - For the most part I did...

    @UHF I will take a look - For the most part I did not even look at or I thought touch how the bit bang versions of the library worked. And in actuality wondered if it should be removed, as you could...
  32. Replies
    5
    Views
    111

    Yep - they are sort of cryptic, which is why I...

    Yep - they are sort of cryptic, which is why I pointed you back to PDF file for where the bits are defined and a sort of chart showing you how all of the clocks relate to each other...

    And I know...
  33. Replies
    5
    Views
    128

    You might try adding: asm("dsb"); To the end of...

    You might try adding: asm("dsb");
    To the end of your ISR...

    void rotaryEncoder()
    {
    currentInterrupt = millis();
    if (currentInterrupt - lastInterrupt < 5)
    return;

    if...
  34. Replies
    6
    Views
    118

    Actually I am not clear from the original...

    Actually I am not clear from the original description, if you downloaded the Teensy loader CLI app or you downloaded Teensyduino?

    As for the CLI app, there have been a few threads about this...
  35. Replies
    5
    Views
    111

    It is a little more complicated than that... ...

    It is a little more complicated than that...

    The SPI buss speed can be based off of 4 different clocks and have an initial divider set. This part is controlled by the CBCMR register.
    Not sure...
  36. Replies
    251
    Views
    11,547

    @defragster - As usual you do a far better and...

    @defragster - As usual you do a far better and thorough testing than I have been able (and most of the time willing) to do!

    Great stuff..

    EDIT: FYI - as I mentioned I will see if I can solder...
  37. Hi @mjs513 - Since I already mucked with...

    Hi @mjs513 - Since I already mucked with ILI9341_t3n and ST7735_t3,

    Redid it for ILI9341_t3 - Note: The unadulterated version of graphictest builds without error. However if I edit the start of...
  38. Hi @mjs513 - I tried compiling the current...

    Hi @mjs513 - I tried compiling the current graphic test in the project and it appears to fail in the link phase...

    Linking everything together......
  39. Thread: SPI on Teensy 4

    by KurtE
    Replies
    13
    Views
    300

    I updated the T4 support for SPI, so now ...

    I updated the T4 support for SPI, so now
    SPI.begin internally at the end will call beginTransaction(SPISettings()); endTranaction();
    So things like the transfer data size and clock settings and......
  40. Replies
    5
    Views
    111

    Yes - if I understand what you are saying. If...

    Yes - if I understand what you are saying. If you are just hanging there queuing messages and always spining on that wait, then yes each message will go out about 3ms after you queued it... Assuming...
  41. Thread: SPI on Teensy 4

    by KurtE
    Replies
    13
    Views
    300

    @connectivity - Confirmed it dies, will debug. ...

    @connectivity - Confirmed it dies, will debug.

    In the mean time you can get it up and running, if you add a couple lines of code...


    void QEC_Configure(void)
    {
    SPI.begin();

    delay(5);
  42. @mjs513 - Go for it... The only interesting...

    @mjs513 - Go for it...

    The only interesting thing will be how is our compatibility with previous versions?
  43. Replies
    5
    Views
    111

    I have not worked on this part of the USB Code at...

    I have not worked on this part of the USB Code at all, only some on the USB Host code for T3.6 and T4, so take this with a grain of salt...
    There is some information up in the PDF associated with...
  44. Thread: Bum 3.6?

    by KurtE
    Replies
    13
    Views
    167

    Sorry, I did not answer figuring, you covered...

    Sorry,

    I did not answer figuring, you covered most of the standard things I would suggest, like, verifying that you have 3.3v. No shorts...

    Suggest the 15 second reset. Try the hold program...
  45. Replies
    5
    Views
    92

    Again it depends... If for example you have a .c...

    Again it depends... If for example you have a .c or .cpp file that simply includes: FreeSans12pt7b.h
    This file starts off like:

    const uint8_t FreeSans12pt7bBitmaps[] PROGMEM = {
    0xFF, 0xFF,...
  46. Replies
    251
    Views
    11,547

    @dkryder - I am not an expert here, but here is...

    @dkryder - I am not an expert here, but here is my two cents. You can probably hook up the USB pads of the T4 to his external D+/D- pins to get the USB to work.

    However I am pretty sure using a...
  47. Replies
    251
    Views
    11,547

    @loglow (and others) - Again it will be...

    @loglow (and others) - Again it will be interesting to try again. I am still undecided if I feel like the current flex cable is more or less easy to install and or error prone as compared to using...
  48. Wonder if you built a version with Joystick and...

    Wonder if you built a version with Joystick and RawHid if that would work, then debug could still go through Serial.print type code...
  49. Replies
    5
    Views
    92

    Hard to say without providing any additional...

    Hard to say without providing any additional information. Like simple sketch that shows the issue. I am assuming MAC from your error message.
    Like what libraries are used. Does the compiler...
  50. Replies
    203
    Views
    2,292

    Hi @Gremlin and @mjs513 and @PaulStoffregen - I...

    Hi @Gremlin and @mjs513 and @PaulStoffregen - I am hoping that we find a good place to host some of these display driver updates.

    Currently a few of us have been playing around with them and...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4