完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我正在研发麦克风MP34DB01。我想用mps430 mcu这个麦克风。 它在数据表上并不清楚,通信协议是SPI吗? 麦克风可以触发数据吗? 谢谢 #mems-microphone #mems-microphone 以上来自于谷歌翻译 以下为原文 Hello, I'm working on mic MP34DB01. I want to use this mic with mps430 mcu. It's not clearly on datasheet, the communication protocol is SPI right ? Can the microphone triggered data? thanks #mems-microphone #mems-microphone |
|
相关推荐
4个回答
|
|
嗨JN,
麦克风数字输出基本上是PDM格式。此签名是单线上的串行数字流,因此基本上可以将PDM信号连接到微控制器的公共SPI端口。当然,必须根据麦克风时钟选择SPI端口的时钟。如果麦克风是单独使用麦克风时钟,或者麦克风用于立体声配置,则麦克风时钟加倍。 这种类型的连接是在我们的网络板上进行的(MKI138V1)。您可以在以下链接中找到原理图和BOM以及MCU代码说明http://www.st.com/web/en/catalog/tools/PF258331 问候, 亚历山德罗 以上来自于谷歌翻译 以下为原文 Hi JN, Basically the microphone digital output is in a PDM format. This signail is a serial digital stream on a single line so basically it is possible to interface the PDM signal to a common SPI port of a microcontroller. Of course the clock of the SPI port must be chosen according to the microphone clock. Exactly the mic clock if the microphone is stand alone or doubled in case the microphone is used in stereo configuration. This type of connection is done in one of our boards avaiable on the web (MKI138V1). You can find schematics and BOM as well as MCU code explanation at the following link http://www.st.com/web/en/catalog/tools/PF258331 Regards, Alessandro |
|
|
|
谢谢你的回复。
我已经正确配置了我的SPI时钟(MSP430 Master)频率(2 MHz)并在单声道配置上使用MEMS麦克风。 我没有在DataOut Pin上获得正确的数据,我连接了一个探针,信号的电压值约为300mV。 我检查你的链接,但没有任何示例代码。 请你发送它。 问候。 以上来自于谷歌翻译 以下为原文 Thanks for the response. I have already configure correctly my SPI clock (MSP430 Master) with frequency (2 MHz) and use the MEMS microphone on mono configuration. I'm not getting correct data on DataOut Pin, I connect a probe on it and the signal has an voltage value about 300mV. I check your link but there is not any example code. Pls can you send it. Regards. |
|
|
|
最后我解决了这个问题。
MIC和SPI的时钟需要从外部定时器产生,SPI模块用于从模式。 以上来自于谷歌翻译 以下为原文 Finally I resolve the problem. The clock for MIC and SPI needs to be generated from external Timer and the SPI Module is to be used in Slave Mode. |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2913 浏览 1 评论
3292 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1876 浏览 1 评论
3728 浏览 6 评论
6141 浏览 21 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
29浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
24浏览 5评论
18浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
17浏览 5评论
stm32mp135使用官方SDK交叉编译工具链,编译的时候却找不到头文件怎么解决?
30浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-3-14 21:11 , Processed in 1.007270 second(s), Total 104, Slave 88 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (威廉希尔官方网站 图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191