LIN FSL_LIN_2.x_STACK_Package_4.5.9 : SCI Receive Data Register Full Interrupt set while transmitting

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

LIN FSL_LIN_2.x_STACK_Package_4.5.9 : SCI Receive Data Register Full Interrupt set while transmitting

ソリューションへジャンプ
1,527件の閲覧回数
salmanshaikh
Contributor II

Hello,

I am using LIN FSL_LIN_2.x_STACK_Package_4.5.9 package to implement a master LIN node. The communication is working fine but I am intrigued to know how is RDRF bit in SCISR1 set while transmitting data. 

タグ(2)
1 解決策
1,276件の閲覧回数
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Salman,

I assume, you already read the reference manual  

Receive Data Register Full Flag:

RDRF is set when the data in the receive shift register transfers to the SCI
data register. Clear RDRF by reading SCI status register 1 (SCISR1) with RDRF set and then reading SCI data
register low (SCIDRL).
0 Data not available in SCI data register
1 Received data available in SCI data register

In case of master, the SCI TX and RX lines are connected to the LIN PHY.

When master sends data through TX wire, it will receive this data in RX wire and RDRF will be set. In another case when slave sends data in Lin Bus, RX wire of master will receive this data too and RDRF will be set.

I hope it helps you.

Best regards,

Diana

元の投稿で解決策を見る

2 返答(返信)
1,277件の閲覧回数
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Salman,

I assume, you already read the reference manual  

Receive Data Register Full Flag:

RDRF is set when the data in the receive shift register transfers to the SCI
data register. Clear RDRF by reading SCI status register 1 (SCISR1) with RDRF set and then reading SCI data
register low (SCIDRL).
0 Data not available in SCI data register
1 Received data available in SCI data register

In case of master, the SCI TX and RX lines are connected to the LIN PHY.

When master sends data through TX wire, it will receive this data in RX wire and RDRF will be set. In another case when slave sends data in Lin Bus, RX wire of master will receive this data too and RDRF will be set.

I hope it helps you.

Best regards,

Diana

1,276件の閲覧回数
salmanshaikh
Contributor II

Thanks. I missed the readback part which caused the misunderstanding. 

0 件の賞賛
返信