<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Inquiry Regarding Connecting nRF9160 to CAN Bus via SPI Interface and Compatible External Boards?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109115/inquiry-regarding-connecting-nrf9160-to-can-bus-via-spi-interface-and-compatible-external-boards</link><description>Hi, I am currently utilizing the nRF9160 platform and am interested in establishing a connection between the nRF board and a CAN bus using the SPI interface. Could you kindly provide guidance on which external board would be suitable for facilitating</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Mar 2024 13:12:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109115/inquiry-regarding-connecting-nrf9160-to-can-bus-via-spi-interface-and-compatible-external-boards" /><item><title>RE: Inquiry Regarding Connecting nRF9160 to CAN Bus via SPI Interface and Compatible External Boards?</title><link>https://devzone.nordicsemi.com/thread/473185?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2024 13:12:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c362df40-ad39-467a-9a12-e35a24009b6f</guid><dc:creator>runsiv</dc:creator><description>[quote user="Muthumani"]&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Ok, now assume I&amp;#39;m utilizing mcp2515 into our project, you have shared binding index files that is .yaml file (I think )for the MCP2515, which contain specifications and configurations. I greatly appreciate this support. However, I am unsure about how to utilize these files effectively in my project.&lt;/p&gt;
&lt;p&gt;Could you please guide me on how to incorporate these YAML binding index files into my development process? Specifically, I am seeking instructions on how to integrate the MCP2515 configurations into my codebase for seamless operation with the nRF9160.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;A devicetree&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;binding&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;declares requirements on the contents of nodes, and provides semantic information about the contents of valid nodes. Zephyr devicetree bindings are YAML files in a custom format (Zephyr does not use the dt-schema tools used by the Linux kernel). You don&amp;#39;t need to do anything&amp;nbsp;much with it. Have a look at how they included it in the mentioned sample&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I would also suggest that you have a look at the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/hardware/peripherals/can/controller.html"&gt;Zephyr CAN documentation&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry Regarding Connecting nRF9160 to CAN Bus via SPI Interface and Compatible External Boards?</title><link>https://devzone.nordicsemi.com/thread/473184?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2024 13:08:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cc3c7ef-287d-4613-8d1a-d714760330e7</guid><dc:creator>runsiv</dc:creator><description>[quote user="Muthumani"]&lt;p&gt;If possible, could you please provide any relevant documentation or example code that demonstrates how to set up SPI communication between the nRF9160 and the MCP2515, as well as how to handle CAN operations such as sending and receiving messages?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Did you have a look at the sample I linked you? If not I would read it and then ask if there is anything specific that is not clear. We(Nordic) has no information outside of what Zephyr provides for Microchip devices.&amp;nbsp;&lt;/p&gt;
[quote user="Muthumani"]&lt;p&gt;Additionally, I am in need of sample code or application notes that demonstrate CAN operations via SPI with the nRF9160. Having access to such resources would greatly aid in my understanding of the integration process and facilitate the development efforts.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote][quote user="runsiv"]&lt;p&gt;I see for example that Microchip&amp;#39;s&amp;nbsp;mcp2515&amp;nbsp; is supported by Zephyr. There is also a &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/drivers/can/counter/README.html"&gt;sample &lt;/a&gt;here where it is used&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry Regarding Connecting nRF9160 to CAN Bus via SPI Interface and Compatible External Boards?</title><link>https://devzone.nordicsemi.com/thread/473174?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2024 12:43:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1846da5c-eebe-459a-8f4f-a2eb4429074e</guid><dc:creator>Muthumani</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Ok, now assume I&amp;#39;m utilizing mcp2515 into our project, you have shared binding index files that is .yaml file (I think )for the MCP2515, which contain specifications and configurations. I greatly appreciate this support. However, I am unsure about how to utilize these files effectively in my project.&lt;/p&gt;
&lt;p&gt;Could you please guide me on how to incorporate these YAML binding index files into my development process? Specifically, I am seeking instructions on how to integrate the MCP2515 configurations into my codebase for seamless operation with the nRF9160.&lt;/p&gt;
&lt;p&gt;Additionally, I am in need of sample code or application notes that demonstrate CAN operations via SPI with the nRF9160. Having access to such resources would greatly aid in my understanding of the integration process and facilitate the development efforts.&lt;/p&gt;
&lt;p&gt;If possible, could you please provide any relevant documentation or example code that demonstrates how to set up SPI communication between the nRF9160 and the MCP2515, as well as how to handle CAN operations such as sending and receiving messages?&lt;/p&gt;
&lt;p&gt;Thank you very much for your attention to this matter. Your assistance in this regard would be immensely helpful for the successful integration of the MCP2515 with the nRF9160.&lt;/p&gt;
&lt;p&gt;Looking forward to your guidance and support.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Muthu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Inquiry Regarding Connecting nRF9160 to CAN Bus via SPI Interface and Compatible External Boards?</title><link>https://devzone.nordicsemi.com/thread/473163?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2024 12:18:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd2e25c8-20a5-4896-bf42-6917f691c932</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;As we don&amp;#39;t know your product spec I would not ask us selecting devices to your application outside our own devices. However I would look into which CAN devices that is supported by Zephyr to shorten your development time. You can see the binding index&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/main/dts/bindings/can"&gt;https://github.com/zephyrproject-rtos/zephyr/tree/main/dts/bindings/can&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I see for example that Microchip&amp;#39;s&amp;nbsp;mcp2515&amp;nbsp; is supported by Zephyr. There is also a &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/drivers/can/counter/README.html"&gt;sample &lt;/a&gt;here where it is used&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>