Embedded Systems 2011 Midsem
Embedded Systems 2011 Midsem
$:;.72%
!;&72%8'2'%
.9(%
%
&9(%
!"#$%.-/%%,0123044)3%
<**3)((%.9(%
56%&72%
$:;.72%
8'2'% ,012304%
.9(% .9(%
!"#$%$&'()*+$$,-./$
Date: 19/02/2011.
1
2 MID-TERM EXAMINATION SPRING 2010
(2) A variable IIR filter with eight given sets of coefficients is to be implemented on an
8051 based system. Design the complete scheme assuming that the Variable Filter
Coefficients(V.F.C.) are to be stored in the form of tables in the EPROM as shown.
The first location of each table specifies the order of the numerator and the second
location specifies the order of the denominator of the IIR filter. Assume the orders
(both denominator as well as numerator) of each to not to exceed 3. The values
are stored as denominator followed by the numerator coefficients. External control
is required to choose the specific filter. Use 0809 ADC and DAC0808.
a) Draw the chip level diagram showing the various connections in a table. Spec-
ify the pin numbers as well as the names of the pins of each chip. [4]
b) Write the program to acquire the data from the ADC, filter it depending on
the switch selection and send it to the DAC. Use interrupt driven data transfer.
The timing for the ADC clock as well as the SOC to the ADC should be generated
from the internal timers of the 8051.[6]
c) Find the maximum achievable sampling frequency. [4]
!"#"$"%
&'()*%
!"#"$"%
&'()+%
56$%
!"#"$"% 6B(B%CD;%
&'(),%
>?@A3%,1$,/0%
!"#"$"%
&'()-% 2*/+% &78(9:';%(<%
% 5EEF';;%CD;% 3$4% ;'='9(%(:'%!"#"%
!"#"$"%
&'().%
%
$<G(F<=%CD;%
!"#"$"%
&'()/%
%
!"#"$"% 65$%
&'()0%
%
!"#"$"%
&'()1%