Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

DSP implementation of OFDM

Status
Not open for further replies.

syedahmar

Member level 1
Joined
May 26, 2005
Messages
35
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
1,663
We have simulated OFDM based transmitter, channel and receiver in matlab. Now we want to use two TI C6713 Dsp boards , one to act as a transmitter and the other as a receiver. The problems we face are
1)the conversion of the matlab code to C for code composer studio...(Do we have to do it manually or is there some tool available)
2) The link between the two dsp boards. We have to connect the two Dsp boards, How do we do that. Ideally there should have been a wirelsess link but i dont think so we have enought time for that and now we have about 45 days left...So is there a serial link we have to use or what?
We really need alot of help in our project. Any feedback from u guys will be appreciated. How to go about our project now?????????
 

eda_wiz

Advanced Member level 2
Joined
Nov 7, 2001
Messages
654
Helped
57
Reputation
114
Reaction score
29
Trophy points
1,308
Activity points
6,195
1) there is a matlab ->C converter utility in MAtlab. I guess you can use it for conversion.
 

Circuit_seller

Full Member level 5
Joined
Sep 23, 2002
Messages
302
Helped
17
Reputation
34
Reaction score
7
Trophy points
1,298
Activity points
2,354
Hi

The conversion utility is not effective, Try converting the m-file to c manually, and for maximum efficeincy you should follow some rules provided by the c optimizer of code composer studio.

Regards
 

syedahmar

Member level 1
Joined
May 26, 2005
Messages
35
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
1,663
Thanks for the advice. There is this one more question of linking the two boards. How do we do that and what do we need to study for that?
 

hisham

Newbie level 6
Joined
Sep 25, 2003
Messages
12
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
98
to connect the two boards, you can use the sound card of the boards and connect them with a simple wire.
 

ssk3g

Junior Member level 1
Joined
Feb 7, 2006
Messages
16
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,484
Hi

Using the data transfer between two cards would require much control mechanism inclusding DMA or mem copies and proper buffer allocation techniques, which would be quite complex and cumbersome;

If all you are intrested is to test the transmitter and receiver in a half duplex mode; why dont you integrate the transmitter and receiver on a single dsp card.

wherein you can execute teh transmitter for a frame and then generate the frame data, later the receiver can be initiated to decode the frame.

To compile and download the code, u can use the ccslink in matlab. more help on the same is avalaible in matlab help files; I believe if you have CCS and matlab installed there is a automation demo script which tests the matlab abd CCS interface.

Cheers
S
 

shedeed

Member level 4
Joined
Sep 26, 2004
Messages
70
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Location
Egypt
Activity points
631
I think you have simulated this one in Simulink, if so you can generate the c code directly from simulink using the RTW "real time workshop", be selecting the simulation mode to be "Accelerator" not "Normal".
You'll have at the root a new created folder containig the c-code of your model and the supported libraries and all needed DLLs.
Then you shall open the CCS to convert this code into the TIs assembly.
IF you have just used m-files" written your own code" then you can use the MatLAB compiler machine to convert your m-file to c-code

Added after 3 minutes:

For thw wireless link to be connected you must first make sure that your baseban model is already running.
You may connect it wired-at first- and if it worked then you shall try to connect the RF transcivers and the wireless link
i do have a question what have you done concering the frequencies-i mean frequency mapping and adjustement of the frequencies- and the channel estimation modules??
 

ars0242

Newbie level 4
Joined
Sep 8, 2005
Messages
6
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,351
syedahmar said:
We have simulated OFDM based transmitter, channel and receiver in matlab.
Need to simulate a wireless channel with an M-ary QAM scheme for frames/audio or both. The suggested architechute is as follows

Data - Modulation - FEC coding - filter - istropic antenna - Channel+Noise - antenna - filter - FEC decoding - Demodulation - Dataout.

M>32 for QAM
BW ~ 6Mhz

If anybody has already simulated such a channel or a similar channel in Matlab, could you pls upload or forward (ars0242@yahoo.com) ur code pls, it would be a great help.

Thanks
 

prost13

Newbie level 1
Joined
Apr 22, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
i have the same question
i'm trying to design full-duplex ofdm transceiver

is it just connect first dsk's line-out to second dsk's line-in and connect second dsk's line-out to first dsk's line-in ?

isn't there any addition-setting ?
 

abdullah gill

Member level 1
Joined
Mar 20, 2010
Messages
39
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Location
pakistan
Activity points
1,503
@ post13
can u help me simulating ofdm in any of the fpga tool(system generator ,acceldsp etc)
 

mankeer

Newbie level 6
Joined
Oct 21, 2009
Messages
13
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,283
Location
Saudi Arabia
Activity points
1,348
hi syedahmar,

would you please send me the matlab code of your simulation, this will be a great favor from you.

regards
 

arjun1617

Newbie level 1
Joined
Jan 2, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,284
can some one provide me with the correct matlab code? for transmitter and reciever in ofdm...very important ..and its urgent..pls help
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top