Arduino Forum

Products => Arduino Zero => Topic started by: mohammedalsayegh on Jun 06, 2018, 09:23 pm

Title: IIR Filter implemented in MKRzero and simple rate
Post by: mohammedalsayegh on Jun 06, 2018, 09:23 pm
Hi,

I am trying to implement infinite impulse response (IIR) in MKR zero board. I saw in documentation that rate of sampling is 350ksps from chip datasheet (https://www.microchip.com/wwwproducts/en/ATSAMD21G18). While, the resolution of MKR ZERO board ADC is 12bit which can be change by analogReadResolution(bits). But, I didn't see neither in the datasheet or the arduino site a way to modify or know the simple rate of the ADC.

Is there a way to modify a register in MKR0 (ATSAMD21G18) to adjust the simple rate ?


Is there a good example of IIR filter for MKR0 Arduino ?

thanks!!