From 593c2b84bb95a5511888cf658df90c6cee3dc37d Mon Sep 17 00:00:00 2001 From: fluktuacia Date: Thu, 22 Feb 2024 14:47:01 +0100 Subject: [PATCH] Translation TFI2CADT_TEST.ipynb --- sw/pymlab/TFI2CADT_TEST.ipynb | 42 +++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/sw/pymlab/TFI2CADT_TEST.ipynb b/sw/pymlab/TFI2CADT_TEST.ipynb index b5ded08..7897757 100644 --- a/sw/pymlab/TFI2CADT_TEST.ipynb +++ b/sw/pymlab/TFI2CADT_TEST.ipynb @@ -5,22 +5,22 @@ "id": "f355d8d7", "metadata": {}, "source": [ - "# TFI2CADT test překladu adres\n", + "# TFI2CADT Adress Translation Test \n", "\n", - "Tento notebook slouží k ověření správného překladu I2C adresu u modulu TFI2CADT. \n", + "This notebook is used to verify the correct translation of the I2C address for the TFI2CADT module. \n", "\n", - "Postup testu: \n", - " * Připravit si MLAB USBI2C01A (nebo dostupné I2C rozhraní s podporou kernel SMBUS)\n", - " * Zjistit číslo přiřazeného I2C portu (`i2cdetect -l`)\n", - " * Číslo portu zadat do druhého bloku\n", - " * Připojit k I2C sběrnici TFI2CADT a na jeho vstup (do passthrought portu) připojit nějaké I2C zařizení. Je důležité, aby toto I2C zařízení mělo jen jednu I2C adresu (vhodnými moduly jsou napřiklad TFRPM nebo TFHT, nikoliv TFSLOT resp. TFASPDIMU)\n", - " * Spustit následující python blok a stisknout enter. \n", - " * Python by měl detekovat I2C adresu připojeného zařizení. \n", - " * Nyní přepojte I2C zařizení ze vstupu na jeden z překládacích výstupních portů. \n", - " * Stiskněte enter, python by měl rozpoznat novou adresu. \n", - " * I2C zařizení přepojte do druhého překládacího portu \n", - " * Stiskněte enter. \n", - " * Následně uvidíte vyhodnocení testu. Pokud se první I2C adresa změnila dle předpokladu (XOR 0x08 a XOR 0x78), test bude úspšný." + "Test Procedure: \n", + " * Prepare MLAB USBI2C01A (or an available I2C interface with kernel SMBUS support). \n", + " * Determine the assigned I2C port number (`i2cdetect -l`). \n", + " * Enter the port number into the second block. \n", + " * Connect the TFI2CADT to the I2C bus and connect I2C device to its input (to the passthrough port). It is important that this I2C device has only one I2C address (suitable modules include TFRPM or TFHT, not TFSLOT or TFASPDIMU). \n", + " * Run the following python block and press enter. \n", + " * Python should detect the I2C address of the connected device. \n", + " * Now reconnect the I2C device from the input to one of the translating output ports. \n", + " * Press enter, python should recognize the new address. \n", + " * Reconnect the I2C device to the second translating port. \n", + " * Press enter. \n", + " * You will now see the test evaluation. If the first I2C address changed as expected (XOR 0x08 and XOR 0x78), the test will be successful." ] }, { @@ -33,17 +33,17 @@ "name": "stdout", "output_type": "stream", "text": [ - "Pripojte zarizeni do vstupniho konektoru a stisknete enter\n", + "Connect the device to the input connector and press enter.\n", "\n", - "Adresa koncoveho I2C zarizeni je: 0x50\n", - "Zapojte zarizeni do prekladaneho vystupu a stisknete enter\n", + "The address of the end I2C device is: 0x50\n", + "Connect the device to the translated output and press enter. \n", "\n", - "Nova I2C adresa je: 0x28\n", - "Zapojte zarizeni do druheho prekladaneho vystupu a stisknete enter\n", + "The new I2C address is: 0x28\n", + "Connect the device to the second translated output and press enter.\n", "\n", - "Nova I2C adresa je: 0x58\n", + "The new I2C address is: 0x58\n", "\n", - "Preklad adres funguje dle ocekavani\n" + "Address translation works as expected\n" ] } ],