SCI Communication Error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SCI Communication Error

1,708 次查看
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 回复数

870 次查看
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 项奖励
回复

870 次查看
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 项奖励
回复