LPUART module documentation confusing for kinetis k26

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPUART module documentation confusing for kinetis k26

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

Labels (1)
0 Kudos
Reply
1 Reply

531 Views
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 Kudos
Reply