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

Search:

Type: Posts; User: jakap

Search: Search took 0.00 seconds.

  1. Replies
    184
    Views
    22,669

    Thank you for your explanation. Please keep us...

    Thank you for your explanation. Please keep us posted if you make any progress on that, I am pretty sure many of us would be interested!
    Relearning how to use such a library is the least of a...
  2. Replies
    184
    Views
    22,669

    First of all, thank you vjmuzik for this library,...

    First of all, thank you vjmuzik for this library, it works great.

    I am using the library in a closed loop control application. I am listening to the commands by polling and parsing the packet in...
  3. Replies
    7
    Views
    414

    Thank you for your assistance. Studying...

    Thank you for your assistance.
    Studying Manitous code, I figured out I forgot to turn on the XBARA clock:

    CCM_CCGR2 |= CCM_CCGR2_XBAR1(CCM_CCGR_ON);

    I also changed the Input pin of the...
  4. Replies
    7
    Views
    414

    Thank you KurtE, I think that is the right way to...

    Thank you KurtE, I think that is the right way to go.
    I copied the function you suggested, and called it in the last line of the setup function:


    xbar_connect(XBARA1_IN_FLEXPWM1_PWM3_OUT_TRIG1,...
  5. Replies
    7
    Views
    414

    Sorry if I was not clear. I went back and edited...

    Sorry if I was not clear. I went back and edited my original post.
    The question is, is it possible to connect the FLEXPWM1-PWMA03 (pin8) to Qtimer4 Ch.1 Input pin (pin 9) using XBAR, and if, how to...
  6. Replies
    7
    Views
    414

    Teensy 4.1 XBAR between PWM and QuadTimer

    Hello,

    I am generating PWM using analogWrite and would like to count the number of ticks using Quad Timer Capture.
    So far, I cascaded TMR1 and TMR2 channels to extend it to 32bits. Using PIT...
  7. My application is a bit different; it requires...

    My application is a bit different; it requires constant stream of pulses with constant pulse wdith and varying frequency, up to 200kHz (think stepper motor). At at external request with period of...
  8. Can someone suggest how to do the same on Teensy...

    Can someone suggest how to do the same on Teensy 4.x using FlexPWM?

    I have been reading the manual and it looks like one could use the E-Capture module to measure the cycles by 8-bit EDGCMP_X...
Results 1 to 8 of 9