Hi,
I've been trying to program McBSP-1 to output serialized data on OMAP3EVM for days. However, so far, there is no luck. No data is coming out from DX pin.
The test program has been simplified to write to McBSP control registers directly. Data are written into MCBSPLP_DXR_REG (0x48074008). I can see the number of free words reduced by checking MCBSPLP_XBUFFSTAT_REG (0x480740b4), which implies data are putting into the queue. But no data is output from the DX pin and the number of free words never increases. Seems like the Transmit Shift Register (XSR) does not shift data out.
I run out of ideas. Hope someone can provide some suggestion. Thank you very much.
The following is the registers values
CM_CLKSEL1_PLL : 0x094C0C00
FLCKEN1_CORE: 0x00006200
ILCLKEN1_CORE: 0x01006252
**** McBSP0 regs ****
DRR2: 0x0020
DRR1: 0x0000
DXR2: 0x0000
DXR1: 0x0000
SPCR2: 0x00c5
SPCR1: 0x0000
RCR2: 0x0001
RCR1: 0x2f40
XCR2: 0x0001
XCR1: 0x2f40
SRGR2: 0x2000
SRGR1: 0x00f9
PCR0: 0x0a01
***********************