关于。 pcm3002 配置为 16 位数据传输
我正在尝试做一个环回程序(获取数据并将其发送出去 没有任何处理)在 5416 DSK 上。我正在使用机上 PCM3002 编解码器,配置为 16 位数据传输。我也 将 McBSP2 配置为 16 位接收/传输。以下是 McBSP2 和 PCM3002 编解码器的寄存器值,
McBSP2 registers: SPCR1 = 0x2020 (also tried SPCR1 = 0x2000) SPCR2 = 0x0000 RCR1 = 0x0040 RCR2 = 0x0041 XCR1 = 0x0040 XCR2 = 0x0040 (also tried XCR2 = 0x0041, and 0x0042) PCR = 0x000C PCM3002 registers: Register0 = 0x01FF Register1 = 0x03FF Register2 = 0x0482 Register3 = 0x0600
CPLD 编解码器时钟寄存器配置为 24 KHz 采样率。我不需要配置 SRGR,因为 CPLD 已开启 板提供帧同步信号。我确信我的其余部分 配置正确,因为我可以配置PCM3002
McBSP2 用于 20 位传输/接收环回程序并且它可以工作 美好的。有人可以告诉我这里出了什么问题吗?任何帮助都会 受到赞赏。
I am trying to do a loopback program (get data in, and send it out
without any processing) on a 5416 DSK. I am using the on board
PCM3002 codec and it is configured for 16-bit data transfer. I also
have McBSP2 configured for 16-bit receive/transfer. The following are
the register values for McBSP2 and PCM3002 codec,
McBSP2 registers: SPCR1 = 0x2020 (also tried SPCR1 = 0x2000) SPCR2 = 0x0000 RCR1 = 0x0040 RCR2 = 0x0041 XCR1 = 0x0040 XCR2 = 0x0040 (also tried XCR2 = 0x0041, and 0x0042) PCR = 0x000C PCM3002 registers: Register0 = 0x01FF Register1 = 0x03FF Register2 = 0x0482 Register3 = 0x0600
The CPLD codec clock register is configured for a 24 KHz
sampling rate. I don't need to configure SRGR because the CPLD on
board provides the frame sync signal. I am sure that rest of my
configuration is correct, because I am able configure PCM3002
McBSP2 for a 20-bit transfer/receive loopback program and it works
fine. Can somebody please tell me what is wrong here? Any help will
be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论