Project

General

Profile

Configuring OMAP-L138 peripherals from uBoot

Added by Michael B 3 days 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


Replies (4)

RE: Configuring OMAP-L138 peripherals from uBoot - Added by Jonathan Cormier 1 day ago

Hi Michael, We have only used the DSP with TI's DSPBios RTOS. It should already have abstraction layers for most of those peripherals.

RE: Configuring OMAP-L138 peripherals from uBoot - Added by Michael B 1 day ago

Jonathan,
If StarterWare/BareMetal are against the grain, please point me towards DSPBios code/examples that use McASP. Which version of DSP/BIOS are you using? When making a new project in CCS, do you tell CCS to target an OMAP-L138 or just the TMS320C6748?
Some assistance getting started would really go a long way.

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