Difference between revisions of "iMX8M Industrial EMC testing"
(Created page with "Category:iMX8M Industrial Development Kit <!-- --> <div style="float:right">__TOC__</div> Electromagnetic compatibility results for iMX8M Industrial Development Kit are s...") |
|||
Line 189: | Line 189: | ||
cd imx6tinyrex_bin_linux/ | cd imx6tinyrex_bin_linux/ | ||
sudo ./fsl-sdcard-partition.sh -max /dev/mmcblk0 | sudo ./fsl-sdcard-partition.sh -max /dev/mmcblk0 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 217: | Line 211: | ||
Testing scripts command consists of following arguments | Testing scripts command consists of following arguments | ||
* the first parameter - version of tested board (-max, -pro or -basic) | * the first parameter - version of tested board (-max, -pro or -basic) | ||
− | * the second | + | * the second parameter - USB drive 1 location |
− | + | * the third parameter - USB drive 2 location | |
− | * the | + | * the fourth parameter - SD card location |
− | * the | ||
− | |||
<br /> | <br /> | ||
Several commands which were used during EMC testing are shown below: | Several commands which were used during EMC testing are shown below: | ||
− | * | + | |
+ | * iMX8MQ Development Kit Pro: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | ./ | + | ./imx8mq-voipac-peripheral-test.sh -pro sda1 sdb1 mmcblk1p1 | tee -i imx8mq-emc-testing.log |
</syntaxhighlight> | </syntaxhighlight> | ||
− | * | + | * iMX8MQ Development Kit Max: |
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | ./ | + | ./imx8mq-voipac-peripheral-test.sh -max sda1 sdb1 mmcblk1p1 | tee -i imx8mq-emc-testing.log |
</syntaxhighlight> | </syntaxhighlight> | ||
− | * | + | * iMX8MQ Development Kit Basic: |
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
− | ./ | + | ./imx8mq-voipac-peripheral-test.sh -basic -n sda1 sdb1 mmcblk1p1 | tee -i imq8mq-emc-testing.log |
</syntaxhighlight> | </syntaxhighlight> | ||
− | The complete script can be found in [ | + | The complete script can be found in [https://github.com/voipac/imx8m-production.git] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<br /> | <br /> | ||
− |
Revision as of 14:30, 31 March 2022
Electromagnetic compatibility results for iMX8M Industrial Development Kit are shown on this page. Test setup and scripts are described in details.
These measurement were performed with boards using the actual hardware and software configuration of the web shop development kits.
Connected cables/devices
- Power jack: +5V power supply was used for input voltage
- SD card (Sandisk): preloaded with filesystem, used for booting and for read/write test
- Ethernet: 1 meter CAT Ethernet loopback cable connected. Forced to 100Mb and used for ping test
- one of these two HDMI options was used:
- HDMI loopback: when HDMI input is tested using a loopback connection, HDMI input is connected to its HDMI output via a shielded 1 meter long HDMI micro to HDMI cable
- HDMI input source and monitor used: a video source (from a different iMX6 TinyRex Development Kit) is plugged into HDMI input using HDMI Micro cable. HDMI Output signal is connected to monitor through 1.8m HDMI cable, monitor is plugged into mains but not turned on. Both monitor and the second iMX6 TinyRex board laid flat on the floor to minimise its affect on results
- 2x USB flash drive: each connected through a 2m extension cable. Both used during read/write test
- SATA hard drive: used for read/write testing. The hard drive was placed alongside the tested board. SATA disk was not part of all the test configurations (as per results below)
- Wifi PCIE mini card: inserted, but not actively used. No antennas connected
- Debug cable: FTDI TTL-3V3 UART to USB cable, used only to setup the board, not used and not plugged in during the measurements
Test description
The main purpose of testing was to measure Radiated emission of iMX6 TinyRex Development Kit performing under heavy load. Following threads were running during the measurements:
- CPU stress test
- Memory stress test
- HDMI input (receiving a 720p 3Mbps video stream)
- HDMI output (received HDMI stream is forwarded to HDMI output)
- SD card test (read & write)
- 2x USB test (USB memory drive read & write stress test)
- SATA stress test (read & write) (if applicable)
- Ethernet ping (and Ethernet SSH session)
Results
All the results were measured in compliance with the emission limits for FCC Class B (EMC standard EN 55022B). Class B devices are suitable for both residential and industrial applications as the norm standards use more restrictive limits.
Graph description
Lower band 30MHz - 1GHz
Radiated emission is measured and displayed as quasi-peak values. This relation is represented as a blue curve in the measurements. Class B limits are shown by red highlighted line 22F3M_B.
Higher band 1GHz - 4GHz
Two plots displaying the power density are used to show results in higher bands. Similar to lower frequencies a blue curve represents quasi-peak values. Class B limits applied for quasi-peak measurements is plotted as the higher placed red line 22F_P_B.
Black curve depicts average-power values. Threshold for average-power measurement is shown with the lower placed limit line called 22F_AV_B.
iMX6 TinyRex Development Kit Max with enclosure – PASS
Test description:
- stressapptest for CPU and memory
- Ethernet loopback
- running heavy testing script for USB and SD card read/write test
- HDMI input and output both tested with 720p video stream
- Ethernet SSH session
This setup used HDMI option with separate video input source and monitor. Both the board and the monitor were placed on the floor to minimise its effects. The power source was hidden inside the chamber tunnel under the testing table.
Vertical polarisation | Horizontal polarisation | |
iMX6 TinyRex Development Kit Max: 30MHz - 1GHz |
Vertical polarisation | Horizontal polarisation | |
iMX6 TinyRex Development Kit Max: 1GHz - 4GHz |
iMX6 TinyRex Development Kit Max bare board with SATA hard drive – PASS
Test description:
- stressapptest for CPU and memory
- SATA stress testing
- Ethernet loopback
- running heavy testing script for USB and SD card read/write test
- HDMI input and output both tested with 720p video stream
- Ethernet SSH session
This test also included SATA interface by stress testing connected SATA hard drive. During this test HDMI loopback option was used.
These results show that a heavy loaded iMX6 TinyRex Development Kit complies with stricter regulation even if no enclosure is used.
Vertical polarisation | Horizontal polarisation | |
iMX6 TinyRex Development Kit Max with SATA: 30MHz - 1GHz |
Vertical polarisation | Horizontal polarisation | |
iMX6 TinyRex Development Kit Max with SATA: 1GHz - 4GHz |
iMX6 TinyRex Development Kit Pro with enclosure – PASS
Test description:
- stressapptest for CPU and memory
- Ethernet loopback
- running heavy testing script for USB and SD card read/write test
- HDMI input and output both tested with 720p video stream (loopback option)
- Ethernet SSH session
Vertical polarisation | Horizontal polarisation | |
iMX6 TinyRex Development Kit Pro: 30MHz - 1GHz |
Vertical polarisation | Horizontal polarisation | |
iMX6 TinyRex Development Kit Pro: 1GHz - 4GHz |
iMX6 TinyRex Development Kit Basic with enclosure – PASS
Test description:
- stressapptest for CPU and memory
- Ethernet loopback
- running heavy testing script for USB and SD card read/write test
- HDMI input and output both tested with 720p video stream (loopback option)
- Ethernet SSH session
Vertical polarisation | Horizontal polarisation | |
iMX6 TinyRex Development Kit Basic: 30MHz - 1GHz |
Vertical polarisation | Horizontal polarisation | |
iMX6 TinyRex Development Kit Basic: 1GHz - 4GHz |
Preparing the test
Boot device and software
SD card was selected as a booting device for all the boards. U-Boot settings were not adjusted as the default configuration was used. The only change compared to standard software package was running a multimedia filesystem. To prepare a fresh SD card follow these instructions. Here is an example of creating a SD card suitable for Max configuration:
git clone https://github.com/voipac/imx6tinyrex_bin_linux cd imx6tinyrex_bin_linux/ sudo ./fsl-sdcard-partition.sh -max /dev/mmcblk0
Starting DHCP server
The boards were mainly operated through SSH sessions. Thus it is very useful to have the same IP address during the whole process. The easiest way to do so is to run DHCP server on the controlling computer. To allow boards using the same address enable persistent leases with a long duration (2880 min used below):
Preserving SSH session
To minimise the possibility of results being affected, the control computer was disconnected and taken outside of the test chamber (after the board was setup).
When Ethernet cable connected to a board is disconnected, Linux terminates all the processes started within SSH sessions by default. Screen command allows to keep these sessions running. This command allow tasks to continue even if the cable is unplugged (and Ethernet loopback is plugged right away). It is important to make sure the filesystem includes this command:
sudo apt-get install screen
Running the script
Plug the board into mains and connect to it via SSH session. Screen environment is opened:
screen -S tinyrex
Testing scripts command consists of following arguments
- the first parameter - version of tested board (-max, -pro or -basic)
- the second parameter - USB drive 1 location
- the third parameter - USB drive 2 location
- the fourth parameter - SD card location
Several commands which were used during EMC testing are shown below:
- iMX8MQ Development Kit Pro:
./imx8mq-voipac-peripheral-test.sh -pro sda1 sdb1 mmcblk1p1 | tee -i imx8mq-emc-testing.log
- iMX8MQ Development Kit Max:
./imx8mq-voipac-peripheral-test.sh -max sda1 sdb1 mmcblk1p1 | tee -i imx8mq-emc-testing.log
- iMX8MQ Development Kit Basic:
./imx8mq-voipac-peripheral-test.sh -basic -n sda1 sdb1 mmcblk1p1 | tee -i imq8mq-emc-testing.log
The complete script can be found in [1]