Hello all,
We are using C6727 based cutomized board for one of our project. There are two pheripherals DEVICE A and DEVICEB communicating with processor. McASP ports of C6727 are utilized for communicating with the DSP in following manner,
> McBSP 0 is used for sending the command to external peripheral connected to the board
> McBSP 1 for data collection from the pheripheral through dMax.
McASP 0 serializer 8 is used to send the command to DEVICE A and McASP 0 serializer 0 is used to send the command to DEVICE B. When command is being sent to DEVICE A, serializer 0 is configured to tri-state. But the problem is when we are sending data on the serializer 8, we are getting all ones(1's) on the serializer 0 even though it is tri-stated. This will eventualy disturb working of DEVICE B. If any body have any inputs on these problem please share. I have copied the code snippet that is used configure serializer 8.
Following is the setting of register that are configured for sending command to DEVICE A,
========================================================================================================
dlbMode = 0x00 /* Loop back mode disabled */
pfunc = 0x00 /* All pins are configured for McASP*/
pdir = 0x1C000101; /* AFSR AHCLKR ACLKR are input, AFSX AHCLKX ACLKX ouputs, serializer 8 and 0 are outputs*/
serSetup[8] = 0x01; /* Transmit*/
serSetup[0] = 0x00; /* In-active and tri-stated */
tx.mask = CSL_MCASP_XMASK_XMASK_MASK; /* All bits are transmitted out without mask */
tx.fmt = 0x80F8; /* 0 bit delay, MSB first, 32 bit slot size, peripheral bus control and no rotate */
tx.frSyncCtl = 0x02; /* Internally generated frame sync, frame sync is bit width, and rising edge */
tx.tdm = 0x01; /* Slot 0 is active*/
tx.clkSetupClk = 0x60; /* Bit clock: Rising edge, asyncronous, internally genareted and no divide */
mcaspHwCfg.emu = CSL_MCASP_PWRDEMU_FREE_ON; /* Free running */
tx.clkChk = 0x00FF0000; /* Maximum clock boundary */
tx.clkSetupHiClk = 0x8000; /* Internally generated, falling edge and no divide*/
========================================================================================================
Following is IDE information,
CCS version platinum 3.3
DSP: TMS320C6727B
Regards,
Abhijit