From 1dba245508c851b761a9299b85b3afab8d3ec486 Mon Sep 17 00:00:00 2001 From: martab1994 <93210545+martab1994@users.noreply.github.com> Date: Thu, 6 Apr 2023 09:03:47 +0200 Subject: [PATCH 1/3] Remove UART and improve 399 update - UART is not officially supported - change -xvf to -mxvf on 399 update to reduce number of warnings --- .../tutorials/01.user-manual/content.md | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/content/hardware/04.pro/boards/portenta-x8/tutorials/01.user-manual/content.md b/content/hardware/04.pro/boards/portenta-x8/tutorials/01.user-manual/content.md index 9367679732..de6286466a 100644 --- a/content/hardware/04.pro/boards/portenta-x8/tutorials/01.user-manual/content.md +++ b/content/hardware/04.pro/boards/portenta-x8/tutorials/01.user-manual/content.md @@ -940,8 +940,8 @@ Once your Portenta X8 is correctly connected to your PC, launch the following co user-pc$: adb shell portenta-x8$: cd /home/fio -portenta-x8$: tar -xvf update-latest.tar.gz -C . -portenta-x8$: tar -xvf aklite-offline-399.tar.gz -C . +portenta-x8$: tar -mxvf update-latest.tar.gz -C . +portenta-x8$: tar -mxvf aklite-offline-399.tar.gz -C . portenta-x8$: export LD_LIBRARY_PATH=usr/lib/ portenta-x8$: usr/bin/aklite-offline install --src-dir /var/rootdirs/home/fio/offline-updates/ ``` @@ -962,7 +962,6 @@ In this section you will learn how to make your Portenta X8 to communicate with * [SPI](#SPI) * [I2C](#I2C) -* [UART](#UART) * [Bluetooth®](#Bluetooth®) ### SPI @@ -1149,20 +1148,6 @@ Since one of the `I2C` pins is GPIO-multiplexed, you need to detach it from the } ``` -### UART - -In this case, a Portenta X8 with Portenta Breakout board is used to explore UART communication. - -#### UART With Linux - -A standard UART is available as `/dev/ttymxc1` in Linux and is mapped to the **`UART1`** port on the Portenta Breakout. - -#### UART With Arduino - -The `Serial1` object in the Arduino sketch is mapped to the **`UART0`** port on the Portenta Breakout. - -Please note that the Arduino RS485 (thus the Arduino Modbus library) library is not supported on the Arduino core of the X8. - ### Bluetooth® Portenta X8 supports Bluetooth® connectivity just on the Linux side. From cfa565b9b3094d8b3750af7ee4c0c938072f4128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Caro=20Linares?= Date: Thu, 6 Apr 2023 10:30:53 +0200 Subject: [PATCH 2/3] UART Linux part recocered --- .../portenta-x8/tutorials/01.user-manual/content.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/hardware/04.pro/boards/portenta-x8/tutorials/01.user-manual/content.md b/content/hardware/04.pro/boards/portenta-x8/tutorials/01.user-manual/content.md index de6286466a..a5b20190ba 100644 --- a/content/hardware/04.pro/boards/portenta-x8/tutorials/01.user-manual/content.md +++ b/content/hardware/04.pro/boards/portenta-x8/tutorials/01.user-manual/content.md @@ -1147,6 +1147,14 @@ Since one of the `I2C` pins is GPIO-multiplexed, you need to detach it from the pinMode(PA_12, INPUT); } ``` + +### UART + +In this case, a Portenta X8 with Portenta Breakout board is used to explore UART communication. + +#### UART With Linux + +A standard UART is available as `/dev/ttymxc1` in Linux and is mapped to the **`UART1`** port on the Portenta Breakout. ### Bluetooth® From 016212db420fa604e37300a463471bc2898d2872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Caro=20Linares?= Date: Thu, 6 Apr 2023 10:38:18 +0200 Subject: [PATCH 3/3] Communication UART line --- .../boards/portenta-x8/tutorials/01.user-manual/content.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/hardware/04.pro/boards/portenta-x8/tutorials/01.user-manual/content.md b/content/hardware/04.pro/boards/portenta-x8/tutorials/01.user-manual/content.md index a5b20190ba..1a648a830c 100644 --- a/content/hardware/04.pro/boards/portenta-x8/tutorials/01.user-manual/content.md +++ b/content/hardware/04.pro/boards/portenta-x8/tutorials/01.user-manual/content.md @@ -962,6 +962,7 @@ In this section you will learn how to make your Portenta X8 to communicate with * [SPI](#SPI) * [I2C](#I2C) +* [UART](#UART) * [Bluetooth®](#Bluetooth®) ### SPI