Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: defragster

Page 1 of 10 1 2 3 4

Search: Search took 0.06 seconds.

  1. Okay - so I read the code right - though when...

    Okay - so I read the code right - though when _isr triggers I never see that bit #17 set with the HEX print of the register - until power on? Would be nice to have a way for the user callback to...
  2. Built here in 7 min 21 secs - a long time - but...

    Built here in 7 min 21 secs - a long time - but no abusive looking CPU / RAM / or DISK usage? An i7 with 4*2 cores showed 20% - with no core pegged - 8 sets of jaggies. All building on SSD drive T:...
  3. Frank - I see the _isr() trigger and reset NOT as...

    Frank - I see the _isr() trigger and reset NOT as :: SNVS_LPSR |= (1 << 17); // PG 1313 clear interrupt
    But as this coded above p#11:: SNVS_LPSR |= (1 << 18); // PG 1313 : Write SPO bit to clear...
  4. Replies
    2
    Views
    57

    How much current does that LITE pin expect to...

    How much current does that LITE pin expect to work?

    Does this work?


    pinMode(TFT_LITE,OUTPUT);
    digitalWrite(TFT_LITE,HIGH);

    And pinMode(,OUTPUT) isn't needed for analogWrite()
  5. I had an ili9341 go white - it was a display...

    I had an ili9341 go white - it was a display failure. YMMV: Mine came back closing J1 - AFAIK that bypasses the 5V part - so then it could only run at 3.3V?
  6. Not sure what current code looks like ... If...

    Not sure what current code looks like ...
    If the _isr() did this stop() on end then bDone test is not needed at top of _isr() :: if (!bDone && last_portb != current_portb)


    if...
  7. Frank - this edits the upper WORD? Not sure to...

    Frank - this edits the upper WORD? Not sure to what effect - did not use :: // SNVS_HPCOMR |= (1 << 4);

    Also page number 1313 in Rev1 RM would have been a good link :)

    Here is a run of code...
  8. Thanks Frank - here is a starter sketch: ...

    Thanks Frank - here is a starter sketch:


    void setup() {
    // put your setup code here, to run once:
    Serial.begin(115200);
    while (!Serial && millis() < 4000 );
    Serial.println("\n" __FILE__...
  9. Replies
    4
    Views
    35

    It is now ... with @AlexisJohn a first time...

    It is now ... with @AlexisJohn a first time poster with no example code or specifics posted it seemed like a good starting point to clarify :)

    ADC was just updated to support T_4.0 in latest TD...
  10. Replies
    4
    Views
    35

    If using on the same pins there will be a...

    If using on the same pins there will be a conflict as the ADC library needs to be in control of those pins. Is that the desired use case?
  11. Replies
    12
    Views
    237

    Teensy 4.0 does have USB Host software code...

    Teensy 4.0 does have USB Host software code working for ps4 controllers and Bt dongle if that was the goal - there is a thread on that with test usage - titled as USB Host T_3.6 in some fashion...
  12. Would be nice to have notice of Power OFF start. ...

    Would be nice to have notice of Power OFF start. Of course starting a timer to notify if the Power OFF was cut short and not actualized, or having it be a CHANGE interrupt where the return to HIGH...
  13. Give this article by Paul a read :...

    Give this article by Paul a read : https://www.pjrc.com/better-spi-bus-design-in-3-steps/

    CS pins should be pulled HIGH when the device is not to be addressed. The CS pin to a single device must...
  14. Replies
    3
    Views
    42

    resolved ...

    resolved ...
  15. Replies
    22
    Views
    621

    Sticky: Can you post a simple repro example/steps? Not...

    Can you post a simple repro example/steps? Not sure how '@ 2M baud' relates as USB Serial is always at USB max throughput - and that was stepped up between TD 1.48 and 1.49.


    Does this change...
  16. Replies
    29
    Views
    2,367

    Looking at INPUT_DISABLE it changes the...

    Looking at INPUT_DISABLE it changes the hysteresis handling of the pin. That explains why it was resistant to change mid-value as shown in post #10


    } else { // INPUT_DISABLE
    *(p->pad) =...
  17. Replies
    115
    Views
    7,818

    Frank - assuming the public details are limited...

    Frank - assuming the public details are limited to the NXP link on p#1. There is the same single DOCUMENTATION on that link that was there with minor added details to the main page. Looking there...
  18. Replies
    29
    Views
    2,367

    Assuming Paul had an idea to know to suggest this...

    Assuming Paul had an idea to know to suggest this and follow-up is coming. Perhaps a change to be made in pin setup in analog read usage so it just works ...
  19. this is a duplicate thread to...

    this is a duplicate thread to pjrc.com/threads/59109-How-to-read-the-output-from-a-preprogramed-teensy

    Closing it
  20. If the Teensy is setup to print data out the USB...

    If the Teensy is setup to print data out the USB port that will show with a terminal program on USB - the Arduino IDE has such a Serial Monitor program. If the TeensyDuino software is installed...
  21. Sounds nice and makes sense if it speeds...

    Sounds nice and makes sense if it speeds re-compile time. Though something seems worse in handling between IDE 1.8.9 and 1.8.10 where it seems some things get rebuilt more often - but that hasn't...
  22. Replies
    29
    Views
    2,367

    With Teensduino 1.49 released - if this...

    With Teensduino 1.49 released - if this reproduces on that version like in post #10 - this would be worthy of a new thread perhaps with notes and observations summarized there for investigation.
    ...
  23. Replies
    9
    Views
    118

    analogRead() blocks for some short time doing the...

    analogRead() blocks for some short time doing the read - not sure if it has any other side effects - but apparently as used it is bad to have in an _isr() and that isn't surprising.

    For fast and...
  24. Replies
    9
    Views
    118

    Indeed the " __IMXRT1062__ " signifies the...

    Indeed the " __IMXRT1062__ " signifies the Teensy_4.0 processor.

    As for extra hardware - if it can repro in a simple case just dropped into IDE and run on a nearly bare T_4 that would allow anyone...
  25. Replies
    115
    Views
    7,818

    Very interesting to see how it resolves. With...

    Very interesting to see how it resolves. With twin CPU's one each of M4 and M7 core type and speed - versus two equivalent same speed cores like ESP32 where they built with a version of RTOS to hide...
  26. Replies
    9
    Views
    118

    Can a demonstrative sample be posted - minimal...

    Can a demonstrative sample be posted - minimal and complete to work without extra hardware? Details on timing frequency and such may be an issue.

    Changing the period only happens at the end of a...
  27. Replies
    22
    Views
    621

    Sticky: Good info. Didn't know the upgrade cleanup was...

    Good info. Didn't know the upgrade cleanup was limited to core files.

    I was going to note that personal edits of added files will not be touched, and that library adds/edits should be done in...
  28. Replies
    22
    Views
    621

    Sticky: Yes, A newer installer will properly overwrite...

    Yes, A newer installer will properly overwrite prior versions with all the new code and utilities.
  29. Replies
    4
    Views
    67

    T_4.0 has a fully operational RTC Hardware...

    T_4.0 has a fully operational RTC Hardware section - and running from vBat power maintains operation when Teensy otherwise Off.
  30. I just swapped out 256GB SSD on PC labelled 5V...

    I just swapped out 256GB SSD on PC labelled 5V 1.7A. I put in a new 512GB SSD that said writes take 3.3W or 0.66A if at 5V. The 2011 Teensy Test 120GB SSD says 5V at 1A. So none of these would run...
  31. Indeed - only needed with a HUB - and except...

    Indeed - only needed with a HUB - and except FLASH drives or powered external drives - my bare HDD's and SSD's all require a HUB for power.

    I just bumped buffer from 8 to 32 with uint32_t array of...
  32. Wow - so long ago ... Latest commit on Dec 11,...

    Wow - so long ago ... Latest commit on Dec 11, 2016

    This was used to use Teensy to pass through Serial as Arduino programmer for the ESP8266 - then share data with ESP over serial when running:...
  33. Replies
    29
    Views
    807

    Minor indeed ... Maybe memory will be better then...

    Minor indeed ... Maybe memory will be better then :) - just thought of it again after months seeing it in 1.48 beta #3 ... and that is not in github code to post a fix ......
  34. Replies
    29
    Views
    807

    @Paul - Boards.txt still shows this Just...

    @Paul - Boards.txt still shows this


    Just checked again that still the gives 996 MHz at runtime:


    35C loopTime=357230 run mins=0.157983 F_CPU=996000000


    with this:
  35. Replies
    100
    Views
    151,919

    Sticky: Look at photo images on PJRC.com for the Teensy...

    Look at photo images on PJRC.com for the Teensy 4. A bit soon and complex for it to be cloned - and if so not likely to have the exact layout and colorization and silkscreen.

    Did it come with a...
  36. Replies
    29
    Views
    807

    No problems here in the couple of things I've...

    No problems here in the couple of things I've done. The i2c twin ssd1306's on a T_4.0 are running fine:


    Used the IDE to compile and upload a few sketches more than a few times after 1.49b5 on...
  37. USBHost thread has a decent usable library for...

    USBHost thread has a decent usable library for Flash/HDD/SSD drive attachment and access.

    It seems that was updated to TeensyDuino release copy?

    Though that thread uses MSC and uSDFS libraries.
  38. With more console output that could be seen where...

    With more console output that could be seen where it shows what libraries are used from where.

    IDE's "ctrl+comma" shows file/prefs and 'sketchbook' folder - that folder with be where 'libraries'...
  39. Given Paul's post above - it might be resolved...

    Given Paul's post above - it might be resolved with an update to the latest TeensyDuino. 1.48 has been released and 1.49 is in Beta and likely to be released in the next day - with no changes so far...
  40. This may be a board or version specific problem...

    This may be a board or version specific problem ... can you add details ...

    What Teensy is selected for the Board? Which IDE and TeensyDuino version?
  41. Replies
    40
    Views
    3,243

    Just a post for historical reference info on...

    Just a post for historical reference info on @tannewt and adafruit/circuitpython this bug fix date:


    Will be interesting to see it evolve for Teensy.
  42. Replies
    29
    Views
    807

    No doubt 4.1 EEPROM not top of list and easy to...

    No doubt 4.1 EEPROM not top of list and easy to decide before it ships - but the context was here - and you saw it :)

    As far as schedule ... it has been a typical or worse holiday season for...
  43. Replies
    29
    Views
    807

    @PhillippeA: Best to try 1.49b5 to see - there...

    @PhillippeA:
    Best to try 1.49b5 to see - there were i2c changes for robustness.

    Manual reset is typically only when USB Serial gets functionally broken with bad code, or the code prevents the USB...
  44. This cross-posted while sleeping on the last...

    This cross-posted while sleeping on the last post. Any self made will not have a unique Serial # until burned into the MCU area. Mixing and matching may confuse the PC.
  45. Interesting - that is quite right - they should...

    Interesting - that is quite right - they should be unique once they are ID'D. PJRC has process in place to assign unique Serial #'s.

    Not seen this before on Windows - don't know OS in use? IDE and...
  46. Have either or both been programmed with a sketch...

    Have either or both been programmed with a sketch from new? A sketch with USB Serial active? Even Blink?

    If the IDE and TeensyLoader are used to install even a blink sketch with USB Serial they...
  47. Replies
    12
    Views
    284

    T4 internal temp report of 35-50C is typical at...

    T4 internal temp report of 35-50C is typical at 600 MHz - depending on sketch and ambient temp and what is soldered to T_4 for heat dissapation. Internal can report higher values - but 1062 chip...
  48. Replies
    9
    Views
    673

    CircuitPython-on-Teensy-4!...

    CircuitPython-on-Teensy-4!

    ... closed for this dev thread ...
  49. Replies
    29
    Views
    807

    Installed TD 1.49b5 on IDE 1.8.10 on Win 10 no...

    Installed TD 1.49b5 on IDE 1.8.10 on Win 10 no trouble.

    Tested SSD1306 i2c on a Teensy 4.0 FRDM board with native Wire pulled out and it worked, wired second display to Wire1 (also Wire2) and it...
  50. Replies
    29
    Views
    807

    Not sure of the details and future form - but the...

    Not sure of the details and future form - but the new restrictions on Mac Secure install led to this after some effort and signing work by Paul AFAIK
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4