-
Notifications
You must be signed in to change notification settings - Fork 7k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Flow control not working in hci_uart on nRF52832 #83046
Comments
Hi @kjs-eir! We appreciate you submitting your first issue for our open-source project. 🌟 Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙 |
There is no flow control on the nrf52dk, you need to use a USB <-> UART chip that supports flow control like an FTDI, the onboard jlink does not (hardware flow control is not supported in the USB CDC specification) |
But there is the option for flow control, if communication only happens between the nrf5340 (interface mcu) and nrf52832 right? The schematics shows rts ans cts wires between the two, and there is a switch in the evaluation board for turn flow control on and off. My issue is persist when I disconnect the nrf52832 from the interface mcu and connect the controller to another mcu acting as a ble host via the uart. With this setup I am still unable to detect changes on the cts/rts. So there is something indicating an issue with how flow control is configured. Best regards, Karl-JohanDen 16. dec. 2024 kl. 14.28 skrev Jamie ***@***.***>:
There is no flow control on the nrf52dk, you need to use a USB <-> UART chip that supports flow control like an FTDI, the onboard jlink does not
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
The lines are connected, the PC will completely ignore them. Yes flow control should work when communicating with an actual UART device that does support it, but you need to have |
Thanks for clarification. But yes I got |
If you open a ticket on Nordic DevZone they will be able to help you debug and find a solution quickly. |
Hi @nordicjm I have acquired a FTDI (FT232) and has this hooked-up to my nRF52832 on the nRF52DK. Flow control is working properly. But i am unable to make the controller to start advertising? the nRF52832 is flashed with "HCI_uart" sample I am transmitting the following sequence to the controller, and the response is verified on my scope: Is it correctly understood that i should be able the make the controller advertise with the correct set of HCI commands? If yes, what am i missing? |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
When using the zephyr/samples/bluetooth/hci_uart sample project with the nRF52DK eval kit (with nRF52832) the UART flow control is not function. RX and TX lines responed correctly when commands are transmitted and received, but when sending longer commands, the RX response before the TX has completed transmission. I have verified that CTS and RTS stays low during transmission with my scope. The only thing i modified is the baudrate in the nrf52dk_nrf52832.overlay file, i modified it to 115200.
I am transmitting and receiving commands via the COM port when connecting the nRF52DK to my laptop.
To Reproduce
Expected behavior
Impact
This is a showstopper for me. I need the HCI_UART example, as I have changed to a fanstel BC832 bluetooth controller, and I am not very skilled in zephyr. So I need a quick way to configure BC832 (based on the nRF52832) as a bluetooth controllor.
Logs and console output
Environment (please complete the following information):
I am running zephyr v. 3.6.99 and west v. 1.2.0.
Additional context
See the python file: send_HCI_commands.txt
(changed to .txt because git does not accept .py file)
The text was updated successfully, but these errors were encountered: