SCI Communication Error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SCI Communication Error

1,715件の閲覧回数
Vicky
Contributor I

Hi,

We have a situation in our software, need to detect SCI port is grounded i.e. "RX pin is pulled low from external environment".

 

How would I know, whether received data is 0 or RX pin is grounded?

 

Rgds

Vignesh A

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

877件の閲覧回数
VietHung
Contributor I

Hi Vicky,

 

I think you can use the Bit Error Detection functions to check the state of RX pin. (if you have SCI V5)

 

Please look at two bit BERRV in the SCIASR1 register. It might help u solve your problem.

 

Regards, 

 

VHung

0 件の賞賛
返信

877件の閲覧回数
Vicky
Contributor I

Hi, 

Controller used is HCS12X. Is there any way to identify SCI error - "Short to GND" and/or "Short to VBATT" conditions?

 

Rgds

Vignesh A

 

 

0 件の賞賛
返信