Skip to contentSkip to conversation

8xx SMC break handling

DISCUSSION Robin Gilks 1 participant 2 messages Apr 26, 2005 – Apr 27, 2005

lore
Share & tools
lore
#0 lore raw

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

Signature · 17 lines
Robin Gilks
Senior Design Engineer          Phone: (+64)(3) 357 1569
Tait Electronics                Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : [email protected]
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.
=======================================================================
#1 lore raw

Re: 8xx SMC break handling - SOLVED

Quoted 9 lines · Robin Gilks

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

Signature · 17 lines
Robin Gilks
Senior Design Engineer          Phone: (+64)(3) 357 1569
Tait Electronics                Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : [email protected]
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.
=======================================================================