input capture with digital filter ? #1214
              
                Unanswered
              
          
                  
                    
                      trimarco232
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
uno like arduinos have input capture with digital filter, on TIMER1
the filter is basic, ie. it waits for 4 samples having the same level (HIGH or LOW) before validate a level change, and immediately trigger a capture
somme mcus. (like the $0.1 ch32v003) have ICPs with filters witch one can select the sampling rate, and the number of samples
RP2040 looks to have nothing like this, unless it can be done with the PIO peripherals
is there an existing code for this ?
Beta Was this translation helpful? Give feedback.
All reactions