## Forums Search for: Matlab

## Starter Kit

inHello, I m working with Matlab on image compression. Now I want to put my code into a TMS320C6x DSP, I think I m going to write my functions...

Hello, I m working with Matlab on image compression. Now I want to put my code into a TMS320C6x DSP, I think I m going to write my functions in C. The problem is : I ve got images from a camera (5 images / second), they go into the "IEEE1394" cable and must come into my DSP. Is there a starter kit which includes IEEE1394 "link" ? Tx.

## Filter implementation on DSK6416

inHello All, I am new to DSP programming and am experiencing some difficulties implementing filters on a fixed point DSP (TMS320C6416). To...

Hello All, I am new to DSP programming and am experiencing some difficulties implementing filters on a fixed point DSP (TMS320C6416). To keep it simple, I started trying to implement a single pole low pass filter with a corner frequency of 500 Hz while sampling at 96kHz. I have obtained the quantized filter coefficients using Matlab's fdatool. I have then written down type 1 direct fo...

## implementing the software PLL

inHello DSP experts ! =A0 Actually, I am working in a project, implementing the MODEM using DSP6713, = and I hope I can gain your deftness in...

Hello DSP experts ! =A0 Actually, I am working in a project, implementing the MODEM using DSP6713, = and I hope I can gain your deftness in this case. After implementing the whole algorithm on DSK boards (using MATLAb simulink= + Code composer) I encountered a problem. It seems all parts of model include 32 QAM, Timing recovery, Equalizer and = carries recovery algorithms act well during s...

## DSP_fft in 6416

Hi, I try to find fft of impulse sequnce. But my fft output is not correct when i compare with matlab. Actually, fft of impulse should be one...

Hi, I try to find fft of impulse sequnce. But my fft output is not correct when i compare with matlab. Actually, fft of impulse should be one in all frequeny. My bug code given below #include #define N 4 void main(){ short Twiddle[2*N] = { 0,32767,...}; short InputFft[2*N] = { 0x4000,0,0,0,0,0,0,0}; short OutputFft[2*N]; short I;

## Seek help for FIR filter problem

I am a novice using the PADK board based on 6727, I want to implement a FIR filter to get the Hilbert Transform of the input signal, the...

I am a novice using the PADK board based on 6727, I want to implement a FIR filter to get the Hilbert Transform of the input signal, the coefficients are obtained by MATLAB. The C codes in the CCS is as follows, but the output wave have discontinuity points every several cycles seen from the oscilloscope(the picture cannot be attached). The DAC buffer is set as int dmaxDacBuffer[PINGPONG][STEREO]...

## frequency domain plot-PLEASE HELP ME

hi i am having problems with graphs in ccs. I had tried ex1.2 in rulph chassaings book and i am also getting the graph of the impulse response...

hi i am having problems with graphs in ccs. I had tried ex1.2 in rulph chassaings book and i am also getting the graph of the impulse response and frequency response. Can anyone please tell me how can i save the frequency domain plot obtained so that i can plot the latter in matlab or excel?? please help meeeeee... _____________________________________

## RRC filtering of binary data

Hi all I'm trying to implement a Root Raised Cosine filter (Fsample = 3.84 kHz) with a DSK6455 for a WCDMA transmitter and i'm not quite...

Hi all I'm trying to implement a Root Raised Cosine filter (Fsample = 3.84 kHz) with a DSK6455 for a WCDMA transmitter and i'm not quite sure where to start. I've simulated a filter in Matlab which automatically upsamples the data [-1,1], but i'm not sure how to implement the upsampling & filtering in C/C++. Is there any documentation available on the C/C++ implementation of RRC filters ...

## NDK FOR 6713

Hi to all, I am using dsk 6713 and i have a ethernet daughter card dsk91c111 connected to it. I have ben trying to run one of the demo programs...

Hi to all, I am using dsk 6713 and i have a ethernet daughter card dsk91c111 connected to it. I have ben trying to run one of the demo programs related to noise cancellation from simulink but it always come up with this error: Error building Real-Time Workshop target for block diagram 'c6713dskANC_udp'. MATLAB error message: Error using ==> RTW.makertw.callMakeHook at 49 The call to ccslink_

## NDK FOR 6713

Hi to all, I am using dsk 6713 and i have a ethernet daughter card dsk91c111 connected to it. I have ben trying to run one of the demo programs...

Hi to all, I am using dsk 6713 and i have a ethernet daughter card dsk91c111 connected to it. I have ben trying to run one of the demo programs related to noise cancellation from simulink but it always come up with this error: Error building Real-Time Workshop target for block diagram 'c6713dskANC_udp'. MATLAB error message: Error using ==> RTW.makertw.callMakeHook at 49 The call to ccslink_

## Retrieving Data in Boot Flash Mode

Hi, I am working on the development of a system using C6713 DSP that has to boot from Boot?Flash. I am intending to run the DSP for couple of...

Hi, I am working on the development of a system using C6713 DSP that has to boot from Boot?Flash. I am intending to run the DSP for couple of hours and saving the data in SDRAM. I am wondering how would I??retrieve the data to analyse them in Matlab ? I would appreciate any help dealing with that. ?-BAS

## simulink to C6713 trouble

well,i'm back again and this time with some more "DSK-trouble" everyone! im using: MATLAB7.0,CCSv3.1 and the C6713. while running the "noise...

well,i'm back again and this time with some more "DSK-trouble" everyone! im using: MATLAB7.0,CCSv3.1 and the C6713. while running the "noise cancellation" demo,the MATLAB built the project just fine but when the CCS started building the project source code, it always gives an error message such as this one: "fatal error: #error Unrecognized use." i'd like to hear from anyone who has...

## RTDX capabilities

inI'm trying to transmit 16-bit values through the "line out", with a DAC sample rate of 96KHz. The source of the data is MATLAB, and...

I'm trying to transmit 16-bit values through the "line out", with a DAC sample rate of 96KHz. The source of the data is MATLAB, and the connection with the DSK is through the RTDX. Therefore, I need the RTDX rate of transfer to be 96000*2=192KB/Sec. Is this rate possible? w

## Re: ISR Overrun

inHi, i am having exactly the same error with C6713 DSK and Matlab interfacing. have you figured it out how to remove this error ??? Kamran...

Hi, i am having exactly the same error with C6713 DSK and Matlab interfacing. have you figured it out how to remove this error ??? Kamran Khan k...@yahoo.com Hi All, > > ?I have made a model in Simulink ...for which I have generated > code using 'Embedded Target using TI c6000'. My code runs on DSK6713. > However as soon as the code starts running ...i get a error 'ISR > Overrun -

## smart antenna

Hi all.... i'm making an implementation of smart antenna using c6713. is it applicable if i connect simulink and the c6713 via rapid...

Hi all.... i'm making an implementation of smart antenna using c6713. is it applicable if i connect simulink and the c6713 via rapid co-simulation facility on matlab?is there anybody who can give me some example of system implementation using c6713 and simulink? thaks... br, domi

## Accessing SDRAM in Boot Flash Mode

Hi, I am working on the development of a system using C6713 DSP that has to boot from Boot Flash. I am intending to run the DSP for couple of...

Hi, I am working on the development of a system using C6713 DSP that has to boot from Boot Flash. I am intending to run the DSP for couple of hours and saving the data in SDRAM. I am wondering how would I retrieve the data to analyse them in Matlab ? I would appreciate any help dealing with that. -BAS

## Problem of Hilbert Transfrom

inI am using the PADK board based on C6727 dsp chip and want to implement SSB modulation from a monotone input signal. There's a way (from IEEE...

I am using the PADK board based on C6727 dsp chip and want to implement SSB modulation from a monotone input signal. There's a way (from IEEE magazine)to generate the analytic signal composed of the in-phase signal and the quadrature signal using a pair of FIR filter coeffecients A and B (B is the reverse version of A). In the matlab simulation, when the input singal is of mono frequency, the outp...

## Adaptive Noise Cancellation using the RLS algorithm.

Hi all, I'm trying to implement the RLS alogrithm for noise cancellation in C with the TMS320C6711DSK but dont know how to initialize and set...

Hi all, I'm trying to implement the RLS alogrithm for noise cancellation in C with the TMS320C6711DSK but dont know how to initialize and set parameters like the P matrix using C. All the examples i have seen implement it in MATLAB. I have already implemented the LMS algorithm using C but the more complex RLS is posing a problem. Any help would be greatly appreciated. Thanks. Cynthi

## ADC card selection for C6713

Hi all I want to receive 70 MHz PM+BPSK modulated signal. Video bandwidth:138 kHz Modulation index for PM: 1.2 radian Subcarrier...

Hi all I want to receive 70 MHz PM+BPSK modulated signal. Video bandwidth:138 kHz Modulation index for PM: 1.2 radian Subcarrier frequency of BPSK:65536 Hz. I have been using Matlab /Simulink and TMS320C6713 DSK. 1. I need suitable ADC daughtercard for C6713 DSK. 2. What is the sampling rate according to this spec.s? How can I calculate? I want to proof my calculation method. ...

## Correct Scaling Factor from Q15 FFT output to Float

inI get the correct FFT output "shape" of a say sine wave using DSP_fft16x16t with C6415, but the it is in Q15. How can I accurately scale it...

I get the correct FFT output "shape" of a say sine wave using DSP_fft16x16t with C6415, but the it is in Q15. How can I accurately scale it back to a float value? Do I just have to find the correct value by referring to say the output of Matlab or other software? -Jeffrey

## minimize group delay in filters

inHi I am trying to design some IIR filters using MATLAB and am facing an issue with group delay. Requirement: An audio data at...

Hi I am trying to design some IIR filters using MATLAB and am facing an issue with group delay. Requirement: An audio data at 48KHz sample rate passes through two stages simultaneously, one through two stage decimation and one through high pass filter (cut-off 3KHz) in order to do different processing for lower and higher frequency content. Currently I am designing those IIR fil...