Questions tagged [ti-dsp]

Texas Instruments (TI) DSP software development. Related to tag code-composer.

Texas Instruments (TI) DSP software development. Related to tag code-composer.

Likely to include discussion of setting up and using the core processors and embedded peripheral devices in the DSP chips, with and without DSP Bios

25 questions
7
votes
2 answers

Warning when type-casting between pointer and pointer-to-function

I am porting some C code to a TI DSP chip environment. I'm grappling with the C compiler. I have a data structure that includes a pointer to a function. I have a function that initializes the data structure. Something like this: typedef void…
steveha
  • 74,789
  • 21
  • 92
  • 117
6
votes
3 answers

TMS320F2812 FatFs f_write returns FR_DISK_ERR

I have problem with an SD card. I'm using the FatFs library ver R0.10b to access the SD card. My code: // .... // FATFS fatfs; FIL plik; FRESULT fresult,res1,res2,res3,res4,res5; UINT zapisanych_bajtow = 0 , br; UINT…
RydelW
  • 126
  • 1
  • 2
  • 7
5
votes
1 answer

TMS320C64x Quick start reference for programmers

Is thare any quickstart guide for programmers for writing DSP-accelerated appliations for TMS320C64x? I have a program with custom algorythm (not the fft, or usial filtering) and I want to accelerate it using multi-DSP coprocessor. So, how should I…
osgx
  • 90,338
  • 53
  • 357
  • 513
4
votes
2 answers

Fixed Point MATLAB DSP Algorithm

I've got a question about coding an algorithm for a Texas Instruments TMS320C64xx DSP in MATLAB: I've got a working sloppy implementation of my filter in MATLAB. My goal is to use MATLAB Embedded Coder to convert this algorithm to C which I can then…
NickHalden
  • 1,469
  • 2
  • 20
  • 31
4
votes
3 answers

TI DSP: interfacing C++ and assembly

I posted this Q to TI's 28xx DSP forum but haven't heard a response and figured maybe someone here might know. I know how to write functions in assembly so that they are C-callable; if the C-callable name is foo() then the assembly function is…
Jason S
  • 184,598
  • 164
  • 608
  • 970
4
votes
1 answer

How do I write a memory barrier for a TMS320F2812 DSP?

I've looked through the TI C/C++ compiler v6.1 user's guide (spru514e) but didn't find anything. The asm statement doesn't seem to provide anything in this regard, the manual even warns against changing values of variables (p132). The GNU extension…
starblue
  • 55,348
  • 14
  • 97
  • 151
2
votes
1 answer

How to use the C64x+ GMPY instruction to compute a CRC32?

How can I use the Galois Field Multiply (GMPY) instruction featured in TI C64x+ DSPs to efficiently compute a CRC32?
geschema
  • 2,464
  • 4
  • 30
  • 41
2
votes
1 answer

Intel atom or ARM for heavy Signal processing workload

I would like to know which is a better (in performance) option : To get a Intel Dual core atom based board To get a Arm cortex A9 based board (pandaboard etc) I would like to run some light version of linux and do some very cpu intensive…
srinathhs
  • 1,998
  • 4
  • 19
  • 33
2
votes
1 answer

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…
Raj
  • 2,852
  • 4
  • 29
  • 48
1
vote
2 answers

Generating C code from a Matlab-Simulink model for DSP C6748

I'm trying to generate C code from a Matlab-Simulink simple model (eg.: sine wave generator with a DAC at the output). This code must be executed with Code Composer Studio for TMS320C6748 DSP (Texas Instrument C6748). Specifically, for the…
Juanma
  • 21
  • 1
  • 5
1
vote
0 answers

Re. pcm3002 configured for 16 bit data transfers

I am trying to do a loopback program (get data in, and send it out without any processing) on a 5416 DSK. I am using the on board PCM3002 codec and it is configured for 16-bit data transfer. I also have McBSP2 configured for 16-bit…
tania
  • 11
  • 1
1
vote
1 answer

Code Composer Studio: build fails with message "cannot open file"

I have several Code Composer Studio projects which have compiled successfully, but now they all fail at the linking stage with the error message "cannot open file" then the name of the first first .obj file to be linked. I am certain that the…
Nigel Davies
  • 1,640
  • 1
  • 13
  • 26
1
vote
1 answer

How to communicate between 2 DSP in TI6488

hey i am new to DSP. i have given a task to communicate between 2 DSP i.e. inter DSP communication.. for TI6488. i have some examples codes for loop back. but for non loopback how to proceed i have no idea...i am using CCstudio.. please help
vj85
  • 577
  • 3
  • 7
  • 12
1
vote
0 answers

TMS320C6713 has problems with interrupt timing?

Im working with CCS5v5 on Win7, DSK6713. I have tow different c Files and one header(white_noise.h). There are two different scenarios I can build and debug, and it works-> with adding the header white_noise.h and with N=128(in NLMS.c, Filter…
1
vote
1 answer

TI TMS320C64xx : add a PRD function

I have to add a function that will run every specified period. it seems straight forward as Code composer has a GUI tool to do that : DSP/BIOS Condig->PRD-> alt text http://bauhaus.ece.curtin.edu.au/~iain/c54-tutorial/images/Image33.gif in the…
Tom
  • 189
  • 8
1
2