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

Search:

Type: Posts; User: manitou

Search: Search took 0.01 seconds.

  1. Replies
    100
    Views
    38,326

    did a quick test on your github local fork. ...

    did a quick test on your github local fork. works for me :D
  2. Replies
    100
    Views
    38,326

    @mjs513 @KurtE Using your latest zip from this...

    @mjs513 @KurtE
    Using your latest zip from this thread, I ran various tests with T4 loopback and data from T3.2 PulsePosition. All looks good. Impressive work managing all the ISRs!!

    Re: down...
  3. Replies
    100
    Views
    38,326

    You could fix framepin support. In my test...

    You could fix framepin support. In my test sketch, I just used digitalWrite/digitalRead to implement framepin....
  4. Replies
    100
    Views
    38,326

    Just for the record, NXP discussion...

    Just for the record, NXP discussion confirms bug in quad timer overflow interrupt -- though it does fire if counting down. Should be documented in latest errata.
  5. Replies
    100
    Views
    38,326

    maybe try *(portConfigRegister(rxPin)) = 1 | 0x10;

    maybe try *(portConfigRegister(rxPin)) = 1 | 0x10;
  6. Replies
    100
    Views
    38,326

    Re: daisy register I was lucky in my QTIMER ...

    Re: daisy register
    I was lucky in my QTIMER proof-of-concepts, i just tried pins 11 and 6 and didn't stumble on a daisy register. However, in the last few days I've been playing with eflexPWM...
  7. Replies
    100
    Views
    38,326

    Re: TMR_CTRL_SCS(2) I looked at...

    Re: TMR_CTRL_SCS(2)

    I looked at TMR_CTRL_SCS(2) last night and decided it was harmless, but I just removed it, and input doesn't work. So that value needs to match the channel of the timer for...
  8. Replies
    100
    Views
    38,326

    FWIW, i added framePin support to my hack ...

    FWIW, i added framePin support to my hack ppmoutq.ino. updated github.
    https://github.com/manitou48/teensy4/blob/master/ppmoutq.ino
    tested on scope with pin 2 as framePin. scope output looks the...
  9. Replies
    100
    Views
    38,326

    SCTRL is the capture interrupt, only used by PPM...

    SCTRL is the capture interrupt, only used by PPM in

    CSCTRL is the compare interrupt used by PPM out AND used by PPM In to count rollovers of timer for 32-bit count. That was my concern in post...
  10. Replies
    100
    Views
    38,326

    I don't think it will affect what you are seeing,...

    I don't think it will affect what you are seeing, but upon further review, i think the Input pulse buffer logic and buffer sizes are OK
  11. Replies
    100
    Views
    38,326

    Just a visual inspection, in Input begin() you...

    Just a visual inspection, in Input begin() you need

    write_index = 255;
    available_flag = false;
    In my hack, i had those in setup() .... ugly
    but you might also compare your code to Paul's...
  12. Replies
    100
    Views
    38,326

    Re: PulsePosition.h Unless you changed...

    Re: PulsePosition.h

    Unless you changed additional logic, based on Paul's PulsePosition.h, you need +1 in your pulse vector dimensions

    uint32_t pulse_width[PULSEPOSITION_MAXCHANNELS+1];
    ...
  13. Replies
    100
    Views
    38,326

    this fixes pin 6 and 9, change

    this fixes pin 6 and 9, change <= to == :) so it reads

    } else if(txPin == 14 || txPin == 15 || txPin == 18 || txPin == 19) {
  14. Replies
    100
    Views
    38,326

    OK, confirmed with scope your zip file works on...

    OK, confirmed with scope your zip file works on pin 12 and does NOT work on pin 6.
    i modified another quadtimer test sketch i had to use pin 6, i got PWM working on pin 6 using QT4_1 -- so hardware...
  15. Replies
    100
    Views
    38,326

    Excellent. There are 10 quadtimer pins on T4. ...

    Excellent. There are 10 quadtimer pins on T4. One problem requiring additional logic with both quadtimer PPM out and in in the same lib is that I never could get quadtimer Overflow interrupt to...
  16. Replies
    100
    Views
    38,326

    Sketch in previous post is working now with T3.2...

    Sketch in previous post is working now with T3.2 PulsePosition example. I updated github. I'll let others test and weave logic in to PulsePosition lib ...
  17. Replies
    100
    Views
    38,326

    Here is a T4 quadtimer sketch that emits PPM...

    Here is a T4 quadtimer sketch that emits PPM pulses like the example in PulsePosition lib.
    https://github.com/manitou48/teensy4/blob/master/ppmoutq.ino
    Much of the logic is lifted from PulsePostion...
  18. Replies
    100
    Views
    38,326

    I have a proof of concept sketch for PPM input...

    I have a proof of concept sketch for PPM input portion of PulsePosition for the T4 using quad timer, see
    https://github.com/manitou48/teensy4/blob/master/ppminq.ino
    This was based on earlier...
  19. Replies
    100
    Views
    38,326

    Any thoughts on WDOG reset not working on T4...

    Any thoughts on WDOG reset not working on T4 (1060) but did work on T4B1 (1050)? Discussed in
    https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=217661&viewfull=1#post217661
    and...
Results 1 to 19 of 19