I would like to communicate directly to the vesc built in nrf. I want to send data to the vesc with an arduino+nrf chip.
So first I thought to etablish a simple connection like receive the alive packets on an arduino+nrf. But it is not working.
If I keep the default firmware on the vesc and configure the nrf ( speed 1MBPS, channel 76 , etc), what should I do on the arduino ? A simple nrf receiver on arduino with the same configuration is not working .
The arduBoardControl uses 2 arduino : one for the remote and another on vesc. I don’t have the same configuration : one arduino+nrf and vesc (built-in nrf). So no arduino to receive on vesc. I don’t think this project will help me a lot.
I looked at the nunchuck code of Vedder but it is not simple to translate it to arduino. So I wanted to configure an arduino+nrf just to receive the alive packets first.
For Now I can send a data structure to the VESC. I planned to enable auto ack or retries.
WHat I don’t understand is : with CRC enabled on VESC , the receiver FIFO is empty. When I disable CRC on VESC I can receive ( even with CRC on transmitter ).
Does the chip compute CRC itself and reject packets if not wrong CRC ?