Quantcast
Viewing all articles
Browse latest Browse all 17527

OMAPL137 Toggling the GPIO from the ARM Side in SYSBIOS

Hi,

I started this thread a while back. I posted in the wrong thread, moved to this forum where I think the question fits better but I still have not been able to solve this issue. I had a few other things to wrap but I would like to revisit this one since is very simple and I can figure out what is happening.

here is the original thread: Image may be NSFW.
Clik here to view.
 (please excuse if this is not the right path but the other thread seems to be out of your radar).

I'm trying to toggle some of the user LEDs on the EVM omapl137 from Spectrum Digital from the ARM with SYSBIOS. I'm able to do the following: toggle the LED from the DSP just using the rCSL, toggle the LED from DSP with SYSBIOS, and toggle the LED from the ARM just using rCSL (a simple C project not rtsc).

I'm trying two approaches. Using the DSP GPIO functions from the Spectrum Digital test code that works on the DSP and the register configuration using the rCSL example for the ARM but in SYS/BIOS.

I'll start with the second which I think is the correct path.

I can build the project. I first create a typical sys/bios for the arm, change the config file so I can see the SysMin output when exit. That part compiles and works. I can see print on the console. The I added to my include path the rCSL support folder: "C:\ti\quickStartOMAPL1x_rCSL\OMAPL1x\support\includes". Then I declared the sysconfig and the gpio register, the same way they are declared on the rCSL example. 

Copy the first section of the code that configure the PINMUX and sets de direction.

As soon as the code steps into:

Image may be NSFW.
Clik here to view.

the code jumps to No source available for "0xffff0010" 


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>