Is there any documentation or examples for using CAN on the SLN-Alexa-IOT kit? I am trying to parse the JSON message from my custom Alexa skill and send it through CAN.
Any help or suggestions would be appreciated.
Seems you already have the updated information, but I still can't see it directly in the post.
About the CAN connection, you can refer to the RT1060-EVK board and the related code:
I didn't find the directly CAN examples for the SLN-Alexa-IOT.
In fact, from the SLN-Alexa-IOT schematic:
You can find the RT106A didn't add the CAN transceiver chip, it means the SLN-ALEXA-IOT hardware can't support the CAN transceiver directly, you need to add external related CAN chip.
But RT106A chip can support the flexCAN module.
From the SLN-Alexa-IOT driver, it also has the flexcan driver:
So, if you want to use it, you can use the can driver, about the examples, I think you can refer to the RT1060 SDK flexcan examples, the code can be downloaded from this link:
Wish it helps you!
If you still have questions about it, please kindly let me know.
Thank you. I was able to find and load the flexCAN examples. However, how would I go about connecting a CAN transceiver chip in order to utilize the flexCAN drivers already provided? What transceiver chip do you suggest and which pins would be need to be connected to?
1, transceiver chip you can refer to my first reply, already give you the RT1060 CAN transceiver chip from the schematic, TJA1057GT
2. About the code, you also can refer to the SDK code which I already reply you: