K40 uart PARITY problem

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

K40 uart PARITY problem

1,005件の閲覧回数
see
Contributor II

I set up K40 UART3 for 9 data bit and 1 stop bit, parity enable and even parity transmission. However When I transmit modbus data with odd parity or no parity to the K40, it can still receive data perfectly.

the same goes to odd parity or no parity setting.  And I verified that UART3_C1 register was showing the correct setting. is there something wrong with this K40 parity ?

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

802件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

I checked K40 UART module validation code, which already test UART 9-bit data receive with parity enable. And there is no error reported.

During the UART module validation, it use two UART modules to do 9-bit data transmit and receive.

More detailed info, please check attached UART RX validation code (related validation code located at uart_9bit_rx_test() function).


Wish it helps.
best regards
Ma Hui

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

0 件の賞賛
返信