Community
cancel
Showing results for 
Search instead for 
Did you mean: 
pcroc
Beginner
1,990 Views

CAN bus interface

I find absolutely no documentation on how to use the CAN interface on the intel Aero, please help and provide us with at least a small getting started doc.

This is not acceptable for a board at that price to have a CAN interface without any doc, and that is maybe even not tested.

Could you provide us with at least one example code in C as well?

Thanks

0 Kudos
4 Replies
idata
Community Manager
88 Views

Hello Philippe,

 

 

Thank you for your interest in our Intel products.

 

 

You can find documentation on the CAN bus in the following link: https://github.com/intel-aero/meta-intel-aero/wiki/94-(References)-Sensors-GPIOs-LEDs-CAN-bus

 

 

The information that is available regarding controlling the drone via coding is focused on Python and not C. The reason behind this has to do with the various libraries available. For more information on this matter, please check the following link: https://github.com/intel-aero/meta-intel-aero/wiki/04-Autonomous-drone-programming-in-Python https://github.com/intel-aero/meta-intel-aero/wiki/04-Autonomous-drone-programming-in-Python.

 

 

But if you decide to use C/C++ programming, we will appreciate if you share your findings with the community.

 

 

Hope this helps.

 

 

Regards,

 

Octavian

 

pcroc
Beginner
88 Views

Hello Octavian,

why should we share our findings with the community as you don't do it yourself?

Here is what you put on your official documentation :

The Intel Aero Flight Controller includes a http://www.nxp.com/products/automotive-products/energy-power-management/can-transceivers/high-speed-... TJA1051 CAN bus transceiver. This CAN bus is multiplexed with the flight controller's embedded micro-controller USART1 interface.

https://github.com/intel-aero/meta-intel-aero/wiki/94-(References)-Sensors-GPIOs-LEDs-CAN-bus# sample-command-to-access-the-can-bus https://github.com/intel-aero/meta-intel-aero/wiki/94-(References)-Sensors-GPIOs-LEDs-CAN-bus# sample-command-to-access-the-can-busSample command to access the CAN bus:An example to communicate with is shown below:

Above contains information about the Intel Aero Flight Controller.

Below contains information about the sensors, LEDs and GPIOs available on Intel Aero Compute Board. It is useful to refer to the https://www.intel.com/content/dam/support/us/en/documents/boardsandkits/aero/intel-aero-compute-boar... Hardware Features and Usage document.

As you can see the only code example your intend to share with the community is , whao .. so helpful, thank you.

At that price tag and made by intel, to have so little documentation and support on this board is quite surprising if not utterly disappointing

idata
Community Manager
88 Views

Hello Philippe,

 

 

I apologize for the inconvenience you're facing.

We have updated the documentation and added instructions on how to configure and send/receive data via CAN bus with socketCAN.

https://github.com/intel-aero/meta-intel-aero/wiki/94-(References)-Sensors-GPIOs-LEDs-CAN-bus# can-controller-compute-board https://github.com/intel-aero/meta-intel-aero/wiki/94-(References)-Sensors-GPIOs-LEDs-CAN-bus# can-controller-compute-board

Hope this helps.

 

 

Regards,

 

Octavian
pcroc
Beginner
88 Views

Thanks,

I figured it out with your developer.

The problem is that your CAN bus can not work with the aero-compute-board jam FPGA file

The way the SPI bus is handled on the FPGA is incompatible with the CAN bus handling.

There is still an intermittent problem with loading the can0 bus interface even with the aero-rtf jam file, nobody knows where it comes from yet

Reply