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 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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.