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

Raspberry Pi 5 CRTP through uart doesn't work #447

Closed
knmcguire opened this issue Apr 5, 2024 · 1 comment
Closed

Raspberry Pi 5 CRTP through uart doesn't work #447

knmcguire opened this issue Apr 5, 2024 · 1 comment
Labels

Comments

@knmcguire
Copy link
Member

So we have instructions of how to connect a crazyflie through uart with a raspberry pi: https://www.bitcraze.io/documentation/repository/crazyflie-lib-python/master/development/uart_communication/

These instructions don't work for Raspberry pi 5 anymore as they handle their uarts differently: https://www.raspberrypi.com/documentation/computers/configuration.html#configuring-uarts

So these are some differences (see above rasppi doc)

  • /boot/config.txt is now in /boot/firmware/config.txt
  • dtoverlay=miniuart-bt now needs to be dtparam=krnbt=off

This will make serial communication work for simple examples (like this experimental bolt app uart example here with python script), but with the crtp over uart example I get this:

Exception: Couldn't load link driver for /ttyAMA0

This is because the python package pyserial can use the serial port, but if you list it with python3 -m serial.tools.list_ports -v, then only ttyACM10 is shown. This is the port that is not on the standard GPIO 14 and 15 pins, but on a separate debug port on the other side of the board which requires a special plug.

@knmcguire knmcguire added the bug label Apr 5, 2024
@knmcguire
Copy link
Member Author

duplicate of #449

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant