Skip to content

Commit 8dc1af1

Browse files
Added examples
1 parent 9bf320a commit 8dc1af1

File tree

1 file changed

+14
-1
lines changed
  • content/hardware/04.pro/carriers/portenta-max-carrier/tutorials/x8-getting-started

1 file changed

+14
-1
lines changed

content/hardware/04.pro/carriers/portenta-max-carrier/tutorials/x8-getting-started/content.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,21 @@ To make use of the Arduino Portenta Max Carrier you will need to power it throug
6161

6262
The Portenta Max Carrier equips two different memory units on-board, a flash memory and a mini SD card slot. The Flash memory on-board the Portenta Max Carrier has 2MB of storage via QSPI. The Mini SD card interface makes it possible to extend the storage size. It can be used to process log data, from sensors or programmed on-board computer registry.
6363

64+
If you have a sd card connected to the Max Carrier you can create a directory on the sd card by using the following command:
65+
```python
66+
mkdir -p /tmp/sdcard
67+
```
68+
6469
### Audio Interfaces
6570

6671
The Portenta Max Carrier features the CS42L52 from Cirrus Logic®, a stereo CODEC. The CS42L52 is a 24-bit, low-power stereo CODEC that can provide up to 1W per channel of Class D stereo/mono amplification to external speakers or enough power to drive 44mW per channel into stereo headphones. There are four analog audio interfaces on the Portenta Max Carrier, these are marked on the image below.
6772

6873
[Audio connections on the Portenta Max Carrier](assets/audio-interface-max-carrier.svg)
6974

70-
To use this feature with Linux, you could use something like the [alsa-lib](https://github.com/alsa-project/alsa-lib).
75+
To use this feature with Linux, you could use something like the [alsa-lib](https://github.com/alsa-project/alsa-lib). You can run it with something like this line:
76+
```python
77+
apk update && apk add alsa-utils alsa-utils-doc alsa-lib alsaconf alsa-ucm-conf && speaker-test -t sine -f 440 -c 2 -r 48000 -D hw:0,0
78+
```
7179

7280
## Connectivity
7381

@@ -89,6 +97,11 @@ For more in-depth information about LoRa® and LoRaWAN®, please read [The Ardui
8997

9098
The Gigabit Ethernet physical interface is directly connected to the high density connector to the Portenta X8 board. The connector includes a LED for indicating activity using the color orange , there is also a LED using the color green to indicate speed.
9199

100+
To access the 1 Gbps connection Ethernet peripheral on the Max Carrier you can use the following command:
101+
```python
102+
ETH_1G=`dmesg | grep "fec 30be0000.ethernet eth0: Link is Up - 1Gbps/Full"`
103+
```
104+
92105
## Instructions
93106

94107
### Circuit

0 commit comments

Comments
 (0)