您尚未登录。

楼主 #1 2018-05-12 22:10:08

cokale
会员
注册时间: 2018-05-02
已发帖子: 9
积分: 9

esp32更新i2s接口,clk触发方式

esp32的i2s接口,clk为下降沿触发;
想改为上升沿触发,请问如何更改?

11.png

谢谢。

离线

#2 2018-05-12 22:21:28

超级萌新
会员
注册时间: 2018-05-04
已发帖子: 408
积分: 407

Re: esp32更新i2s接口,clk触发方式

为什么要修改呢?

离线

#3 2018-05-12 23:37:41

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: esp32更新i2s接口,clk触发方式

I2S貌似不可以配置, SPI可以。
如果真是这样,只能交换主从了。


http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fi2s.html

TX data is written to the SDOUT pin on the falling edge of SCK, and RX data is read from the SDIN pin on the rising edge of SCK. The most significant bit (MSB) is always transmitted first.

TX数据在SCK的下降沿写入SDOUT引脚,而RX数据在SCK的上升沿从SDIN引脚读取。 最重要的位(MSB)总是先传送。





离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn