Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

PWM (or I2S) input using cDAQ and NI 9402

Hi folks.

I'm trying to capture digital signals from some mems microphones. This one operates at 2.4 MHz which seems much less than the 18 MHz the NI-9402 can do. 

So my question is, could i capture the PWM output of the microphone using the NI-9402 module. Or should i go with someother solution. 

I'm restricted to using a cDAQ (since thats what i have).

Thanks so much for reading. 

Any feedback is appreciated.

 

Here is the specsheet of the microphone.

http://www.analog.com/static/imported-files/data_sheets/ADMP421.pdf

0 Kudos
Message 1 of 2
(4,377 Views)

Hi Tanis,

 

If what you are trying to do is to acquire the signal from the microphones, just connect it to the 9402 and create a counter input task for this acquisition. This should work, as this is a Digital IO module.

 

This is an example code that might work for you.

 

Give it a try and let us know.

 

Regards,

steve.bm
AE | NI
0 Kudos
Message 2 of 2
(4,367 Views)