HOW to enable UART flow control (RTS/CTS) on UART2 for LS1028

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

HOW to enable UART flow control (RTS/CTS) on UART2 for LS1028

Jump to solution
213 Views
xinliwang
Contributor III

Hi @yipingwang 

I am using an LS1028 board and want to use UART2 for RS485, but I cannot find the RTS pin. How can I use RTS for automatic direction switching?

Thanks

LS1028ARDB 

0 Kudos
Reply
1 Solution
153 Views
yipingwang
NXP TechSupport
NXP TechSupport

The LS1028A SoC includes two DUARTs (UART1 and UART2) and six LPUARTs. RTS/CTS hardware flow control is supported only on LPUART1-LPUART6, not on the DUARTs (UART1 and UART2). They only provide TX and RX pins. For RS485 automatic direction control, you can use anyone of the LPUARTn_RTS pin.

View solution in original post

0 Kudos
Reply
1 Reply
154 Views
yipingwang
NXP TechSupport
NXP TechSupport

The LS1028A SoC includes two DUARTs (UART1 and UART2) and six LPUARTs. RTS/CTS hardware flow control is supported only on LPUART1-LPUART6, not on the DUARTs (UART1 and UART2). They only provide TX and RX pins. For RS485 automatic direction control, you can use anyone of the LPUARTn_RTS pin.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2188088%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHOW%20to%20enable%20UART%20flow%20control%20(RTS%2FCTS)%20on%20UART2%20for%20LS1028%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2188088%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F52411%22%20target%3D%22_blank%22%3E%40yipingwang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%20an%20LS1028%20board%20and%20want%20to%20use%20UART2%20for%20RS485%2C%20but%20I%20cannot%20find%20the%20RTS%20pin.%20How%20can%20I%20use%20RTS%20for%20automatic%20direction%20switching%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FLS1028ARDB%2Fpd-p%2FLS1028ARDB%22%20class%3D%22lia-product-mention%22%20data-product%3D%223406-1%22%20target%3D%22_blank%22%3ELS1028ARDB%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2193269%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20HOW%20to%20enable%20UART%20flow%20control%20(RTS%2FCTS)%20on%20UART2%20for%20LS1028%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2193269%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EThe%20LS1028A%20SoC%20includes%20two%20DUARTs%20(UART1%20and%20UART2)%20and%20six%20LPUARTs.%20RTS%2FCTS%20hardware%20flow%20control%20is%20supported%20only%20on%20LPUART1-LPUART6%2C%20not%20on%20the%20DUARTs%20(UART1%20and%20UART2).%20They%20only%20provide%20TX%20and%20RX%20pins.%20For%20RS485%20automatic%20direction%20control%2C%20you%20can%20use%20anyone%20of%20the%20LPUARTn_RTS%20pin.%20%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E