-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
applications: slm: Fix HWFC problems on nRF9151DK #20979
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: ac0b78d7d9358a6e8e9585cbcff73533e592762b more detailssdk-nrf:
Github labels
List of changed files detected by CI (4)
Outputs:ToolchainVersion: 4ffa2202d5 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
You can find the documentation preview for this PR here. |
applications/serial_lte_modem/boards/nrf9151dk_nrf9151_ns.overlay
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the ready-message was the key in getting the UART to work properly even when the device is started with the power switch.
applications/serial_lte_modem/boards/nrf9151dk_nrf9151_ns.overlay
Outdated
Show resolved
Hide resolved
If DLCI channel for AT commands has been closed, avoid sending data to the pipe. Channel is resumed once remote end connects to the DLCI channel. Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
If there is no certainty that remote end of serial connection has configured baud rates and flow-control pins correctly, it might be safer to just skip the "Ready" message from serial port. Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
d158b99
to
ac0b78d
Compare
|
Fix HWFC problems on nRF9151DK
nRF9151DK has interface chip that automatically detects if flow
control is enabled or not. On start up, HWFC pins are floating.
On Zephyr DTS side, nRF9151 CTS pin has pull-up enabled, so if
nRF91 app core boots faster than interface chip, the serial port
might be blocked because of flow control.
Change pull-up to pull-down so nRF91 is allowed to write if interface
chip still has not enabled the HWFC pins.
Drop AT responsed to closed DLCI
If DLCI channel for AT commands has been closed, avoid sending
data to the pipe.
Channel is resumed once remote end connects to the DLCI channel.