ts-7000
[Top] [All Lists]

Re: [ts-7000] TS-7300 COM3~COM4 output is not working

To:
Subject: Re: [ts-7000] TS-7300 COM3~COM4 output is not working
From: Larry <>
Date: Thu, 08 Dec 2011 19:40:15 -0500


I suggest a technique I use to figure out hardware from a software point of view sometimes.
It works well for me.
Change your code to open all the ports of interest, or even better all the ports on the board.
Write a loop that sends a character on each port something like once per second, slow enough
so it won't overrun even if the baud rate is low.
Now the cool trick. Send the character '1' on port 1, '2' on port 2, etc.
Then when you are probing around, you can tell what port is what by looking at the data.

Larry

On 12/8/2011 7:32 PM, Walter Marvin wrote:
 
When in doubt, check baud rate and framing


From: Sungjoon m("gmail.com","sjkim1988");"><>
To: m("yahoogroups.com","ts-7000");">
Sent: Thursday, December 8, 2011 7:26 PM
Subject: [ts-7000] TS-7300 COM3~COM4 output is not working

 
Hi,

I'm trying to use COM3~COM5 of the TS7300 but the ports are not working correctly. COM1~COM2 work very well.

Input to the ports are working find but the output is not. I simply sent one character and probed the TX with oscilloscope. Sometimes there is a valid output but sometimes the output is not correct. When not transmitting, the output should be low but it's stuck to high sometimes.

Here is the code I'm using. Can anyone help me?

unsigned char value;
unsigned char *val_buf;

fd = open("/dev/ttyT8S0", O_RDWR | O_NOCTTY | O_NDELAY);
fcntl(fd, F_SETFL, 0);
value = 16;
val_buf = &value;
write(fd,val_buf,1);





__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU