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

Search:

Type: Posts; User: defragster

Search: Search took 0.01 seconds.

  1. Replies
    45
    Views
    7,635

    If it helped the two 'new to t4' values are easy...

    If it helped the two 'new to t4' values are easy - the systick_millis_count would be bad without reference leaving the old behind - looks like reference& is a .cpp feature?

    /\ cross posted p#44...
  2. Replies
    45
    Views
    7,635

    @Paul: re p#36 / p#43 using the updated github...

    @Paul: re p#36 / p#43 using the updated github cores in the sketch here at 24 MHz:

    Short Summary: You did good with the ASM and rework - micros() is running 3 cycles faster by this measure. And...
  3. Replies
    45
    Views
    7,635

    View Post

    <Good timing was just coming to ask about your test code?>

    Yes, when that Frac could jump a us in advance was the only way I saw it generating a problem - but wasn't sure adding code to limit was...
  4. Replies
    45
    Views
    7,635

    The T4 pulls code from FLASH to RAM to execute -...

    The T4 pulls code from FLASH to RAM to execute - the minimum allocation block for that is 32KB. That allows that code to run at zero wait states in sync with the processor. Code can be marked as...
  5. Replies
    45
    Views
    7,635

    Indeed - looking at delay() it relies on micros()...

    Indeed - looking at delay() it relies on micros() - rewrote it to work with millis() and it shows proper function. So the millis systick isn't the trouble.

    This line in micros() gets the partial...
  6. Replies
    45
    Views
    7,635

    With that change reverted AFAIK it says any...

    With that change reverted AFAIK it says any slowdown isn't related to that clockspeed.c change.

    And if slowdown clearly visible - it isn't a time measure issue.
  7. Replies
    45
    Views
    7,635

    @WMXZ - thread you started :...

    @WMXZ - thread you started : forum.pjrc.com/threads/58053-T4-set_arm_clock-and-micros()

    Exhibited the issue with:


    #if defined(__IMXRT1062__)
    extern "C" uint32_t set_arm_clock(uint32_t...
  8. Replies
    45
    Views
    7,635

    @Paul and #mjs513: Paul - thanks for leaving...

    @Paul and #mjs513:

    Paul - thanks for leaving the old "...\teensy\avr\cores\teensy4\clockspeed.c" code in place under COMMENT!

    I reverted to that code {based on github link} and my...
  9. Replies
    45
    Views
    7,635

    TD 1.49 b3 installed on Win 10 - works. per...

    TD 1.49 b3 installed on Win 10 - works.

    per @mjs513 post #2 above : ClocksT4.ino sketch much improved - 130 MHz is intermittent? Need to try the Grieman SDFat_Beta - posted on that thread it was...
Results 1 to 9 of 9