Hello,
We need to enable hardware flow control in the serial LTE modem application (2.0.0 release) on the nRF9160 for use with an external MCU.
We have tried to do so with the following settings in the nrf9160dk_nrf9160_ns.conf file, trying both UART_0 (our preferred connection) and UART_2 (Nordic’s suggested connection):
CONFIG_SLM_CONNECT_UART_2=y CONFIG_UART_0_NRF_HW_ASYNC_TIMER=2 CONFIG_UART_0_NRF_HW_ASYNC=y CONFIG_SLM_WAKEUP_PIN=31 CONFIG_SLM_INDICATE_PIN=30 CONFIG_SLM_UART_HWFC_RUNTIME=y
The build fails with the following error:
[{
"resource": "/c:/nordic/v2.0.0/nrf/applications/serial_lte_modem/build/zephyr/include/generated/devicetree_unfixed.h",
"owner": "cpptools",
"severity": 8,
"message": "'DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_rts_pin' undeclared (first use in this function); did you mean 'DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_status'?",
"source": "gcc",
"startLineNumber": 9186,
"startColumn": 38,
"endLineNumber": 9186,
"endColumn": 38
}]
Attempting to set hardware flow control during runtime with "AT#XSLMUART=115200, 1" also does not seem to work; it produces the following output from the LTE Link monitor:
2022-06-29T13:52:01.766Z DEBUG modem >> AT#XSLMUART? 2022-06-29T13:52:01.775Z DEBUG modem << #XSLMUART: 115200,0 2022-06-29T13:52:01.776Z DEBUG modem << OK 2022-06-29T13:52:09.875Z DEBUG modem >> AT#XSLMUART=115200,1 2022-06-29T13:52:09.883Z DEBUG modem << OK 2022-06-29T13:52:14.949Z DEBUG modem >> AT#XSLMUART? 2022-06-29T13:52:14.957Z DEBUG modem << #XSLMUART: 115200,0 2022-06-29T13:52:14.959Z DEBUG modem << OK
Could you please assist us in enabling hardware flow control?
Thank you.
