Skip to contentSkip to conversation

OMAP 3530 McBSP Frame Sync errors

DISCUSSION Gary Thomas 2 participants 3 messages Sep 9, 2010 – Sep 13, 2010

lore
Share & tools
lore
#0 lore raw

I'm trying to use McBSP4 with an external CODEC which is a slave device (i.e. the OMAP generates the Frame Sync pulses) In this mode, the BSP is purely the master of these signals.

What can it possibly mean to get Frame Sync errors in this case (I'm reading from the external CODEC)?

FYI, my registers look like this:
PCR0: 0x00000f0f
RCR1: 0x00000040, RCR2: 0x00008041
XCR1: 0x00000040, XCR2: 0x00008041
SRGR1: 0x00000f07, SRGR2: 0x0000101f

Any ideas or help?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 7 lines · Gary Thomas

I'm trying to use McBSP4 with an external CODEC which is a slave device (i.e. the OMAP generates the Frame Sync pulses) In this mode, the BSP is purely the master of these signals.

What can it possibly mean to get Frame Sync errors in this case (I'm reading from the external CODEC)?

Quoted 7 lines

FYI, my registers look like this:
 PCR0: 0x00000f0f
 RCR1: 0x00000040, RCR2: 0x00008041
 XCR1: 0x00000040, XCR2: 0x00008041
 SRGR1: 0x00000f07, SRGR2: 0x0000101f

Any ideas or help?

Have you set the right McBSP source clock? It's in DEVCONF1/2 registers.

Quoted 11 lines

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 14 lines · Grazvydas Ignotas
Quoted 13 lines · Gary Thomas

I'm trying to use McBSP4 with an external CODEC which is a slave device (i.e. the OMAP generates the Frame Sync pulses) In this mode, the BSP is purely the master of these signals.

What can it possibly mean to get Frame Sync errors in this case (I'm reading from the external CODEC)?

FYI, my registers look like this:
PCR0: 0x00000f0f
RCR1: 0x00000040, RCR2: 0x00008041
XCR1: 0x00000040, XCR2: 0x00008041
SRGR1: 0x00000f07, SRGR2: 0x0000101f

Quoted 3 lines
Quoted 1 line

Any ideas or help?

Have you set the right McBSP source clock? It's in DEVCONF1/2 registers.

Yes, the channel works fine, but I only occasionally get errant Frame Sync errors.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------