From 1dae37cbbdaa2a43945889296650d374d7d32209 Mon Sep 17 00:00:00 2001 From: Hannes Siebeneicher Date: Wed, 4 Sep 2024 11:33:51 +0200 Subject: [PATCH 1/4] remove overview --- content/learn/05.communication/10.can/can.md | 22 -------------------- 1 file changed, 22 deletions(-) diff --git a/content/learn/05.communication/10.can/can.md b/content/learn/05.communication/10.can/can.md index 42e4550d0b..11e2beca21 100644 --- a/content/learn/05.communication/10.can/can.md +++ b/content/learn/05.communication/10.can/can.md @@ -19,28 +19,6 @@ Controller Area Network (CAN), is a robust and versatile communication protocol Communication via CAN is enabled through different CAN libraries and is dependent on the hardware used for the setup. This article will mainly focus on the [Arduino_CAN](https://github.com/arduino/ArduinoCore-renesas/tree/main/libraries/Arduino_CAN) library and its available methods with references to different hardware and respective libraries. -If you want to jump straight to the examples click [here](#examples) or go to the end of this article. - -## Overview - -- [CAN Class](#can-class) -- [Arduino CAN Pins](#arduino-can-pins) -- [How CAN Works](#how-can-works) - - [Shared Bus and Absence of a Central Master Node](#shared-bus-and-absence-of-a-central-master-node) - - [Differential Signaling](#differential-signaling) - - [Practical Example: CAN in Automotive Systems](#practical-example-can-in-automotive-systems) - - [CAN Frame Structure](#can-frame-structure) - - [Standard and Extended CAN IDs](#standard-and-extended-can-ids) - - [Timing and Synchronization](#timing-and-synchronization) - - [Termination Resistors](#termination-resistors) -- [History of CAN](#history-of-can) - - [Development and Standards](#development-and-standards) - - [Origin and Purpose](#origin-and-purpose) - - [Timeline of Standards](#timeline-of-standards) -- [Examples](#examples) - - [Arduino UNO R4 WiFi CAN Bus](#arduino-uno-r4-wifi-can-bus) - - [Sending Data Between Two MKR CAN Shields](#sending-data-between-two-mkr-can-shields) - ## CAN Class With the CAN class, you can send and receive data over a Controller Area Network (CAN) bus, enabling communication between an Arduino board and other devices in a networked environment. From ccb1a5e1aace7ee0d27562fd360206aa99926de6 Mon Sep 17 00:00:00 2001 From: Hannes Siebeneicher Date: Wed, 4 Sep 2024 11:34:26 +0200 Subject: [PATCH 2/4] add giga r1 wifi --- content/learn/05.communication/10.can/can.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/learn/05.communication/10.can/can.md b/content/learn/05.communication/10.can/can.md index 11e2beca21..e78abdbde3 100644 --- a/content/learn/05.communication/10.can/can.md +++ b/content/learn/05.communication/10.can/can.md @@ -47,6 +47,7 @@ The default pins on an Arduino board are CAN High and CAN Low. See table below f | -------------- | --------- | --------- | ------- | ------- | | UNO R4 | D13 | D10 | | | | DUE | D68 | D69 | D66 | D53 | +| GIGA R1 WiFi | D93 | D94 | | | | MKR CAN Shield | dedicated | dedicated | | | ## Technical Specifications From b140c58eb063a02985643e006b360f772a7f7451 Mon Sep 17 00:00:00 2001 From: Hannes Siebeneicher Date: Wed, 4 Sep 2024 14:02:59 +0200 Subject: [PATCH 3/4] add UNO R4 Minima --- content/learn/05.communication/10.can/can.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/learn/05.communication/10.can/can.md b/content/learn/05.communication/10.can/can.md index e78abdbde3..34d9a0148f 100644 --- a/content/learn/05.communication/10.can/can.md +++ b/content/learn/05.communication/10.can/can.md @@ -45,7 +45,8 @@ The default pins on an Arduino board are CAN High and CAN Low. See table below f | Board / Shield | CAN0_RX | CAN0_TX | CAN1_RX | CAN1_TX | | -------------- | --------- | --------- | ------- | ------- | -| UNO R4 | D13 | D10 | | | +| UNO R4 WiFi | D13 | D10 | | | +| UNO R4 Minima | D5 | D4 | | | | DUE | D68 | D69 | D66 | D53 | | GIGA R1 WiFi | D93 | D94 | | | | MKR CAN Shield | dedicated | dedicated | | | From 7ec19cf88add897d8ec092a7306fbf5dbe8865d8 Mon Sep 17 00:00:00 2001 From: Hannes Siebeneicher Date: Wed, 4 Sep 2024 14:07:26 +0200 Subject: [PATCH 4/4] remove board specific table --- content/learn/05.communication/10.can/can.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/content/learn/05.communication/10.can/can.md b/content/learn/05.communication/10.can/can.md index 34d9a0148f..43fb37d964 100644 --- a/content/learn/05.communication/10.can/can.md +++ b/content/learn/05.communication/10.can/can.md @@ -39,17 +39,7 @@ These methods provide the core functionality for sending and receiving messages ## Arduino CAN Pins -The default pins on an Arduino board are CAN High and CAN Low. See table below for more information: - -***Depending on which Arduino board you are using, you will need a transceiver/receiver to read the differential signal properly. Check the product page of the board you are using for more information.*** - -| Board / Shield | CAN0_RX | CAN0_TX | CAN1_RX | CAN1_TX | -| -------------- | --------- | --------- | ------- | ------- | -| UNO R4 WiFi | D13 | D10 | | | -| UNO R4 Minima | D5 | D4 | | | -| DUE | D68 | D69 | D66 | D53 | -| GIGA R1 WiFi | D93 | D94 | | | -| MKR CAN Shield | dedicated | dedicated | | | +***Depending on which Arduino board you are using, you will need a transceiver/receiver to read the differential signal properly. Check the product page or cheat sheet of the board you are using for more information.*** ## Technical Specifications