Difference between revisions of "iMX8M Industrial EMC testing"

From Voipac Wiki
Jump to navigation Jump to search
 
(121 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[Category:iMX8M Industrial Development Kit]]
 
[[Category:iMX8M Industrial Development Kit]]
 +
[[Category:iMX8M Industrial Development Kit Testing]]
 
<!-- -->
 
<!-- -->
 
<div style="float:right">__TOC__</div>
 
<div style="float:right">__TOC__</div>
Line 5: Line 6:
 
Electromagnetic compatibility results for iMX8M Industrial Development Kit are presented on this page. Test setup and scripts are described in details.<br />
 
Electromagnetic compatibility results for iMX8M Industrial Development Kit are presented on this page. Test setup and scripts are described in details.<br />
  
These tests were performed in the certified EMC chamber facility and as a result the [https://downloads.voipac.com/files/iMX8M_Industrial_Development_Kit/module/documents/EMC_certification/iMX8M_Industrial_Development_Kit-EMC_certificate_with_conformity_assessment_and_test_reports.pdf EMC certificate with conformity assessment and test reports] were granted.
+
These tests were performed with setups using the standard hardware and software configurations of the web shop development kits.
  
These measurements were performed with setups using the actual hardware and software configurations of the web shop development kits.
+
The certificate measurements were carried out on the iMX8M Industrial Development Kit in Pro version as this configuration delivers the best price-performance ratio and is the most popular amongst the customers. Other configurations - Max and Basic were also tested both passing the EMC radiated and conducted emmissions Class B norm. As the differences in the results were negligible, this web page focuses on the certificated measurements of the [https://www.voipac.com/imx8m-industrial-development-kit-pro Pro configuration] of the development kit.
 +
 
 +
The certificate document contains numerous different measurement as described in the ETSI EMC standards. This wiki page highlights and discuses only the most important results. All the details can be found in the EMC certificate and [https://downloads.voipac.com/index.php?p=iMX8M_Industrial_Development_Kit/module/documents/EMC_certification dedicated downloads folder].
 +
 
 +
The measurements were performed in an accredited test laboratory. After passing all the requirements described in the harmonised standard ETSI EN 301 489-17, the [https://downloads.voipac.com/files/iMX8M_Industrial_Development_Kit/module/documents/EMC_certification/iMX8M_Industrial_Development_Kit-EMC_certificate_with_conformity_assessment_and_test_reports.pdf EMC certificate with conformity assessment and test reports]  was issued for the iMX8M Industrial Development Kit.
  
 
== Connected cables/devices ==
 
== Connected cables/devices ==
 
* '''Power source:''' [https://www.voipac.com/power-supply-5v-40w +5V 40W power supply] used for input voltage
 
* '''Power source:''' [https://www.voipac.com/power-supply-5v-40w +5V 40W power supply] used for input voltage
 
* '''Storage device:''' eMMC Flash memory soldered on module used for booting, filesystem operation and script storage
 
* '''Storage device:''' eMMC Flash memory soldered on module used for booting, filesystem operation and script storage
* '''Ethernet:''' 1m long CAT Ethernet [https://kb.juniper.net/InfoCenter/index?page=content&id=KB22174 loopback cable] connected. Forced to 100Mbps and used for ping test
+
* '''Ethernet:''' 1m long CAT Ethernet [https://supportportal.juniper.net/s/article/EX-How-to-link-up-Juniper-Ethernet-switching-GbE-copper-port-by-RJ45-loopback-connector?language=en_US loopback cable] connected. Forced to 100Mbps and used for ping test
 
* one of these '''video output''' options was used at a time:
 
* one of these '''video output''' options was used at a time:
** '''DisplayPort (M) interface used with LCD monitor connected:''' Full-HD output video stream generated and sent to LCD monitor via 1.5m long DisplayPort cable, with ferrite beads added (P/N: Würth Elektronik 742 711 32). The output signal forced to be continuously generated, contributing to EMC spectrum, monitor was plugged into mains, turned on, and laid flat on the floor to minimise its affect on results. Used LCD monitor: 24" LG LG24BK550Y 1920×1080 px
+
** '''DisplayPort (M) interface used with LCD monitor connected:''' Full-HD output video stream generated and sent to LCD monitor via 1.5m long DisplayPort cable, with ferrite beads added (Würth Elektronik P/N: 742 711 32). The output signal forced to be continuously generated, contributing to EMC spectrum, monitor was plugged into mains, turned on, and laid flat on the floor to minimise its impact on results. Used LCD monitor: 24" LG LG24BK550Y 1920×1080 px
** '''HDMI interface used with LCD monitor connected:''' Full-HD output video stream generated and sent to LCD monitor via 1.5m long HDMI cable, with ferrite beads added (P/N: Würth Elektronik 742 758 15). The output signal forced to be continuously generated, contributing to EMC spectrum, monitor was plugged into mains, turned on, and laid flat on the floor to minimise its affect on results. Used LCD monitor: 24" LG LG24BK550Y 1920×1080 px
+
** '''HDMI interface used with LCD monitor connected:''' Full-HD output video stream generated and sent to LCD monitor via 1.5m long HDMI cable, with ferrite beads added (Würth Elektronik P/N: 742 758 15). The output signal forced to be continuously generated, contributing to EMC spectrum, monitor was plugged into mains, turned on, and laid flat on the floor to minimise its impact on results. Used LCD monitor: 24" LG LG24BK550Y 1920×1080 px
** '''LCD Display:''' [https://www.voipac.com/newhaven-lvds-capacitive-display-set Newhaven LVDS Capacitive Display Set] with 1024x600 resolution. LCD P/N: NHD-10.1-1024600MB-LSXV-CTP
+
** '''LCD Display:''' [https://www.voipac.com/newhaven-lvds-capacitive-display-set Newhaven LVDS Capacitive Display Set] with 1024x600 px resolution. The display was mounted on top of the development kit with metal standoffs, active and displaying continued video stream coming from the camera thus contributing to EMC spectrum. LCD P/N: NHD-10.1-1024600MB-LSXV-CTP
 
* '''2x USB 3.0:''' SanDisk Ultra Flair 16GB USB 3.2 Gen 1, each connected through a 1m long USB 3.2 Gen 1 extension cable (Molex P/N: 0687890035). Both used during read/write test
 
* '''2x USB 3.0:''' SanDisk Ultra Flair 16GB USB 3.2 Gen 1, each connected through a 1m long USB 3.2 Gen 1 extension cable (Molex P/N: 0687890035). Both used during read/write test
 
* '''USB-C:''' Kingston DataTraveler 80 32GB USB 3.2 Gen 1, connected through USB-C extension cable (Cable P/N: FCR72003)
 
* '''USB-C:''' Kingston DataTraveler 80 32GB USB 3.2 Gen 1, connected through USB-C extension cable (Cable P/N: FCR72003)
* '''Camera:''' [https://www.voipac.com/digilent-mipi-csi-camera-set Digilent MIPI-CSI Camera Set] plugged to the baseboard, recognised by the kernel, not actively used during testing. Ferrite bead added close to the camera module (P/N: Würth Elektronik 742 721 1)
+
* '''Camera:''' [https://www.voipac.com/digilent-mipi-csi-camera-set Digilent MIPI-CSI Camera Set] plugged to the baseboard, recognised by the kernel, active and capturing video stream. Ferrite bead added on the ribbon cable connecting the kit and the camera module (Würth Elektronik P/N: 742 721 1)
* '''CAN:''' [https://www.voipac.com/can-bus-module CANbus Module] inserted, but not actively used. CAN cable not connected
+
* '''CAN:''' [https://www.voipac.com/can-bus-module CANbus Module] inserted, not actively used during testing. CAN cable not connected
* '''WiFi and Bluetooth:''' Soldered directly on COM, placed in active scanning and discoverable mode, contributing to EMC spectrum. Depending on the temperature range, the default SPB228-D-3 or alternative CM-276NF module populated. [https://www.voipac.com/wifi-and-bluetooth-antennas-set Two antennas] plugged and connected
+
* '''WiFi and Bluetooth:''' Soldered directly on COM, placed in active scanning and discoverable mode, contributing to EMC spectrum. Depending on the temperature range, the default CM-276NF or alternative SPB228-D-3 module was populated. [https://www.voipac.com/wifi-and-bluetooth-antennas-set Two antennas] plugged in and connected
 
* '''Console cable:''' Micro USB extension cable used only to setup the development kit, not plugged in during the measurements
 
* '''Console cable:''' Micro USB extension cable used only to setup the development kit, not plugged in during the measurements
 
* '''SD card:''' SD card (SanDisk) plugged in and used during read/write test
 
* '''SD card:''' SD card (SanDisk) plugged in and used during read/write test
 
* '''Microphone:''' Microphone connected via 1.5m long cable, not actively used
 
* '''Microphone:''' Microphone connected via 1.5m long cable, not actively used
 
* '''Headphones:''' Headphones connected via 2m long cable, not actively used
 
* '''Headphones:''' Headphones connected via 2m long cable, not actively used
* '''Speakers:''' Line Out connected via 2m long cable, not actively used
+
* '''Speakers:''' Line Out connected via 2m long cable, plugged into the mains and not actively used
 
<br />
 
<br />
  
[[image:iMX8M Industrial Development Kit-EMC overview.png|800px]]
+
[[image:iMX8M Industrial Development Kit-EMC overview.jpg|800px]]
  
 
== Testing conditions and results ==
 
== Testing conditions and results ==
All the results were measured in compliance with the emission limits for FCC Class B (EMC standard EN 55032B). Class B devices are suitable for both residential and industrial applications as the norm standards use more restrictive limits.
+
All the results were measured in compliance with the emission limits for FCC / ETSI Class B (EMC standards EN 55032B and EN 61000). Class B devices are suitable for both residential and industrial applications as the norm standards use more restrictive limits.
  
===  iMX8M Industrial Development Kit Max - Module and peripherals under heavy load – PASSED ===
+
===  iMX8M Industrial Development Kit Pro - Testing peripherals and external LCD display – PASSED ===
 
'''''Test description:'''''
 
'''''Test description:'''''
* development kit configuration:
+
* development kit in standard webshop Pro configuration:
** iMX8M Industrial Module Max in Industrial temperature range
+
** iMX8M Industrial Module Pro in Commercial temperature range
** iMX8M Development Baseboard in Extended temperature range
+
** iMX Development Baseboard in Extended temperature range
 
* CPU heavy testing threads using stressapptest
 
* CPU heavy testing threads using stressapptest
 
* DDR4 memory heavy testing threads using stressapptest
 
* DDR4 memory heavy testing threads using stressapptest
 
* Ethernet loopback cable used for network testing
 
* Ethernet loopback cable used for network testing
 
* running heavy read/write testing for USB devices and SD card
 
* running heavy read/write testing for USB devices and SD card
 +
* [https://www.voipac.com/digilent-mipi-csi-camera-set Digilent MIPI-CSI Camera Set] capturing video stream
 +
* [https://www.voipac.com/newhaven-lvds-capacitive-display-set LCD Newhaven LVDS Capacitive Display Set] actively used
 +
* [https://www.voipac.com/wifi-and-bluetooth-antennas-set two antennas with cables] actively used
 
* cables and devices plugged in but not actively used:
 
* cables and devices plugged in but not actively used:
** [https://www.voipac.com/wifi-and-bluetooth-antennas-set two antennas with cables]
+
** USB-C
* [[#Peripherals heavy testing script|peripherals heavy testing script]] used
+
** Audio jacks
 +
* [[#Peripherals heavy testing script|peripherals heavy testing script]] used<br /><br />
 +
[[image:iMX8M Industrial Development Kit-EMC RE-LCD display Digilent camera.jpg|800px]]
  
 
==== Radiated Emissions ====
 
==== Radiated Emissions ====
Both vertical and horizontal polarisation results in range from 30MHz to 1GHz were measured and captured during this EMC test session. Radiated emissions were measured and displayed as peak values. This relation is represented as a green curve in the measurements. The red highlighted line displays Class B limits. The Bilog antenna CBL6112A operating in range from 30MHz to 2GHz was used.<br /><br />
+
The measurement starts with peak detection by scanning the whole frequency spectrum. This initial detection is plotted with the red curve. Afterwards the highest peaks were pointed and measured more thoroughly by quasi-peak method. These real measured values of the radiation are displayed with the red crosses. The graph shows the setup passed the strict residential 55032-B limit represented by the red highlighted line.<br />
[[image:iMX8M Industrial_EMC_Modul6_Only_Test.jpg|800px]]<br /><br />
+
 
 +
These results prove that iMX8M Industrial Development Kit, even under heavy load, meets the stricter limits even if no enclosure is used.
 +
 
 +
==== Radiated emissions in lower band 30MHz - 1GHz ====
 +
'''''Antenna used:''''' ETS Lindgren 3143B BiConiLog Antenna 30 MHz to 1GHz<br />
 +
{|style="text-align:center;"
 +
| style="width: 49%; width:396px; border:1px solid black;" |<br />[[image:iMX8M_Industrial_Development_Kit-EMC_RE-HorPol_30MHz_1GHz-LCD_display.jpg|370px]]<br /><br />
 +
| style="width: 2%;" |<br />
 +
| style="width: 49%;width:396px; border:1px solid black;" |<br />[[image:iMX8M_Industrial_Development_Kit-EMC_RE-VerPol_30MHz_1GHz-LCD_display.jpg|370px]]<br /><br />
 +
|-
 +
|[https://downloads.voipac.com/files/iMX8M_Industrial_Development_Kit/module/documents/EMC_certification/iMX8M_Industrial_Development_Kit-EMC-RE_30MHz-1GHz_Hor_Pol-Heavy_CPU_memory_stress_test%2BAudio%2BUSB-C%2BNHD_display%2BUSB3%2BMIPI_camera.pdf Horizontal polarisation]
 +
|<br />
 +
|[https://downloads.voipac.com/files/iMX8M_Industrial_Development_Kit/module/documents/EMC_certification/iMX8M_Industrial_Development_Kit-EMC-RE_30MHz-1GHz_Ver_Pol-Heavy_CPU_memory_stress_test%2BAudio%2BUSB-C%2BNHD_display%2BUSB3%2BMIPI_camera.pdf Vertical polarisation]
 +
|}<br />
 +
 
 +
==== Radiated emissions in higher band 1GHz - 6GHz ====
 +
Two plots displaying the power density are used to show results in higher bands. Similar to lower frequencies red curve represents quasi-peak values. Class B limits applied for quasi-peak measurements are plotted as the higher placed red line ''55032,RF,1-6GHZ,PK,B.LIN''.<br />
 +
Green curve depicts average-power values. Threshold for average-power measurement is shown with the lower placed limit line called ''55032,RF,1-6GHZ,AV,B.LIN''.<br />
 +
 
 +
'''''Antenna used:''''' ETS Lindgren 3119 Horn Antenna 400MHz to 6GHz<br />
 +
'''''Note:''''' Emissions in the 2.4 and 5 GHz band are part of the working frequency band, they will be disregarded from the evaluation of results.<br />
 +
 
 +
{|style="text-align:center;"
 +
| style="width: 49%; width:396px; border:1px solid black;" |<br />[[image:iMX8M_Industrial_Development_Kit-EMC_RE-HorPol_1GHz_6GHz-LCD_display.jpg|370px]]<br /><br />
 +
| style="width: 2%;" |<br />
 +
| style="width: 49%;width:396px; border:1px solid black;" |<br />[[image:iMX8M_Industrial_Development_Kit-EMC_RE-VerPol_1GHz_6GHz-LCD_display.jpg|370px]]<br /><br />
 +
|-
 +
|[https://downloads.voipac.com/files/iMX8M_Industrial_Development_Kit/module/documents/EMC_certification/iMX8M_Industrial_Development_Kit-EMC-RE_1GHz-6GHz_Hor_Pol-Heavy_CPU_memory_stress_test%2BAudio%2BUSB-C%2BNHD_display%2BUSB3%2BMIPI_camera.pdf Horizontal polarisation]
 +
|<br />
 +
|[https://downloads.voipac.com/files/iMX8M_Industrial_Development_Kit/module/documents/EMC_certification/iMX8M_Industrial_Development_Kit-EMC-RE_1GHz-6GHz_Ver_Pol-Heavy_CPU_memory_stress_test%2BAudio%2BUSB-C%2BNHD_display%2BUSB3%2BMIPI_camera.pdf Vertical polarisation]
 +
|}<br />
  
 
==== Conducted Emissions ====
 
==== Conducted Emissions ====
[[image:iMX8M Industrial_EMC_Modul6_Only_Test_Conductive.jpg|800px]]<br /><br />
+
The measurement was performed by a clamp indirect method.<br />
 +
Enhanced input power protection on the iMX Development Baseboard does not allow direct line impedance stabilisation network (LISN) method to be used.<br /><br />
 +
[[image:iMX8M_Industrial_Development_Kit-EMC_CE.jpg|800px]]<br /><br />
  
===  iMX8M Industrial Development Kit Basic - Testing peripherals and external LCD display – PASSED ===
+
===  iMX8M Industrial Development Kit Pro - Testing module and DisplayPort output - PASSED ===
 
'''''Test description:'''''
 
'''''Test description:'''''
* development kit configuration:
+
* development kit in standard webshop Pro configuration:
** iMX8M Industrial Module Basic in Industrial temperature range
+
** iMX8M Industrial Module Pro in Commercial temperature range
** iMX8M Development Baseboard in Extended temperature range
+
** iMX Development Baseboard in Extended temperature range
 
* CPU heavy testing threads using stressapptest
 
* CPU heavy testing threads using stressapptest
 
* DDR4 memory heavy testing threads using stressapptest
 
* DDR4 memory heavy testing threads using stressapptest
 
* Ethernet loopback cable used for network testing
 
* Ethernet loopback cable used for network testing
 
* running heavy read/write testing for USB devices and SD card
 
* running heavy read/write testing for USB devices and SD card
* [https://www.voipac.com/newhaven-lvds-capacitive-display-set LCD Newhaven LVDS Capacitive Display Set] actively used
+
* [https://www.voipac.com/digilent-mipi-csi-camera-set Digilent MIPI-CSI Camera Set] capturing video stream
 +
* DisplayPort output tested in Full-HD 1920x1080 resolution
 +
* [https://www.voipac.com/wifi-and-bluetooth-antennas-set two antennas with cables] actively used
 
* cables and devices plugged in but not actively used:
 
* cables and devices plugged in but not actively used:
** [https://www.voipac.com/digilent-mipi-csi-camera-set Digilent MIPI-CSI Camera Set]
+
** [https://www.voipac.com/can-bus-module CANbus Module]
** [https://www.voipac.com/wifi-and-bluetooth-antennas-set two antennas with cables]
 
 
** USB-C
 
** USB-C
 
** Audio jacks
 
** Audio jacks
* [[#Peripherals heavy testing script|peripherals heavy testing script]] used<br /><br />
+
** JTAG programmer
[[image:iMX8M Industrial NH EMC.jpg|800px]]
+
* [[#Module heavy testing script|module heavy testing script]] used<br /><br />
 +
 
 +
[[image:iMX8M_Industrial_Development_Kit-EMC_RE-DisplayPort.jpg|800px]]
  
 
==== Radiated Emissions ====
 
==== Radiated Emissions ====
The measurement starts with peak detection by scanning the whole frequency spectrum. This initial detection is plotted with the green curve at MES_EN_55032-B_pre_PK. Afterwards the five highest peaks were pointed and measured more thoroughly by quasi-peak method. These real measured values of the radiation are displayed with the red crosses at MES_EN_55032-B_fin_QP. The graph shows the setup passed the strict residential 55032-B limit represented by the red highlighted line.<br />
+
The measurement starts with peak detection by scanning the whole frequency spectrum. This initial detection is plotted with the red curve. Afterwards the highest peaks were pointed and measured more thoroughly by quasi-peak method. These real measured values of the radiation are displayed with the red crosses. The graph shows the setup passed the strict residential 55032-B limit represented by the red highlighted line.<br />
 
 
The frequency spectrum around 30 MHz was heavily influenced by the power adapter used during this test. Further examination proved that input power sources emitting less noise lead to overall more superior results.<br />
 
  
 
These results prove that iMX8M Industrial Development Kit, even under heavy load, meets the stricter limits even if no enclosure is used.
 
These results prove that iMX8M Industrial Development Kit, even under heavy load, meets the stricter limits even if no enclosure is used.
  
==== Vertical + Horizontal polarisation in lower band 30MHz - 1GHz ====
+
==== Radiated emissions in lower band 30MHz - 1GHz ====
'''''Antenna used:''''' Bilog CBL6112A 30 MHz to 2GHz<br /><br />
+
'''''Antenna used:''''' ETS Lindgren 3143B BiConiLog Antenna 30 MHz to 1GHz<br />
[[image:iMX8M Industrial NH LVDS LCD USB Audio Camera Module 2.jpg|800px]]
+
'''''Note:''''' Results in higher band 1GHz - 6GHz were very similar to the measurements performed on the [[#Radiated emissions in higher band 1GHz - 6GHz|previous]] testing setup
 
+
{|style="text-align:center;"
==== Vertical + Horizontal polarisation in higher band 1GHz - 6GHz ====
+
| style="width: 49%; width:396px; border:1px solid black;" |<br />[[image:iMX8M_Industrial_Development_Kit-EMC_RE-HorPol_30MHz_1GHz-DisplayPort.jpg|370px]]<br /><br />
'''''Antenna used:''''' Double-Ridged Waveguide Horn Antenna 1GHz to 18GHz<br /><br />
+
| style="width: 2%;" |<br />
[[image:iMX8M_Industrial_Basic-Radiated_emissions_1-6GHz.png]]
+
| style="width: 49%;width:396px; border:1px solid black;" |<br />[[image:iMX8M_Industrial_Development_Kit-EMC_RE-VerPol_30MHz_1GHz-DisplayPort.jpg|370px]]<br /><br />
 
+
|-
==== Conducted Emissions ====
+
|[https://downloads.voipac.com/files/iMX8M_Industrial_Development_Kit/module/documents/EMC_certification/iMX8M_Industrial_Development_Kit-EMC-RE_30MHz-1GHz_Hor_Pol-Heavy_CPU_memory_stress_test%2BAudio%2BUSB-C%2BDisplayPort_with_ferrite_beads%2BUSB3%2BMIPI_camera%2BCAN%2BJTAG.pdf Horizontal polarisation]
[[image:iMX8M Industrial NH LVDS Module 2 Conductive.jpg|800px]]<br /><br />
+
|<br />
 +
|[https://downloads.voipac.com/files/iMX8M_Industrial_Development_Kit/module/documents/EMC_certification/iMX8M_Industrial_Development_Kit-EMC-RE_30MHz-1GHz_Ver_Pol-Heavy_CPU_memory_stress_test%2BAudio%2BUSB-C%2BDisplayPort_with_ferrite_beads%2BUSB3%2BMIPI_camera%2BCAN%2BJTAG.pdf Vertical polarisation]
 +
|}<br />
  
===  iMX8M Industrial Development Kit Max - Testing module and DisplayPort output - PASSED ===
+
===  iMX8M Industrial Development Kit Pro - Testing module and HDMI output - PASSED ===
 
'''''Test description:'''''
 
'''''Test description:'''''
* development kit configuration:
+
* development kit in standard webshop Pro configuration:
** iMX8M Industrial Module Max in Industrial temperature range
+
** iMX8M Industrial Module Pro in Commercial temperature range
** iMX8M Development Baseboard in Extended temperature range
+
** iMX Development Baseboard in Extended temperature range
 
* CPU heavy testing threads using stressapptest
 
* CPU heavy testing threads using stressapptest
 
* DDR4 memory heavy testing threads using stressapptest
 
* DDR4 memory heavy testing threads using stressapptest
 
* Ethernet loopback cable used for network testing
 
* Ethernet loopback cable used for network testing
* DisplayPort output tested in Full-HD 2560x1080 resolution
+
* running heavy read/write testing for USB devices and SD card
 +
* [https://www.voipac.com/digilent-mipi-csi-camera-set Digilent MIPI-CSI Camera Set] capturing video stream
 +
* HDMI output tested in Full-HD 1920x1080 resolution
 +
* [https://www.voipac.com/wifi-and-bluetooth-antennas-set two antennas with cables] actively used
 
* cables and devices plugged in but not actively used:
 
* cables and devices plugged in but not actively used:
** [https://www.voipac.com/digilent-mipi-csi-camera-set Digilent MIPI-CSI Camera Set]
 
** [https://www.voipac.com/wifi-and-bluetooth-antennas-set two antennas with cables]
 
 
** USB-C
 
** USB-C
 
** Audio jacks
 
** Audio jacks
** 2x USB 3.0
 
 
* [[#Module heavy testing script|module heavy testing script]] used<br /><br />
 
* [[#Module heavy testing script|module heavy testing script]] used<br /><br />
[[image:iMX8M Industrial DP EMC Table.jpg|800px]]
 
  
 
==== Radiated Emissions ====
 
==== Radiated Emissions ====
The measurement starts with peak detection by scanning the whole frequency spectrum. This initial detection is plotted with the green curve at MES_EN_55032-B_pre_PK. Afterwards the five highest peaks were pointed and measured more thoroughly by quasi-peak method. These real measured values of the radiation are displayed with the red crosses at MES_EN_55032-B_fin_QP. The graph shows the setup passed the strict residential 55032-B limit represented by the red highlighted line.<br />
+
The measurement starts with peak detection by scanning the whole frequency spectrum. This initial detection is plotted with the red curve. Afterwards the highest peaks were pointed and measured more thoroughly by quasi-peak method. These real measured values of the radiation are displayed with the red crosses. The graph shows the setup passed the strict residential 55032-B limit represented by the red highlighted line.<br />
 +
 
 +
These results prove that iMX8M Industrial Development Kit, even under heavy load, meets the stricter limits even if no enclosure is used.
 +
 
 +
==== Radiated emissions in lower band 30MHz - 1GHz ====
 +
'''''Antenna used:''''' ETS Lindgren 3143B BiConiLog Antenna 30 MHz to 1GHz<br />
 +
'''''Note:''''' Results in higher band 1GHz - 6GHz were very similar to the measurements performed on the [[#Radiated emissions in higher band 1GHz - 6GHz|previous]] testing setup
 +
{|style="text-align:center;"
 +
| style="width: 49%; width:396px; border:1px solid black;" |<br />[[image:iMX8M_Industrial_Development_Kit-EMC_RE-HorPol_30MHz_1GHz-HDMI.jpg|370px]]<br /><br />
 +
| style="width: 2%;" |<br />
 +
| style="width: 49%;width:396px; border:1px solid black;" |<br />[[image:iMX8M_Industrial_Development_Kit-EMC_RE-VerPol_30MHz_1GHz-HDMI.jpg|370px]]<br /><br />
 +
|-
 +
|[https://downloads.voipac.com/files/iMX8M_Industrial_Development_Kit/module/documents/EMC_certification/iMX8M_Industrial_Development_Kit-EMC-RE_30MHz-1GHz_Hor_Pol-Heavy_CPU_memory_stress_test%2BAudio%2BUSB-C%2BHDMI_with_ferrite_beads%2BUSB3.pdf Horizontal polarisation]
 +
|<br />
 +
|[https://downloads.voipac.com/files/iMX8M_Industrial_Development_Kit/module/documents/EMC_certification/iMX8M_Industrial_Development_Kit-EMC-RE_30MHz-1GHz_Ver_Pol-Heavy_CPU_memory_stress_test%2BAudio%2BUSB-C%2BHDMI_with_ferrite_beads%2BUSB3.pdf Vertical polarisation]
 +
|}<br />
 +
 
 +
=== Immunity - Radio frequency electromagnetic field 80MHz - 6GHz ===
 +
[[image:iMX8M_Industrial_Development_Kit-EMC_Immunity-RF_EM_Field.jpg|800px]]
 +
 
 +
{| class="wikitable" style="text-align:center;"
 +
!colspan="2"| !! colspan="4" style="text-align:right;"|Test results / EUT side exposure results
 +
|-
 +
!Frequency range<br />(MHz) !! Antenna<br />polarization !! Front !! Back !! Left !! Right
 +
|-
 +
|80 – 1000 || V || PASS || PASS || PASS || PASS
 +
|-
 +
|1000 – 6000 (*) || V || PASS || PASS || PASS || PASS
 +
|-
 +
|80 – 1000 || H || PASS || PASS || PASS || PASS
 +
|-
 +
|1000 – 6000 (*) || H || PASS || PASS || PASS || PASS
 +
|}
 +
 
 +
'''''Note (*):''''' The exclusion bands are applicable in this frequency range.
 +
 
 +
===  Conducted emission - wired network ports ===
 +
[[image:iMX8M_Industrial_Development_Kit-EMC_CE-Network_wire_port.jpg|800px]]
  
The frequency spectrum around 30 MHz was heavily influenced by the power adapter used during this test. Further examination proved that input power sources emitting less noise lead to overall more superior results.<br />
+
{|style="text-align:center;"
 +
| style="width: 49%; width:396px; border:1px solid black;" |<br />[[image:iMX8M_Industrial_Development_Kit-EMC_CE-Network_wire_port-Results.jpg|370px]]<br /><br />
 +
| style="width: 51%;" |<br />
 +
|}<br />
  
These results prove that iMX8M Industrial Development Kit, even under heavy load, meets the stricter limits even if no enclosure is used.
+
=== Immunity - Electrostatic discharge ===
 +
[[image:iMX8M_Industrial_Development_Kit-EMC_Immunity-ESD.jpg|800px]]
  
==== Vertical + Horizontal polarisation in lower band 30MHz - 1GHz ====
+
{| class="wikitable" style="text-align:center;"
'''''Antenna used:''''' Bilog CBL6112A 30 MHz to 2GHz<br /><br />
+
!Discharge type !! Discharge<br />level<br />(kV) !! Discharge<br />location !! Number of discharges<br />per location for each<br />polarity<br />(number of locations) !! Performance<br />criterion !! Test result
[[image:iMX8M Industrial_EMC_Modul6_DisplayPort_Audio_USB_CAN.jpg|800px]]<br /><br />
+
|-
 +
| Direct air discharge || ±8 || Non metallic parts || 10 (17) || B || PASS
 +
|-
 +
| Direct contact discharge || ±4  || Metallic parts || 10 (9) || B || PASS
 +
|-
 +
| Indirect contact discharge || ±4  || HCP - Front || 10 || B || PASS
 +
|-
 +
| Indirect contact discharge || ±4  || HCP - Left || 10 || B || PASS
 +
|-
 +
| Indirect contact discharge || ±4  || HCP - Right || 10 || B || PASS
 +
|-
 +
| Indirect contact discharge || ±4  || HCP - Rear || 10 || B || PASS
 +
|-
 +
| Indirect contact discharge || ±4  || VCP - Front || 10 || B || PASS
 +
|-
 +
| Indirect contact discharge || ±4  || VCP - Left || 10 || B || PASS
 +
|-
 +
| Indirect contact discharge || ±4  || VCP - Right || 10 || B || PASS
 +
|-
 +
| Indirect contact discharge || ±4  || VCP - Rear || 10 || B || PASS
 +
|}
  
==== Vertical + Horizontal polarisation in higher band 1GHz - 6GHz ====
+
'''''Note (*):''''' The EUT was without exposed conductive surfaces.<br />
'''''Antenna used:''''' Double-Ridged Waveguide Horn Antenna 1GHz to 18GHz<br /><br />
+
'''''Abbreviation:''''' HCP - Horizontal coupling plane<br />
[[image:iMX8M_Industrial_Max-Radiated_emissions_1-6GHz.png]]
+
'''''Abbreviation:''''' VCP - Vertical coupling plane<br />
  
 
== Preparing the test ==
 
== Preparing the test ==
Line 141: Line 246:
 
* the fourth parameter - SD card location
 
* the fourth parameter - SD card location
 
<br />
 
<br />
Several commands used during EMC testing are shown below:
+
One of these commands can be used during EMC testing as shown below:
  
 
* iMX8M Industrial Development Kit Max:
 
* iMX8M Industrial Development Kit Max:
Line 158: Line 263:
 
== Testing scripts ==
 
== Testing scripts ==
 
=== Peripherals heavy testing script ===
 
=== Peripherals heavy testing script ===
This code was used during the measurements, focusing on peripherals influence on the emissions. The complete script can also be found in [https://downloads.voipac.com/files/iMX8M_Industrial_Development_Kit/module/documents/EMC_radiated_emission/imx8m-voipac-peripheral-test.sh the downloads section].
+
This code was used during the measurements, focusing on peripherals influence on the emissions. The complete script can also be found in [https://downloads.voipac.com/files/iMX8M_Industrial_Development_Kit/module/documents/EMC_certification/imx8m-voipac-peripheral-test.sh the downloads section].
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
#!/bin/sh
 
#!/bin/sh
Line 229: Line 334:
 
trap finish_test_now 2
 
trap finish_test_now 2
 
   
 
   
# play a video stream from HDMI input - testing also HDMI output
+
# play video stream
 
gst-launch-1.0 -q imxv4l2src ! autovideosink &
 
gst-launch-1.0 -q imxv4l2src ! autovideosink &
 
   
 
   
# stressapptest - one thread CPU, one thread memory, sata thread (if possible)
+
# stressapptest - CPU threads and RAM memory threads
 
if [ "${basic}" -eq "1" ]; then
 
if [ "${basic}" -eq "1" ]; then
 
   stress-ng --cpu 2 --vm 4 &
 
   stress-ng --cpu 2 --vm 4 &
Line 339: Line 444:
 
echo "End"
 
echo "End"
 
done
 
done
 +
</syntaxhighlight>
 +
 +
=== Starting camera capture ===
 +
To initiate the Digilent camera to start the recording of video stream, following command can be used:
 +
<syntaxhighlight lang="bash">
 +
GST_DEBUG=GST_BUFFER:5 gst-launch-1.0 v4l2src device=/dev/video1 ! 'video/x-raw,framerate=30/1' ! autovideosink
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 14:51, 11 September 2024

Electromagnetic compatibility results for iMX8M Industrial Development Kit are presented on this page. Test setup and scripts are described in details.

These tests were performed with setups using the standard hardware and software configurations of the web shop development kits.

The certificate measurements were carried out on the iMX8M Industrial Development Kit in Pro version as this configuration delivers the best price-performance ratio and is the most popular amongst the customers. Other configurations - Max and Basic were also tested both passing the EMC radiated and conducted emmissions Class B norm. As the differences in the results were negligible, this web page focuses on the certificated measurements of the Pro configuration of the development kit.

The certificate document contains numerous different measurement as described in the ETSI EMC standards. This wiki page highlights and discuses only the most important results. All the details can be found in the EMC certificate and dedicated downloads folder.

The measurements were performed in an accredited test laboratory. After passing all the requirements described in the harmonised standard ETSI EN 301 489-17, the EMC certificate with conformity assessment and test reports was issued for the iMX8M Industrial Development Kit.

Connected cables/devices

  • Power source: +5V 40W power supply used for input voltage
  • Storage device: eMMC Flash memory soldered on module used for booting, filesystem operation and script storage
  • Ethernet: 1m long CAT Ethernet loopback cable connected. Forced to 100Mbps and used for ping test
  • one of these video output options was used at a time:
    • DisplayPort (M) interface used with LCD monitor connected: Full-HD output video stream generated and sent to LCD monitor via 1.5m long DisplayPort cable, with ferrite beads added (Würth Elektronik P/N: 742 711 32). The output signal forced to be continuously generated, contributing to EMC spectrum, monitor was plugged into mains, turned on, and laid flat on the floor to minimise its impact on results. Used LCD monitor: 24" LG LG24BK550Y 1920×1080 px
    • HDMI interface used with LCD monitor connected: Full-HD output video stream generated and sent to LCD monitor via 1.5m long HDMI cable, with ferrite beads added (Würth Elektronik P/N: 742 758 15). The output signal forced to be continuously generated, contributing to EMC spectrum, monitor was plugged into mains, turned on, and laid flat on the floor to minimise its impact on results. Used LCD monitor: 24" LG LG24BK550Y 1920×1080 px
    • LCD Display: Newhaven LVDS Capacitive Display Set with 1024x600 px resolution. The display was mounted on top of the development kit with metal standoffs, active and displaying continued video stream coming from the camera thus contributing to EMC spectrum. LCD P/N: NHD-10.1-1024600MB-LSXV-CTP
  • 2x USB 3.0: SanDisk Ultra Flair 16GB USB 3.2 Gen 1, each connected through a 1m long USB 3.2 Gen 1 extension cable (Molex P/N: 0687890035). Both used during read/write test
  • USB-C: Kingston DataTraveler 80 32GB USB 3.2 Gen 1, connected through USB-C extension cable (Cable P/N: FCR72003)
  • Camera: Digilent MIPI-CSI Camera Set plugged to the baseboard, recognised by the kernel, active and capturing video stream. Ferrite bead added on the ribbon cable connecting the kit and the camera module (Würth Elektronik P/N: 742 721 1)
  • CAN: CANbus Module inserted, not actively used during testing. CAN cable not connected
  • WiFi and Bluetooth: Soldered directly on COM, placed in active scanning and discoverable mode, contributing to EMC spectrum. Depending on the temperature range, the default CM-276NF or alternative SPB228-D-3 module was populated. Two antennas plugged in and connected
  • Console cable: Micro USB extension cable used only to setup the development kit, not plugged in during the measurements
  • SD card: SD card (SanDisk) plugged in and used during read/write test
  • Microphone: Microphone connected via 1.5m long cable, not actively used
  • Headphones: Headphones connected via 2m long cable, not actively used
  • Speakers: Line Out connected via 2m long cable, plugged into the mains and not actively used


iMX8M Industrial Development Kit-EMC overview.jpg

Testing conditions and results

All the results were measured in compliance with the emission limits for FCC / ETSI Class B (EMC standards EN 55032B and EN 61000). Class B devices are suitable for both residential and industrial applications as the norm standards use more restrictive limits.

iMX8M Industrial Development Kit Pro - Testing peripherals and external LCD display – PASSED

Test description:

  • development kit in standard webshop Pro configuration:
    • iMX8M Industrial Module Pro in Commercial temperature range
    • iMX Development Baseboard in Extended temperature range
  • CPU heavy testing threads using stressapptest
  • DDR4 memory heavy testing threads using stressapptest
  • Ethernet loopback cable used for network testing
  • running heavy read/write testing for USB devices and SD card
  • Digilent MIPI-CSI Camera Set capturing video stream
  • LCD Newhaven LVDS Capacitive Display Set actively used
  • two antennas with cables actively used
  • cables and devices plugged in but not actively used:
    • USB-C
    • Audio jacks
  • peripherals heavy testing script used

iMX8M Industrial Development Kit-EMC RE-LCD display Digilent camera.jpg

Radiated Emissions

The measurement starts with peak detection by scanning the whole frequency spectrum. This initial detection is plotted with the red curve. Afterwards the highest peaks were pointed and measured more thoroughly by quasi-peak method. These real measured values of the radiation are displayed with the red crosses. The graph shows the setup passed the strict residential 55032-B limit represented by the red highlighted line.

These results prove that iMX8M Industrial Development Kit, even under heavy load, meets the stricter limits even if no enclosure is used.

Radiated emissions in lower band 30MHz - 1GHz

Antenna used: ETS Lindgren 3143B BiConiLog Antenna 30 MHz to 1GHz


iMX8M Industrial Development Kit-EMC RE-HorPol 30MHz 1GHz-LCD display.jpg



iMX8M Industrial Development Kit-EMC RE-VerPol 30MHz 1GHz-LCD display.jpg

Horizontal polarisation
Vertical polarisation


Radiated emissions in higher band 1GHz - 6GHz

Two plots displaying the power density are used to show results in higher bands. Similar to lower frequencies red curve represents quasi-peak values. Class B limits applied for quasi-peak measurements are plotted as the higher placed red line 55032,RF,1-6GHZ,PK,B.LIN.
Green curve depicts average-power values. Threshold for average-power measurement is shown with the lower placed limit line called 55032,RF,1-6GHZ,AV,B.LIN.

Antenna used: ETS Lindgren 3119 Horn Antenna 400MHz to 6GHz
Note: Emissions in the 2.4 and 5 GHz band are part of the working frequency band, they will be disregarded from the evaluation of results.


iMX8M Industrial Development Kit-EMC RE-HorPol 1GHz 6GHz-LCD display.jpg



iMX8M Industrial Development Kit-EMC RE-VerPol 1GHz 6GHz-LCD display.jpg

Horizontal polarisation
Vertical polarisation


Conducted Emissions

The measurement was performed by a clamp indirect method.
Enhanced input power protection on the iMX Development Baseboard does not allow direct line impedance stabilisation network (LISN) method to be used.

iMX8M Industrial Development Kit-EMC CE.jpg

iMX8M Industrial Development Kit Pro - Testing module and DisplayPort output - PASSED

Test description:

  • development kit in standard webshop Pro configuration:
    • iMX8M Industrial Module Pro in Commercial temperature range
    • iMX Development Baseboard in Extended temperature range
  • CPU heavy testing threads using stressapptest
  • DDR4 memory heavy testing threads using stressapptest
  • Ethernet loopback cable used for network testing
  • running heavy read/write testing for USB devices and SD card
  • Digilent MIPI-CSI Camera Set capturing video stream
  • DisplayPort output tested in Full-HD 1920x1080 resolution
  • two antennas with cables actively used
  • cables and devices plugged in but not actively used:
  • module heavy testing script used

iMX8M Industrial Development Kit-EMC RE-DisplayPort.jpg

Radiated Emissions

The measurement starts with peak detection by scanning the whole frequency spectrum. This initial detection is plotted with the red curve. Afterwards the highest peaks were pointed and measured more thoroughly by quasi-peak method. These real measured values of the radiation are displayed with the red crosses. The graph shows the setup passed the strict residential 55032-B limit represented by the red highlighted line.

These results prove that iMX8M Industrial Development Kit, even under heavy load, meets the stricter limits even if no enclosure is used.

Radiated emissions in lower band 30MHz - 1GHz

Antenna used: ETS Lindgren 3143B BiConiLog Antenna 30 MHz to 1GHz
Note: Results in higher band 1GHz - 6GHz were very similar to the measurements performed on the previous testing setup


iMX8M Industrial Development Kit-EMC RE-HorPol 30MHz 1GHz-DisplayPort.jpg



iMX8M Industrial Development Kit-EMC RE-VerPol 30MHz 1GHz-DisplayPort.jpg

Horizontal polarisation
Vertical polarisation


iMX8M Industrial Development Kit Pro - Testing module and HDMI output - PASSED

Test description:

  • development kit in standard webshop Pro configuration:
    • iMX8M Industrial Module Pro in Commercial temperature range
    • iMX Development Baseboard in Extended temperature range
  • CPU heavy testing threads using stressapptest
  • DDR4 memory heavy testing threads using stressapptest
  • Ethernet loopback cable used for network testing
  • running heavy read/write testing for USB devices and SD card
  • Digilent MIPI-CSI Camera Set capturing video stream
  • HDMI output tested in Full-HD 1920x1080 resolution
  • two antennas with cables actively used
  • cables and devices plugged in but not actively used:
    • USB-C
    • Audio jacks
  • module heavy testing script used

Radiated Emissions

The measurement starts with peak detection by scanning the whole frequency spectrum. This initial detection is plotted with the red curve. Afterwards the highest peaks were pointed and measured more thoroughly by quasi-peak method. These real measured values of the radiation are displayed with the red crosses. The graph shows the setup passed the strict residential 55032-B limit represented by the red highlighted line.

These results prove that iMX8M Industrial Development Kit, even under heavy load, meets the stricter limits even if no enclosure is used.

Radiated emissions in lower band 30MHz - 1GHz

Antenna used: ETS Lindgren 3143B BiConiLog Antenna 30 MHz to 1GHz
Note: Results in higher band 1GHz - 6GHz were very similar to the measurements performed on the previous testing setup


iMX8M Industrial Development Kit-EMC RE-HorPol 30MHz 1GHz-HDMI.jpg



iMX8M Industrial Development Kit-EMC RE-VerPol 30MHz 1GHz-HDMI.jpg

Horizontal polarisation
Vertical polarisation


Immunity - Radio frequency electromagnetic field 80MHz - 6GHz

iMX8M Industrial Development Kit-EMC Immunity-RF EM Field.jpg

Test results / EUT side exposure results
Frequency range
(MHz)
Antenna
polarization
Front Back Left Right
80 – 1000 V PASS PASS PASS PASS
1000 – 6000 (*) V PASS PASS PASS PASS
80 – 1000 H PASS PASS PASS PASS
1000 – 6000 (*) H PASS PASS PASS PASS

Note (*): The exclusion bands are applicable in this frequency range.

Conducted emission - wired network ports

iMX8M Industrial Development Kit-EMC CE-Network wire port.jpg


iMX8M Industrial Development Kit-EMC CE-Network wire port-Results.jpg



Immunity - Electrostatic discharge

iMX8M Industrial Development Kit-EMC Immunity-ESD.jpg

Discharge type Discharge
level
(kV)
Discharge
location
Number of discharges
per location for each
polarity
(number of locations)
Performance
criterion
Test result
Direct air discharge ±8 Non metallic parts 10 (17) B PASS
Direct contact discharge ±4 Metallic parts 10 (9) B PASS
Indirect contact discharge ±4 HCP - Front 10 B PASS
Indirect contact discharge ±4 HCP - Left 10 B PASS
Indirect contact discharge ±4 HCP - Right 10 B PASS
Indirect contact discharge ±4 HCP - Rear 10 B PASS
Indirect contact discharge ±4 VCP - Front 10 B PASS
Indirect contact discharge ±4 VCP - Left 10 B PASS
Indirect contact discharge ±4 VCP - Right 10 B PASS
Indirect contact discharge ±4 VCP - Rear 10 B PASS

Note (*): The EUT was without exposed conductive surfaces.
Abbreviation: HCP - Horizontal coupling plane
Abbreviation: VCP - Vertical coupling plane

Preparing the test

Boot device and software

These measurements were performed with boards using the actual hardware and software configuration of the web shop development kits.

eMMC Flash memory was selected as a booting device for all the measurements. U-Boot settings were not adjusted as the default configuration was used.

Running the script

Plug the development kit into mains and connect it to the controlling PC via console. Before the first time usage of the script, permissions need to be granted by the following command:

chmod +x imx8m-voipac-peripheral-test.sh


Testing scripts command consists of the following arguments:

  • the first parameter - configuration of tested development kit (Max, Pro or Basic)
  • the second parameter - USB drive 1 location
  • the third parameter - USB drive 2 location
  • the fourth parameter - SD card location


One of these commands can be used during EMC testing as shown below:

  • iMX8M Industrial Development Kit Max:
./imx8m-voipac-peripheral-test.sh -max sda1 sdb1 mmcblk1p1 | tee -i imx8m-emc-testing.log
  • iMX8M Industrial Development Kit Pro:
./imx8m-voipac-peripheral-test.sh -pro sda1 sdb1 mmcblk1p1 | tee -i imx8m-emc-testing.log
  • iMX8M Industrial Development Kit Basic:
./imx8m-voipac-peripheral-test.sh -basic sda1 sdb1 mmcblk1p1 | tee -i imx8m-emc-testing.log

Testing scripts

Peripherals heavy testing script

This code was used during the measurements, focusing on peripherals influence on the emissions. The complete script can also be found in the downloads section.

#!/bin/sh
 
# iMX8M Industrial Development Kit peripheral test
  
mountDevice() {
  mkdir -p "/media/$2"
  mount /dev/$1 /media/$2
  cat /proc/mounts | grep -F "/dev/$1 /media/$2"
  if [ "$?" -eq "0" ]; then
    echo "$2 mounted"
  else
    echo "$2 not mounted"; exit 2
  fi
}
 
# prepare files
cd ~/
mkdir -p imx8m-industrial-testing/
cd imx8m-industrial-testing/
   
touch imx8m-industrial-testing.log
touch cpu-temp.log
 
basic=0
pro=0
max=0
case $1 in
  -basic)  basic=1 ;;
  -pro)  pro=1 ;;
  -max)  max=1 ;;
  *)
esac
  
# mount devices
mountDevice $2 usb0
mountDevice $3 usb1
mountDevice $4 mmc0
 
updateLogFiles() {
  # obtain board ID from IP address - be sure addresses are allocated based on MAC
  boardID=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1 | cut -d'.' -f4 | cut -d'2' -f2);
  # be sure time server is running on DHCP server
  currentTime=`date +%Y-%m-%d.%H:%M`
   
  mv imx8m-industrial-testing.log imx8m-industrial-$boardID-testing.log.$currentTime
  mv cpu-temp.log imx8m-industrial-$boardID-cpu-temp.log.$currentTime
}
 
finish_test_now() {
  echo "$(date +\%Y/\%m/\%d-\%T)($(date +\%Z)) Ctrl+C Detected: End of the test"
  precced=0;
  #kill -INT $vid_pid $str_pid $log_pid;
  sleep 3;
  test_status=`cat imx8m-industrial-testing.log | grep -i "error" | grep -v -e "0 errors" -e "no corrected errors"`
  if [ -z "$test_status" ]
  then
    echo "*********TEST PASS*********"
  else
    echo "*********TEST FAIL*********"
    echo "List of detected errors:"
    cat imx8m-industrial-testing.log | grep -i "error" | grep -v -e "0 errors" -e "no corrected errors" -e "List of detected errors:"
  fi
  updateLogFiles
  exit;
}
  
# kill all processes if Ctrl+C is detected
trap finish_test_now 2
 
# play video stream
gst-launch-1.0 -q imxv4l2src ! autovideosink &
 
# stressapptest - CPU threads and RAM memory threads
if [ "${basic}" -eq "1" ]; then
  stress-ng --cpu 2 --vm 4 &
  str_pid=$!
fi
if [ "${pro}" -eq "1" ]; then
  stress-ng --cpu 4 --vm 4 &
  str_pid=$!
fi
if [ "${max}" -eq "1" ]; then
  stress-ng --cpu 4 --vm 4 &
  str_pid=$!
fi
echo "$(date +\%Y/\%m/\%d-\%T)($(date +\%Z)) Starting stressapptest with PID: " $str_pid
  
proceed=1
# create test files
file1_path=`mktemp`
file2_path=`mktemp`
file1=`basename $file1_path`
file2=`basename $file2_path`

dd if=/dev/urandom of=$file1_path bs=1024 count=10000
dd if=/dev/urandom of=$file2_path bs=1024 count=10000
 
cp1_from="/media/mmc0/"
cp1_to="/media/usb0/"
 
cp2_from="/media/usb0/"
cp2_to="/media/usb1/"
 
#copy files in case they are missing
cp $file1_path $cp1_from
cp $file1_path $cp1_to
cp $file2_path $cp2_from
cp $file2_path $cp2_to
  
while [ $proceed -eq 1 ]
do
  # before running script check if the ip address exist 
  ping -q -c1 192.168.0.2 >> imx8m-industrial-testing.log
  if [ $? -ne 0 ]
  then
    echo "$(date +\%Y/\%m/\%d-\%T)($(date +\%Z)) ERROR: Ping failed"
  else
    echo "$(date +\%Y/\%m/\%d-\%T)($(date +\%Z)) Ping OK"
  fi
  
  cp1_done=`ps | grep $cp1_pid | grep cp`
  if [ -z "$cp1_done" ]; then # copy finished
    if cmp -s $cp1_from$file1 $cp1_to$file1; then
      echo "$(date +\%Y/\%m/\%d-\%T)($(date +\%Z)) PASS: Copying file from $cp1_from to $cp1_to successful"
    else
      echo "$(date +\%Y/\%m/\%d-\%T)($(date +\%Z)) ERROR: Difference between files on $cp1_from and $cp1_to detected"
    fi
    cp1_temp=$cp1_from # swap destinations
    cp1_from=$cp1_to
    cp1_to=$cp1_temp
      
    rm $cp1_to$file1 # remove destination file
      
    cp $cp1_from$file1 $cp1_to$file1 &
    cp1_pid=$!
    echo "$(date +\%Y/\%m/\%d-\%T)($(date +\%Z)) Started copying file from $cp1_from to $cp1_to"
  fi
    
  cp2_done=`ps | grep $cp2_pid | grep cp`
  if [ -z "$cp2_done" ]; then # copy finished
    if cmp -s $cp2_from$file2 $cp2_to$file2; then
      echo "$(date +\%Y/\%m/\%d-\%T)($(date +\%Z)) PASS: Copying file from $cp2_from to $cp2_to successful"
    else
      echo "$(date +\%Y/\%m/\%d-\%T)($(date +\%Z)) ERROR: Difference between files on $cp2_from and $cp2_to detected"
    fi
    cp2_temp=$cp2_from # swap destinations
    cp2_from=$cp2_to
    cp2_to=$cp2_temp
      
    rm $cp2_to$file2 # remove destination file
      
    cp $cp2_from$file2 $cp2_to$file2 &
    cp2_pid=$!
    echo "$(date +\%Y/\%m/\%d-\%T)($(date +\%Z)) Started copying file from $cp2_from to $cp2_to"
  fi
  
done

Module heavy testing script

This script was utilised for testing procedure where the measurement was primarily focused on the module emissions. To use this script, plug the development kit into mains, connect it to controlling PC via console and copy the code below:

for d in $(seq 1 1 999)
do
	uptime
	echo "Test $a Test $b Test $c  $d times"
	echo "Start stress-ng --iomix 1 -t 10 -v"
	stress-ng --iomix 1 -t 10 -v
	echo "End"
	echo "Start Thermal zone information"
	stress-ng --matrix 0 --tz -t 10 --log-brief -t 10
	echo "End"
	ping -q -c1 192.168.0.2 >> imx8m-industrial-testing.log
	  if [ $? -ne 0 ]
	  then
		echo "$(date +\%Y/\%m/\%d-\%T)($(date +\%Z)) ERROR: Ping failed"
	  fi
	echo "End"
done

Starting camera capture

To initiate the Digilent camera to start the recording of video stream, following command can be used:

GST_DEBUG=GST_BUFFER:5 gst-launch-1.0 v4l2src device=/dev/video1 ! 'video/x-raw,framerate=30/1' ! autovideosink