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

Search:

Type: Posts; User: michastro

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    248

    Thank you very much!

    Thank you very much!
  2. Replies
    3
    Views
    248

    GPT, PIT at 150MHz and serial port

    Hello,
    To continue my work with the timers, I am going to work with a clock of 150MHz for them. Is there any influences on the serial port if I use this clock? I work on a Teensy 4.0. The...
  3. Hi, The resolution of my timers is 24MHz....

    Hi,
    The resolution of my timers is 24MHz. Perhaps I can try with 150MHz.
  4. Ok thank you, so I don't understand where is the...

    Ok thank you, so I don't understand where is the problem. Here is a little part of my code. The TimerMoteur is used to make a ramp to increase and decrease the speed of motor and to make a precise...
  5. Relation between PIT and GPT timer on Teensy 4.0

    Hello,
    I have a quite complicated program with a PIT timer and a GPT timer. I would like to know if there is no relation between this two timers, if one timer can disturb the other one. My PIT timer...
  6. Replies
    0
    Views
    101

    Utility of TIF in TFLG0 in a PIT timer

    Hello,
    I have write a small program to test the use of TIF in TFLG0 of a PIT timer on a Teensy 4.0. I can't see the utility of this flag, It's a value of 0 between interrupt, 1 at the beginning of...
  7. Replies
    6
    Views
    418

    OK thank you!!

    OK thank you!!
  8. Replies
    2
    Views
    261

    Internal EEPROM of Teensy 4.0

    Hi,
    Is it true that the call to internal EEPROM may slow the timers or the rs232 use?? Is it the same thing, if I use external EEPROM?
    Thanks
    Michel
  9. Replies
    6
    Views
    418

    Is it possible to explain me why the volatile...

    Is it possible to explain me why the volatile variable works and not a standard variable??
  10. Replies
    6
    Views
    418

    Thank you, it was simple, but I didn't know that....

    Thank you, it was simple, but I didn't know that.
    Michel
  11. Replies
    6
    Views
    418

    Wait for the end of a timer

    Hello,
    I am working with a timer, and I want to wait until the timer has finished the current cycle. My code is very simple but doesn't work :-( And of course I don't understand why.
    Thanks for...
  12. Replies
    3
    Views
    226

    My problem is to give more priority with the PIT...

    My problem is to give more priority with the PIT timer compared to GPT timer.
  13. Replies
    3
    Views
    226

    Priority of GPT and PIT timer

    I have made, with your help, very big progress in my translation of telescope guidance from an UNO32 card to Teensy. I use a PIT timer because I can change the counter as I want with loss of time,...
  14. Replies
    11
    Views
    594

    Thanks for your answer, the reason of my problem...

    Thanks for your answer, the reason of my problem was compteur unssigned long and not uint32_t, I am stupid.
    Thanks again
    Michel
  15. Replies
    11
    Views
    594

    Hi, I have tried with PIT timer, and it's...

    Hi,
    I have tried with PIT timer, and it's working perfectly, NO DRIFT. Only one problem, I have tried to replace PIT_LDVAL0=2400000-1 with PIT_LDVAL0=compteur, and it doesn't work, I am sure it's a...
  16. Replies
    11
    Views
    594

    I have got a good result with no apparent drift...

    I have got a good result with no apparent drift with this code, but why 10 cycles are lost!? It's not the serial.printf because the change of the timer counter is made before.



    #include...
  17. Replies
    11
    Views
    594

    I have no drift too with your program, but my...

    I have no drift too with your program, but my goal is to control a microstep motor, and to be able to change the speeds every 1s, during a quite long time (several hours), so if I lose some cycle...
  18. Replies
    11
    Views
    594

    Is it possible to avoid this drift?

    Is it possible to avoid this drift?
  19. Replies
    11
    Views
    594

    Shift with a timer

    Hi,
    I am writing a program with a timer wich will be variable in time. For instance, I am testing the way to change the timer count directly by writing to GPT1_OCR1 with a constant time (100ms), but...
  20. Thread: Serial use

    by michastro
    Replies
    1
    Views
    187

    Serial use

    Hello,
    I am translating a program from an UNO32 board to teensy 4.0. I am searching how to use the serial link. I would like to know was is the register or bit to test to know if there is something...
  21. Replies
    6
    Views
    497

    So now I am in the very big doc of the IMXRT1060...

    So now I am in the very big doc of the IMXRT1060 and the source code of TimerTool. It's not very easy to find how to have a 150MHz or 100MHz with the CCM and use it for the GPT1 timer. I have search...
  22. Replies
    6
    Views
    497

    Thanks a lot!! Now I have to find a way to select...

    Thanks a lot!! Now I have to find a way to select medium speed (100MHz) and how to change the value of the counter to have very precise timer interval, it's to pilot motors of a telescope with very...
  23. Replies
    6
    Views
    497

    OK, thank you, now I an trying to find an example...

    OK, thank you, now I an trying to find an example of the use of GPT timer.

    Michel
  24. Replies
    6
    Views
    497

    Timer 32bit 150MHz with timertool

    Hello,
    I am just beginning with Teensy after a long time of programmation on other micropic. I have a 4.0 Teensy and I need a timer with a resolution of about 80MHz or more and a 32bits timer, but...
Results 1 to 24 of 24