Skip to content
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

Missing hw-flow-control; in hci_uart overlay files #29440

Closed
koffes opened this issue Oct 22, 2020 · 10 comments · Fixed by #31932
Closed

Missing hw-flow-control; in hci_uart overlay files #29440

koffes opened this issue Oct 22, 2020 · 10 comments · Fixed by #31932
Assignees
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx priority: low Low impact/importance bug
Milestone

Comments

@koffes
Copy link
Collaborator

koffes commented Oct 22, 2020

Describe the bug
I attempted to get HW flow control working on the nRF5340.
hw-flow-control is missing in the overlay of some boards in https://github.com/zephyrproject-rtos/zephyr/tree/master/samples/bluetooth/hci_uart/boards

  1. https://github.com/zephyrproject-rtos/zephyr/blob/master/samples/bluetooth/hci_uart/boards/nrf5340pdk_nrf5340_cpuapp.overlay has this enabled, but on the APP core instead of NET.
  2. The nRF5340 DK should be added in addition to the PDK

As a general question. Why is not hw-flow-control enabled by default on more boards and simply deactivated using CONFIG_UART_LINE_CTRL=n ?

Impact
UART with flow control cannot be used for hci_uart on some boards.

@koffes koffes added the bug The issue is a bug, or the PR is fixing a bug label Oct 22, 2020
@nordic-krch
Copy link
Contributor

so nrf5340pdk_nrf5340_cpuapp configuration does not make sense. It should be nrf5340pdk_nrf5340_cpunet.

@nordic-krch
Copy link
Contributor

fyi @carlescufi

@carlescufi
Copy link
Member

so nrf5340pdk_nrf5340_cpuapp configuration does not make sense. It should be nrf5340pdk_nrf5340_cpunet.

Yes it does make sense, unless I'm mistaken. The net CPU runs the controller but the main app CPU runs the hci_uart main.c, right @joerchan ?

@carlescufi
Copy link
Member

Agree that we are missing the overlay for the DK (we only have it for the PDK).

@joerchan
Copy link
Contributor

Haven't tested this combination yet. Is this with hci-uart on the application core and then hci-rpmsg on network core then?

@koffes
Copy link
Collaborator Author

koffes commented Oct 26, 2020

This particular issue was with APP core idle and hci-uart on NET. I.e. the host running on a PC.

@nashif nashif added the priority: medium Medium impact/importance bug label Oct 27, 2020
@github-actions
Copy link

github-actions bot commented Jan 5, 2021

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

@github-actions github-actions bot added the Stale label Jan 5, 2021
@koffes
Copy link
Collaborator Author

koffes commented Jan 5, 2021

Stale label should be removed.

@joerchan joerchan removed the Stale label Jan 5, 2021
@carlescufi
Copy link
Member

@anangl and @nordic-krch could you please weigh in here?

@carlescufi carlescufi added priority: low Low impact/importance bug and removed priority: medium Medium impact/importance bug labels Jan 14, 2021
@carlescufi carlescufi added this to the v2.5.0 milestone Jan 14, 2021
@carlescufi
Copy link
Member

This particular issue was with APP core idle and hci-uart on NET. I.e. the host running on a PC.

OK, then we will fix this particular case.

carlescufi added a commit to carlescufi/zephyr that referenced this issue Feb 3, 2021
Add overlays for the current nRF5340 DK boards:

- nrf5340dk_nrf5340_cpuapp
- nrf5340dk_nrf5340_cpunet

Fixes zephyrproject-rtos#29440.

Signed-off-by: Carles Cufi <[email protected]>
nashif pushed a commit that referenced this issue Feb 3, 2021
Add overlays for the current nRF5340 DK boards:

- nrf5340dk_nrf5340_cpuapp
- nrf5340dk_nrf5340_cpunet

Fixes #29440.

Signed-off-by: Carles Cufi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants