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.

omap-138 EVM gpio test

Other Parts Discussed in Thread: OMAPL138, OMAP-L138

Hello world

Am using omapl138EVm and I want to write the values to the gpio only OUTPUT pins , I do not see any application ( project) where is shown how use this ones ,I sow under bsp of EVM some project but it only use input gpio (GPI) and under interrpt condtion ,I want use output to toggle these ones and check timing , can you tell me the way to set the  gp out.

## is the first time I use this board ###

Your help will be greatly appreciated !!!!

Shush

  • Shush,

    There is a GPIO example available in the PSP package that illustrates how to configure the pins as output.

    https://www-a.ti.com/downloads/sds_support/targetcontent/psp/bios_psp/index.html

    Source file location:
    packages/ti/pspiom/cslr/evmOMAPL138/examples/gpio/src

    Please let us know if this is not what you are looking for or if you have other questions!

    -Kevin

  • Dear Kevin Scholz

    Very thanks for your cooperation :

    I have 2 questions:

    1_ what link should I do double clicks to down the proper PSP ( there is bios 5.1.......) for GPIO output for EVM OMAP138 I am using dsp 320C6748 without arm core module !!!  

    2_in these examples is used O.S. BIOS  or not ? In my specific project I do not want to use BIOS , may be I need ,Could explain what is this O.S Bios , what are the benefit by using or not in my project ????   

    Shush

     

  • Shush,

    "1_ what link should I do double clicks to down the proper PSP ( there is bios 5.1.......) for GPIO output for EVM OMAP138 I am using dsp 320C6748 without arm core module !!! "

    You can use the link "BIOS PSP Release version 01.30.00.05". I will also post the link here:
    http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/psp/bios_psp/1.30.xx/1.30.00.05/BIOSPSP_01_30_00_05_Setup.exe

    "2_in these examples is used O.S. BIOS  or not ? In my specific project I do not want to use BIOS , may be I need ,Could explain what is this O.S Bios , what are the benefit by using or not in my project ????"

    The rCSL example that was previously referenced does not use BIOS and illustrates peripheral functionality. For complex systems though, it may be beneficial to use an operating system, such as BIOS. Is there a particular reason why you do not want to use BIOS?

    For more information, you may find some of the articles located here useful: http://processors.wiki.ti.com/index.php/Category:DSPBIOS

    -Kevin

  • Dear Kevin

    Thank you very much for your attention and cooperation .

    Could you explain to me ,  why I need to use operating system which are the advantages to use when is used and when no ? My  project 's target  is get some data through parallel port , after that run several algorithms into the DSP and finally I want to use the spi port to communicate with a external  modulo .All this process should be very very fast .

    what do  you suggest me use or not Bios for this application ???

    -Shush

  • I  download  the folow example that you specify me  and  it only  contains the GPIO's functions belonging to the driver of the BIOS operating system, I do not understand why  is  so complicated to use the GPIO peripheral. Can someone help me or send me a project of source code about how toggle the GPIO7.12 it is connected to J15 connector of EVM omap-138

    your help will be greatly appreciated!!!!!!!

    Shush..

     

  • Shush,

    There are multiple GPIO examples in the PSP package, so it is possible that you are viewing a GPIO example that uses BIOS. Can you please verify that you are looking at the rCSL example?

    Source file location:
    packages/ti/pspiom/cslr/evmOMAPL138/examples/gpio/src

    Also, the GPIO and OMAPL138 reference guides might be helpful.
    GPIO: http://www.ti.com/litv/pdf/sprufl8b
    OMAPL138: http://www.ti.com/litv/pdf/sprugm7d

    Please ensure that you are enabling the GPIO through the PSC and also configuring the pins through the SYSCFG module.

    Hope this helps!

    -Kevin

  • We are having the same problem getting gpio to work.  This should be one of the simplest implementations that we could do, but it's not now.  Read that WinCE 5.0 was easy to use re talking to registers, but that changed in 6.0 because of register security issues.  

    1) Where can we find easy to understand/use instructions as to how to make it work in WinCE 6.0 for the OMAP-L138 on the LogicPD EVM?  gpio.h and gpiodefs.h have wrapper functions, but nowhere can I find out how to initilalize a pin to be gpio.  Documentation is incomplete/disjoint.  Please point to specific projects/documents/applications. 

    2) What is the difference between a Platform Support Package and a Board Support Package?  Differences are a bit obscure, and I can't seem to find a good reference.  I'm aware the the BSP is a collection of code that allows software to talk to/control specific hardware on a specific development board like we have. 

    3) I can't find the PSP for the OMAP-L138.  Could someone please provide a link?

    Thanks,

    DM