配置MCBSP的接收器

目录

一、配置MCBSP接收器的三个步骤

二、对MCBSP的寄存器进行编程,以满足接收操作


一、配置MCBSP接收器的三个步骤

1)重启MCBSP/receiver 

2)对MCBSP的寄存器进行编程,用以满足接收器所需要的操作

3)启用receiver


二、对MCBSP的寄存器进行编程,以满足接收操作

1、全局性的设置(Global behavior)

1)将接收引脚置为MCBSP的引脚(有复用的情况下)

2)启用/禁用 digital loopback模式

3)启用/禁用 clock stop(SPI)模式

4)启用/禁用 receive multichannel selection模式【该模式见此

2、数据的设置

1)选择frame的phases数,是一个phase或两个phases

2)设置接收字长(word length/s)

3) 设置帧长

4)启用/禁用 忽略接收帧同步信号的功能

5)设置接收压缩扩展模式(receive companding mode)

6)设置接收数据延迟(receive data delay)

7)设置接收符号扩展和调整模式( receive sign-extension and justification mode)

8)设置接收中断模式(receive interrupt mode)

3、帧同步的设置

1)设置接收帧同步模式(receive frame-sync mode)

2)设置接收帧同步的极性(receive frame-sync polarity)VC5502此设置无效,均为正极性。

3)设置采样频率发生器的帧同步周期和脉冲宽度

4、时钟的设置

1)设置接收时钟模式(receive clock mode)

2)设置接收时钟的极性(receive clock polarity)VC5502此设置无效,均为正极性。

3)设置采样频率发生器时钟的分频数(Set the SRG clock divide-down value)

4)设置采样频率发生器时钟的同步模式(synchronization mode)

5)设置采样频率发生器的时钟模式(选择一种输入时钟)

6)设置采样频率发生器输入时钟的极性VC5502此设置无效,均为正极性。


三、重启和启用接收器(Resetting and Enabling the Receiver)


原文地址:https://www.cnblogs.com/elaron/p/2116412.html