Search results

  1. R

    Future Teensy features & pinout

    USB-C +1 Also: It would be good for those of us wishing to squeeze the last ounce of performance from FreqCount() if the clock used could optionally be from an external precision source (See #555 in this thread)
  2. R

    Teensyduino 1.57 Released

    @defragster Thanks for your help. Sorry it took a while to get back to you but I'm running around getting ready to be inundated by a flock of grandchildren for the next week. (1) Report by MySearch: Looking for "*precompile_helper*" in "C:\" Found "C:\Program Files...
  3. R

    How do I undo attachInterrupt() ?

    Thank you Paul, that looks exactly like what I need. Regards, Richard
  4. R

    How do I undo attachInterrupt() ?

    Hi, I'm using attachInterrupt() to monitor state changes on a T4.1 pin... and it works a treat. However, I cannot find a function to disable the interrupt function on a pin when I have finished. detachInterrupt() ?? The pin usually receives signals in the 0 to 10KHz range but at other times...
  5. R

    Teensyduino 1.57 Released

    Hi, After Michael pointing out a solution that was staring me in the face I'm cautious about asking again, but... A clean install of Arduino 1.8.19 followed by Teensyduino 1.57 resulted in a system that compiled Lab-In-A-Box just fine. Installing the Arduino Ide2.0.0-rc9.2 and checking it used...
  6. R

    Teensyduino 1.57 Released

    Hi Michael, As my mum used to say "None so blind as those who do not look in the right place...". I have used the Arduino IDE intermittently for several years and somehow had never looked at that particular menu item. Thank you for your guidance. Richard
  7. R

    Teensyduino 1.57 Released

    MTP fails with Teensy 1.57 and IDE 2.0.0-rc9.2 Hi, Release 1.57 installed and works well. I thought I would try the latest Arduino IDE and it is certainly a big improvement on the earlier version. In combination I successfully compiled my 'Lab-In-A-Box' project. Great! MTP offers a better...
  8. R

    Interfacing LM1971 Attenuator with Teensy 4.1 SPI

    Hi Folks, OK, no replies so head and wall were employed. I managed to make the '1971 respond by using SPI mode 3 : SPISettings settingsA(2000000, MSBFIRST, SPI_MODE3); I'm not sure how this complies precisely with the /LOAD to CLOCK timing requirements in the '1971 manual but it appears...
  9. R

    Interfacing LM1971 Attenuator with Teensy 4.1 SPI

    Hi, Before I start bashing my head against the wall ... has anyone any experience with using the LM1971 with a Teensy 4.1 SPI bus that they are willing to share? Best Regards RichardL
  10. R

    Future Teensy features & pinout

    Future Teensy FreqCount() enhancement It would be good for those of us wishing to squeeze the last ounce of performance from FreqCount() (and possible FreqMeasure()) if the clock used by those functions could be from an external precision source. The microprocessor clock on Teensy is derived...
  11. R

    Teensyduino 1.56 Beta #2

    Hi, First, sorry for not replying to those who have kindly looked into the FreqCount() problem; things have been a bit hectic. I downloaded the library that mjs513 posted and it solves the problem. I now have a functioning frequency meter on a T4.1 that runs up to c.72MHz with gate periods...
  12. R

    Teensyduino 1.56 Beta #2

    @Paul I still find that FreqCount() fails to show a correct value when the interval between readings is longer than the gate period. It looks to me like a reset or a latching failure or something along those lines. The result is that FreqCount() is useless in any program where the loop() time is...
  13. R

    Teensyduino 1.56 Beta #2

    @MarkT, @BriComp, @FrankB Thanks for your comments relating to roll over / wrap around in MyDelay(), certainly something that needs to be taken account of in a developed program but not really relevant to the problem I'm seeing. (If you look at my code snip the call to MyDelay() was commented...
  14. R

    Teensyduino 1.56 Beta #2

    @Paul Thank you for replying to my query. My system consists of : Teensy 4.1 plus custom PC board and touchscreen. Windows 10 PC Recently installed Arduino 1.8.15 and Teensyduino 1.56-beta1 The Library manager indicates I have FreqCount 1.3.0 I see no FreqCount() examples...
  15. R

    Teensyduino 1.56 Beta #2

    @Paul I do hope FrequencyCount is going to reappear in the examples, preferably with the timing constraints eliminated! Please.
  16. R

    Teensyduino 1.54 Beta #6

    Hi Paul, I think FreqCount() is flawed. The gating period appears to not be set by the call to FreqCount.begin(NuSec). Or am I being stupid (as usual)? T4.1 on custom PCB with very good signal conditioning. Main code is many thousands of lines... but boils down to this: /* Name...
  17. R

    Frequency Counter

    Hi Dale,​ I'm using a T4.1 in a frequency meter application and with decent front end signal conditioning can achieve 70MHz. In my application I use a LTC6752 comparator that is good for 280 MHz; but take care if you try this, it can introduce multiple edges at low frequencies and the...
  18. R

    Teensyduino 1.54 Beta #6

    Beta6 installed over Beta 5 with no problems on my Windows 10 x64. Probablytoo late in the day, but as a T4.1 user my wish list would be: Could FreqCount() have a way to clear the pipeline and initiate a measurement immediately. (I need to check when a hopping frequency settles and...
  19. R

    Teensy 4.1 ~ Frequency measurement and SD issues

    HiPaul, Thanks for the Teensy series of boards, I've had lots of success incorporating them into various projects. About a year ago I started an ambitious data capture project with a Teensy 3.2, then upgraded to a Teensy4.0 and finally to a Teensy 4.1 so I could use the SD card features to...
  20. R

    Teensy 4.1 Cannot access Internal SD card

    Hi, I have a data capture project nearing completion, it started with a Teensy 3.2 and migrated to the Teensy 4. The software, hardware and PCB designs (now on Rev 3) have kept me busy for most of a year. The project monitors several instruments and sends the data to a laptop PC for storage and...
  21. R

    FreqCount() not working as I expected

    Hi, Further observations on FreqCount() performance =============================== This code does not exhibit the same feature (bug?) as my previous example and will accept gate times as short as 1uS and works up to 70MHz. The call to delay() in my original code (simulating 'other things'...
  22. R

    Teensy ADC resolution

    Hi, I needed two ADCs to measure some sensor outputs in a Teensy3.2 based project. Although I made it work I was always fighting noise and drift. When the Teensy4 came along the speed increase was too good to ignore so I migrated the project to it without too much difficulty after a clean...
  23. R

    FreqCount() not working as I expected

    Hi, I'm using a Teensy 4 and 'FreqCount' to measure frequencies in the range 1KHz to 60MHz (Higher would be good!). The user is able to select the gate time in the range 1mSec to 10Seconds, trading precision for speed. I'm using a very high speed comparator to drive the Teensy and a signal...
  24. R

    Teensy 4.0 Main Clock Speed...

    Hi, I'm building a digital frequency meter into a major project and using FreqCount(). I've progressed as far as reading a frequency OK, but need to make a correction to take account of the Teensy's clock error, I'm reading about 12ppm high. (50MHz is displayed as 50.000607 with a 1 sec gate...
Back
Top