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.

Accessing the UPP (Parallel port) from the DSP side of the L138

Other Parts Discussed in Thread: OMAP-L138

(Please direct to Tim H. Customer request from Ft. Lauderdale. Thank you. -DN)

Could help me find sample code that accesses the UPP (Parallel  port) from the DSP side of the L138?

Ideally if we can find code that uses or can be converted to take advantage of the C6Run or C6APP arm-dsp software interface.

 

  • David,

    It's certainly possible to access the uPP from the DSP side.  We have actually created two DSP/BIOS drivers for uPP:

    1. A stand-alone uPP driver that is available on the embedded processors wiki site
    2. A PSP driver that is included with the standard DSP/BIOS PSP release for OMAP-L138

    Both drivers have example application code to show you how to access the uPP peripheral.  The following web page contains instructions on how to download the standalone driver and how to find the PSP driver.

    It should also be possible to use either driver with C6Run, but there will be some work involved.  Daniel assures me that it is possible to bring in DSP drivers under C6Run, but there are no easy-to-follow examples that show how to do it.

    Hope this helps.

  • Yes it should be possible to bring in a DSP/Bios driver under C6Run.  I have not personally done this, but the basic outline to do this would be as follows:

    1. Make a copy of the platform files in the <C6Run_INSTALL_DIR>/platforms/omap-l138 directory to something like <C6Run_INSTALL_DIR>/platforms/omap-l138_upp.
    2. Edit the TCI file in the new platform path to contain the required configuration statements for the UPP IOM driver
    3. Run the configure and other setup steps of C6Run to indicate that you want to build for this new platform ("make omap-l138_upp_config)
    4. If using c6runapp, then make sure you include proper command-line arguments to reference the upp driver library and any required header files for DSP/Bios and the driver itself (use the -I option)

    Again, I have not personally tried this, but this is how I would go about getting started.

    Regards, Daniel