You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/hardware/08.mega/boards/giga-r1/tutorials/cheat-sheet/cheat-sheet.md
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ It should however be noted that the internal operating voltage of the microcontr
49
49
50
50
## Installation
51
51
52
-
***To install the GIGA R1 package, please
52
+
***For detailed instructions on how to install the GIGA R1 core, please refer to the [Getting Started with GIGA R1](/tutorials/giga-r1/giga-getting-started) guide.***
53
53
54
54
The **GIGA R1** can be programmed through:
55
55
@@ -68,7 +68,9 @@ These examples are available in the Arduino IDE via **File > Examples > Examples
68
68
69
69
### Mbed OS
70
70
71
-
As [Arduino Core for mbed devices](https://github.com/arduino/ArduinoCore-mbed) is based on the [MbedOS]() core, it is possible for the operating system to crash. On many other Arduino devices, when a sketch fails due to e.g. memory shortage, the board resets.
71
+
As [Arduino Core for mbed devices](https://github.com/arduino/ArduinoCore-mbed) is based on [MbedOS](https://os.mbed.com/), it is possible for the operating system to crash while running a sketch.
72
+
73
+
On most Arduino boards, when a sketch fails due to e.g. memory shortage, the board resets.
72
74
73
75
On the GIGA R1, whenever the MbedOS fails, the board does **not reset automatically**. Instead, if it fails, the onboard red LED will start to blink.
74
76
@@ -89,6 +91,7 @@ Pressing and holding the button labelled `BOOT0` on the board while powering the
89
91
The state of this button can also be read from a sketch while it is running, giving you a basic interactive component without needing to do any wiring.
90
92
91
93
To read the state of the Boot0 button in your sketch, you use this line of code:
94
+
92
95
```arduino
93
96
digitalRead(PC_13);
94
97
```
@@ -162,7 +165,7 @@ This can be very useful, as this flash storage **does not get deleted when you u
162
165
163
166
***This section is only relevant for the [GIGA R1 WiFi](/hardware/giga-r1-wifi) version. The standard [GIGA R1](/hardware/giga-r1) does not have a radio module, cryptochip & and antenna connector.***
164
167
165
-
![Murata LBEE5KL1DX-883 radio module + antenna connector.]()
168
+

166
169
167
170
The Wi-Fi / Bluetooth® module onboard the GIGA R1 WiFi is the Murata LBEE5KL1DX-883. This module does not come with a built-in antenna, but an external antenna is included when purchasing the Wi-Fi version of this board.
168
171
@@ -172,7 +175,7 @@ The antenna connector (see image above) is located right next to the USB-C conne
172
175
173
176
The **GIGA R1** features an audio jack, with 2x DAC channels, and 1x ADC channel, and is capable of reading input from a microphone, as well as outputting sound through a speaker.
174
177
175
-

178
+

176
179
177
180
The audio jack is connected to the following pins:
178
181
-**A12 / DAC0**
@@ -621,21 +624,19 @@ void loop() {
621
624
622
625
The **GIGA R1** features two separate SPI (Serial Peripheral Interface) buses, one is configured on the 6 pin header (ICSP) labelled SPI, and the other is broken out into pin connections on the board.
623
626
624
-
The second bus `SPI` uses the following pins:
627
+
The first bus (connector),`SPI` uses the following pins:
625
628
626
629
- (CIPO) - D89
627
630
- (COPI) - D90
628
631
- (SCK) - D91
629
-
- (CS) - D10\*
632
+
- (CS) - D10
630
633
631
-
The first bus, `SPI1`, uses the following pins:
634
+
The second bus (header), `SPI1`, uses the following pins:
632
635
633
636
- (CIPO) - D12
634
637
- (COPI) - D11
635
638
- (SCK) - D13
636
-
- (CS) - D10\*
637
-
638
-
***\*When connecting several devices, you also need to define additional Chip Select (CS) pins. You can use any GPIO for this.***
639
+
- (CS) - unassigned, use any free GPIO for this.
639
640
640
641
For using both SPI buses simultaneously, check out the following example:
641
642
@@ -666,12 +667,11 @@ void loop() {
666
667
}
667
668
```
668
669
669
-
Please note that the in the GIGA R1 schematics and the code does not match exactly. If you are looking at the schematics, you will notice `SPI` is `SPI1` and `SPI1` is `SPI5`.
670
+
Please note that the in the GIGA R1 schematics and the code does not match exactly. In the schematics, you will notice that`SPI` is `SPI1` and `SPI1` is `SPI5`.
670
671
671
672

672
673
673
674
674
-
675
675
## I2C Pins
676
676
677
677
I2C lets you connect multiple I2C compatible devices in series using only two pins. The controller will send out information through the I2C bus to a 7 bit address, meaning that the technical limit of I2C devices on a single line is 128. Practically, you're never gonna reach 128 devices before other limitations kick in.
0 commit comments