Part Number:OMAP-L138
Tool/software: TI-RTOS
Hi All,
I am fairly new to software development so please bare with me. I am currently developing a DSP board and decided to use OMAP-L138. I am using Processor SDK and CCS v8. Are there any current available workshops to get my feet wet on Processor SDK? The TI-RTOS workshop that I just did was a bit outdated and the labs wouldn't even build on my CCS v8.
I am at the point right now where I wanted to write my own Hello World code and use TMDSLCDK138 EVM board for evaluation purposes. The problem I'm having is that I don't even know how to use the GPIO API's. I ran the LLD examples and it worked (blinked LED) but since I wanted to write my own code just for practice, I don't know how to do this. Right now all I have is this on my main.c :
/* * ======== main.c ======== */ #include <xdc/std.h> #include <xdc/runtime/Error.h> #include <xdc/runtime/System.h> #include <ti/sysbios/BIOS.h> #include <ti/sysbios/knl/Task.h> #include <ti/drv/gpio/GPIO.h> /* * ======== taskFxn ======== */ Void taskFxn(UArg a0, UArg a1) { System_printf("enter taskFxn()\n"); Task_sleep(10); System_printf("exit taskFxn()\n"); System_flush(); /* force SysMin output to console */ } /* * ======== main ======== */ Int main() { Task_Handle task; Error_Block eb; System_printf("enter main()\n"); Error_init(&eb); task = Task_create(taskFxn, NULL, &eb); if (task == NULL) { System_printf("Task_create() failed!\n"); BIOS_exit(0); } BIOS_start(); /* does not return */ return(0); }
tl;dr
I need step-by-step documentation from scratch to simple LED blinking application. And documentation on how to use Processor SDK API's.
Thanks!
Edward