{"id":386,"date":"2026-01-04T17:07:18","date_gmt":"2026-01-04T09:07:18","guid":{"rendered":"https:\/\/qkd.koudaipc.com\/?p=386"},"modified":"2026-01-27T09:35:35","modified_gmt":"2026-01-27T01:35:35","slug":"sigrok-%e9%80%9a%e7%94%a8%e4%bf%a1%e5%8f%b7%e5%88%86%e6%9e%90%e8%bd%af%e4%bb%b6%e5%a5%97%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/qkd.koudaipc.com\/en\/2026\/01\/04\/sigrok-%e9%80%9a%e7%94%a8%e4%bf%a1%e5%8f%b7%e5%88%86%e6%9e%90%e8%bd%af%e4%bb%b6%e5%a5%97%e4%bb%b6\/","title":{"rendered":"sigrok \u901a\u7528\u4fe1\u53f7\u5206\u6790\u8f6f\u4ef6\u5957\u4ef6"},"content":{"rendered":"<p>&lt;code&gt;sigrok&lt;\/code&gt; \u662f\u4e00\u4e2a\u5f00\u6e90\u3001\u8de8\u5e73\u53f0\u7684<strong>\u901a\u7528\u4fe1\u53f7\u5206\u6790\u8f6f\u4ef6\u5957\u4ef6<\/strong>\uff0c\u6700\u65e9\u6e90\u4e8e\u5bf9\u95ed\u6e90\u786c\u4ef6\u914d\u5957\u8f6f\u4ef6\u7684\u4e0d\u6ee1\u3002\u5b83\u7684\u6838\u5fc3\u76ee\u6807\u662f\u652f\u6301\u5c3d\u53ef\u80fd\u591a\u7684\u4eea\u5668\uff0c\u5e76\u4ee5\u7edf\u4e00\u7684\u6846\u67b6\u8fdb\u884c\u5206\u6790\u3002<\/p>\n<h3>\ud83c\udfd7\ufe0f \u9879\u76ee\u67b6\u6784\u4e0e\u6838\u5fc3\u7ec4\u4ef6<\/h3>\n<p>&lt;code&gt;sigrok&lt;\/code&gt; \u91c7\u7528\u6a21\u5757\u5316\u8bbe\u8ba1\uff0c\u4e3b\u8981\u7531\u4ee5\u4e0b\u6838\u5fc3\u5e93\u548c\u5de5\u5177\u6784\u6210\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">\u7ec4\u4ef6<\/th>\n<th style=\"text-align: left;\">\u8bf4\u660e<\/th>\n<th style=\"text-align: left;\">\u5173\u952e\u7279\u6027<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>&lt;code&gt;libsigrok&lt;\/code&gt;<\/strong><\/td>\n<td style=\"text-align: left;\">\u786c\u4ef6\u8bbf\u95ee\u9a71\u52a8\u6838\u5fc3\u5e93<\/td>\n<td style=\"text-align: left;\">\u7528C\u7f16\u5199\uff0c\u63d0\u4f9b\u786c\u4ef6\u9a71\u52a8\u548c\u591a\u79cd\u6587\u4ef6\u683c\u5f0f\u652f\u6301\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>&lt;code&gt;libsigrokdecode&lt;\/code&gt;<\/strong><\/td>\n<td style=\"text-align: left;\">\u534f\u8bae\u89e3\u7801\u5e93<\/td>\n<td style=\"text-align: left;\">\u7528Python\u7f16\u5199\u89e3\u7801\u5668\uff0c\u652f\u6301\u5b9e\u65f6\u6d41\u89e3\u7801\uff0c\u751f\u6001\u4e30\u5bcc\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>&lt;code&gt;PulseView&lt;\/code&gt;<\/strong><\/td>\n<td style=\"text-align: left;\">\u4e3b\u8981\u56fe\u5f62\u754c\u9762(GUI)<\/td>\n<td style=\"text-align: left;\">\u4e3a\u903b\u8f91\u5206\u6790\u4f18\u5316\uff0c\u652f\u6301\u534f\u8bae\u89e3\u7801\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>&lt;code&gt;sigrok-cli&lt;\/code&gt;<\/strong><\/td>\n<td style=\"text-align: left;\">\u547d\u4ee4\u884c\u5de5\u5177<\/td>\n<td style=\"text-align: left;\">\u652f\u6301\u786c\u4ef6\u521d\u59cb\u5316\u3001\u91c7\u96c6\u3001\u89e3\u7801\u5168\u6d41\u7a0b\uff0c\u9002\u5408\u811a\u672c\u548c\u8fdc\u7a0b\u64cd\u4f5c\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6574\u4e2a\u5957\u4ef6\u53ef\u4ee5\u901a\u8fc7 &lt;code&gt;sigrok&lt;\/code&gt; \u5143\u5305\u4e00\u952e\u5b89\u88c5\u3002<\/p>\n<h3>\ud83d\udd0c \u786c\u4ef6\u4e0e\u534f\u8bae\u652f\u6301<\/h3>\n<p>&lt;code&gt;sigrok&lt;\/code&gt; \u4ee5\u652f\u6301\u5e7f\u6cdb\u7684\u786c\u4ef6\u800c\u95fb\u540d\u3002<\/p>\n<p><strong>1. \u652f\u6301\u7684\u8bbe\u5907\u7c7b\u578b<\/strong><br \/>\n&lt;code&gt;sigrok&lt;\/code&gt; \u652f\u6301\u4f17\u591a\u8bbe\u5907\u7c7b\u578b\uff0c\u5305\u62ec\uff1a<\/p>\n<ul>\n<li><strong>\u903b\u8f91\u5206\u6790\u4eea<\/strong>\uff1a\u8fd9\u662f\u5176\u4f20\u7edf\u5f3a\u9879\uff0c\u5c24\u5176\u5bf9\u57fa\u4e8eCypress FX2\u82af\u7247\u7684\u5ec9\u4ef7\u5206\u6790\u4eea\u652f\u6301\u6781\u597d\uff0c\u53ef\u5b9e\u73b0\u514d\u9a71\u4f7f\u7528\u3002<\/li>\n<li><strong>\u793a\u6ce2\u5668\u4e0e\u6df7\u5408\u4fe1\u53f7\u793a\u6ce2\u5668<\/strong><\/li>\n<li><strong>\u4e07\u7528\u8868\u3001LCR\u8868<\/strong><\/li>\n<li><strong>\u7535\u6e90\u3001\u51fd\u6570\u53d1\u751f\u5668<\/strong>\u7b49<\/li>\n<\/ul>\n<p><strong>2. \u5f3a\u5927\u7684\u534f\u8bae\u89e3\u7801<\/strong><br \/>\n\u901a\u8fc7 &lt;code&gt;libsigrokdecode&lt;\/code&gt; \u652f\u6301\u8d85\u8fc7150\u79cd\u534f\u8bae\u89e3\u7801\u5668\uff0c\u6db5\u76d6\u5e38\u89c1\u7684UART\u3001I2C\u3001SPI\u3001USB\u3001CAN\u7b49\u6570\u5b57\u603b\u7ebf\u3002<\/p>\n<h3>\ud83e\udd14 \u4e0engscopeclient\u7684\u6838\u5fc3\u5dee\u5f02<\/h3>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u4f60\u5bf9\u6bd4\uff0c\u6211\u5c06\u5b83\u4e0e\u4e4b\u524d\u8ba8\u8bba\u8fc7\u7684 &lt;code&gt;ngscopeclient&lt;\/code&gt; \u7684\u6838\u5fc3\u533a\u522b\u603b\u7ed3\u5982\u4e0b\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">\u7ef4\u5ea6<\/th>\n<th style=\"text-align: left;\"><strong>sigrok<\/strong><\/th>\n<th style=\"text-align: left;\"><strong>ngscopeclient<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>\u6838\u5fc3\u5b9a\u4f4d<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>\u901a\u7528\u4fe1\u53f7\u5206\u6790\u201c\u745e\u58eb\u519b\u5200\u201d<\/strong>\uff0c\u8986\u76d6\u903b\u8f91\u5206\u6790\u3001\u793a\u6ce2\u5668\u3001\u4e07\u7528\u8868\u7b49\u591a\u79cd\u4eea\u5668\u3002<\/td>\n<td style=\"text-align: left;\"><strong>\u4e13\u4e1a\u7684\u793a\u6ce2\u5668\/\u6df7\u5408\u4fe1\u53f7\u5206\u6790\u5e73\u53f0<\/strong>\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>\u786c\u4ef6\u652f\u6301<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>\u5e7f\u5ea6\u4f18\u5148<\/strong>\uff0c\u652f\u6301\u5927\u91cf\u5ec9\u4ef7\u548c\u4e3b\u6d41\u8bbe\u5907\u3002<\/td>\n<td style=\"text-align: left;\"><strong>\u6df1\u5ea6\u4f18\u5148<\/strong>\uff0c\u805a\u7126\u652f\u6301\u4e3b\u6d41\u54c1\u724c\u4e2d\u9ad8\u7aef\u793a\u6ce2\u5668\u53ca\u5c11\u6570\u9ad8\u6027\u80fd\u5f00\u6e90\u786c\u4ef6\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>\u534f\u8bae\u89e3\u7801<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>\u4f20\u7edf\u5f3a\u9879<\/strong>\uff0c\u89e3\u7801\u5668\u751f\u6001\u6781\u5176\u4e30\u5bcc\u3002<\/td>\n<td style=\"text-align: left;\">\u652f\u6301\u5e38\u7528\u534f\u8bae\u89e3\u7801\uff0c\u4f46\u975e\u552f\u4e00\u6838\u5fc3\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>\u5206\u6790\u7279\u8272<\/strong><\/td>\n<td style=\"text-align: left;\">\u903b\u8f91\u5206\u6790\u53ca\u65f6\u5e8f\u67e5\u770b\u4f18\u5316\u51fa\u8272\u3002<\/td>\n<td style=\"text-align: left;\"><strong>GPU\u52a0\u901f\u6ee4\u6ce2<\/strong>\u548c\u590d\u6742\u7684<strong>\u81ea\u5b9a\u4e49\u5206\u6790\u7ba1\u9053<\/strong>\u662f\u5176\u72ec\u6709\u4eae\u70b9\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>\u5e94\u7528\u573a\u666f<\/strong><\/td>\n<td style=\"text-align: left;\">\u6570\u5b57\u7535\u8def\u8c03\u8bd5\u3001\u5d4c\u5165\u5f0f\u5f00\u53d1\u3001\u534f\u8bae\u5206\u6790\u3001\u6559\u80b2\u53ca\u4f4e\u6210\u672c\u7231\u597d\u3002<\/td>\n<td style=\"text-align: left;\">\u6a21\u62df\/\u6df7\u5408\u4fe1\u53f7\u6df1\u5ea6\u5206\u6790\u3001\u9ad8\u6027\u80fd\u5b9e\u65f6\u8fd0\u7b97\u3001\u591a\u4eea\u5668\u8054\u5408\u8c03\u8bd5\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\ud83d\udca1 \u5982\u4f55\u9009\u62e9<\/h3>\n<p>\u53ef\u4ee5\u57fa\u4e8e\u4f60\u7684\u6838\u5fc3\u573a\u666f\u6765\u9009\u62e9\uff1a<\/p>\n<ul>\n<li>\u5982\u679c\u4f60\u662f<strong>\u5d4c\u5165\u5f0f\u5f00\u53d1\u8005\u6216\u7535\u5b50\u7231\u597d\u8005<\/strong>\uff0c\u9700\u8981\u8fdb\u884c<strong>\u6570\u5b57\u7535\u8def\u8c03\u8bd5\u3001\u534f\u8bae\u89e3\u6790<\/strong>\uff0c\u6216\u8005\u5e0c\u671b\u7528\u4e00\u5957\u8f6f\u4ef6\u7ba1\u7406\u624b\u5934\u7684<strong>\u591a\u79cd\u4eea\u5668<\/strong>\uff08\u7279\u522b\u662f\u903b\u8f91\u5206\u6790\u4eea\uff09\uff0c<strong>&lt;code&gt;sigrok&lt;\/code&gt; \u662f\u66f4\u901a\u7528\u3001\u7ecf\u6d4e\u7684\u9009\u62e9<\/strong>\u3002<\/li>\n<li>\u5982\u679c\u4f60\u7684\u5de5\u4f5c\u6838\u5fc3\u662f<strong>\u6a21\u62df\u6216\u6df7\u5408\u4fe1\u53f7\u5206\u6790<\/strong>\uff0c\u8ffd\u6c42<strong>GPU\u52a0\u901f<\/strong>\u5e26\u6765\u7684\u9ad8\u6027\u80fd\u5b9e\u65f6\u8fd0\u7b97\uff0c\u6216\u9700\u8981<strong>\u81ea\u5b9a\u4e49\u590d\u6742\u7684\u5206\u6790\u6d41\u7a0b<\/strong>\uff0c\u90a3\u4e48 <strong>&lt;code&gt;ngscopeclient&lt;\/code&gt; \u66f4\u80fd\u6ee1\u8db3\u4f60\u7684\u4e13\u4e1a\u9700\u6c42<\/strong>\u3002<\/li>\n<\/ul>\n<p>\u5e0c\u671b\u8fd9\u4efd\u8be6\u7ec6\u7684\u4ecb\u7ecd\u80fd\u5e2e\u52a9\u4f60\u5168\u9762\u4e86\u89e3 &lt;code&gt;sigrok&lt;\/code&gt;\u3002\u5982\u679c\u4f60\u80fd\u5206\u4eab\u4e00\u4e0b\u4f60\u4e3b\u8981\u4f7f\u7528\u7684\u786c\u4ef6\u578b\u53f7\uff0c\u6216\u8005\u5177\u4f53\u7684\u5206\u6790\u573a\u666f\uff0c\u6211\u53ef\u4ee5\u7ed9\u4f60\u66f4\u5177\u4f53\u7684\u5efa\u8bae\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>&lt;code&gt;sigrok&lt;\/code&gt; \u662f\u4e00\u4e2a\u5f00\u6e90\u3001\u8de8\u5e73\u53f0\u7684\u901a\u7528\u4fe1\u53f7\u5206\u6790\u8f6f\u4ef6\u5957\u4ef6\uff0c\u6700\u65e9 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pmpro_default_level":"","footnotes":""},"categories":[26],"tags":[],"class_list":["post-386","post","type-post","status-publish","format-standard","hentry","category-foss","pmpro-has-access"],"_links":{"self":[{"href":"https:\/\/qkd.koudaipc.com\/en\/wp-json\/wp\/v2\/posts\/386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qkd.koudaipc.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qkd.koudaipc.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qkd.koudaipc.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/qkd.koudaipc.com\/en\/wp-json\/wp\/v2\/comments?post=386"}],"version-history":[{"count":2,"href":"https:\/\/qkd.koudaipc.com\/en\/wp-json\/wp\/v2\/posts\/386\/revisions"}],"predecessor-version":[{"id":407,"href":"https:\/\/qkd.koudaipc.com\/en\/wp-json\/wp\/v2\/posts\/386\/revisions\/407"}],"wp:attachment":[{"href":"https:\/\/qkd.koudaipc.com\/en\/wp-json\/wp\/v2\/media?parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qkd.koudaipc.com\/en\/wp-json\/wp\/v2\/categories?post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qkd.koudaipc.com\/en\/wp-json\/wp\/v2\/tags?post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}