Hello,
I'm using an OMAP-L138, Linux OS with PRU0 code to handle realtime functions. I'm trying to create a bit stream going out the McBSP0 channel from the PRU code. I have a running PRU application which for test purposes is supposed to output 0x55555555 on a timed interval. We want to output the stream at 1Mbps, 32 bits per element, 1 element per frame, in polled mode controlled by the PRU. The PINMUX registers have been setup as follows :
PINMUX2, bits 24-27 = 2 (DX0 output)
PINMUX2, bits 16-19 = 4 (GP1[11] enabled, NO FSX0)
I'm not getting anything on DX0 !
Here is the register dump of the McBSP register set after initialization :
0x01d10000->0x00000000 (DRR)
0x01d10004->0x55555555 (DXR)
0x01d10008->0x00430000 (SPCR)
0x01d1000c->0x00000000 (RCR)
0x01d10010->0x00a400a0 (XCR)
0x01d10014->0x20000095 (SRGR)
0x01d10018->0x00000000 (MCR)
0x01d1001c->0x00000000 (RCERE0)
0x01d10020->0x00000000 (XCERE0)
0x01d10024->0x00000000 (PCR)
0x01d10028->0x00000000 (RCERE1)
0x01d1002c->0x00000000 (XCERE1)
0x01d10030->0x00000000 (RCERE2)
0x01d10034->0x00000000 (XCERE2)
0x01d10038->0x00000000 (RCERE3)
0x01d1003c->0x00000000 (XCERE3)
I am clearly missing something in the setup, but I don't have a clue what it might be.
TIA,
John Volpe