public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* DSP core access
@ 2005-11-23  2:05 Louis Jung
  2005-11-23  2:47 ` andy
  2005-12-01  1:54 ` Ishigami
  0 siblings, 2 replies; 16+ messages in thread
From: Louis Jung @ 2005-11-23  2:05 UTC (permalink / raw)
  To: Linux-omap-open-source

Hi all,

I am currently trying to obtain a real time data using DSP core on the omap
platform via the I2C peripheral.  I was hoping to achieve this by
controlling the DSP via linux kernel that's running on the Arm core. There
is a DSP gateway through which I think i should be able to control. Does
anyone know the specific ways of doing this?

Louis Jung
2005-11-23

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: DSP core access
@ 2005-11-23 15:33 Hunter, Jon
  2005-11-23 16:13 ` comunerito
  2005-11-23 23:13 ` Louis Jung
  0 siblings, 2 replies; 16+ messages in thread
From: Hunter, Jon @ 2005-11-23 15:33 UTC (permalink / raw)
  To: linux-omap-open-source, Louis Jung

Hi Louis 

> 
> Hi all,
> 
> I am currently trying to obtain a real time data using DSP core on the

> omap platform via the I2C peripheral.  I was hoping to achieve this by

> controlling the DSP via linux kernel that's running on the Arm core. 
> There is a DSP gateway through which I think i should be able to 
> control. Does anyone know the specific ways of doing this?
> 

You could also use the dsp/bios link software for controlling the DSP
and streaming data between the ARM and DSP. See the following link.
There are some simple example applications provided to get you started. 
http://focus.ti.com/dsp/docs/dspsupportatn.tsp?sectionId=3&tabId=477&fam
ilyId=44&toolTypeId=5

In order to use the i2c peripheral from the DSP side you first need to
configure the static switch in the device because this is a
shared-peripheral and defaults as an ARM peripheral. For more details
please refer to section 2.5 of the following document:
http://focus.ti.com/docs/apps/catalog/resources/appnoteabstract.jhtml?ab
stractName=spru758a

Regards,
Jon

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: DSP core access
@ 2005-11-29  3:33 Toshihiro.Kobayashi
  0 siblings, 0 replies; 16+ messages in thread
From: Toshihiro.Kobayashi @ 2005-11-29  3:33 UTC (permalink / raw)
  To: lhsj81, comunerito; +Cc: linux-omap-open-source

Hi,

>From: linux-omap-open-source-bounces@linux.omap.com 
>[mailto:linux-omap-open-source-bounces@linux.omap.com] On 
>Behalf Of ext Louis Jung
>Sent: Tuesday, November 29, 2005 8:42 AM

>However, I was wondering whether this linux_dsp_tools are comaptible
with
>OMAP5910. The user guide states that it's a DSP development for TI
OMAP5912.
>Thanks again

Yes it is.
5910, 5912, 1510, 161x and 1710 has the same architecture
from DSP point of view, except for the clock speed.

BR,
Toshihiro Kobayashi

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: DSP core access
@ 2005-11-29 14:52 Hunter, Jon
  2005-11-29 23:30 ` Louis Jung
  0 siblings, 1 reply; 16+ messages in thread
From: Hunter, Jon @ 2005-11-29 14:52 UTC (permalink / raw)
  To: Toshihiro.Kobayashi, lhsj81, comunerito; +Cc: linux-omap-open-source

> 
> Yes it is.
> 5910, 5912, 1510, 161x and 1710 has the same architecture 
> from DSP point of view, except for the clock speed.
> 

Please note that the C55x DSP core revision may differ between devices.
For example, the OMAP5910 has a C55x v2.1 core and the OMAP5912 has a
v2.2 core. The C55x C compiler has a "-v" option that allows you to
specify the version of C55x core your device has. If you see the
rules.mak file for the reference frameworks you may see the "-v" option
specified as "-v5510:2". This indicates a v2.2 core for the OMAP5912.
What I would recommend is that for the OMAP5910 you use "-vcore:2.1" and
for the OMAP5912 you use "-vcore:2.2" (although this is the same as
-v5510:2). Otherwise you may use the compiler for the above devices. 

Regards,
Jon

^ permalink raw reply	[flat|nested] 16+ messages in thread
* RE: DSP core access
@ 2005-11-30 21:31 Hunter, Jon
  0 siblings, 0 replies; 16+ messages in thread
From: Hunter, Jon @ 2005-11-30 21:31 UTC (permalink / raw)
  To: Louis Jung; +Cc: Toshihiro.Kobayashi, linux-omap-open-source, comunerito

Hi Louis,
	
> 	
> Sorry for continuous postings on the same topic, but I am very new to
this OMAP development area and was hoping to grab all the help that can
be 
> provided.
> Currently my major problem seems to be on using non-montavista linux.
The CCS approach seems to have ways around non-montavista linux. However
the Linux > DSP tools seems to be montavista linux specific. It seems to
me that the tools are using binaries that are specifically provided by
montavista, if I am > wrong could someone give me a hand in configuring
the $DSPLINK/make/Linux/osk5912_mvlpreviewkit3.1.mk ? I can't not really
find replacements for
> 	-BASE_CGTOOLS := /opt/montavista/previewkit/arm/v4t_le/bin
> 	-BASE_OSLIB := /opt/montavista/previewkit/arm/v4t_le/lib
> 	which I assume are necessary for C55xx DSP code generation.

>From my understanding the above definitions are not needed for compiling
the DSP portion of dsplink. Please note that dsplink consists of a
kernel module that runs on the arm and a dsp/bios driver that runs on
the dsp. With regard to the above, if you are not using the montavista
tools, then this is where you should specify what build tools you are
using for the arm to build the kernel module and arm side dsplink
applications. 

Regards,
Jon

	
	

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2005-12-12 11:51 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-23  2:05 DSP core access Louis Jung
2005-11-23  2:47 ` andy
2005-12-01  1:54 ` Ishigami
2005-12-01  8:56   ` Louis Jung
2005-12-12  5:51   ` Louis Jung
2005-12-12  8:47     ` Antti P Miettinen
2005-12-12 11:51     ` Ishigami
  -- strict thread matches above, loose matches on Subject: below --
2005-11-23 15:33 Hunter, Jon
2005-11-23 16:13 ` comunerito
2005-11-28 23:41   ` Louis Jung
2005-11-23 23:13 ` Louis Jung
2005-11-29  3:33 Toshihiro.Kobayashi
2005-11-29 14:52 Hunter, Jon
2005-11-29 23:30 ` Louis Jung
2005-11-30  4:02   ` Louis Jung
2005-11-30 21:31 Hunter, Jon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox