{"id":61514,"date":"2023-10-27T04:55:22","date_gmt":"2023-10-26T20:55:22","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=61514"},"modified":"2023-10-27T04:55:22","modified_gmt":"2023-10-26T20:55:22","slug":"sysjxuwktx","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/61514.html","title":{"rendered":"\u4f7f\u7528STM32\u8fdb\u884cUSRK2\u7f51\u53e3\u901a\u4fe1"},"content":{"rendered":"

  STM32\u662f\u4e00\u6b3e\u5e38\u7528\u7684\u5355\u7247\u673a\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u5176\u4e2d\u5305\u62ecUSRK2\u7f51\u53e3\u901a\u4fe1\u3002USRK2\u662f\u4e00\u79cd\u57fa\u4e8eTCP\/IP\u534f\u8bae\u7684\u7f51\u7edc\u901a\u4fe1\u6280\u672f\uff0c\u53ef\u4ee5\u5b9e\u73b0\u8fdc\u7a0b\u6570\u636e\u4f20\u8f93\uff0c\u662f\u4e00\u79cd\u975e\u5e38\u5b9e\u7528\u7684\u901a\u4fe1\u65b9\u5f0f\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528STM32\u8fdb\u884cUSRK2\u7f51\u53e3\u901a\u4fe1\u3002<\/p>\n

STM32\u786c\u4ef6\u914d\u7f6e<\/h2>\n

  \u5728\u4f7f\u7528STM32\u8fdb\u884cUSRK2\u7f51\u53e3\u901a\u4fe1\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u5bf9STM32\u7684\u786c\u4ef6\u8fdb\u884c\u6b63\u786e\u7684\u914d\u7f6e\u3002STM32\u6709\u591a\u79cd\u578b\u53f7\uff0c\u5176\u4e2d\u6700\u5e38\u7528\u7684\u662fSTM32F103\uff0c\u5b83\u5177\u6709\u4e30\u5bcc\u7684\u5916\u8bbe\uff0c\u53ef\u4ee5\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\u3002\u8981\u6b63\u786e\u914d\u7f6eSTM32\uff0c\u9996\u5148\u9700\u8981\u5b89\u88c5STM32CubeMX\uff0c\u8fd9\u662f\u4e00\u6b3eSTM32\u5f00\u53d1\u5de5\u5177\uff0c\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5feb\u901f\u914d\u7f6eSTM32\u786c\u4ef6\u53c2\u6570\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u9009\u62e9STM32F103\uff0c\u7136\u540e\u5728\u201c\u5916\u8bbe\u201d\u9009\u9879\u5361\u4e2d\u9009\u62e9USART\uff0c\u5373\u53ef\u6b63\u786e\u914d\u7f6eSTM32\u7684USART\u6a21\u5757\uff0c\u4ee5\u5b9e\u73b0USRK2\u7f51\u53e3\u901a\u4fe1\u3002<\/p>\n

STM32\u8f6f\u4ef6\u914d\u7f6e<\/h2>\n

  \u914d\u7f6e\u5b8cSTM32\u7684\u786c\u4ef6\u540e\uff0c\u63a5\u4e0b\u6765\u5c31\u662f\u914d\u7f6eSTM32\u7684\u8f6f\u4ef6\u3002STM32\u7684\u8f6f\u4ef6\u914d\u7f6e\u5f88\u7b80\u5355\uff0c\u53ea\u9700\u8981\u5728STM32CubeMX\u4e2d\u914d\u7f6eUSART\u6a21\u5757\u53c2\u6570\uff0c\u5373\u53ef\u5b9e\u73b0USRK2\u7f51\u53e3\u901a\u4fe1\u3002\u9996\u5148\uff0c\u9700\u8981\u914d\u7f6eUSART\u7684\u6ce2\u7279\u7387\uff0c\u4e00\u822c\u4f7f\u7528115200\uff0c\u8fd9\u662fUSRK2\u6700\u5e38\u7528\u7684\u6ce2\u7279\u7387\u3002\u63a5\u7740\uff0c\u9700\u8981\u914d\u7f6eUSART\u7684\u6570\u636e\u683c\u5f0f\uff0c\u4e00\u822c\u4f7f\u75288\u4f4d\u6570\u636e\u4f4d\uff0c1\u4f4d\u505c\u6b62\u4f4d\uff0c\u65e0\u6821\u9a8c\u4f4d\u3002\u6700\u540e\uff0c\u9700\u8981\u914d\u7f6eUSART\u7684\u5de5\u4f5c\u6a21\u5f0f\uff0c\u4e00\u822c\u4f7f\u7528\u4e32\u53e3\u901a\u4fe1\u6a21\u5f0f\u3002\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528STM32\u5b9e\u73b0USRK2\u7f51\u53e3\u901a\u4fe1\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528STM32\u8fdb\u884cUSRK2\u7f51\u53e3\u901a\u4fe1\u3002<\/strong>\u9996\u5148\uff0c\u9700\u8981\u6b63\u786e\u914d\u7f6eSTM32\u7684\u786c\u4ef6\uff0c\u5b89\u88c5STM32CubeMX\uff0c\u7136\u540e\u914d\u7f6eUSART\u6a21\u5757\u53c2\u6570\uff1b\u5176\u6b21\uff0c\u9700\u8981\u6b63\u786e\u914d\u7f6eSTM32\u7684\u8f6f\u4ef6\uff0c\u914d\u7f6eUSART\u7684\u6ce2\u7279\u7387\u3001\u6570\u636e\u683c\u5f0f\u548c\u5de5\u4f5c\u6a21\u5f0f\uff1b\u6700\u540e\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528STM32\u5b9e\u73b0USRK2\u7f51\u53e3\u901a\u4fe1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

STM32\u662f\u4e00\u6b3e\u5e38\u7528\u7684\u5355\u7247\u673a\uff0c\u5b83\u53ef\u4ee5\u5b9e\u73b0\u591a\u79cd\u529f\u80fd\uff0c\u5176\u4e2d\u5305\u62ecUSRK2\u7f51\u53e3\u901a\u4fe1\u3002USRK2\u662f\u4e00\u79cd\u57fa\u4e8eTCP\/IP\u534f\u8bae\u7684\u7f51\u7edc\u901a\u4fe1\u6280\u672f\uff0c\u53ef\u4ee5\u5b9e\u73b0\u8fdc\u7a0b\u6570\u636e\u4f20\u8f93\uff0c\u662f\u4e00\u79cd\u975e\u5e38\u5b9e\u7528\u7684\u901a<\/p>\n","protected":false},"author":1,"featured_media":1839,"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":[287],"class_list":["post-61514","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-stm32"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/61514"}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=61514"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/61514\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/1839"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=61514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=61514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=61514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}