Google Answers Logo
View Question
 
Q: Missing bits from TI DSP ( No Answer,   0 Comments )
Question  
Subject: Missing bits from TI DSP
Category: Computers > Programming
Asked by: aizak-ga
List Price: $20.00
Posted: 12 Oct 2005 07:21 PDT
Expires: 11 Nov 2005 06:21 PST
Question ID: 579303
Hi guys,

I am having some trouble of missing some bits of data when I 
sent out data between two TI DSP processors using McBSP of one(DSP-I which
is TMS 6711) to the UART of another(DSP-II which is TMS 6701).

I have a setup in which I recieve digital data(somewhat sine wave-ish)
though a serial port of a DSP-I, which is filtered there and
also converted from float data to short, then using the ping pong buffers
sent out this data out thru the McBSP using an RS232 cable.

The other end of the cable is connected to the DUART on the DSP-II
and this further processes it and sends it to a display device
using another of its DUART ports.

When we sent out data which consists of 6 bytes, from DSP6711, of which 
2 bytes are of 1's added to its beginning to identify that this is start
of data, and the remaining 4 bytes contain the actual data.

The McBSP being sync and the DUART being a async device, we add
1 start bit and 2 stop bits to each byte the data before we sent it out. 
That means each byte sent has 11 bits(8+3)

And so, we sent out 66 bits(6x11) in each cycle.

Now each of these bits are converted to short i.e. 1's to 0xFFFF and
0s to 0x0000, and are sent out

DSP-I is also connected to a PC thru a USB port where we can view
the signal plot as it is sent.

Now our trouble is that although we always see good data on the PC 
connected to DSP-I, the data that is seen in the display connected
to DSP-II sometimes shows corrupted data.

How can this corruption be avoided ? Does this have something to
do with the use of RS232 cable ?

A diagram of the setup can be found at
http://geocities.com/toaizak/dsp_design.jpg

My register settings are at
http://geocities.com/toaizak/register_settings.txt

thanks
/anish
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy