Quantcast
Channel: ArduPilot Discourse - Latest topics
Viewing all articles
Browse latest Browse all 45830

SPI communication between Pixhawk and arduino

$
0
0

@Alessandro wrote:

Hi everybody,
I would need to send some data (attitude, position and velocity) from the Pixhawk to an external arduino.
Unfortunately I cannot use serial4 since it is already occupied by another sensor.
The option I'm evaluating are:
1) Serial5, but it seems to be attached to the nsh console and I don't know how to disable it.
2) SPI connector, but I'm having hard time to understand how to do it.

Concerning option number 1:
How can I disable Serial5 to get it working as a general serial uart?

Concerning option number 2:
Do you have any example code or suggestion to work with the SPI external interface on the Pixhawk?

Thank you.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 45830

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>