Hello,
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.
Regards,
Alfonso
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:
https://www.nxp.com/webapp/Download?colCode=MIMXRT1060-EVK-DESIGN-FILE-A2
Wish it helps you!
If you still have questions about it, please kindly let me know.
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
I didn't find the directly CAN examples for the SLN-Alexa-IOT.
In fact, from the SLN-Alexa-IOT schematic:
https://www.nxp.com/webapp/Download?colCode=SLN-ALEXA-IOT-SCH&appType=license
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:
SDK_2.7.1_SLN-ALEXA-IOT\devices\MIMXRT106A\drivers
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:
Welcome | MCUXpresso SDK Builder
SDK_2.8.0_EVK-MIMXRT1060\boards\evkmimxrt1060\driver_examples\flexcan
Wish it helps you!
If you still have questions about it, please kindly let me know.
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi Kerry,
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?
Regards,
Alfonso
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:
refer to the RT1060 SDK flexcan examples, the code can be downloaded from this link:
Welcome | MCUXpresso SDK Builder
SDK_2.8.0_EVK-MIMXRT1060\boards\evkmimxrt1060\driver_examples\flexcan
Wish it helps you!
If you still have questions about it, please kindly let me know.
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------