<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.kamamilabs.com/index.php?action=history&amp;feed=atom&amp;title=KAmodRPi_CAN-FD</id>
	<title>KAmodRPi CAN-FD - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kamamilabs.com/index.php?action=history&amp;feed=atom&amp;title=KAmodRPi_CAN-FD"/>
	<link rel="alternate" type="text/html" href="https://wiki.kamamilabs.com/index.php?title=KAmodRPi_CAN-FD&amp;action=history"/>
	<updated>2026-04-29T16:37:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.kamamilabs.com/index.php?title=KAmodRPi_CAN-FD&amp;diff=4898&amp;oldid=prev</id>
		<title>Grzegorzbecker: /* Description */</title>
		<link rel="alternate" type="text/html" href="https://wiki.kamamilabs.com/index.php?title=KAmodRPi_CAN-FD&amp;diff=4898&amp;oldid=prev"/>
		<updated>2024-11-02T08:24:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:24, 2 November 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__jzpdf__&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__jzpdf__&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Description =====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;===== Description &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;=====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;b&amp;gt;[https://kamami.pl/en/communication-modules/1189248-kamodrpi-can-fd-can-interface-compatible-with-can-20-and-can-fd-for-raspberry-pi-and-more-5906623481477.html KAmodRPi CAN-FD] &amp;lt;/b&amp;gt; is a complete CAN bus interface based on the advanced CAN controller type MCP2518FD. The system used is responsible for forming correct frames sent to the bus, and buffering data sent to and from the CAN bus. Thanks to these features, it can work with almost any SBC computer or microcontroller. Communication on the CAN side can take place at a speed of up to 1 Mbps in CAN 2.0 mode or up to 8 Mbps in CAN FD mode. Communication with the controller takes place via a 4-wire SPI interface (MISO, MOSI, SCK, CE) and an additional interrupt signal (INT). All signals are fed to a 40-pin connector so that 2 modules can work simultaneously with one Raspberry Pi 5 computer.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;b&amp;gt;[https://kamami.pl/en/communication-modules/1189248-kamodrpi-can-fd-can-interface-compatible-with-can-20-and-can-fd-for-raspberry-pi-and-more-5906623481477.html KAmodRPi CAN-FD] &amp;lt;/b&amp;gt; is a complete CAN bus interface based on the advanced CAN controller type MCP2518FD. The system used is responsible for forming correct frames sent to the bus, and buffering data sent to and from the CAN bus. Thanks to these features, it can work with almost any SBC computer or microcontroller. Communication on the CAN side can take place at a speed of up to 1 Mbps in CAN 2.0 mode or up to 8 Mbps in CAN FD mode. Communication with the controller takes place via a 4-wire SPI interface (MISO, MOSI, SCK, CE) and an additional interrupt signal (INT). All signals are fed to a 40-pin connector so that 2 modules can work simultaneously with one Raspberry Pi 5 computer.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;center&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;center&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.kamamilabs.com/index.php?title=KAmodRPi_CAN-FD&amp;diff=4444&amp;oldid=prev</id>
		<title>Grzegorzbecker: /* Description */</title>
		<link rel="alternate" type="text/html" href="https://wiki.kamamilabs.com/index.php?title=KAmodRPi_CAN-FD&amp;diff=4444&amp;oldid=prev"/>
		<updated>2024-10-26T16:02:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:02, 26 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__jzpdf__&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;__jzpdf__&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Description =====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Description =====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;b&amp;gt;KAmodRPi CAN-FD &amp;lt;/b&amp;gt; is a complete CAN bus interface based on the advanced CAN controller type MCP2518FD. The system used is responsible for forming correct frames sent to the bus, and buffering data sent to and from the CAN bus. Thanks to these features, it can work with almost any SBC computer or microcontroller. Communication on the CAN side can take place at a speed of up to 1 Mbps in CAN 2.0 mode or up to 8 Mbps in CAN FD mode. Communication with the controller takes place via a 4-wire SPI interface (MISO, MOSI, SCK, CE) and an additional interrupt signal (INT). All signals are fed to a 40-pin connector so that 2 modules can work simultaneously with one Raspberry Pi 5 computer.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;b&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[https://kamami.pl/en/communication-modules/1189248-kamodrpi-can-fd-can-interface-compatible-with-can-20-and-can-fd-for-raspberry-pi-and-more-5906623481477.html &lt;/ins&gt;KAmodRPi CAN-FD&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;] &lt;/ins&gt;&amp;lt;/b&amp;gt; is a complete CAN bus interface based on the advanced CAN controller type MCP2518FD. The system used is responsible for forming correct frames sent to the bus, and buffering data sent to and from the CAN bus. Thanks to these features, it can work with almost any SBC computer or microcontroller. Communication on the CAN side can take place at a speed of up to 1 Mbps in CAN 2.0 mode or up to 8 Mbps in CAN FD mode. Communication with the controller takes place via a 4-wire SPI interface (MISO, MOSI, SCK, CE) and an additional interrupt signal (INT). All signals are fed to a 40-pin connector so that 2 modules can work simultaneously with one Raspberry Pi 5 computer.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;center&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;center&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:KAMOD_CAN_FD_1.jpg|none|900px|thumb|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:KAMOD_CAN_FD_1.jpg|none|900px|thumb|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.kamamilabs.com/index.php?title=KAmodRPi_CAN-FD&amp;diff=4413&amp;oldid=prev</id>
		<title>Grzegorzbecker: /* GPIO connector in Raspberry Pi standard */</title>
		<link rel="alternate" type="text/html" href="https://wiki.kamamilabs.com/index.php?title=KAmodRPi_CAN-FD&amp;diff=4413&amp;oldid=prev"/>
		<updated>2024-10-25T20:54:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;GPIO connector in Raspberry Pi standard&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:54, 25 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l83&quot;&gt;Line 83:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 83:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;J2&amp;lt;/b&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;J2&amp;lt;/b&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;2x20 goldpin connector, 2.54 mm&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;2x20 goldpin connector, 2.54 mm&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&quot;text-align: left;&quot;| * CAN controller control signals are connected to the appropriate GPIO connector pins&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&quot;text-align: left;&quot;|  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* CAN controller control signals are connected to the appropriate GPIO connector pins&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Power input is connected to the appropriate GPIO connector pins&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Power input is connected to the appropriate GPIO connector pins&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.kamamilabs.com/index.php?title=KAmodRPi_CAN-FD&amp;diff=4412&amp;oldid=prev</id>
		<title>Grzegorzbecker: /* Control connector */</title>
		<link rel="alternate" type="text/html" href="https://wiki.kamamilabs.com/index.php?title=KAmodRPi_CAN-FD&amp;diff=4412&amp;oldid=prev"/>
		<updated>2024-10-25T20:53:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Control connector&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:53, 25 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l59&quot;&gt;Line 59:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 59:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:* pins no. 1 and 2: &amp;lt;b&amp;gt;+5V&amp;lt;/b&amp;gt; - power input with a voltage of 4.5...5.5 V;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:* pins no. 1 and 2: &amp;lt;b&amp;gt;+5V&amp;lt;/b&amp;gt; - power input with a voltage of 4.5...5.5 V;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:* pin no. 3: &amp;lt;b&amp;gt;VIO&amp;lt;/b&amp;gt; - optional power input for a voltage of 3.3...5 V, if the control signals are to operate with a voltage higher than 3.3 V;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:* pin no. 3: &amp;lt;b&amp;gt;VIO&amp;lt;/b&amp;gt; - optional power input for a voltage of 3.3...5 V, if the control signals are to operate with a voltage higher than 3.3 V;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:* pin no. 4: &amp;lt;b&amp;gt;GND&amp;lt;/b&amp;gt; - power and signal ground; :* pin no. 5: &amp;lt;b&amp;gt;TINT&amp;lt;/b&amp;gt; – TX Interrupt output, active low;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:* pin no. 4: &amp;lt;b&amp;gt;GND&amp;lt;/b&amp;gt; - power and signal ground;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:* pin no. 5: &amp;lt;b&amp;gt;TINT&amp;lt;/b&amp;gt; – TX Interrupt output, active low;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:* pin no. 6: &amp;lt;b&amp;gt;CE&amp;lt;/b&amp;gt; – SPI chip select input, active low;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:* pin no. 6: &amp;lt;b&amp;gt;CE&amp;lt;/b&amp;gt; – SPI chip select input, active low;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:* pin no. 7: &amp;lt;b&amp;gt;RINT&amp;lt;/b&amp;gt; – RX Interrupt output, active low;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:* pin no. 7: &amp;lt;b&amp;gt;RINT&amp;lt;/b&amp;gt; – RX Interrupt output, active low;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.kamamilabs.com/index.php?title=KAmodRPi_CAN-FD&amp;diff=4411&amp;oldid=prev</id>
		<title>Grzegorzbecker: /* Control connector */</title>
		<link rel="alternate" type="text/html" href="https://wiki.kamamilabs.com/index.php?title=KAmodRPi_CAN-FD&amp;diff=4411&amp;oldid=prev"/>
		<updated>2024-10-25T20:52:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Control connector&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:52, 25 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l49&quot;&gt;Line 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;J1&amp;lt;/b&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;J1&amp;lt;/b&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Goldpin pins 1x6, 2.54 mm&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Goldpin pins 1x6, 2.54 mm&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&quot;text-align: left;&quot;| * CAN controller control signals derived&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&quot;text-align: left;&quot;|  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* CAN controller control signals derived&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Power input&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Power input&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.kamamilabs.com/index.php?title=KAmodRPi_CAN-FD&amp;diff=4410&amp;oldid=prev</id>
		<title>Grzegorzbecker: Created page with &quot;__jzpdf__ ===== Description ===== &lt;b&gt;KAmodRPi CAN-FD &lt;/b&gt; is a complete CAN bus interface based on the advanced CAN controller type MCP2518FD. The system used is responsible f...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.kamamilabs.com/index.php?title=KAmodRPi_CAN-FD&amp;diff=4410&amp;oldid=prev"/>
		<updated>2024-10-25T20:52:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__jzpdf__ ===== Description ===== &amp;lt;b&amp;gt;KAmodRPi CAN-FD &amp;lt;/b&amp;gt; is a complete CAN bus interface based on the advanced CAN controller type MCP2518FD. The system used is responsible f...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__jzpdf__&lt;br /&gt;
===== Description =====&lt;br /&gt;
&amp;lt;b&amp;gt;KAmodRPi CAN-FD &amp;lt;/b&amp;gt; is a complete CAN bus interface based on the advanced CAN controller type MCP2518FD. The system used is responsible for forming correct frames sent to the bus, and buffering data sent to and from the CAN bus. Thanks to these features, it can work with almost any SBC computer or microcontroller. Communication on the CAN side can take place at a speed of up to 1 Mbps in CAN 2.0 mode or up to 8 Mbps in CAN FD mode. Communication with the controller takes place via a 4-wire SPI interface (MISO, MOSI, SCK, CE) and an additional interrupt signal (INT). All signals are fed to a 40-pin connector so that 2 modules can work simultaneously with one Raspberry Pi 5 computer.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAMOD_CAN_FD_1.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Basic parameters =====&lt;br /&gt;
* CAN bus interface, compatible with CAN 2.0 and CAN FD&lt;br /&gt;
* Based on the MCP2518FD CAN controller&lt;br /&gt;
* Communication via SPI interface with a maximum clock speed of 20 MHz&lt;br /&gt;
* SPI interface operating at 3.3 V or 5 V&lt;br /&gt;
* Communication speed (bit rate): 125 kbps...1 Mbps (500 kbps...8 Mbps in FD mode)&lt;br /&gt;
* Attachable 120 Ω terminating resistor&lt;br /&gt;
* LEDs indicating correct power supply and communication&lt;br /&gt;
* Compatible with Raspberry boards Pi 5 and others from the Raspberry Pi family&lt;br /&gt;
* Possibility to connect two modules to one computer (communication via one SPI interface with separate CE0/CE1 lines)&lt;br /&gt;
* CAN bus lines connected via Phoenix MC 3.81 mm connector&lt;br /&gt;
* Protection against overvoltages on CAN bus lines&lt;br /&gt;
* Power supply 5 V, 100 mA&lt;br /&gt;
* Board dimensions 65x30 mm, height approx. 25 mm&lt;br /&gt;
&lt;br /&gt;
===== Standard equipment =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;KAmod CAN-FD&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Assembled and started module&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Wiring diagram =====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_sch.jpg|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Control connector=====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Connector&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;J1&amp;lt;/b&amp;gt;&lt;br /&gt;
Goldpin pins 1x6, 2.54 mm&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| * CAN controller control signals derived&lt;br /&gt;
* Power input&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The MCP2518FD CAN controller is controlled via the SPI interface. SPI is used to configure operating parameters and transfer data to and from the controller. Additionally, the controller provides several additional signals - interrupts, which allow for quick response to specific events. All lines operate with a voltage of 3.3 V, but can optionally be configured to operate with a voltage of 5 V.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The functions of the signals on the &amp;lt;b&amp;gt;J1&amp;lt;/b&amp;gt; connector are as follows:&lt;br /&gt;
:* pins no. 1 and 2: &amp;lt;b&amp;gt;+5V&amp;lt;/b&amp;gt; - power input with a voltage of 4.5...5.5 V;&lt;br /&gt;
:* pin no. 3: &amp;lt;b&amp;gt;VIO&amp;lt;/b&amp;gt; - optional power input for a voltage of 3.3...5 V, if the control signals are to operate with a voltage higher than 3.3 V;&lt;br /&gt;
:* pin no. 4: &amp;lt;b&amp;gt;GND&amp;lt;/b&amp;gt; - power and signal ground; :* pin no. 5: &amp;lt;b&amp;gt;TINT&amp;lt;/b&amp;gt; – TX Interrupt output, active low;&lt;br /&gt;
:* pin no. 6: &amp;lt;b&amp;gt;CE&amp;lt;/b&amp;gt; – SPI chip select input, active low;&lt;br /&gt;
:* pin no. 7: &amp;lt;b&amp;gt;RINT&amp;lt;/b&amp;gt; – RX Interrupt output, active low;&lt;br /&gt;
:* pin no. 8: &amp;lt;b&amp;gt;SCK&amp;lt;/b&amp;gt; – SPI clock input of the CAN controller;&lt;br /&gt;
:* pin no. 9: &amp;lt;b&amp;gt;SOF&amp;lt;/b&amp;gt; – Start of Frame output;&lt;br /&gt;
:* pin no. 10: &amp;lt;b&amp;gt;MISO&amp;lt;/b&amp;gt; – SPI data output of the CAN controller;&lt;br /&gt;
:* pin no. 11: &amp;lt;b&amp;gt;INT&amp;lt;/b&amp;gt; – main interrupt output, active low;&lt;br /&gt;
:* pin no. 12: &amp;lt;b&amp;gt;MOSI&amp;lt;/b&amp;gt; – CAN controller SPI data input;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_1.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== GPIO connector in Raspberry Pi standard=====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Connector&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;J2&amp;lt;/b&amp;gt;&lt;br /&gt;
2x20 goldpin connector, 2.54 mm&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| * CAN controller control signals are connected to the appropriate GPIO connector pins&lt;br /&gt;
* Power input is connected to the appropriate GPIO connector pins&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The CAN controller control signals are connected to the appropriate pins of the &amp;lt;b&amp;gt;J2&amp;lt;/b&amp;gt; connector (and in parallel to the J1 connector), which is compatible with the GPIO connector standard of the Raspberry Pi boards. Thanks to this, the KAmod CAN-FD module can be easily connected to the Raspberry Pi SBC. The arrangement of the control signals on the GPIO connector is as follows:&lt;br /&gt;
:* position no. 2 marked &amp;quot;&amp;lt;b&amp;gt;3V3&amp;lt;/b&amp;gt;&amp;quot; - shorting pins 3-4 means that the serial control interface is adapted to the voltage of 3.3 V, which is suppliede from the integrated voltage regulator on the board;&lt;br /&gt;
:* pins 2 and 4: &amp;lt;b&amp;gt;+5V&amp;lt;/b&amp;gt; – 5V power supplied from the GPIO connector;&lt;br /&gt;
:* pins 6, 9, 14, 20, 25, 30, 34, 39 – ground &amp;lt;b&amp;gt;GND&amp;lt;/b&amp;gt; supplied from the GPIO connector;&lt;br /&gt;
:* pin 18: &amp;lt;b&amp;gt;GPIO24&amp;lt;/b&amp;gt; – can be connected to the &amp;lt;b&amp;gt;INT&amp;lt;/b&amp;gt; signal (depending on the J7 jumper setting);&lt;br /&gt;
:* pin 22: &amp;lt;b&amp;gt;GPIO25&amp;lt;/b&amp;gt; – can be connected to the &amp;lt;b&amp;gt;INT&amp;lt;/b&amp;gt; signal (depending on the J7 jumper setting);&lt;br /&gt;
:* pin 24: &amp;lt;b&amp;gt;GPIO08&amp;lt;/b&amp;gt; – can be connected to the &amp;lt;b&amp;gt;CE&amp;lt;/b&amp;gt; signal (depending on the J8 jumper setting);&lt;br /&gt;
:* pin 26: &amp;lt;b&amp;gt;GPIO07&amp;lt;/b&amp;gt; – can be connected to the &amp;lt;b&amp;gt;CE&amp;lt;/b&amp;gt; signal (depending on the J8 jumper setting);&lt;br /&gt;
:* pin 19: &amp;lt;b&amp;gt;GPIO10&amp;lt;/b&amp;gt; – connected to the MOSI signal - CAN controller SPI data input;&lt;br /&gt;
:* pin 19: &amp;lt;b&amp;gt;GPIO09&amp;lt;/b&amp;gt; – connected to the MISO signal - CAN controller SPI data output;&lt;br /&gt;
:* pin 19: &amp;lt;b&amp;gt;GPIO11&amp;lt;/b&amp;gt; – connected to the SCK signal - CAN controller SPI clock input;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_2.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Connecting two CAN interface modules=====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Connector&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;J7, J8&amp;lt;/b&amp;gt;&lt;br /&gt;
Goldpin + jumper 1x3, 2.54 mm&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Selection of the SPI interface channel for the CAN controller (CE0/CE1 signals on the GPIO connector)&lt;br /&gt;
* Selection of the INT interrupt input from the CAN controller (GPIO24/GPIO25 signals on the GPIO connector)&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The KAmod CAN-FD module is controlled via the SPI serial interface, which can support several controllers in one application. Each controller should have a &amp;lt;b&amp;gt;CE&amp;lt;/b&amp;gt; (Chip Enable) selection line assigned to it. There are two CE lines available on the Raspberry Pi GPIO connector - CE0 and CE1. Using the &amp;lt;b&amp;gt;J8&amp;lt;/b&amp;gt; jumper, you can select which CE line the CAN controller on the KAmod CAN-FD module board will use:&lt;br /&gt;
&lt;br /&gt;
:* shorting pins 1-2 J8: sets the CE0 line as the controller selection line (as shown),&lt;br /&gt;
:* shorting pins 2-3 J8: sets the CE1 line as the controller selection line.&lt;br /&gt;
The MCP2518FD CAN controller requires an interrupt to be set by the state on the &amp;lt;b&amp;gt;INT&amp;lt;/b&amp;gt; line to work properly. To enable the operation of two CAN controllers, the INT signal can be connected to one of the two GPIO connector pins, using the &amp;lt;b&amp;gt;J7&amp;lt;/b&amp;gt; jumper:&lt;br /&gt;
&lt;br /&gt;
:* shorting pins 1-2 J7: the INT signal is connected to the GPIO25 line (as shown),&lt;br /&gt;
:* shorting pins 2-3 J7: the INT signal is connected to the GPIO24 line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_3.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====CAN bus connector=====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Connector&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;J3 - CAN&amp;lt;/b&amp;gt;&lt;br /&gt;
Phoenix MC 3.81 mm&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* CAN bus connector&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The CAN bus connector has 3 pins: &amp;lt;b&amp;gt;CANL&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;CANH&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;GND&amp;lt;/b&amp;gt;. Their arrangement is described on the module board, the &amp;lt;b&amp;gt;GND contact is the middle contact&amp;lt;/b&amp;gt;. Each contact should be connected to the CAN bus according to the marking. The GND signal should be connected to the common ground of the power supply of devices connected by the CAN bus.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_4.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The voltage waveforms on the CAN bus are shown in the figure below:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_5.jpg|none|600px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Connecting the terminating resistor=====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Connector&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;J4&amp;lt;/b&amp;gt;&lt;br /&gt;
Goldpin + jumper 1x3, 2.54 mm&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Connecting a 120 Ω terminating resistor&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Devices in the CAN bus, as the name suggests, are connected in a bus topology. This is a single bus, without branches, in which two ends can be indicated. Each end of the bus should be equipped with a bus terminator - in the case of the CAN bus, this is a resistor with a value of &amp;lt;b&amp;gt;120 Ω&amp;lt;/b&amp;gt;.&lt;br /&gt;
There is a suitable resistor on the module board, which can be connected by setting the &amp;lt;b&amp;gt;J4&amp;lt;/b&amp;gt; jumper appropriately:&lt;br /&gt;
&lt;br /&gt;
:* shorting pins 1-2 means that the 120 Ω terminating resistor is connected between the CANL and CANH lines (as shown);&lt;br /&gt;
&lt;br /&gt;
:* shorting pins 2-3 or removing the jumper disconnects the terminating resistor.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_6.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====CAN bus transceiver off=====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Connector&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;J6&amp;lt;/b&amp;gt;&lt;br /&gt;
Goldpin + jumper 1x3, 2.54 mm&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Turning on/off the CAN bus transceiver&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
During CAN communication tests and trials, it may be necessary to cut off access to the bus so that the tested application does not interfere with the communication of other devices. The KAmod CAN-FD module contains a &amp;lt;b&amp;gt;MCP25 type transceiver42FD&amp;lt;/b&amp;gt;, which adapts the data stream from the CAN controller to the electrical parameters of the bus. A quick way to cut off access to the bus, without modifying the wiring, is to turn off the transceiver - setting the &amp;#039;&amp;#039;standby&amp;#039;&amp;#039; sleep mode. Using the &amp;lt;b&amp;gt;J6&amp;lt;/b&amp;gt; pins, you can easily turn the transceiver on/off:&lt;br /&gt;
&lt;br /&gt;
:* shorting pins 1-2: transceiver active (as shown in the figure),&lt;br /&gt;
:* shorting pins 2-3: transceiver in &amp;#039;&amp;#039;standby&amp;#039;&amp;#039; sleep mode.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_7.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Monitoring TX and RX data streams=====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Connector&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;J5&amp;lt;/b&amp;gt;&lt;br /&gt;
Goldpin + jumper 1x3, 2.54 mm&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Monitoring data streams transmitted and received from the CAN bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The &amp;lt;b&amp;gt;J5&amp;lt;/b&amp;gt; connector of the KAmod CAN-FD module outputs data stream signals sent from the controller and to the CAN controller. These are ordinary logical signals, so they can be easily monitored and recorded, for example, using a logic analyzer. The voltage level of the signals corresponds to the &amp;lt;b&amp;gt;VIO&amp;lt;/b&amp;gt; voltage. Monitoring these signals can be useful at the stage of starting the application and finding errors. The signal layout is as follows:&lt;br /&gt;
:* pin no. 1: &amp;lt;b&amp;gt;G&amp;lt;/b&amp;gt; – signal ground,&lt;br /&gt;
:* pin no. 2: &amp;lt;b&amp;gt;R&amp;lt;/b&amp;gt; – data stream received from the CAN bus,&lt;br /&gt;
:* pin no. 3: &amp;lt;b&amp;gt;T&amp;lt;/b&amp;gt; – data stream sent to the CAN bus from the controller.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_8.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====VIO control signal power supply and voltage=====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Connector&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;J1&amp;lt;/b&amp;gt;&lt;br /&gt;
2x6 goldpin pins, 2.54 mm&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* Power input&lt;br /&gt;
* Setting the voltage of VIO control signals&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The CAN transceiver (MCP2542FD) used in the KAmod CAN-FD module requires a power supply with a voltage in the range of 4.5...5.5 V, which should be connected to the J1 connector, to the +5V and GND contacts. On the other hand, the power supply of the CAN controller (MCP2518FD) may be lower - it must be in the range of 3...5.5 V. The voltage of the control signals on the J1 connector will be the same as the controller&amp;#039;s power supply voltage.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The CAN controller is powered by a voltage of 3.3 V from the voltage regulator built into the module. This voltage is output on the VIO contact of the J1 connector. By applying a voltage higher than 3 V, e.g. 5 V, to the VIO pin, you can obtain a higher voltage of the control signals – e.g. 5V.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The functions of the power pins on the &amp;lt;b&amp;gt;J1&amp;lt;/b&amp;gt; connector are as follows:&lt;br /&gt;
:* pins 1 and 2: &amp;lt;b&amp;gt;+5V&amp;lt;/b&amp;gt; - power input with a voltage of 4.5...5.5 V;&lt;br /&gt;
:* pin 3: &amp;lt;b&amp;gt;VIO&amp;lt;/b&amp;gt; – optional power input for a voltage of 3.3...5 V, if the control signals are to operate with a voltage higher than 3.3 V;&lt;br /&gt;
:* pin 4: &amp;lt;b&amp;gt;GND&amp;lt;/b&amp;gt; – power and signal ground;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_9.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Indicator diodes=====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Type&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RX&amp;lt;br&amp;gt;TX&amp;lt;br&amp;gt;V&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
* RX – signaling data reading from the CAN bus&lt;br /&gt;
* TX – signaling data transmission to the bus&lt;br /&gt;
* V – signaling CAN controller voltage&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The &amp;lt;b&amp;gt;RX&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;TX&amp;lt;/b&amp;gt; LEDs indicate the active state – i.e. low logical state (dominant state on the CAN bus), respectively at the output and input of the CAN transceiver. In the case of data transmission to the bus, both LEDs will flash – TX and RX, because the data is simultaneously read by the transceiver. The &amp;#039;&amp;#039;&amp;#039;V&amp;#039;&amp;#039;&amp;#039; LED indicates the presence of CAN controller voltage.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_10.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Dimensions=====&lt;br /&gt;
The dimensions of the KAmod CAN-FD interface module are 65x30 mm, and the height is about 25 mm. The module is compatible with Raspberry Pi 5 and Raspberry Pi Zero boards.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_11.jpg|none|600px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Links=====&lt;br /&gt;
*[https://wiki.kamamilabs.com/images/f/fc/MCP2518.pdf MCP2518 datasheet]&lt;br /&gt;
*[https://wiki.kamamilabs.com/images/c/c4/MCP2542FD.pdf MCP2542FD datasheet]&lt;br /&gt;
*[https://mikrokontroler.pl/2013/06/10/interfejs-komunikacyjny-can-podstawy/ Article on the MIKROKONTROLER.pl portal &amp;quot;CAN communication interface: basics&amp;quot;]&lt;br /&gt;
*[https://github.com/linux-can/can-utils/blob/master/README.md Linux CAN tool repository]&lt;br /&gt;
&lt;br /&gt;
====Running the module with Raspberry Pi 5====&lt;br /&gt;
Running the CAN interface with Raspberry Pi 5 requires the following steps.&lt;br /&gt;
=====Unblocking the SPI interface=====&lt;br /&gt;
Run the Raspberry Pi configuration program - &amp;#039;&amp;#039;Raspberry Pi Configuration&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Select the &amp;#039;&amp;#039;Interfaces&amp;#039;&amp;#039; tab, and there switch the switch to the active positionk at &amp;#039;&amp;#039;SPI&amp;#039;&amp;#039;. Save and close the program.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_f1.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_f2.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Installing the CAN interface toolkit=====&lt;br /&gt;
Run a terminal window, e.g. using the &amp;#039;&amp;#039;Ctrl+Alt+T&amp;#039;&amp;#039; keys, and then enter the command:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;sudo apt-get install can-utils&amp;lt;/pre&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Wait until it finishes and confirm all queries.&lt;br /&gt;
&lt;br /&gt;
=====Configuring the CAN interface=====&lt;br /&gt;
We launch a terminal window, e.g. using the &amp;#039;&amp;#039;Ctrl+Alt+T&amp;#039;&amp;#039; keys. In the nano text file editor, open the config.txt file by entering the command:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;sudo nano /boot/firmware/config.txt&amp;lt;/pre&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
(in earlier versions of the Raspbian system, the &amp;#039;&amp;#039;config.txt&amp;#039;&amp;#039; file is here: &amp;lt;code&amp;gt;/boot/config.txt&amp;lt;/code&amp;gt;)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
We check whether the line with the content:&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;dtparam=spi=on&amp;lt;/pre&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
does not have the # sign; if so, remove the # sign&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
At the end of the file, we add:&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;dtoverlay=mcp251xfd,spi0-0,oscillator=40000000,interrupt=25&amp;lt;/pre&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
This entry refers to the jumper setting on the module board (J7: 1-2; J8: 1-2)&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If we intend to connect two CAN interface modules, we should add another line:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;dtoverlay=mcp251xfd,spi0-1,oscillator=40000000,interrupt=24&amp;lt;/pre&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
This entry refers to the jumper setting on the module board (J7: 2-3; J8: 2-3)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_f3.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Save changes by pressing &amp;#039;&amp;#039;Ctrl+O&amp;#039;&amp;#039; and confirm with &amp;#039;&amp;#039;Enter&amp;#039;&amp;#039;, then close the editor by pressing &amp;#039;&amp;#039;Ctrl+X&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=====Restarting the system=====&lt;br /&gt;
Restart the system, e.g. using the command:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;sudo reboot&amp;#039;&amp;#039;&amp;#039;&amp;lt;/pre style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Checking the configuration=====&lt;br /&gt;
Run a terminal window, e.g. using the keys &amp;#039;&amp;#039;Ctrl+Alt+T&amp;#039;&amp;#039;. Enter the command:&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;dmesg | grep spi&amp;lt;/pre style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which will display information about the SPI interface collected during system startup:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_f4.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;If everything has been configured correctly, we should see two entries (or one if only one module is installed): &amp;#039;&amp;#039;mcp251xfd spi0.0 and mcp251xfd spi0.1. &amp;#039;&amp;#039;which means that the CAN controllers have been successfully initialized - &amp;#039;&amp;#039;successfully initialized&amp;#039;&amp;#039;. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Now you need to enter the command: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;ifconfig -a&amp;#039;&amp;#039;&amp;#039;&amp;lt;/pre style&amp;gt;&lt;br /&gt;
which will display a list of available network interfaces - Ethernet, Wi-Fi and CAN:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_f5.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Communication test=====&lt;br /&gt;
The simplest communication test can be performed with two KAmod CAN-FD CAN interface modules connected to one Raspberry Pi 5 computer. However, the test will be performed similarly with two computers equipped with the KAmod CAN-FD interface.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_f6_0.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We launch the terminal window, e.g. using the keys &amp;#039;&amp;#039;Ctrl+Alt+T&amp;#039;&amp;#039;. We activate the CAN bus with the command:&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;sudo ip link set can0 up type can bitrate 1000000&amp;#039;&amp;#039;&amp;#039;&amp;lt;/pre style&amp;gt;&lt;br /&gt;
where:&lt;br /&gt;
&amp;#039;&amp;#039;can0&amp;#039;&amp;#039; - is the interface number, for the second module it will be &amp;#039;&amp;#039;can1&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;bitrate 1000000&amp;#039;&amp;#039; - means the communication speed, in this case we set 1 Mbps&lt;br /&gt;
&lt;br /&gt;
For the second module, enter a similar command:&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;sudo ip link set can1 up type can bitrate 1000000&amp;#039;&amp;#039;&amp;#039;&amp;lt;/pre style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we open the second terminal - in one window we will observe the data received via one CAN interface (e.g. &amp;#039;&amp;#039;can0&amp;#039;&amp;#039;), and in the second window we will send data frames via the second CAN interface (e.g. &amp;#039;&amp;#039;can1&amp;#039;&amp;#039;).&lt;br /&gt;
In the first window we enter the command:&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;candump can0&amp;#039;&amp;#039;&amp;#039;&amp;lt;/pre style&amp;gt;&lt;br /&gt;
which makes the can0 interface display all received data in the terminal.&lt;br /&gt;
&lt;br /&gt;
In the second window, enter the command:&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;cansend can1 456#214234&amp;#039;&amp;#039;&amp;#039;&amp;lt;/pre style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The effect can be seen in the screenshots below:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_f6.jpg|none|600px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_f7.jpg|none|600px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The command &amp;#039;&amp;#039;cansend can1 456#214234&amp;#039;&amp;#039; causes a CAN frame with identifier 456 to be sent with 3 bytes of data: 21, 42, and 34. In the CAN 2.0B standard, the identifier is 29 bits long, and the frame can contain up to 8 bytes of data. The command &amp;#039;&amp;#039;candump can0&amp;#039;&amp;#039; monitors the bus status and displays all received data frames. To interrupt this process, press &amp;#039;&amp;#039;Ctrl+C&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
To change communication parameters, first deactivate the CAN bus using the commands&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color:#0033ff&amp;quot;&amp;gt;sudo ifconfig can0 down&amp;#039;&amp;#039;&amp;#039;&amp;lt;/pre style&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;sudo ifconfig can1 down&amp;#039;&amp;#039;&amp;#039;&amp;lt;/pre style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Testcommunication in CAN FD mode=====&lt;br /&gt;
The CAN2.0 standard allows you to send up to 8 bytes of data at a speed of up to 1 Mbps. The CAN FD (Controller Area Network Flexible Data-Rate) standard allows you to send up to 64 bytes of data in one frame, by increasing the communication speed inside the frame - during data transfer, to 8 Mbps:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_12.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The KAmod CAN-FD module is compatible with the CAN FD standard. To test the module in this mode, perform the following steps.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We start the terminal window, e.g. using the Ctrl+Alt+T keys. We activate the CAN bus with the command:&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;sudo ip link set can0 up type can bitrate 1000000 dbitrate 8000000 restart-ms 1000 berr-reporting on fd on&amp;#039;&amp;#039;&amp;#039;&amp;lt;/pre style&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
We proceed similarly with the second bus:&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;sudo ip link set can1 up type can bitrate 1000000 dbitrate 8000000 restart-ms 1000 berr-reporting on fd on&amp;#039;&amp;#039;&amp;#039;&amp;lt;/pre style&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Now we will use a tool to generate random CAN frames – cangen. In the first terminal window, enter the command:&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;cangen can0 -mv&amp;#039;&amp;#039;&amp;#039;&amp;lt;/pre style&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
In the second terminal window, enter the command:&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;pre style=&amp;quot;color: #0033ff&amp;quot;&amp;gt;candump can1&amp;#039;&amp;#039;&amp;#039;&amp;lt;/pre style&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The effect is visible in the screenshot below:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodCAN-FD_f8.jpg|none|600px|thumb|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Among the generated frames, you can see those that carry no data, only the identifier itself, and those that carry 20 bytes of data - in accordance with the capabilities of CAN FD.&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
</feed>