Community news, upcoming events and general discussions
Threads: 24 Posts: 61
Get technical support from the community
Threads: 686 Posts: 3701
Threads: 15 Posts: 54
Tell us how to make XDK better!
Threads: 30 Posts: 102
Share and discuss community member projects
Threads: 18 Posts: 99
Is it possible for the XDK to send and/or receive CAN messages?
If so, can these values then be sent to the "cloud" using the XDK's WiFi module (as an MQTT topic)?
If not, does anyone know of the cheapest/easiest way to get CAN signals to the "cloud?"
as Felipe already mentioned, the current MCU of the XDK does not have a CAN controller. You can, of course, use the CAN controller, which Felipe proposed and I recommend as well, and connect it via the extension bus to the XDK and then set up an SPI connection with the XDK.
For this, I recommend using the SPI example as a starting point to implement the SPI connection to the CAN controller. The example is available in the extension bus guide of the related pages section in the XDK community.
Afterwards, you can of course send the received CAN data via MQTT to a cloud of your choice. For more information on how to implement an application based on MQTT, I recommend taking a look at the MQTT guide, which is available in the learning section of the XDK community. Of course you can also use one of the other protocols, such as HTTP or CoAP.
Please let us know if this was helpful and do not hesitate to ask if you have further questions.
Kind regards, Franjo