Dear support team,
I am developing a project that uses several LPUARTs for RS232 and RS485.
For RS232, I used it same as the sample source.
However, I hard to find the RS485 configuration on the fls_lpuart.h library.
I read the guide for implementing the RS485 on the i.MX RT series
https://community.nxp.com/t5/NXP-Designs-Knowledge-Base/Implement-High-Speed-RS-485-Application-with...
but this one uses DMA to do that.
Could you help to guide me on how to use that without DMA?
Thanks and BRs
已解决! 转到解答。
Hi @JayCao ,
The UART module just acts as it is, the RS485 is supported with an external transceiver as mentioned in https://community.nxp.com/t5/NXP-Designs-Knowledge-Base/Implement-High-Speed-RS-485-Application-with... , whether DMA is used or not.
Hope that makes sense,
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi @JayCao ,
If you don't prefer to the DMA operation, maybe you can start with the polling or interrupt mode, and we provide such kind of demos in the SDK, you may refer to SDK_2_14_0_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\lpuart for details.
Hope that helps,
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi @JayCao ,
The UART module just acts as it is, the RS485 is supported with an external transceiver as mentioned in https://community.nxp.com/t5/NXP-Designs-Knowledge-Base/Implement-High-Speed-RS-485-Application-with... , whether DMA is used or not.
Hope that makes sense,
Have a great day,
Kan
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------