8xx SMC break handling - SOLVED

Robin Gilks robin.gilks at tait.co.nz
Wed Apr 27 12:26:17 EST 2005


Robin Gilks wrote:
> Greeting
> 
> Can anyone tell me if the break handling of an async SMC port will 
> report a break immediately or whether it only reports it on the receipt 
> of a valid character (which is what I'm seeing at present). As usual the 
>  UM is a bit dry in this area!!
> 
> Maybe I've not enabled all that I need to in the SMC setup (based on 
> 2.4.22 Denx kernel UART driver).
> 
> Thanks...
> 

Turns out that although the standard UART driver traps 'break', its 
never unmasked in the SMCM register - missed this as the manual lumps 
the SMCM register with the SMCE reg!!

-- 
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