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

Search:

Type: Posts; User: The Law

Search: Search took 0.00 seconds; generated 36 minute(s) ago.

  1. I will soon after cleaning up my code post a...

    I will soon after cleaning up my code post a reply here with some more detailed info, currently i have still not yet been able to make flexpwm trigger the adc sample but i have managed to enable...
  2. I have written this interval timer which will...

    I have written this interval timer which will disable and enable the quadtimers until it reads a high pulse when the flexpwm generator is set to 5%, it works really well and since it is meassuring...
  3. Okay so with some testing, using an intervaltimer...

    Okay so with some testing, using an intervaltimer based delay which i currently manually adjusted till i got right readings, i am able to read the pwm output at peaks of 10/1024 which is actually...
  4. I have tried so much yet i always circle back to...

    I have tried so much yet i always circle back to where i started, at this point i am going to manually using an intervaltimer synchronize a quadtimer with a flexpwm counter at hopefully the same...
  5. Oh thats really cool! i actually have made myself...

    Oh thats really cool! i actually have made myself a cnc mill which could use your fabulous technology!
    If you get around the adc sampling problem, please let me know as i have yet to uncifer the...
  6. Have you otherwise been able to enable...

    Have you otherwise been able to enable complementary pwm signals instead of using val4-5 for second channel?
  7. The url doesnt work, i think you accidentally...

    The url doesnt work, i think you accidentally made the ... permanent
  8. Hi Bzaz, I have read the doc you are talking...

    Hi Bzaz,

    I have read the doc you are talking about, actually i have list of docs you might find usefull too and i think we should co-operate on this since our end goal is somewhat similiar, Just...
  9. On page 3029(chip specific flexpwm info) of the...

    On page 3029(chip specific flexpwm info) of the imxrt1060 doc linked in the pjrc site it mentions this



    Does this mean the flexpwm does not support adc sample trigger as an input to enable pwm...
  10. So i have changed my adc class to the following...

    So i have changed my adc class to the following using allot of your example code, which seems to be taked partially from the same sources as i had as i had indeed seen manitou's github page when i...
  11. Here is it anyway: Adc class: ...

    Here is it anyway:


    Adc class:




    #include <T3/t3adc.h>
    #include "Drive/foc.h"
  12. So currently i have several flexpwm registers set...

    So currently i have several flexpwm registers set to output a proper and working pwm signal, i wasnt able to get complementary mode working but by using registers 4 and 5 i was able to generate the...
  13. Teensy 4 synchronize ADC sampling with flexPWM timing

    Hello everyone, this is the first time im posting a thread on the pjrc forum so please excuse any mistakes i make.
    I have a Teensy 4.0 which i am planning on using with my high powered ebike to...
Results 1 to 13 of 13