Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • xenington's Avatar
    03-24-2020, 01:49 PM
    Hi KurtE Thanks for the info. It was very useful in getting started in understanding how this works. One thing I have discovered is that it appears (I may be wrong) that freqmeasuremulti for T4 is more of a period...
    10 replies | 357 view(s)
  • xenington's Avatar
    03-18-2020, 05:07 PM
    @KurtE Hi Kurt Can you please explain how FreqMeasureMulti for the Teensy 4 actually works? Regarding rising edges only. Does it measure the time between 2 edges? Take an average of several periods? Thanks
    10 replies | 357 view(s)
  • xenington's Avatar
    03-18-2020, 02:06 PM
    Hello, hopefully just a quick one :) My understanding of interrupts is that most have their flags reset when the interrupt is started. Am I correct in thinking that this means the interrupt won't repeat until the...
    1 replies | 71 view(s)
  • xenington's Avatar
    03-12-2020, 04:26 PM
    If I use the output of pin10, this is printed: 59.97(2:2490368:16.60 2:2490368:16.60 2:2555904:17.04 2:2490368:16.60 ) 60.03(2:2490368:16.60 2:2490368:16.60 2:2490368:16.60 2:2490368:16.60 ) 59.97(2:2490368:16.60...
    10 replies | 357 view(s)
  • xenington's Avatar
    03-12-2020, 04:19 PM
    I tried them all: TCK, GPT and TMR. The example sketch you gave above in post #3 prints the following: 41981.53(2:4294967295:0.00 2:4294967295:0.00 2:0:0.00 2:4294967295:0.00 ) 42016.81(2:4294967295:0.44...
    10 replies | 357 view(s)
  • xenington's Avatar
    03-12-2020, 02:02 PM
    @ KurtE Excellent work. The library works very well. I can take readings from 4 sensors producing square wave frequencies around 50KHz in less than 1 microsecond! Using pulseIn() or digitalRead() takes much longer -...
    10 replies | 357 view(s)
  • xenington's Avatar
    03-07-2020, 08:43 PM
    Thank you, thank you, thank you, thank you, thank you. This has been doing my nut in for ages. I will do some testing tomorrow and report back.
    10 replies | 357 view(s)
  • xenington's Avatar
    03-03-2020, 09:25 PM
    You didn't have to install Linux, I don't mind checking for such things (there's probably only me that uses it anyway). It is nice to know you care though.
    125 replies | 3584 view(s)
  • xenington's Avatar
    03-03-2020, 01:28 PM
    Hi Luni The latest version (downloaded yesterday) will not compile for me without the files src/Teensy/GPT/GPTchannel.h and src/Teensy/TMR/TMRchannel.h being renamed GPTChannel.h and TMRChannel.h respectively. ...
    125 replies | 3584 view(s)
  • xenington's Avatar
    03-01-2020, 06:39 PM
    The TXB0108 level shifter was producing loads of interference so I replaced it with resistor voltage dividers instead (10k + 15k).
    10 replies | 357 view(s)
  • xenington's Avatar
    02-29-2020, 03:37 PM
    OK. So I have had look into porting FreqMeasureMulti for the t4 and it is all very confusing. Can someone give me some pointers please? I am not sure which timer to use: flexpwm or GPT? Both can be triggered by...
    10 replies | 357 view(s)
  • xenington's Avatar
    02-29-2020, 03:22 PM
    OK. So I have had look into porting FreqMeasureMulti for the t4 and it is all very confusing. Can someone give me some pointers please? I am not sure which timer to use: flexpwm or GPT? Both can be triggered by...
    0 replies | 93 view(s)
  • xenington's Avatar
    02-21-2020, 05:29 PM
    OK. So I have had look into making FreqMeasureMulti work for the t4 and it is all very confusing. Can someone give me some pointers please? I am not sure which timer to use: flexpwm or GPT? Both can be triggered by...
    4 replies | 245 view(s)
  • xenington's Avatar
    02-18-2020, 04:16 PM
    Genius. Thanks Kurt
    275 replies | 7850 view(s)
  • xenington's Avatar
    02-06-2020, 02:17 PM
    It's alive! The problem turned out to be embarrasingly simple - the cable I was using was too long (about 1m). Swapped to a 50cm cable and everything burst into life. I feel pretty stupid. Or perhaps I am pretty...
    187 replies | 34379 view(s)
  • xenington's Avatar
    02-06-2020, 01:37 PM
    Sorry to resurect this thread, but this information may be useful to the people in the UK. uk.rs.online have free postage and sells these FPC connectors: https://uk.rs-online.com/web/p/fpc-connectors/1822398...
    8 replies | 1008 view(s)
No More Results
About xenington

Basic Information

Statistics


Total Posts
Total Posts
37
Posts Per Day
0.07
Last Post
FreqMeasureMulti on the T4 03-24-2020 01:49 PM
General Information
Last Activity
Yesterday 01:06 PM
Join Date
10-16-2018