From looking at the data sheet of the STM32F103 ARM processor which the SparkCore uses, I see that it has some kind of chip-level support for the Common Area Network (CAN) bus - see page 19 of that data sheet. As you probably know, CAN is used as the event communication network between intelligent components within many modern cars and also now as the lower level protocol in an increasing number of home automation systems using HA protocols such as VSCP (Very Simple Control Protocol).
Is there any high level support available for this latent CAN capability, like a library or some kind of example starting program?
This is something I’d like to see, too, eventually. Looks like the pins are broken out on the Photon (I haven’t checked Core) as D1 and D2 for the TX and RX lines (might have switched those, double check), thanks to alternate port mapping supported by the CPU hardware.
Also interested in CAN bus implementation on the Photon. There were lots of CAN-related ideas in the Electron thread so hopefully someone will implement something!
I am also looking forward to seeing CAN bus available. However, I assume we will still need a small shield that will provide the CAN transceiver chip, which converts the Tx/Rx to the two wire differential signal needed for CAN.
Has there been any implementation posted for the API?
I’m using Thomas Fischl’s circuit for the MCP2551 with TI LaunchPads and would like try using a Photon to replace my existing CC3200-MCP2515-MCP2551 WiFi-SPI-CANBUS gateway. I just received a pair of Photons and I just started looking into the CANBUS programming. I’m interested to see if there are any existing resources that I can make use of. CAN interface for Stellaris Launchpad