TMS320C6474中使用AIF时,需要配合FSYNC模块一起使用,在配置FSYNC时
configMaskTrigger[1].timerUsed = CSL_FSYNC_RP3_TIMER;
configMaskTrigger[1].eventGenUsed = CSL_FSYNC_TRIGGER_GEN_4;
configMaskTrigger[1].mask.frameMask = 0;
configMaskTrigger[1].mask.slotMask = 0;
configMaskTrigger[1].mask.chipTerminalCountIndexMask = 0;
configMaskTrigger[1].mask.chipMask = 0x7;
configMaskTrigger[1].mask.sampleMask = 0xFF;
// configMaskTrigger[1].offset.frameOffset = 0; // don't care field configMaskTrigger[1].offset.slotOffset = 1; configMaskTrigger[1].offset.chipTerminalCountIndex = 0; configMaskTrigger[1].offset.chipOffset = 11 ; configMaskTrigger[1].offset.sampleOffset = 0; configMaskTrigger[1].compareValue.slotValue = 0;
configMaskTrigger[1].compareValue.chipTerminalCountIndexValue = 0; // don't care
configMaskTrigger[1].compareValue.chipValue =1;
configMaskTrigger[1].compareValue.sampleValue = 0;
其中标红的语句中chip mask可以配置为16吗?那此时周期又为多少?
这个项目是之前研发人员留下来的,看TI的技术文档上说只能配置成2n个周期,配置成16就变成周期为17了,这样配置正确吗?
之前的程序一直配置成chip mask = 16,也一直运行的好好地,所以想请问下这种配置到底有没有问题
Shine:
请关注下面的帖子。http://e2e.ti.com/support/processors/f/791/p/727111/2683325#2683325
user5810332:
回复 Shine:
这个链接地址不对吧