Search results

  1. P

    New Pulse Position Modulation (PPM) Library

    For the past few months, I've been working on a remote controlled gimbal mounted 3-axis live camera system for real race cars. After some huge learning curves, trial and error, I came across using a Teensy board to get better control over the cameras. In a race car, it's not possible to get...
  2. P

    Where does teensyduino put .lst, .o, .hex files?

    Thanks, I figured as much on the objdump. I wasn't sure of the arm compiler generated .o's retain debug information like line numbers (wanted source reference), so wanted to go the .a or .lst file approach. But I'm still curious about -save-temps=obj. Are you saying add that to the option...
  3. P

    Where does teensyduino put .lst, .o, .hex files?

    Thanks to both of you. Paul, that got me half way there and at least told how to find the output directory. Next, I'd like to auto-generate some .lst files ala something like this: -Wa,-adhlns=xxx.lst. Michael thanks to you as well. I'm not sure how to add the -save-temps=obj to build.txt...
  4. P

    Where does teensyduino put .lst, .o, .hex files?

    OK, I give up. I've been searching and searching how to generate (and find) the compiler output files. I use on Windows, but I even installed on Linux just so I could have better tools to search and find them. For the life of me, I can't find where these files go. I want to generate a list...
  5. P

    list of pin modes for teensy 3.1?

    I used the pinout from the teensy schematic and looked them up in the table. I looked them up by name, not pin number. I mapped the pin name to the table in 10.3.1. I was only interested in the FTM channels, and I didn't notice any errors in the ones I checked. I believe (may be wrong) that...
  6. P

    list of pin modes for teensy 3.1?

    /*--------------------------------------------------------------------- * Set Pin Control Register as follows (Register: PORTx_PCRn): * MUX : Pin Mux Control, sets pin definition according to table * in K20 Manual, Section 10.3.1, * "K20 Signal Multiplexing and Pin...
  7. P

    PPM Library Questions

    After looking at this further, I've concluded that is TOIE is needed. When looking much deeper into it, I found this strange line of code in both Input and Output ISRs. if (val > 0xE000 && overflow_inc) count--; That line of code is the clue that TOIE was originally intended to be enabled...
  8. P

    ISR on Serial1 Receive help

    Add a subroutine outside of your class library. Just remember, initially your ISR will not have access to your local class data. So you must add a pointer to it before the ISR can access it. See the PulsePosition library for an example. Then for the names of the ISR, you can find the names...
  9. P

    PPM Library Questions

    Good catch. I just got back from my weekend, and was going to start back in where I left off. I was planning to go through the register specs as well -- because I figured I would find something exactly like this; in fact now that I think about it...this was the exact register setting I was...
  10. P

    PPM Library Questions

    I was honing in on a similar phenomenon right before leaving for the weekend. Even when myOut is disabled, output interrupts were still occurring. I did some experiments and found I could get the output interrupts to stop when I programmed its associated FTMx_CnSC register = 0 (saying that...
  11. P

    PPM Library Questions

    I've attached the files. PulsePosition.cpp, PulsePosition.h, and LoopBack.ino are exactly as they appear on the github (or should be exactly). These files, when compiled, generate output on the USB debugger to show PPM input. Change to LoopBack_Bad.ino, and no PPM input occurs. The only...
  12. P

    PPM Library Questions

    PulsePosition Library Questions Question-1: I've been struggling with the library for days. I need a single PPM input, without any PPM output. I can compile and run the loopback example without any problems. It runs, and I get the PPM input messages. But as soon as I disable the...
Back
Top