omap

OMAP SPI controller

Does anyone ever develop some application to control the spi device on OMAP3? I can load the spi driver "mcspi", but I don't know how to use it. ...

How to use DSP to speed-up a code on OMAP?

I'm working on a video codec for OMAP3430. I already have code written in C++, and I try to modify/port certain parts of it to take advantage of the DSP (the SDK (OMAP ZOOM3430 SDK) I have has an additional DSP). I tried to port a small for loop which is running over a very small amount of data (~250 bytes), but about 2M times on diffe...

Aligned and unaligned memory accesses?

What is the difference between aligned and unaligned memory access? I work on an TMS320C64x DSP, and I want to use the intrinsic functions (C functions for assembly instructions) and it has ushort & _amem2(void *ptr); ushort & _mem2(void *ptr); , where _amem2 does an aligned access of 2bytes and _mem2 does unaligned access. When sh...

time.h - problem with clock()

I try to measure the clock cyles needed to execute a piece of code on the TMS32064x+ DSP that comes with the OMAP ZOOM 3430 MDK. I look at the "Programmer's Guide" of the DSP chip and it says that the DSP supports the clock() function. What I do is really simple, I just do start = clock(); for (i=0;i<100;i++){ /* do something here ...

Porting PC video codec onto mobile environments?

I work on the task of porting a video codec written to perform on a PC, onto a mobile platform (in my case OMAP3430 MDK). Though my question is not related to a specific platform or language. I ask for specific clues/ideas to bear in mind when porting a codec onto a Mobile Platform. What are the main differences of the PC and mobile en...

OMAP 3530: How fast can I toggle an IO?

I am putting together an application for OMAP 3530 SoC. This application will run some user interface code on embedded linux and invoke waveform generation code on the DSP. The DSP and Linux sides will interact over DSP/BIOS link. My questions are: What is the highest frequency at which my DSP-side code can toggle a GPIO line? If I w...

Is it possible to access OpenGL ES 2.0 texture memory directly on an embedded platform?

I'm working on some GP-GPU code on an OMAP 3530-based platform and I'm being stymied by the lack of a glGetTexImage function in openGL ES 2.0. Since the platform uses integrated memory for the GPU, I was wondering if there's any kind of hack I can do to get a pointer directly to an allocated texture in memory. This way I could read my ...