This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570 SCI interface baud rate problem



Hi,

I am using TMS570 USB board. I am trying to receive gps data through sciREG2 and redirecting it to sciREG1 and finally receiving it on the computer.But the data received on hyperterminal(set to 4800) is gibberish.

the code that i have written is

unsigned char abcd;

while(1)

{abcd = sciReceiveByte(sciREG2);//data from gps to 2
sciSendByte(sciREG1, abcd);//send it again to computer}

I thought the problem existed with baud rates. The gps works at 4800.So i changed the baud rate of sciREG1 and sciREG2 to 4800. But there seems to be no use. i have tried all baud rates 4800/9600/19200 .

sciREG1->BAUD = 650;  /* baudrate 4800 pg547 of manual*/

sciREG2->BAUD = 650;  /* baudrate 4800 */

Pls help me sort this problem out.

Satish