Nexys4 DDR™ FPGA Board Reference Manual
15.2 Microphone Digital Interface Timing
The clock input of the microphone can range from 1 MHz to 3.3 MHz based on the sampling rate and data
precision requirement of the applications. The L/R Select signal must be set to a valid level, depending on which
edge of the clock the data bit will be read. A low level on L/RSEL makes data available on the rising edge of the
clock, while a high level corresponds to the falling edge of the clock, as shown in Figure 27.
CLK
DATA1
DATA2
The typical value of the clock frequency is 2.4 MHz. Assuming that the application requires 7-bit precision and 24
KHz, there can be two counters that count 128 samples at 12 KHz, as shown in Figure 28.
0.416ns
16 Mono Audio Output
The on-board audio jack (J8) is driven by a Sallen-Key Butterworth Low-pass 4
audio output. The circuit of the low-pass filter is shown in Figure 29. The input of the filter (AUD_PWM) is
connected to the FPGA pin A11. A digital input will typically be a pulse-width modulated (PWM) or pulse density
modulated (PDM) open-drain signal produced by the FPGA. The signal needs to be driven low for logic '0' and left
in high-impedance for logic '1'. An on-board pull-up resistor to a clean analog 3.3V rail will establish the proper
voltage for logic '1'. The low-pass filter on the input will act as a reconstruction filter to convert the pulse-width
modulated digital signal into an analog voltage on the audio jack output.
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
< 20 ns
Pulse
Pulse
Figure 27. PDM Timing Diagram.
83.2ns
Counter 1 Counting
128 Samples
53.3ns
Clock
0 1 ... 0 1 1
...
Data
41.6ns
Counter 2 Counting
Figure 28. Sampling PDM with two counters.
> 30 ns
> 30 ns
Pulse
Counter 1
Counting
128 Samples
...
...
0 1 1
0 1 1
0 1 1
128 Samples
th
Order Filter that provides mono
< 20 ns
Pulse
Page 26 of 29
Need help?
Do you have a question about the Nexys4 DDR and is the answer not in the manual?