scc2 using brg4 in uart.c

Julia Elbert jelbert at enerdyne.com
Wed Dec 13 12:36:54 EST 2000


		Hello,
		I have changed scc2 in uart.c to support brg4 instead of
brg1

		I enabled txd2, rxd2, disabled rts2, enabled cd 2

		Cp->cp_sicr &= ~0x0000ff00;
		Cp->cp_sicr |= ~0x00002600;

		I checked to see that the write buffer is storing characters
and calling memcpy to output to the current buffer descriptor with an
appropriate amount of data, but then nothing happens.....
		I am not getting any interrupts on SCC2. I am still using
SMC1 for my console.
		Any great minds want to offer any clues as to why I would
not get interrupts on SCC2?

		Thank you in advance,
		Julia


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





More information about the Linuxppc-embedded mailing list