10-18-2017 01:08 AM
Hi everyone,
I'm pretty new to I2C and digital communication and have been running into a wall. I got an audio MEMS sensor from ST Microelectronics and I'm trying to capture the audio signal and later graph it. The issue is that since its a pure sensor, i'm confused how to set the initialization protocol or if it even needs it with I2C.
I have it hooked up to a myRio with the ports I2C.SDA and I2C.SCL for data and clock as well as pin 33 (+3.3 V) and Pin 28 (DGND). The LR is connected via breadboard to pin 33 to pull it high.
The data sheet link is below (MEMS MP34DB02) : http://www.st.com/content/ccc/resource/technical/document/datasheet/57/af/88/31/7b/59/4f/77/DM001112...
If you have any reading resources/ examples that could help me on the right path, it would be greatly appreciated.
10-18-2017 01:09 AM
Hi everyone,
I'm pretty new to I2C and digital communication and have been running into a wall. I got an audio MEMS sensor from ST Microelectronics and I'm trying to capture the audio signal and later graph it. The issue is that since its a pure sensor, i'm confused how to set the initialization protocol or if it even needs it with I2C.
I have it hooked up to a myRio with the ports I2C.SDA and I2C.SCL for data and clock as well as pin 33 (+3.3 V) and Pin 28 (DGND). The LR is connected via breadboard to pin 33 to pull it high.
The data sheet link is below (MEMS MP34DB02) : http://www.st.com/content/ccc/resource/technical/document/datasheet/57/af/88/31/7b/59/4f/77/DM001112...
If you have any reading resources/ examples that could help me on the right path, it would be greatly appreciated.
10-19-2017 08:57 AM
Hello,
I have found a resource that might be beneficial to you. I am providing a link to a MEMS microphone Demo using LabVIEW. Also, I was not able to see the link that you posted as it appears to be broken. Please let me know if the information below helps you get started.
Link: MEMS Microphone
https://learn.ni.com/teach/resources/91/mems-microphone
Regards,
Shezaan Noorani
10-20-2017 02:14 AM
Hi Shezaan,
Thanks for the link! It helps but not exactly - the MEMs I have is I2C communication and is not an analog input (fixed link - http://www.st.com/content/st_com/en/products/audio-ics/mems-microphones/mp34db02.html)
The issue I'm having is figuring out how to initialize the system to start recording and since its a single part - I'm unsure what kind of signal I need to send to jump start everything.
10-23-2017 02:30 PM
Hey,
Have you taken a look the I2C express VI for myrio, also I am linking a video below that shows using the I2C express for the myRIO. In terms of the signal to use to trigger acquisition, it is dependent on the hardware that you have,I am linking a forum post that discusses a microphone application with the myrio.
Link: Transmit audio from myRIO to a computer
https://forums.ni.com/t5/LabVIEW/Transmit-audio-from-myRIO-to-a-computer/td-p/2825832
Link: NI myRIO: I2C serial communication
https://www.youtube.com/watch?v=7CgNF78pYQM
10-25-2017 01:04 AM
Thanks Shezaan!
I'll look over the links and check back here with my progress :D.
Appreciate your help!