vortexntnu / vortex-acoustics

Analyzes signals from the A1 hydrophones. Runs on Nucleo-F767ZI
MIT License
4 stars 3 forks source link

Find a way to communicate with the Xavier #14

Open oyssolbo opened 3 years ago

oyssolbo commented 3 years ago

Important to find/standardize the communication between the STM32 and the Xavier. This includes sending data and the time of the transfer, as well as error-logging

senceryazici commented 3 years ago

Hello I’m from ITU AUV team, I have developed a protocol between the stm32 and the Xavier for use with hydrophones.

Currently, the protocol is able to send configuration messages to configure channels, and the frequency. Also send requests which can start circular acquisition, start oneshot acquisition, stop acquisition, transfer adc buffers, perform FFT and transfer result and couple of more features. Also, all the messages include CRC-16, which is calculated by HCRC peripheral in stm32 without the need of cpu operations.

If you are interested, we can further develop the protocol collaboratively to also suit your needs and our needs in the future perhaps.

have a good day.

oyssolbo commented 3 years ago

Sorry for the late response, @senceryazici

This sounds very interesting. @chrstrom @michoy

michoy commented 3 years ago

Hi @senceryazici

Thanks for reaching out. We are interested in working together on this task, but it is on pause for 3-4 weeks due to an upcoming test of a new AUV. We would like to start collaborating after that. Is your protocol available somewhere?