瑞芯微Rockchip开发者社区
登录
直播中
梅利号
8年用户
1467经验值
擅长:可编程逻辑
私信
关注
[问答]
Okmx6ul自制底板音频驱动DMA不能中断响应是为什么?
开启该帖子的消息推送
底板音频模块原理和
开发板
一样,同样的核心板在开发板播放音频正常,在我的底板就不行,调试发现DMA pending后没产生DMA中断,数据都到不了8960。
想问下底板的什么变动有可能导致音频驱动出现这种问题
回帖
(3)
范云力
2022-1-7 11:12:51
估计wm8960没有正常工作,正常情况下播放音频文件的时候mclk会有输出的,可以看一下wm8960的驱动有没有注册成功,还有i2c接的对不对,是通过i2c2来配置wm8960的
估计wm8960没有正常工作,正常情况下播放音频文件的时候mclk会有输出的,可以看一下wm8960的驱动有没有注册成功,还有i2c接的对不对,是通过i2c2来配置wm8960的
举报
陈衍暖
2022-1-7 11:13:12
soc 是主,8960是从
soc 是主,8960是从
举报
张杰
2022-1-7 11:13:25
[ 32.269233] [531] snd_soc_write:2296: wm8960 1-001a: write 7 = 42
这是我的输出
R7 (07h) 8 ALRSWAP 0 Left/Right ADC Channel Swap Audio Inte**ce
Audio 1 = Swap left and right ADC data in audio Control
Inte**ce inte**ce
0 = Output left and right data as normal
7 BCLKINV 0 BCLK invert bit (for master and slave modes) Audio Inte**ce
0 = BCLK not inverted Control
1 = BCLK inverted
6 MS 0 Master / Slave Mode Control Audio Inte**ce
0 = Enable slave mode Control
1 = Enable master mode
5 DLRSWAP 0 Left/Right DAC Channel Swap Audio Inte**ce
0 = Output left and right data as normal Control
1 = Swap left and right DAC data in audio
inte**ce
2
4 LRP 0 Right, left and I S modes – LRCLK polarity Audio Inte**ce
0 = normal LRCLK polarity Control
1 = invert LRCLK polarity
DSP Mode – mode A/B select
0 = MSB is available on 2nd BCLK rising edge
after LRC rising edge (mode A)
1 = MSB is available on 1st BCLK rising edge
after LRC rising edge (mode B)
3:2 WL[1:0] 10 Audio Data Word Length Audio Inte**ce
00 = 16 bits Control
01 = 20 bits
10 = 24 bits
11 = 32 bits (see Note)
[ 32.269233] [531] snd_soc_write:2296: wm8960 1-001a: write 7 = 42
这是我的输出
R7 (07h) 8 ALRSWAP 0 Left/Right ADC Channel Swap Audio Inte**ce
Audio 1 = Swap left and right ADC data in audio Control
Inte**ce inte**ce
0 = Output left and right data as normal
7 BCLKINV 0 BCLK invert bit (for master and slave modes) Audio Inte**ce
0 = BCLK not inverted Control
1 = BCLK inverted
6 MS 0 Master / Slave Mode Control Audio Inte**ce
0 = Enable slave mode Control
1 = Enable master mode
5 DLRSWAP 0 Left/Right DAC Channel Swap Audio Inte**ce
0 = Output left and right data as normal Control
1 = Swap left and right DAC data in audio
inte**ce
2
4 LRP 0 Right, left and I S modes – LRCLK polarity Audio Inte**ce
0 = normal LRCLK polarity Control
1 = invert LRCLK polarity
DSP Mode – mode A/B select
0 = MSB is available on 2nd BCLK rising edge
after LRC rising edge (mode A)
1 = MSB is available on 1st BCLK rising edge
after LRC rising edge (mode B)
3:2 WL[1:0] 10 Audio Data Word Length Audio Inte**ce
00 = 16 bits Control
01 = 20 bits
10 = 24 bits
11 = 32 bits (see Note)
举报
更多回帖
rotate(-90deg);
回复
相关问答
OKMX6UL
编译QT5.12总是
不能
成功的原因?怎么解决?
2022-01-11
773
OKMX6UL
核心板为什么调试串口
不能
输出信息
2022-01-10
2495
OKMX6UL
串口硬件管脚都有哪些呢
2022-01-07
542
请问哪里可以下载
OKMX6UL
-C
底板
的BOM资料?
2022-01-11
1589
请问
OKMX6UL
256M nand flash当前是否支持QT5?
2022-01-10
733
OKMX6UL
-C2
底板
是否引出了SAI了呢
2022-01-10
939
OKMX6UL
-C2
底板
上的U10威廉希尔官方网站 是否还要保留呢
2022-01-10
1011
为什么文件系统通过ubuntu编译的内核会出现下载步骤等待卡死的问题呢
2022-01-07
753
如何获取CPU中L1/L2的Cache状态和大小?如何禁用和使能Cache呢?
2022-11-29
330
OKMX6UL
开发板怎么恢复成nand flash启动呢
2022-01-11
1134
发帖
登录/注册
20万+
工程师都在用,
免费
PCB检查工具
无需安装、支持浏览器和手机在线查看、实时共享
查看
点击登录
登录更多精彩功能!
英国威廉希尔公司网站
william hill官网 版块
小组
免费开发板试用
ebook
直播
搜索
登录
×
20
完善资料,
赚取积分