Skip to contentSkip to conversation

WM8731 using I2S on omap3 McBSP2 issues

DISCUSSION Rick Bronson 2 participants 2 messages Sep 28, 2009 – Sep 29, 2009

lore
Share & tools
lore
#0 lore raw

Peter,

I'm getting a XUNDFLSTAT (indicates a real underflow condition) and
XEMPTYEOF (Transmit buffer empty at end of frame) in MCBSPLP_IRQSTATUS_REG. Does this tell you anything?

Rick

#1 lore raw
Quoted 5 lines · On Tuesday 29 September 2009 00:15:10 ext Rick Bronson wrote:

Peter,

I'm getting a XUNDFLSTAT (indicates a real underflow condition) and
XEMPTYEOF (Transmit buffer empty at end of frame) in MCBSPLP_IRQSTATUS_REG. Does this tell you anything?

Hmm, this actually means that the DMA is not filling the McBSP buffer. Since there is no data written in the McBSP buffer, it is shifting out 0 which is what you have observed on the DX line (goes low for the duration of aplay).

I have used McBSP as master on 2.6.28 kernel and I can not recall any big changes regarding to OMAP McBSP/DMA in between 28 and 29, so I'm a bit puzzled on this...

Quoted 3 lines

Rick

Signature · 1 line
Péter