From b0de8b88ddfdf91c7544e6302178f90fa76180f9 Mon Sep 17 00:00:00 2001 From: Michael Scott Date: Tue, 29 Jan 2019 11:47:32 -0800 Subject: [PATCH] samples: lwm2m_client: enable HW flow control for WNC-M14A2A modem The WNC-M14A2A modem is supposed to use HW flow control on the UART connected to the MCU. In the past, we were able to bypass this requirement by using only the LTE-M firmware which supported pulling the CTS line high via "send-ok" gpio. This does NOT work for the LTE firmware. Now that MCUX UART driver supports hw-flow-control setting, let's use it in the modem overlay so that regardless of modem firmware (LTE vs. LTE-M) the sample will "just work". Signed-off-by: Michael Scott --- samples/net/lwm2m_client/frdm_k64f.overlay | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/net/lwm2m_client/frdm_k64f.overlay b/samples/net/lwm2m_client/frdm_k64f.overlay index 23f50816540..57be0166477 100644 --- a/samples/net/lwm2m_client/frdm_k64f.overlay +++ b/samples/net/lwm2m_client/frdm_k64f.overlay @@ -5,6 +5,7 @@ */ &uart2 { current-speed = <115200>; + hw-flow-control; status = "ok"; wncm14a2a { @@ -15,7 +16,6 @@ mdm-keep-awake-gpios = <&gpioc 2 0>; mdm-reset-gpios = <&gpioc 12 0>; mdm-shld-trans-ena-gpios = <&gpioc 4 0>; - mdm-send-ok-gpios = <&gpiod 0 0>; status = "ok"; }; };