TI中文支持网
TI专业的中文技术问题搜集分享网站

28335的MCBSP中有FIFO增强功能嘛?

请问TMS320F28335的多通道缓冲接口MCBSP中有FIFO增强功能嘛?我买的教材上有讲MCBSP的FIFO增强功能,但TI官方给的MCBSP头文件中没有定义FIFO的寄存器,什么情况呢?

//---------------------------------------------------------------------------
// McBSP Register File:
//
struct  MCBSP_REGS {union DRR2_REGDRR2;// MCBSP Data receive register bits 31-16union DRR1_REGDRR1;// MCBSP Data receive register bits 15-0union DXR2_REGDXR2;// MCBSP Data transmit register bits 31-16union DXR1_REGDXR1;// MCBSP Data transmit register bits 15-0union SPCR2_REGSPCR2;// MCBSP control register bits 31-16union SPCR1_REGSPCR1;// MCBSP control register bits 15-0union RCR2_REGRCR2;// MCBSP receive control register bits 31-16union RCR1_REGRCR1;// MCBSP receive control register bits 15-0union XCR2_REGXCR2;// MCBSP transmit control register bits 31-16union XCR1_REGXCR1;// MCBSP transmit control register bits 15-0union SRGR2_REGSRGR2;// MCBSP sample rate gen register bits 31-16union SRGR1_REGSRGR1;// MCBSP sample rate gen register bits 15-0union MCR2_REGMCR2;// MCBSP multichannel register bits 31-16union MCR1_REGMCR1;// MCBSP multichannel register bits 15-0union RCERA_REGRCERA;// MCBSP Receive channel enable partition Aunion RCERB_REGRCERB;// MCBSP Receive channel enable partition Bunion XCERA_REGXCERA;// MCBSP Transmit channel enable partition Aunion XCERB_REGXCERB;// MCBSP Transmit channel enable partition Bunion PCR_REGPCR;// MCBSP Pin control register bits 15-0union RCERC_REGRCERC;// MCBSP Receive channel enable partition Cunion RCERD_REGRCERD;// MCBSP Receive channel enable partition Dunion XCERC_REGXCERC;// MCBSP Transmit channel enable partition Cunion XCERD_REGXCERD;// MCBSP Transmit channel enable partition Dunion RCERE_REGRCERE;// MCBSP Receive channel enable partition Eunion RCERF_REGRCERF;// MCBSP Receive channel enable partition Funion XCERE_REGXCERE;// MCBSP Transmit channel enable partition Eunion XCERF_REGXCERF;// MCBSP Transmit channel enable partition Funion RCERG_REGRCERG;// MCBSP Receive channel enable partition Gunion RCERH_REGRCERH;// MCBSP Receive channel enable partition Hunion XCERG_REGXCERG;// MCBSP Transmit channel enable partition Gunion XCERH_REGXCERH;// MCBSP Transmit channel enable partition HUint16rsvd1[4];// reservedunion MFFINT_REG  MFFINT;// MCBSP Interrupt enable register for RINT/XINTUint16rsvd2;// reserved
};

风孩儿:

回复 Joey Mao:

您好,Joey Mao:

      谢谢,我买的《TMS320 F28X源码解读》这本书中(170页)说MCBSP中有FIFO增强功能,也有MCBSP用FIFO通讯的例子(184页),是书中写错了嘛?

请问TMS320F28335的多通道缓冲接口MCBSP中有FIFO增强功能嘛?我买的教材上有讲MCBSP的FIFO增强功能,但TI官方给的MCBSP头文件中没有定义FIFO的寄存器,什么情况呢?

//---------------------------------------------------------------------------
// McBSP Register File:
//
struct  MCBSP_REGS {union DRR2_REGDRR2;// MCBSP Data receive register bits 31-16union DRR1_REGDRR1;// MCBSP Data receive register bits 15-0union DXR2_REGDXR2;// MCBSP Data transmit register bits 31-16union DXR1_REGDXR1;// MCBSP Data transmit register bits 15-0union SPCR2_REGSPCR2;// MCBSP control register bits 31-16union SPCR1_REGSPCR1;// MCBSP control register bits 15-0union RCR2_REGRCR2;// MCBSP receive control register bits 31-16union RCR1_REGRCR1;// MCBSP receive control register bits 15-0union XCR2_REGXCR2;// MCBSP transmit control register bits 31-16union XCR1_REGXCR1;// MCBSP transmit control register bits 15-0union SRGR2_REGSRGR2;// MCBSP sample rate gen register bits 31-16union SRGR1_REGSRGR1;// MCBSP sample rate gen register bits 15-0union MCR2_REGMCR2;// MCBSP multichannel register bits 31-16union MCR1_REGMCR1;// MCBSP multichannel register bits 15-0union RCERA_REGRCERA;// MCBSP Receive channel enable partition Aunion RCERB_REGRCERB;// MCBSP Receive channel enable partition Bunion XCERA_REGXCERA;// MCBSP Transmit channel enable partition Aunion XCERB_REGXCERB;// MCBSP Transmit channel enable partition Bunion PCR_REGPCR;// MCBSP Pin control register bits 15-0union RCERC_REGRCERC;// MCBSP Receive channel enable partition Cunion RCERD_REGRCERD;// MCBSP Receive channel enable partition Dunion XCERC_REGXCERC;// MCBSP Transmit channel enable partition Cunion XCERD_REGXCERD;// MCBSP Transmit channel enable partition Dunion RCERE_REGRCERE;// MCBSP Receive channel enable partition Eunion RCERF_REGRCERF;// MCBSP Receive channel enable partition Funion XCERE_REGXCERE;// MCBSP Transmit channel enable partition Eunion XCERF_REGXCERF;// MCBSP Transmit channel enable partition Funion RCERG_REGRCERG;// MCBSP Receive channel enable partition Gunion RCERH_REGRCERH;// MCBSP Receive channel enable partition Hunion XCERG_REGXCERG;// MCBSP Transmit channel enable partition Gunion XCERH_REGXCERH;// MCBSP Transmit channel enable partition HUint16rsvd1[4];// reservedunion MFFINT_REG  MFFINT;// MCBSP Interrupt enable register for RINT/XINTUint16rsvd2;// reserved
};

Eric Ma:

回复 风孩儿:

你看的书讲的是比较老的C2000芯片,如F281x, 用的是MCBSP type0.

后续新的芯片,如F2833x, F2806x的MCBSP是type1的,把FIFO移除了。

Eric

请问TMS320F28335的多通道缓冲接口MCBSP中有FIFO增强功能嘛?我买的教材上有讲MCBSP的FIFO增强功能,但TI官方给的MCBSP头文件中没有定义FIFO的寄存器,什么情况呢?

//---------------------------------------------------------------------------
// McBSP Register File:
//
struct  MCBSP_REGS {union DRR2_REGDRR2;// MCBSP Data receive register bits 31-16union DRR1_REGDRR1;// MCBSP Data receive register bits 15-0union DXR2_REGDXR2;// MCBSP Data transmit register bits 31-16union DXR1_REGDXR1;// MCBSP Data transmit register bits 15-0union SPCR2_REGSPCR2;// MCBSP control register bits 31-16union SPCR1_REGSPCR1;// MCBSP control register bits 15-0union RCR2_REGRCR2;// MCBSP receive control register bits 31-16union RCR1_REGRCR1;// MCBSP receive control register bits 15-0union XCR2_REGXCR2;// MCBSP transmit control register bits 31-16union XCR1_REGXCR1;// MCBSP transmit control register bits 15-0union SRGR2_REGSRGR2;// MCBSP sample rate gen register bits 31-16union SRGR1_REGSRGR1;// MCBSP sample rate gen register bits 15-0union MCR2_REGMCR2;// MCBSP multichannel register bits 31-16union MCR1_REGMCR1;// MCBSP multichannel register bits 15-0union RCERA_REGRCERA;// MCBSP Receive channel enable partition Aunion RCERB_REGRCERB;// MCBSP Receive channel enable partition Bunion XCERA_REGXCERA;// MCBSP Transmit channel enable partition Aunion XCERB_REGXCERB;// MCBSP Transmit channel enable partition Bunion PCR_REGPCR;// MCBSP Pin control register bits 15-0union RCERC_REGRCERC;// MCBSP Receive channel enable partition Cunion RCERD_REGRCERD;// MCBSP Receive channel enable partition Dunion XCERC_REGXCERC;// MCBSP Transmit channel enable partition Cunion XCERD_REGXCERD;// MCBSP Transmit channel enable partition Dunion RCERE_REGRCERE;// MCBSP Receive channel enable partition Eunion RCERF_REGRCERF;// MCBSP Receive channel enable partition Funion XCERE_REGXCERE;// MCBSP Transmit channel enable partition Eunion XCERF_REGXCERF;// MCBSP Transmit channel enable partition Funion RCERG_REGRCERG;// MCBSP Receive channel enable partition Gunion RCERH_REGRCERH;// MCBSP Receive channel enable partition Hunion XCERG_REGXCERG;// MCBSP Transmit channel enable partition Gunion XCERH_REGXCERH;// MCBSP Transmit channel enable partition HUint16rsvd1[4];// reservedunion MFFINT_REG  MFFINT;// MCBSP Interrupt enable register for RINT/XINTUint16rsvd2;// reserved
};

风孩儿:

回复 Eric Ma:

谢谢Eric Ma,明白了。O(∩_∩)O~

赞(0)
未经允许不得转载:TI中文支持网 » 28335的MCBSP中有FIFO增强功能嘛?
分享到: 更多 (0)