Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 232218

Forum Post: RE: AM2434: API Usage for UART HW Flow Control

$
0
0
Hi Hideaki, On the latest SDK, I see that there is a check for HW flow control. Can you please ask the customer to refer the file uart_v0_lld.c Inside this file, there is a call made with the help of an API called: UART_hardwareFlowCtrlOptSet This has an argument of UART_RTS_CTS_ENABLE which basically says, both RTS and CTS is enabled. The macro UART_RTS_CTS_ENABLE has a value of 3 which is 11b hence both CTS and RTS is enabled. We just want the RTS to be enabled, hence we have to simply pass the argument which is: UART_RTS_ENABLE So instead of the call being made as: UART_hardwareFlowCtrlOptSet ( baseAddr , UART_RTS_CTS_ENABLE ); The call should rather be: UART_hardwareFlowCtrlOptSet ( baseAddr , UART_RTS_ENABLE ); Can you please propose this to the customer and let me know if it works for them? Looking forward to your response. Regards, Vaibhav

Viewing all articles
Browse latest Browse all 232218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>