app: Change CTS pull-down to pull-up#219
Merged
MarkusLassila merged 1 commit intoMar 23, 2026
Merged
Conversation
Contributor
Author
|
trantanen
reviewed
Mar 19, 2026
SeppoTakalo
approved these changes
Mar 19, 2026
Contributor
|
Also the nrf54L host is able to connect to network when CTS is floating on nRF91 side. |
c1cfe66 to
7912676
Compare
trantanen
reviewed
Mar 20, 2026
7912676 to
6483e1e
Compare
trantanen
approved these changes
Mar 23, 2026
divipillai
reviewed
Mar 23, 2026
Previously CTS was pulled up, this prevented hosts without hardware flow control from using the default Serial Modem build. Changing CTS to pull-down allows Serial Modem to send even when the CTS and RTS pins float. This relies in DTR as main mechanism for UART control. The host must first enable its own UART before it enables Serial Modem UART with DTR. - With hardware flow control, this means that host drives it's RTS pin, so there is no difference in operation. Host should also have a pull-up for it's CTS pin, so when SM starts driving it's RTS, the host knows that SM is ready to receive. - Without hardware flow control, the Serial Modem is able to send (TX) to host. However, the timing with DTR and when SM is able to receive needs to be taken into account as host cannot observe it's CTS. Instead host must monitor the RI signal, which is de-asserted when SM UART is ready. Or alternatively, have a sufficient timeout between host asserting DTR and host's first TX operation. Important: It is highly recommended to use hardware flow control with Serial Modem. Signed-off-by: Markus Lassila <markus.lassila@nordicsemi.no> Co-authored-by: Divya S Pillai <91891495+divipillai@users.noreply.github.com>
a470e40 to
ed34306
Compare
divipillai
approved these changes
Mar 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Previously CTS was pulled up, this prevented hosts without
hardware flow control from using the default Serial Modem build.
Changing CTS to pull-down allows Serial Modem to send even
when the CTS and RTS pins float.
This relies in DTR as main mechanism for UART control. The host
must first enable its own UART before it enables Serial Modem
UART with DTR.
With hardware flow control, this means that host drives it's
RTS pin, so there is no difference in operation.
Host should also have a pull-up for it's CTS pin, so when SM
starts driving it's RTS, the host knows that SM is ready to
receive.
Without hardware flow control, the Serial Modem is able to
send (TX) to host. However, the timing with DTR needs to be
taken into account as host cannot observe it's CTS.
Instead host must monitor the RI signal, which is de-asserted
when SM UART is ready. Or alternatively, have a sufficient
timeout between asserting DTR and first TX operation.
Important: It is highly recommended to use hardware flow control
with Serial Modem.