8xx UART TX > 8 data bits
Robin Gilks
robin.gilks at tait.co.nz
Wed Apr 13 09:17:18 EST 2005
Greetings
I'm trying to get an SMC channel to operate as a UART with more than 8
data bits (13 in fact!!). Using a 2.4.22 kernel on a mpc859 (basic 866).
This means its going to be getting two half words from the BDs for each
'character'. With the constraints of the SMC requiring even addresses
etc for this mode of operation, does anyone know if it will work writing
2x8 bit characters at a time so as to keep the existing tty structure
for SMC handling?
I've tried tracing the tty layers by code inspection but I keep getting
lost in the indirections!! If I could find how the BDs are allocated as
a result of a character write, then perhaps I could make minor mods to
ensure memory allocs on an even address.
Could be that I'm totally off the wall but I'm trying for a 'minimum
effort' viability hack :-))
--
Robin Gilks
Senior Design Engineer Phone: (+64)(3) 357 1569
Tait Electronics Fax : (+64)(3) 359 4632
PO Box 1645 Christchurch Email : robin.gilks at tait.co.nz
New Zealand
=======================================================================
This email, including any attachments, is only for the intended
addressee. It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
=======================================================================
More information about the Linuxppc-embedded
mailing list