Hi there,

To be able to support 921600 bits/sec on the serial port I am trying to
use an external clock in serial/driver/mcf.c.
The external clock is connected to PAR_TIMER_TIN0.

I would have assumed that I only need to adjust mcf_set_termios to
configure PAR_TIMER_TIN0 as clock input and tell the UART to use the
external clock with 

                writeb(MCFUART_UCSR_RXCLKEXT16 |
MCFUART_UCSR_TXCLKEXT16,
                        port->membase + MCFUART_UCSR);
instead of the built-in one with

                writeb(MCFUART_UCSR_RXCLKTIMER |
MCFUART_UCSR_TXCLKTIMER,
                        port->membase + MCFUART_UCSR);

But when I set CONFIG_SERIAL_MCF_BAUDRATE to 921600, the kernel gets
stuck somewhere (hard to tell where without output ;-) )until the
watchdog kicks in.
Do I have to change anything else?

Any hint would be very appriciated.


Thanks,

Lars
 
**********************************************************************
This e-mail is the property of Lantronix. It is intended only for the person or 
entity to which it is addressed and may contain information that is privileged, 
confidential, or otherwise protected from disclosure. Distribution or copying 
of this e-mail, or the information contained herein, to anyone other than the 
intended recipient is prohibited.
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to