Re: [uCsimm] serial raw data transfer

From: Vladimir Gurevich (
Date: Fri Aug 11 2000 - 12:46:34 EDT

Hi Michael,

sticke_m wrote:

> Btw. Is it possible to change the speed of the
> serial port of the uCsimm to 250KBit/s. Then I would use it to build
> an Ethernet to DMX-Bridge that must be able to send every bytecode.

The serial driver (drivers/char/68328serial.c) as well as the original
documentation from Motorola contain the formula that will help you to
generate non-standard baud rates You should use PRESCALER and DIVIDE
fields in the UBAUD register tochange the speed the way you like.
notice that it also depends on the system clock.

I cannot guarantee that RS-232 will work reliably at such non-standard
speeds. You might try to set UBAUD_PRESCALER to 60 or 61 and
to 0 in order to achieve speeds 207.36Kbaud or 259.2Kbaud respectively.

Happy hacking,

                   |      |          |      | 
                   |     :|:        :|:     | phone         408-525-9707
Vladimir Gurevich  |    :|||:      :|||:    | fax           408-525-9707
Software Engineer  | .:|||||||:..:|||||||:. |
      RABU         |      CiscoSystems      | e-mail
                   |                        | location SJ-7-2 Cube D1-12
                   |  | 
This message resent by the list server

This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:37 EST