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.

Need some help with non-spi McBsp on DM6437

Hi,

I'm writing a code on DM6437 using the McBsp in a non-SPI mode to communicate with AIC23 external chip.

I managed to make everything work using loopback between DXR and DRR, using a very simple code based on one of the examples, using the registers:

Uint32 data = 0x0;

while (1)
{
//poll receiver is ready
while(CSL_FEXT(mcbspRegs->SPCR,MCBSP_SPCR_RRDY)
!= CSL_MCBSP_SPCR_RRDY_YES);

//read receive register
data = mcbspRegs->DRR;

//poll transmitter ready
while(CSL_FEXT(mcbspRegs->SPCR,MCBSP_SPCR_XRDY)
!= CSL_MCBSP_SPCR_XRDY_YES);

//write to transmit register
mcbspRegs->DXR = data;
}

///////////////////////////////////////////////////

I need to add support for EDMA3, and I'm looking for an example using mcBsp with EDMA3 with no success, using psp drivers/GIO.

Where can I get a small example?

Thanks.

  • Hi 

    can you please share your McBSP project as a loopback. I have dm6437 EVM and currenly looking example code for McBSP. 

    Can you plz share example code too, As I am new to TI DSP so i need example code to understand how to wirte the code.

    Naresh