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.
Hi
I have enabled UART-0 & UART-1 in kernel 2.6.33-rc4 for AM1808 custom board, and using UART-2 as console.
In application I set following termios parm
struct termios newtio;
bzero((void *) &newtio, sizeof(newtio));
newtio.c_cflag = baudRate | CS8 | CLOCAL | CREAD;
newtio.c_iflag = IGNPAR;
newtio.c_oflag = 0;
newtio.c_lflag = 0;
newtio.c_cc[VMIN] = 0;
newtio.c_cc[VTIME] = 1;
newtio.c_cflag &= ~CRTSCTS;
tcflush(DevNode, TCIFLUSH);
tcsetattr(DevNode, TCSANOW, &newtio);
UART-0 working fine, but incase of UART-1 able to transmit data, but on Rx pin getting random data (random spikes viewed on osci-scope).
Thanks,
Jignesh
Hi,
There was a level converter chip problem (fixed that issue), We noticed loading effect when we connect it to serial port with PC.
Thanks,
Jignesh