摘要: 1、About the Digital Loopback ModeIn the digital loopback mode, the receive signals are connected internallythrough multiplexers to the corresponding transmit signals。This mode allows testing of serial port code with a single DSPdevice; the McBSP receives the data it transmits.2、About the Clock Stop 阅读全文
posted @ 2011-07-26 10:29 elar 阅读(850) 评论(0) 推荐(0) 编辑
摘要: 目录一、配置MCBSP接收器的三个步骤二、对MCBSP的寄存器进行编程,以满足接收操作一、配置MCBSP接收器的三个步骤1)重启MCBSP/receiver2)对MCBSP的寄存器进行编程,用以满足接收器所需要的操作3)启用receiver二、对MCBSP的寄存器进行编程,以满足接收操作1、全局性的设置(Global behavior)1)将接收引脚置为MCBSP的引脚(有复用的情况下)2)启用/禁用 digital loopback模式3)启用/禁用 clock stop(SPI)模式4)启用/禁用 receive multichannel selection模式【该模式见此】2、数据的设置 阅读全文
posted @ 2011-07-25 16:56 elar 阅读(1212) 评论(0) 推荐(0) 编辑
摘要: 目录:一、channel、block、partition的概念二、接收多通道选择模式(Receive Multichannel Selection Mode)三、发送多通道选择模式(TransmitMultichannel Selection Mode)四、启用/禁用(Disabling/Enabling) VS 屏蔽/解除屏蔽(Masking/Unmasking)一、channel、block、partition的概念channel: a time slot for shifting the bits of one serial word。一个MCBSP通道一次可以移进或移出一个串行字。每个 阅读全文
posted @ 2011-07-25 15:34 elar 阅读(2635) 评论(0) 推荐(1) 编辑
摘要: 采样频率发生器功能框图如下所示:注:1)VC5502的采样频率发生器的输入时钟CLKSRG的极性永远是正值(上升沿),无论CLKRP或CLKXP的设置是怎样。2)VC5502的MCBSP的输入时钟为DSP的slow peripherals clock。3)不是所有的C55X芯片都支持CLKS管脚,要查看相应芯片的DATASHEET。4)VC5502不支持由GSYNC位提供的时钟同步功能。采样频率发生器的输入时钟可以由CLKX,CLKR或者CLKS管脚提供。但不是所有的C55X芯片都有CLKS管脚。输入时钟源由PCR的SCLKME位和SRGR2的CLKSM位决定。另外,5502的MCBSP的最高 阅读全文
posted @ 2011-07-24 15:23 elar 阅读(805) 评论(0) 推荐(0) 编辑
摘要: 本文大部分内容摘自赵洪亮《TMS320C55X DSP应用系统设计(第2版)》TI 《TMS320VC5501/5502/5509/5510 DSPMultichannel Buffered Serial Port (McBSP)Reference Guide》------------------------------------------------------------------------------------------McBSP包括一个数据通道和一个控制通道,通过7个引脚与外部设备连接。功能框图如下:注意:1、对于5502,MCBSP接收到的DSP的内部时钟是来自DSP的s 阅读全文
posted @ 2011-07-24 10:31 elar 阅读(2981) 评论(0) 推荐(0) 编辑
摘要: StepDescriptionInterrupt request sent to CPUThe CPU receives a maskable interrupt request.Set corresponding IFR flagWhen the CPU detects a valid maskable interrupt request, it sets andlatches the corresponding flag in one of the interrupt flag registers (IFR0or IFR1). This flag stays latched until t 阅读全文
posted @ 2011-07-21 16:20 elar 阅读(626) 评论(0) 推荐(0) 编辑
摘要: IDLE Configuration Register(ICR):允许用户将系统的不同部分设置为空闲状态。IDLE Status Register(ISTR):反应了系统中仍处于激活态的部分。Peripheral IDLE Control Register(PICR):外设部分的IDLE控制寄存器。Peripheral IDLEStatusRegister(PISTR):反应了外设中处于IDLE状态的部分。Master IDLE Control Register(MICR):用来存储HPI和DMA的IDLE mode。Master IDLEStatusRegister(MISR):反应了HPI 阅读全文
posted @ 2011-07-20 16:03 elar 阅读(376) 评论(0) 推荐(0) 编辑
摘要: ------------------将外设模块设为空闲状态的方法-----------------------每一个外设模块都可以按照如下的步骤设置成Idle Mode:往PICR的相应位写入1,相应位为该外设所对应的位。往ICR的PERI位写入1.执行IDLE指令PICR相应位的外设将会进入IDLE状态。PICR寄存器如下图:------------------将外设模块从空闲态中恢复的方法-----------------------一次性激活所有外设的方法:将0写入ICR的PERI位中执行IDLE指令所有的外设均被激活激活部分外设的方法:将0写入PICR相应的外设位中写入后,相应的外设即 阅读全文
posted @ 2011-07-20 15:35 elar 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 5502有四个时钟组,分别为:C55x Subsystem Clock GroupFast Peripherals Clock GroupSlow Peripherals Clock GroupExternal Memory Interface Clock Group1、C55x Subsystem Clock Group该时钟组包括C55X CPU core、内存(DARAM和ROM)、ICACHE以及一切与CPU相关的模块。该组的输入时钟为CLKOUT3信号。如果在PLL MODE下,则该CLKOUT3信号可以通过分频器D0和倍频器M1来进行调节;如果是在BYPASS MODE下,则CLK 阅读全文
posted @ 2011-07-20 11:31 elar 阅读(275) 评论(0) 推荐(0) 编辑
摘要: "The input clock source to the DSP can be directly used to generate the clocks to other parts of the system(Bypass Mode) or it can be multiplied by a value from 2 to 15 and divided by a value from 1 to 32 to achievea desired frequency (PLL Mode).The PLLEN bit of the PLL Control/Status Register 阅读全文
posted @ 2011-07-17 20:25 elar 阅读(4874) 评论(0) 推荐(0) 编辑