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.

Mcbsp issue

Other Parts Discussed in Thread: OMAP3530

Hello
The following issue appeared while working with Mcbsp

I've got OMAP3530. I have to transfer TDM data (each frame consists of 4 words).
Each frame starts with 'frame_sync '.

The MCBSP configuration is shown below:

RCR2: 0x00a0
RCR1: 0x03a0
XCR2: 0x00a0
XCR1: 0x03a0
SRGR2: 0x10ff
SRGR1: 0x09c8
PCR0: 0x0a01
SPCR2: 0x00c3
SPCR1: 0x8003
XCCR: 0x1000
RCCR: 0x0000
MCR3: 0x0003
irq status: 0x4f0e
irq enabele: 0x0000


But when I write word to DXR which is repeated N times, where N = XCR.XDRLEN1,
processor stops on this operation (interrupts are disabled).
i.e. this code :
[code]
for(i=0;i<128;i++) OUT_REGL(Base+MCBSPLP_DXR_REG, data);
[/code]
running until data will have been sent from the port (mcbspi_dx).

SPCR2_XRDY has always been 1
MCBSPLP_XBUFFSTAT_REG register has always been 0x80.
Can you explain me how to send TDM with different words without interrupring on writing every word to DXR.