This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/AM5728: SPI and UART control from DSP

Part Number: AM5728

Tool/software: TI-RTOS

Hi,

We are designing a system based on the AM5728. We will be running Yocto Linux on the A15 and RTOS on the DSP's (and M4's).

We will be using all 4 spi ports to read in adc data continuously. We need to get this data into the DSP's for processing. Once processed we will be making the results available to the Linux core.

As this is a real time application, we need to get the SPI data into the DSP's directly. So my question is, is it possible to configure the DSP cores to have control over the SPI peripherals (and some GPIO and UART for that matter), and if so how to go about that?

Thanks

  • Mark,

    Yes, it is possible to have DSP control the SPI and the UART directly. This process will require you to setup the IPC-remoteproc environment and make sure that Linux relinquishes control to the peripherals and resources for SPI and UART .

    The process has been described in detail in the application notes that we have created and linked from Linux software developers guide using GPIO and UART RTOS drivers on the slave cores (M4 and DSP) with ARM Linux

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_IPC.html#ipc-for-am57xx 

    Please review the article and let us know if you have any follow up questions.

    Useful tip: Make sure that you first validate the SPI and the UART based application on the DSP as a standalone application without ARM Linux booted prior to having the firmware loaded using remoteproc driver to avoid complexity of debugging the application in multi-core, multi-OS environment. We provide code composer studio and emulator based environment to allows for application development on DSP and M4 cores of AM57x devices.

    Regards,

    Rahul