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.

CCS/PROCESSOR-SDK-AM335X: GPIO control in RTOS

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: SYSBIOS, AM3352

Tool/software: Code Composer Studio

As much as I hate to ask "teach me" questions, I am at the end of my rope.  I struggled with this my entire Christmas vacation, and threw up my arms saying "there is no good support" . I'm back at it again, and still getting nowhere after three days.

All I want to do it learn GPIO on the Beagle Bone Black. (for now).  And do it with Sysbios. Not Linux.

I tried this:  e2e.ti.com/.../448904   and got a bunch of undefined and then unresolved....  But it aslo uses "StarterWare", which seems to be something to move AWAY  from, not toward.  However a some CCS package installed it in C:\ti\pdk_am335x_1_0_5\packages\ti\starterware

I found several example projects on other web sites.  They either don't compile, or crash.  But they are from postings that are two years ago or so.

I did find one example, inside a  PDK.  It works, but there is no explanation of anything. Just hundreds of lines of copyright statements.

 My questions are philosophical.: 

In the example I found GPIO_LedBlick_bbbAM335x_armTestProject uder the package "C:\ti\pdk_am335x_1_0_5\packages\MyExampleProjects"  (factory install)

It uses Sysbios, and calls "BIOS_Start()"  - But there are no "tasks" ...

I go through Eric Wilburs videos to learn SysBios and tasks, then examples don't use it, or try to mask how it's implemented.

Where is the Task_create()  called?

Where is the actual task?

As for accessing IO pins, where is any doc on the API collection that uses all those  GPIO_xxxx  calls?

I understand that there are complexities in doing this kind of access in an ARM device (I came across little dibbles of information about clocking and synchronization), but isn't there a step by step tutorial?  Like other suppliers?

Please!  Can someone offer a stating point and path to follow?

-Scott Weber