{"id":77418,"date":"2024-01-12T14:40:45","date_gmt":"2024-01-12T06:40:45","guid":{"rendered":"\/\/www.viralrail.com\/?p=77418"},"modified":"2024-01-12T14:40:45","modified_gmt":"2024-01-12T06:40:45","slug":"uisdqb","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/77418.html","title":{"rendered":"UART\u3001I2C\u3001SPI\u7684\u533a\u522b"},"content":{"rendered":"
\u5728\u73b0\u4ee3\u7535\u5b50\u8bbe\u5907\u4e2d\uff0cUART\u3001I2C\u548cSPI\u662f\u5e38\u89c1\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u4eec\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u8fd9\u4e09\u79cd\u901a\u4fe1\u65b9\u5f0f\u7684\u7279\u70b9\u548c\u533a\u522b\u3002<\/p>\n
UART\u662f\u4e00\u79cd\u5f02\u6b65\u4e32\u884c\u6570\u636e\u4f20\u8f93\u534f\u8bae\uff0c\u5e38\u7528\u4e8e\u5c06\u6570\u636e\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u3002UART\u901a\u5e38\u4f7f\u7528\u4e00\u5bf9\u6570\u636e\u7ebf\uff08TX\u548cRX\uff09\u8fdb\u884c\u5168\u53cc\u5de5\u901a\u4fe1\u3002<\/p>\n
\u5728UART<\/a>\u901a\u4fe1\u4e2d\uff0c\u6570\u636e\u4ee5\u6570\u636e\u5305\u7684\u5f62\u5f0f\u88ab\u53d1\u9001\uff0c\u5e76\u4e14\u6bcf\u4e2a\u6570\u636e\u5305\u5305\u62ec\u8d77\u59cb\u4f4d\u3001\u6570\u636e\u4f4d\u3001\u5947\u5076\u6821\u9a8c<\/a>\u4f4d\u548c\u505c\u6b62\u4f4d\u3002\u8fd9\u79cd\u901a\u4fe1\u65b9\u5f0f\u975e\u5e38\u7b80\u5355\uff0c\u9002\u7528\u4e8e\u8f83\u77ed\u8ddd\u79bb\u7684\u6570\u636e\u4f20\u8f93\u3002<\/p>\n \u7531\u4e8eUART\u7684\u7b80\u5355\u6027\u548c\u53ef\u9760\u6027\uff0c\u5b83\u7ecf\u5e38\u7528\u4e8e\u8fde\u63a5\u5fae\u63a7\u5236\u5668\u3001\u4f20\u611f\u5668\u3001\u663e\u793a\u5c4f\u7b49\u5916\u8bbe\u8bbe\u5907\u3002<\/p>\n I2C\u662f\u4e00\u79cd\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u53ef\u4ee5\u5b9e\u73b0\u591a\u4e2a\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002\u5b83\u4f7f\u7528\u4e24\u6839\u7ebf\uff08\u4e32\u884c\u6570\u636e\u7ebf\u548c\u4e32\u884c\u65f6\u949f\u7ebf\uff09\uff0c\u80fd\u591f\u5b9e\u73b0\u591a\u4e3b\u673a\u548c\u591a\u4ece\u673a\u7684\u901a\u4fe1\u3002<\/p>\n I2C\u901a\u4fe1\u901a\u8fc7\u5728\u65f6\u949f\u4fe1\u53f7\u7684\u63a7\u5236\u4e0b\uff0c\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002\u5b83\u652f\u6301\u9ad8\u901f\uff08HS\uff09\u3001\u5feb\u901f\uff08FS\uff09\u3001\u6807\u51c6\uff08SS\uff09\u548c\u4f4e\u901f\uff08LS\uff09\u56db\u79cd\u6a21\u5f0f\u3002<\/p>\n \u7531\u4e8eI2C\u652f\u6301\u591a\u4ece\u673a\u901a\u4fe1\u548c\u5177\u6709\u8f83\u5927\u7684\u5730\u5740\u7a7a\u95f4\uff0c\u56e0\u6b64\u5b83\u5e38\u89c1\u4e8e\u4f4e\u901f\u5916\u8bbe\u3001\u4f20\u611f\u5668\u3001\u5b58\u50a8\u5668\u7b49\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/p>\n SPI\u662f\u4e00\u79cd\u5168\u53cc\u5de5\u7684\u540c\u6b65\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u901a\u5e38\u7528\u4e8e\u8fde\u63a5\u5fae\u63a7\u5236\u5668\u548c\u5916\u56f4\u8bbe\u5907\uff0c\u5982\u5b58\u50a8\u5668\u3001\u4f20\u611f\u5668\u548c\u663e\u793a\u5c4f\u7b49\u3002<\/p>\n \u9002\u7528\u573a\u666f<\/h3>\n
I2C\uff08Inter-Integrated Circuit\uff09<\/h2>\n
\u6570\u636e\u4f20\u8f93\u65b9\u5f0f<\/h3>\n
\u5e94\u7528\u9886\u57df<\/h3>\n
SPI\uff08Serial Peripheral Interface\uff09<\/h2>\n
\u4f20\u8f93\u65b9\u5f0f<\/h3>\n