LPUART module documentation confusing for kinetis k26

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

LPUART module documentation confusing for kinetis k26

1,075件の閲覧回数
abhishek_sinha
Contributor I

In LPUART , in the control register, its already given that bit field 31 and 30 are the R8T9 and R9T8 respectively, which are the received or transmit bits of the data. However, data register of the same module too contains the bits R9T9 and R8T8 which are described as data buffer 9 or 8 for transmit and received. Now comes the confusing part - If I want to write a 10 bit data, where do I write? according to the manual I should first write to CTRL register bits then to the data register bits. But if thats the case, why do we even have the buffer bits in the data register? I also wanted to know the difference between the two, i.e., the R9T9 R8T8 bits of data register and R8T9 R9T8 bits of Control register

 I believe I am missing out something here. Any help would be much appreciated.

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

998件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Abhishek Sinha,

You can refer the discussion in: LPUART 9 bits data mode

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信