This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6474: chipMask must be 2n modulo?

Genius 13655 points
Part Number: TMS320C6474
Hello Champs,

Customer used AIF interface onTMS320C6474 with FSYNC function.

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;

Can the configMaskTrigger[1].mask.chipMask be configured to 16? Or the chipMask must be 2n modulo?

Customer currently configured the configMaskTrigger[1].mask.chipMask = 16 and his code was okay by now.

Thanks.
Rgds
Shine