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);
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|