Search results

  1. N

    Interrupt Vector Table Location?

    Ah yeah, I've done that in the past but was curious about trying to write some programs in pure assembly and was wondering how to make interrupts work with that. I'll go look at the definition for that command and see what I can find. Found the file! Thx!
  2. N

    Interrupt Vector Table Location?

    I was having some fun researching interrupts and thought it'd be cool to try and write my own interrupt handler in assembly. The only problem is I can't seem to find the location of the interrupt vector table so I can point the teensy to my handler. Can someone point me in the right direction?
  3. N

    Overclocking Teensy 4.1?

    I believe I may be. I must confess I didn't understand signals class all that well. Def more of a CE than an EE. Don't you still have to poll at twice the rpm/60*numteeth tho?
  4. N

    Overclocking Teensy 4.1?

    That's true to a certain extent but we'll be measuring stuff like shock travel with lds sensors, brake pressure with ratiometric brake sensors, and wheel rpm off the drive shaft and transfer case output which have fairly high nyquist rates. It is admittedly somewhat overkill, but that's also...
  5. N

    Overclocking Teensy 4.1?

    Thanks for the advice! I'll try to implement those changes tomorrow. As for the interrupt bit, I like the idea of using interrupts as I can only record/poll sensors when their data is ready instead of having to poll at their nyquist rate, wasting a lot of clock cycles for unnecessary...
  6. N

    Overclocking Teensy 4.1?

    I tried to add a queue but I did something wrong and the teensy keeps on hard rebooting. I'm gonna try and see if I can track the free heap/ram and see if that's the problem but figured I'd post the updated code here for now. //Note: Should get an external powersupply to get better VCC...
  7. N

    Overclocking Teensy 4.1?

    Thanks for your input! The implementation of the i2c devices was thrown together last weekend in preparation for an upcoming testing day and it's abundantly clear that I could make it work much much better than it currently is. I'm currently focusing my efforts on trying to get the teensy to...
  8. N

    Overclocking Teensy 4.1?

    Thanks for your response Paul! I've seen your comments all over this forum and have found them to be some of the most enlightening information on here. I've pasted my entire program below so everyone who sees this has full context since it's pretty short. (Sorry about the somewhat dumb sounding...
  9. N

    Overclocking Teensy 4.1?

    Oh, lol! Thx!
  10. N

    Overclocking Teensy 4.1?

    I'm using a Teensy for a data acquisition setup and was wondering if I could overclock it a little to up the polling rate a bit. I know this will potentially introduce some instability and reduce the expected lifespan of the CPU, but this is a situation where burning out a Teensy every now and...
  11. N

    Teensy to Teensy Communication

    I'm working on a project where I read data from a bunch of sensors and save it to an SD card at 1000Hz. That parts working great, but I need to be able to transmit the data that I'm saving to the SD card to a second teensy 4.1 that can handle wireless communications, rpm calculations, etc, etc...
  12. N

    How to set RTC on Teensy 4.1?

    Sorry, but where do you find the TimeTeensy3 file? I haven't been able to find that anywhere. Edit: I found it and it works! Thank you so much!!!
  13. N

    How to set RTC on Teensy 4.1?

    This seems like a dumb question, but I've done a good bit of research and still haven't come up with an answer. All I'm trying to do is get my teensy 4.1's clock to sync to my laptop's time at first boot, but I haven't found a clear answer for how to do it yet. Can someone point me in the right...
Back
Top