Skip to contentSkip to conversation

McBsp Interface on OMAP - Uboot

U-Boot-Users Ram 2 participants 2 messages Nov 28, 2006

lore
Share & tools
lore

Ram

author
#0 lore raw

Hi,
I have been asked to test McBsp interface on OMAP.

Im configuring the Aic29 Codec and McBsp and am writing a square
wave pattern.

Its not working, im not able see anything on the CRO when i probe.

Before witing to the McBsp, i ensure that the previous data is read,
So i read Serial Port Control Register (SPCR1) and check for RFULL bit(Reciever Full Bit).

Whenever, i read im getting 0xFFFF.

The reset value for this register is 0x0000. Atleast i should get
the reset value when i read, isnt it?.

Im directly reading the physical address of the register as given by the datasheet.

Do i need to do something - so that whenever i access that particular address, it actually
accesses the mcbsp register.

Im not sure if it a memory map problem or something else, im unable
to figure out what could be wrong.

Can you help me on this.

Thanks,

Regards,
sriram

#1 lore raw

Hi,

Zitat von Ram <[email protected]>:

Quoted 7 lines

I have been asked to test McBsp interface on OMAP.

Im configuring the Aic29 Codec and McBsp and am writing a square
wave pattern.

Whenever, i read im getting 0xFFFF. The reset value for this register is 0x0000.

So the McBsp-interface seems not to be proper initialized. Have you enabled the path for the clock distribution? Which McBsp-interface are you working with on which OMAP-Processor? Have you also tried another McBsp-interface?

Cheers,
Gunnar