{"id":19973,"date":"2025-12-15T11:13:41","date_gmt":"2025-12-15T03:13:41","guid":{"rendered":"https:\/\/icop-shop.com\/?p=19973"},"modified":"2026-01-05T17:46:31","modified_gmt":"2026-01-05T09:46:31","slug":"technical-tips-how-to-test-the-spi-bus-on-nx8mm-35","status":"publish","type":"post","link":"https:\/\/icop-shop.com\/ja\/technical-tips\/technical-tips-how-to-test-the-spi-bus-on-nx8mm-35\/","title":{"rendered":"[Technical tips] How to test the SPI bus on NX8MM-35"},"content":{"rendered":"<div class=\"usbfreedos-section1 row\">\n<div class=\"col-xs-12\">\n<p>This article will tell you how to test the SPI bus on the NX8MM-35 in Yocto Linux.<br \/>\nThe SPI bus is an optional feature supported on ICOP&#8217;s\u00a0<a href=\"https:\/\/icop-shop.com\/ja\/product\/nx8mm-35-42cmebg2\/\" target=\"_blank\" rel=\"noopener\">NX8MM-35<\/a>, and it shares functionality with UART3 on the board.<br \/>\nIn the tips below, we will provide the guide step by step.<\/p>\n<hr \/>\n<\/div>\n<\/div>\n<div class=\"usbfreedos-section2 row\">\n<div class=\"col-xs-12\">\n<h2>Tools you need:<\/h2>\n<ol>\n<li>NX8MM-35 (Find it\u00a0<a href=\"https:\/\/icop-shop.com\/ja\/product\/nx8mm-35-42cmebg2\/\" target=\"_blank\" rel=\"noopener\">here<\/a>)<\/li>\n<li>Yocto Linux 4.0:<a href=\"https:\/\/ftp.icop.com.tw\/share\/x4hhQ1rp\" target=\"_blank\" rel=\"noopener\">Image<\/a>\u00a0\/\u00a0<a href=\"https:\/\/wiki.icop.com.tw\/product\/index.php\/How_to_Restore_Yocto_Linux_4.0_to_the_eMMC_on_NX8MM-35\" target=\"_blank\" rel=\"noopener\">Guide<\/a><\/li>\n<li>USB to micro USB cable for restoring image.<\/li>\n<li>SPI Testing file (Put it in a USB disk):\u00a0<a href=\"https:\/\/ftp.icop.com.tw\/share\/8NdTKZ-H\" target=\"_blank\" rel=\"noopener\">link<\/a><\/li>\n<li>A testing wire to test SPI bus self-transmitting.<br \/>\n<img fetchpriority=\"high\" decoding=\"async\" class=\"normalImg img\" src=\"https:\/\/www.icop.com.tw\/datas\/upload\/files\/NEWS\/Resources\/How%20to%20test%20the%20SPI%20bus%20on%20NX8MM-35\/testingwire.jpg\" width=\"200\" height=\"300\" alt=\"\" title=\"\"><\/li>\n<li>Soldering iron for switching UART3 function to SPI bus.<\/li>\n<\/ol>\n<h2>Switching the UART3 to SPI bus on NX8MM-35.<\/h2>\n<p>On NX8MM-35, the UART3 and SPI bus can be switched by modifying the resistor on the board.<br \/>\nPlease follow the image below and use the soldering iron to move the 0 ohm resistor to the correct location.<\/p>\n<p><img decoding=\"async\" class=\"normalImg img\" src=\"https:\/\/www.icop.com.tw\/datas\/upload\/files\/NEWS\/Resources\/How%20to%20test%20the%20SPI%20bus%20on%20NX8MM-35\/NX8MM-35C_SPI_UART3_switch.png\" alt=\"developer-mode\" title=\"\"><\/p>\n<h2>Test the SPI function in Yocto Linux.<\/h2>\n<p><img decoding=\"async\" class=\"normalImg img\" src=\"https:\/\/www.icop.com.tw\/datas\/upload\/files\/NEWS\/Resources\/How%20to%20test%20the%20SPI%20bus%20on%20NX8MM-35\/boardoutlinewithwire.jpg\" alt=\"\" title=\"\"><\/p>\n<pre> .\/spidev_test -D \/dev\/spidev3.0 -v -p xxx<\/pre>\n<p>In this case, we type .\/spidev_test -D \/dev\/spidev3.0 -v -p SPITESTING, and if the test succeed, it will show the &#8220;SPITESTING&#8221; in the test result.<\/p>\n<ol>\n<li>Plug testing wire to the J12 (SPI bus) on NX8MM-35.<\/li>\n<li>Plug the USB disk with SPI testing application in the NX8MM-35 and turn it on; then open the terminal in Yocto Linux.<\/li>\n<li>Mount the USB to Lunix and access the USB file.<\/li>\n<li>Run below command in the USB file:<\/li>\n<\/ol>\n<p>For the steps above, you could find all of the information in the image below:<\/p>\n<p><img decoding=\"async\" class=\"normalImg img\" src=\"https:\/\/www.icop.com.tw\/datas\/upload\/files\/NEWS\/Resources\/How%20to%20test%20the%20SPI%20bus%20on%20NX8MM-35\/testimage.jpg\" alt=\"developer-mode\" title=\"\"><\/p>\n<h2>Check the video:<\/h2>\n<div><\/div>\n<hr \/>\n<\/div>\n<\/div>\n<div class=\"col-sm-12\">\n<div class=\"col-sm-4 productSpec\"><a href=\"https:\/\/icop-shop.com\/ja\/product\/nx8mm-35-42cmebg2\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"productImage\" src=\"https:\/\/www.icop.com.tw\/datas\/upload\/files\/Product\/SBC\/NX8MM-35\/NX8MM-35-SIDE-WEB.jpg\" alt=\"NX8MM-35\" title=\"\"><\/a><\/div>\n<div class=\"col-sm-8 productSpec\">\n<div>\n<h3>Main features of\u00a0<a href=\"https:\/\/icop-shop.com\/ja\/product\/nx8mm-35-42cmebg2\/\" target=\"_blank\" rel=\"noopener\">NX8MM-35<\/a>:<\/h3>\n<ul>\n<li>NXP i.MX8M Mini\u3001\u30af\u30a2\u30c3\u30c9\u30b3\u30a21.6GHz ARM Cortex-A53\u30d7\u30ed\u30bb\u30c3\u30b5<\/li>\n<li>2\/4GB LPDDR4 onboard<\/li>\n<li>COM \/ 2U \/ GLAN \/ Audio \/ eMMC \/ MiniPCIe<\/li>\n<li>9 \"\u62b5\u6297\u819c\u5f0f\u30bf\u30c3\u30c1\u30b9\u30af\u30ea\u30fc\u30f3\u4ed8\u304dTFT 1024\u00d7600\u89e3\u50cf\u5ea6LCD<\/li>\n<li>\u52d5\u4f5c\u6e29\u5ea6\uff1a-30\u301c80<\/li>\n<li>eMMC-16GB\u30aa\u30f3\u30dc\u30fc\u30c9<\/li>\n<li>Micro SIM\u30ab\u30fc\u30c9\u30b9\u30ed\u30c3\u30c8\u3092\u5099\u3048\u305fMiniPCIe\u30bd\u30b1\u30c3\u30c8<\/li>\n<li>\u5e83\u7bc4\u56f2\u96fb\u6e90\u96fb\u5727\u5165\u529b\u3001+12\u301c36Vdc<\/li>\n<li>\u7121\u7ddaLAN\uff06\u30d6\u30eb\u30fc\u30c8\u30a5\u30fc\u30b9<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"emi-sectionEnd row\">\n<div class=\"col-sm-12\">\n<hr \/>\n<p>\u8a73\u7d30\u304a\u3088\u3073\u30b5\u30f3\u30d7\u30eb\u306e\u3054\u8acb\u6c42\u306f\u3001\u4e0b\u8a18\u307e\u3067\u304a\u9858\u3044\u3057\u307e\u3059\u3002\u00a0<a href=\"mailto:info@icop.com.tw\">info@icop.com.tw<\/a>\u304a\u8fd1\u304f\u306e\u00a0<a href=\"https:\/\/www.icop.com.tw\/branches\" target=\"_blank\" rel=\"noopener\">ICOP\u652f\u5e97\u306b<\/a>\u304a\u96fb\u8a71\u3044\u305f\u3060\u304f\u304b\u3001\u00a0<a href=\"https:\/\/www.icop.com.tw\/distributors\" target=\"_blank\" rel=\"noopener\">\u4e16\u754c\u5404\u56fd\u306e\u516c\u5f0f\u4ee3\u7406\u5e97\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/a><\/p>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>This article will tell you how to test the SPI bus on the NX8MM-35 in Yocto Linux. The SPI bus is an optional feature supported on ICOP&#8217;s\u00a0NX8MM-35, and it shares functionality with UART3 on the board. In the tips below, we will provide the guide step by step. Tools you [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":19974,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[284],"tags":[319,397,399,398],"class_list":["post-19973","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical-tips","tag-nx8mm-35","tag-nxp","tag-spi-bus","tag-yocto-linux-4-0"],"_links":{"self":[{"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/posts\/19973","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/comments?post=19973"}],"version-history":[{"count":2,"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/posts\/19973\/revisions"}],"predecessor-version":[{"id":20032,"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/posts\/19973\/revisions\/20032"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/media\/19974"}],"wp:attachment":[{"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/media?parent=19973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/categories?post=19973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/tags?post=19973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}