{"id":97264,"date":"2024-08-29T17:43:22","date_gmt":"2024-08-29T09:43:22","guid":{"rendered":"\/\/www.viralrail.com\/?p=97264"},"modified":"2024-08-29T17:43:26","modified_gmt":"2024-08-29T09:43:26","slug":"smsyjlkz","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/97264.html","title":{"rendered":"\u4ec0\u4e48\u662f\u786c\u4ef6\u6d41\u63a7\u5236"},"content":{"rendered":"\n
\u3000\u3000\u786c\u4ef6\u6d41\u63a7\u5236(Hardware Flow Control)<\/strong>\u662f\u4e00\u79cd\u901a\u8fc7\u786c\u4ef6\u673a\u5236\u6765\u63a7\u5236\u6570\u636e\u4f20\u8f93\u901f\u7387\u548c\u6d41\u91cf\u7684\u65b9\u6cd5\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u7684\u53ef\u9760\u6027\u548c\u7a33\u5b9a\u6027\u3002\u5b83\u4e3b\u8981\u901a\u8fc7\u7279\u5b9a\u7684\u4fe1\u53f7\u7ebf(\u5982RTS\/CTS\u6216DTR\/DSR)\u6765\u5b9e\u73b0\u6570\u636e\u7684\u53d1\u9001\u548c\u63a5\u6536\u63a7\u5236\u3002<\/p>\n\n\n\n \u3000\u3000\u786c\u4ef6\u6d41\u63a7\u5236\u7684\u57fa\u672c\u539f\u7406\u662f\u901a\u8fc7\u53d1\u9001\u65b9\u8bbe\u5907\u7684RTS(Request to Send\uff0c\u8bf7\u6c42\u53d1\u9001)\u4fe1\u53f7\u548c\u63a5\u6536\u65b9\u8bbe\u5907\u7684CTS(Clear to Send\uff0c\u6e05\u9664\u53d1\u9001)\u4fe1\u53f7\u6765\u63a7\u5236\u6570\u636e\u4f20\u8f93\u3002\u5f53\u53d1\u9001\u65b9\u8bbe\u5907\u51c6\u5907\u597d\u53d1\u9001\u6570\u636e\u65f6\uff0c\u5b83\u4f1a\u5c06RTS\u4fe1\u53f7\u7f6e\u4e3a\u9ad8\u7535\u5e73\uff0c\u8868\u793a\u5b83\u51c6\u5907\u597d\u53d1\u9001\u6570\u636e\u3002\u63a5\u6536\u65b9\u8bbe\u5907\u5728\u68c0\u6d4b\u5230RTS\u4fe1\u53f7\u540e\uff0c\u5982\u679c\u51c6\u5907\u597d\u63a5\u6536\u6570\u636e\uff0c\u4f1a\u5c06CTS\u4fe1\u53f7\u7f6e\u4e3a\u9ad8\u7535\u5e73\uff0c\u8868\u793a\u5b83\u51c6\u5907\u597d\u63a5\u6536\u6570\u636e\u3002\u53d1\u9001\u65b9\u8bbe\u5907\u5728\u6536\u5230CTS\u4fe1\u53f7\u540e\uff0c\u624d\u4f1a\u5f00\u59cb\u53d1\u9001\u6570\u636e\uff0c\u76f4\u5230\u63a5\u6536\u65b9\u8bbe\u5907\u518d\u6b21\u5c06CTS\u4fe1\u53f7\u7f6e\u4e3a\u4f4e\u7535\u5e73\uff0c\u8868\u793a\u4e0d\u518d\u63a5\u6536\u6570\u636e\u3002<\/p>\n\n\n\n \u3000\u3000\u786c\u4ef6\u6d41\u63a7\u5236\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u7279\u522b\u662f\u5728\u4e32\u884c\u901a\u4fe1\u4e2d\uff0c\u5982RS-232\u548cRS-485\u63a5\u53e3\u7684\u6570\u636e\u4f20\u8f93\u3002\u5b83\u80fd\u591f\u6709\u6548\u907f\u514d\u6570\u636e\u4e22\u5931\u548c\u6570\u636e\u6ea2\u51fa\uff0c\u63d0\u9ad8\u6570\u636e\u4f20\u8f93\u7684\u53ef\u9760\u6027\u548c\u7a33\u5b9a\u6027\u3002\u6b64\u5916\uff0c\u786c\u4ef6\u6d41\u63a7\u5236\u8fd8\u53ef\u4ee5\u6839\u636e\u63a5\u6536\u7aef\u7684\u5904\u7406\u80fd\u529b\u548c\u7f13\u5b58\u7a7a\u95f4\u6765\u8bbe\u5b9a\u9608\u503c\uff0c\u4ece\u800c\u63a7\u5236\u6570\u636e\u7684\u4f20\u8f93\u901f\u7387\u548c\u6570\u91cf\uff0c\u907f\u514d\u7f51\u7edc\u62e5\u585e\u548c\u6570\u636e\u5305\u4e22\u5931\u3002<\/p>\n\n\n\n \u3000\u3000\u786c\u4ef6\u6d41\u63a7\u5236\u662f\u4e00\u79cd\u901a\u8fc7\u786c\u4ef6\u4fe1\u53f7\u7ebf\u5b9e\u73b0\u7684\u6570\u636e\u4f20\u8f93\u63a7\u5236\u673a\u5236\uff0c\u901a\u8fc7RTS\/CTS\u6216DTR\/DSR\u4fe1\u53f7\u6765\u7ba1\u7406\u6570\u636e\u4f20\u8f93\u901f\u7387\u548c\u6d41\u91cf\uff0c\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u7684\u53ef\u9760\u6027\u548c\u7a33\u5b9a\u6027\u3002<\/p>\n\n\n\n \u3000\u3000\u786c\u4ef6\u6d41\u63a7\u5236\u5728\u73b0\u4ee3\u7f51\u7edc\u901a\u4fe1\u4e2d\u5177\u6709\u91cd\u8981\u7684\u5e94\u7528\u548c\u663e\u8457\u7684\u91cd\u8981\u6027\u3002\u9996\u5148\uff0c\u786c\u4ef6\u6d41\u63a7\u5236\u901a\u8fc7\u7cbe\u786e\u63a7\u5236\u6570\u636e\u4f20\u8f93\u901f\u7387\uff0c\u63d0\u9ad8\u4e86\u901a\u4fe1\u7684\u7a33\u5b9a\u6027\u548c\u53ef\u9760\u6027\u3002\u8fd9\u79cd\u6280\u672f\u5728\u7269\u8054\u7f51\u9886\u57df\u4e2d\u53d1\u6325\u7740\u5173\u952e\u4f5c\u7528\uff0c\u4e3a\u667a\u80fd\u8bbe\u5907\u901a\u4fe1\u548c\u4f20\u611f\u5668\u6570\u636e\u91c7\u96c6\u63d0\u4f9b\u4e86\u6280\u672f\u4fdd\u969c\u3002\u901a\u8fc7\u5bf9\u786c\u4ef6\u6d41\u63a7\u539f\u7406\u7684\u6df1\u5165\u7406\u89e3\uff0c\u5e76\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u5408\u7406\u8bbe\u7f6e\u548c\u8c03\u6574\u53c2\u6570\uff0c\u53ef\u4ee5\u4f18\u5316\u7269\u8054\u7f51\u6570\u636e\u4f20\u8f93\u6548\u7387\uff0c\u63d0\u9ad8\u901a\u4fe1\u7a33\u5b9a\u6027\uff0c\u4ece\u800c\u66f4\u597d\u5730\u652f\u6301\u5404\u7c7b\u7269\u8054\u7f51\u5e94\u7528\u3002<\/p>\n\n\n\n \u3000\u3000\u786c\u4ef6\u6d41\u63a7\u5236\u5e38\u88ab\u7528\u4e8e\u4e32\u884c\u901a\u4fe1\u8bbe\u5907\u4e4b\u95f4\uff0c\u4f8b\u5982\u4e32\u884c\u63a5\u53e3(RS-232\u3001RS-485)\u3001\u4ee5\u592a\u7f51\u4ea4\u6362\u673a\u7b49\u3002\u5b83\u53ef\u4ee5\u6709\u6548\u89e3\u51b3\u6570\u636e\u4f20\u8f93\u901f\u5ea6\u4e0d\u5339\u914d\u5bfc\u81f4\u7684\u6570\u636e\u4e22\u5931\u3001\u6ea2\u51fa\u7b49\u95ee\u9898\u3002\u5728\u7269\u8054\u7f51\u9886\u57df\uff0c\u786c\u4ef6\u6d41\u63a7\u5236\u4f5c\u4e3a\u4fdd\u969c\u6570\u636e\u4f20\u8f93\u5b8c\u6574\u6027\u7684\u91cd\u8981\u6280\u672f\uff0c\u901a\u8fc7\u6709\u6548\u5730\u63a7\u5236\u6570\u636e\u7684\u53d1\u9001\u548c\u63a5\u6536\u901f\u5ea6\uff0c\u786e\u4fdd\u6570\u636e\u5728\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u4e0d\u4e22\u5931\uff0c\u4ece\u800c\u4fdd\u969c\u7269\u8054\u7f51\u8bbe\u5907\u7684\u7a33\u5b9a\u8fd0\u884c\u548c\u6570\u636e\u4f20\u8f93\u7684\u53ef\u9760\u6027\u3002<\/p>\n\n\n\n \u3000\u3000\u786c\u4ef6\u6d41\u63a7\u5236\u901a\u5e38\u7528\u4e8e\u5927\u578b\u7f51\u7edc\u73af\u5883\uff0c\u5982\u4f01\u4e1a\u7f51\u7edc\u3001\u6570\u636e\u4e2d\u5fc3\u7b49\uff0c\u56e0\u4e3a\u5b83\u4eec\u5177\u6709\u66f4\u9ad8\u7684\u5b9e\u65f6\u6027\u548c\u7a33\u5b9a\u6027\u3002\u7136\u800c\uff0c\u786c\u4ef6\u6d41\u63a7\u6280\u672f\u5728\u7269\u8054\u7f51\u5e94\u7528\u4e2d\u5177\u6709\u91cd\u8981\u610f\u4e49\uff0c\u5176\u4f18\u52bf\u5728\u63d0\u9ad8\u6570\u636e\u4f20\u8f93\u51c6\u786e\u6027\u548c\u6548\u7387\u65b9\u9762\u8868\u73b0\u7a81\u51fa\uff0c\u4f46\u52a3\u52bf\u5219\u4f53\u73b0\u5728\u6210\u672c\u9ad8\u548c\u5bf9\u786c\u4ef6\u7684\u4f9d\u8d56\u6027\u3002\u9488\u5bf9\u4e0d\u540c\u7684\u7269\u8054\u7f51\u5e94\u7528\u573a\u666f\uff0c\u9700\u8981\u7efc\u5408\u8003\u8651\u8fd9\u4e9b\u4f18\u7f3a\u70b9\uff0c\u9009\u62e9\u5408\u9002\u7684\u901a\u4fe1\u6280\u672f\u548c\u7b56\u7565\u3002<\/p>\n\n\n\n \u3000\u3000\u786c\u4ef6\u6d41\u63a7\u5236\u5728\u73b0\u4ee3\u7f51\u7edc\u901a\u4fe1\u4e2d\u901a\u8fc7\u63d0\u9ad8\u6570\u636e\u4f20\u8f93\u7684\u7a33\u5b9a\u6027\u548c\u53ef\u9760\u6027\uff0c\u4f18\u5316\u6570\u636e\u4f20\u8f93\u6548\u7387\uff0c\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u7684\u5b8c\u6574\u6027\uff0c\u4ece\u800c\u5728\u7269\u8054\u7f51\u3001\u4f01\u4e1a\u7f51\u7edc\u3001\u6570\u636e\u4e2d\u5fc3\u7b49\u5927\u578b\u7f51\u7edc\u73af\u5883\u4e2d\u53d1\u6325\u7740\u4e0d\u53ef\u66ff\u4ee3\u7684\u4f5c\u7528\u3002<\/p>\n\n\n\n \u3000\u3000\u6839\u636e\u63a5\u6536\u7aef\u7684\u5904\u7406\u80fd\u529b\u548c\u7f13\u5b58\u7a7a\u95f4\u6765\u8bbe\u5b9a\u786c\u4ef6\u6d41\u63a7\u5236\u7684\u9608\u503c\uff0c\u9700\u8981\u7efc\u5408\u8003\u8651\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n\n\n\n \u3000\u3000\u8bbe\u5b9a\u786c\u4ef6\u6d41\u63a7\u5236\u7684\u9608\u503c\u9700\u8981\u7efc\u5408\u8003\u8651\u63a5\u6536\u7aef\u7f13\u51b2\u533a\u5927\u5c0f\u3001\u5904\u7406\u80fd\u529b\u3001\u786c\u4ef6\u652f\u6301\u60c5\u51b5\u4ee5\u53ca\u5b9e\u9645\u5e94\u7528\u9700\u6c42\u3002<\/p>\n\n\n\n \u3000\u3000RTS\/CTS\u548cDTR\/DSR\u4fe1\u53f7\u5728\u786c\u4ef6\u6d41\u63a7\u5236\u4e2d\u7684\u5de5\u4f5c\u539f\u7406\u548c\u533a\u522b\u5982\u4e0b\uff1a<\/p>\n\n\n\n \u3000\u3000\u5728RS-232\u548cRS-485\u63a5\u53e3\u4e2d\uff0c\u786c\u4ef6\u6d41\u63a7\u5236\u4e3b\u8981\u901a\u8fc7\u7279\u5b9a\u7684\u4fe1\u53f7\u7ebf\u548c\u534f\u8bae\u6765\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u901f\u7387\u548c\u6d41\u91cf\u63a7\u5236\u3002<\/p>\n\n\n\n \u3000\u3000\u5bf9\u4e8eRS-232\u63a5\u53e3\uff0c\u5176\u786c\u4ef6\u6d41\u63a7\u5236\u901a\u5e38\u91c7\u7528RTS(\u8bf7\u6c42\u53d1\u9001)\u548cCTS(\u6e05\u9664\u53d1\u9001)\u4fe1\u53f7\u7ebf\u3002RTS\u4fe1\u53f7\u7531\u53d1\u9001\u65b9\u63a7\u5236\uff0c\u5f53\u53d1\u9001\u65b9\u51c6\u5907\u597d\u53d1\u9001\u6570\u636e\u65f6\uff0c\u4f1a\u5411\u63a5\u6536\u65b9\u53d1\u9001RTS\u4fe1\u53f7\u3002\u63a5\u6536\u65b9\u6536\u5230RTS\u4fe1\u53f7\u540e\uff0c\u4f1a\u53d1\u9001CTS\u4fe1\u53f7\u7ed9\u53d1\u9001\u65b9\uff0c\u8868\u793a\u63a5\u6536\u65b9\u51c6\u5907\u597d\u63a5\u6536\u6570\u636e\u3002\u8fd9\u79cd\u673a\u5236\u53ef\u4ee5\u6709\u6548\u5730\u63a7\u5236\u6570\u636e\u4f20\u8f93\u901f\u7387\uff0c\u907f\u514d\u6570\u636e\u4e22\u5931\u6216\u6ea2\u51fa\u3002<\/p>\n\n\n\n \u3000\u3000RS-485\u63a5\u53e3\u5219\u91c7\u7528\u5e73\u8861\u9a71\u52a8\u5668\u548c\u5dee\u5206\u63a5\u6536\u5668\u6765\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u3002RS-485\u63a5\u53e3\u652f\u6301\u81ea\u52a8\u6d41\u63a7\u529f\u80fd\uff0c\u53ef\u4ee5\u68c0\u6d4b\u548c\u63a7\u5236\u901a\u4fe1\u4e2d\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\uff0c\u4ee5\u786e\u4fdd\u63a5\u6536\u548c\u53d1\u9001\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4e0d\u4f1a\u53d1\u751f\u4e22\u5931\u6216\u6ea2\u51fa\u3002\u6b64\u5916\uff0cRS-485\u63a5\u53e3\u7684\u786c\u4ef6\u6d41\u63a7\u5236\u53ef\u4ee5\u901a\u8fc7\u7279\u5b9a\u7684\u5f15\u811a\u6765\u63a7\u5236\u6536\u53d1\u72b6\u6001\u7684\u5207\u6362\uff0c\u4f8b\u5982\u5728STM32H7\u7684USART\u5e94\u7528\u4e2d\uff0c\u4f7f\u7528\u4e13\u95e8\u7684\u5f15\u811a\u6765\u63a7\u5236RS-485\u7269\u7406\u5c42\u7684\u6536\u53d1\u72b6\u6001\u3002<\/p>\n\n\n\n \u3000\u3000RS-232\u548cRS-485\u63a5\u53e3\u90fd\u901a\u8fc7\u786c\u4ef6\u6d41\u63a7\u5236\u673a\u5236\u6765\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u901f\u7387\u548c\u6d41\u91cf\u63a7\u5236\uff0c\u4f46\u5177\u4f53\u5b9e\u73b0\u65b9\u5f0f\u6709\u6240\u4e0d\u540c\u3002<\/p>\n\n\n\n \u3000\u3000\u786c\u4ef6\u6d41\u63a7\u5236\u5728\u907f\u514d\u7f51\u7edc\u62e5\u585e\u548c\u6570\u636e\u5305\u4e22\u5931\u65b9\u9762\u5177\u6709\u591a\u79cd\u5177\u4f53\u673a\u5236\u548c\u6280\u672f\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u7684\u89e3\u91ca\uff1a<\/p>\n\n\n\n \u786c\u4ef6\u6d41\u63a7\u5236\u662f\u4e00\u79cd\u901a\u8fc7\u786c\u4ef6\u4fe1\u53f7\u7ebf\u5b9e\u73b0\u7684\u6570\u636e\u4f20\u8f93\u63a7\u5236\u673a\u5236\uff0c\u901a\u8fc7RTS\/CTS\u6216DTR\/DSR\u4fe1\u53f7\u6765\u7ba1\u7406\u6570\u636e\u4f20\u8f93\u901f\u7387\u548c\u6d41\u91cf\uff0c\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u7684\u53ef\u9760\u6027\u548c\u7a33\u5b9a\u6027<\/p>\n","protected":false},"author":1,"featured_media":95334,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","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":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[397,284],"class_list":["post-97264","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-sjcs","tag-wxcs"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/97264"}],"collection":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/comments?post=97264"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/97264\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/95334"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=97264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=97264"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=97264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u3000\u3000\u4e00\u3001 \u786c\u4ef6\u6d41\u63a7\u5236\u5728\u73b0\u4ee3\u7f51\u7edc\u901a\u4fe1\u4e2d\u7684\u5e94\u7528<\/h2>\n\n\n\n
\u3000\u3000\u4e8c\u3001 \u5982\u4f55\u6839\u636e\u63a5\u6536\u7aef\u7684\u5904\u7406\u80fd\u529b\u548c\u7f13\u5b58\u7a7a\u95f4\u6765\u8bbe\u5b9a\u786c\u4ef6\u6d41\u63a7\u5236\u7684\u9608\u503c?<\/h2>\n\n\n\n
\n
\u3000\u3000\u4e09\u3001 RTS\/CTS\u6216DTR\/DSR\u4fe1\u53f7\u5728\u786c\u4ef6\u6d41\u63a7\u5236\u4e2d\u662f\u5982\u4f55\u5de5\u4f5c\u7684<\/h2>\n\n\n\n
\u3000\u30001. RTS\/CTS\u4fe1\u53f7<\/strong>\uff1a<\/h3>\n\n\n\n
\n
\u3000\u30002. DTR\/DSR\u4fe1\u53f7<\/strong>\uff1a<\/h3>\n\n\n\n
\n
\u3000\u30003. \u533a\u522b<\/strong>\uff1a<\/h3>\n\n\n\n
\n
\u3000\u3000\u56db\u3001 RS-232\u548cRS-485\u63a5\u53e3\u786c\u4ef6\u6d41\u63a7\u5236\u662f\u5982\u4f55\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u901f\u7387\u548c\u6d41\u91cf\u63a7\u5236<\/h2>\n\n\n\n
\u3000\u3000\u4e94\u3001 \u786c\u4ef6\u6d41\u63a7\u5236\u5bf9\u4e8e\u907f\u514d\u7f51\u7edc\u62e5\u585e\u548c\u6570\u636e\u5305\u4e22\u5931\u6709\u54ea\u4e9b\u5177\u4f53\u673a\u5236<\/h2>\n\n\n\n
\n