Skip to contentSkip to conversation

MPC860(T) uart SCCs

DISCUSSION Gerhard TAEUBL 2 participants 2 messages Sep 18, 2001 – Sep 20, 2001

lore
Share & tools
lore
#0 lore raw

Hallo!
Iwork with an custom board MPC860T kernel 2.4.5. I will use all 4 SCC as uart RS485/RS232. The problem is, that SCC1 and SCC2 works fine and SCC3 and SCC4 not:
I mapped SCC1 to BRG1 (ttyS0) SCC2 to BRG2 (ttyS1)....
SCC3 and SCC4 doesn't generate any interrupt. If I write in a loop something to Port ttyS2 for example the driver fills the buffer set the Ready bit in the bd, and nothing else happens, no output. When the wrap happens the Ready bit is still set, and the program hangs up. It looks like the SCC won't send any data.

sicr is set to 0x1b120900 so I think there is no fault.

anyone any ideas?

Thanks for help

Gerhard

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

Hi,

Quoted 1 line

Iwork with an custom board MPC860T kernel 2.4.5. I will use all 4 SCC as uart RS485/RS232. The problem is, that SCC1 and SCC2 works fine and SCC3 and SCC4 not:

See our kernel version on ftp://ftp.denx.de/pub/LinuxPPC/usr/src . The uart driver included works on all 6 possible serial ports (2 x SMC, 4 x SCC) simultaneous, with support for hardware flow controll on all 4 SCC ports.

I've sent a patch for current kernel versions (2.4.10-pre?) to Tom Rini several days ago. Don't know when it will make it into the official source tree, if ever.

Wolfgang Denk

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/