Project

General

Profile

Configuring OMAP-L138 peripherals from uBoot

Added by Michael B about 2 hours ago

Hi all,
I am interested in running a bare metal application on just the DSP core, and would like some help configuring as many of the peripherals (I2C, McASP, UART, DMA, etc.) from within uBoot instead of in the DSP code initialization. This will ideally save development time and code complexity. Any directions or resources to help me would be much appreciated. I will also need help shutting down the ARM core to its lowest power state from the DSP core once the system boots into my bare metal application.

Ideally, I would like I2C (bus 0 and 1), UART (bus 1), and McASP to all have correct configurations for transfers being serviced by the DMA, and the DMA & DSP to be configured so that the DSP gets interrupted on I2C/UART/McASP RX events. TX events originating from the DSP should also be transferred by the DMA to ensure DSP is not blocked.

Any insight or recommendations for setting up the necessary TX/RX buffers in DSP memory would also be appreciated.

More specific information can be provided, but some of the basic configuration settings are listed below:
  • UART: 115200 baud, 8 data bit, no parity, 1 stop, no flow control.
  • McASP: 96ksps TX & RX, two stereo I2S codecs. MCLK = 24.576MHz.

Thank you,
Michael


Go to top
Add picture from clipboard (Maximum size: 1 GB)