{"id":366417,"date":"2024-05-21T02:59:01","date_gmt":"2024-05-21T02:59:01","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=366417"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-05-21T02:59:01","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=366417","title":{"rendered":"<span>WinnerMicro Wi-Fi SoC W801\/W806 (SPI, I2C \u2013 \u0434\u0438\u0441\u043f\u043b\u0435\u0439 \u0438 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430)<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u0437\u0430\u0432\u0435\u0441\u0442\u0438 SPI \u0438 I2C \u043d\u0430 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u043e\u043c \u0447\u0438\u043f\u0435 WinnerMicro Wi-Fi SoC W801\/W806. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0434\u0438\u0441\u043f\u043b\u0435\u044f \u043d\u0430 ST7789 \u0438 \u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u0438 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u0438 AHT10. <\/p>\n<h3>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430<\/h3>\n<p><a href=\"https:\/\/occ.t-head.cn\/community\/download?id=4119141468164132864\" rel=\"noopener noreferrer nofollow\"><u>\u041a\u0430\u0447\u0430\u0435\u043c \u043e\u0442\u0441\u044e\u0434\u0430 CDK <\/u><\/a>(IDE)<\/p>\n<p>\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f, \u0431\u044b\u0441\u0442\u0440\u0430\u044f \u2013 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u043f\u043e\u0447\u0442\u0435. \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0431\u044b\u0441\u0442\u0440\u043e.<\/p>\n<p>\u0413\u0438\u0442\u044b \u0441 SDK. \u041e\u0442\u043b\u0438\u0447\u0438\u044f \u0432 \u043c\u043e\u0434\u0443\u043b\u0435 RF \u0438 \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0438\u043d\u0430\u0445 (\u0441\u043c. \u0432 \u041b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0438 \u043f\u0440\u043e\u0447\u0435\u0435). <\/p>\n<p><a href=\"https:\/\/github.com\/IOsetting\/wm-sdk-w806\" rel=\"noopener noreferrer nofollow\">\u0414\u043b\u044f 806<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/ganhailin\/wm_sdk_w801\" rel=\"noopener noreferrer nofollow\">\u0414\u043b\u044f 801<\/a><\/p>\n<h3>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u0430 cklink-lite (\u0435\u0441\u043b\u0438 \u043d\u0435\u0442)<\/h3>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0430 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c BluePill STM32(<strong>STM32F103C8T6<\/strong>). \u041a\u0430\u0447\u0430\u0435\u043c \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0435\u043a\u0442:<\/p>\n<p><a href=\"https:\/\/github.com\/henrycoding\/cklink-lite\" rel=\"noopener noreferrer nofollow\">GitHub<\/a><\/p>\n<p>\u0418, \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0448\u0438\u0442\u044c <strong>CKLinkLite2.30.hex<\/strong> \u0432 \u043f\u043b\u0430\u0442\u0443. \u041c\u043e\u0436\u043d\u043e \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c\u0438 <em>STM32 Utility<\/em> \u0438\u043b\u0438 <em>Cube Programmer<\/em>. <\/p>\n<p>\u0421\u0442\u043e\u0438\u0442 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0447\u0435\u0440\u0435\u0437 Zadig, \u0438\u043d\u0430\u0447\u0435 IDE \u0431\u0443\u0434\u0435\u0442 \u0440\u0443\u0433\u0430\u0442\u044c \u0432\u0430\u0441 \u0438 \u0433\u0440\u043e\u0437\u0438\u0442\u044c \u043f\u0430\u043b\u044c\u0447\u0438\u043a\u043e\u043c. \u041c\u0435\u043d\u044f\u0435\u043c \u043d\u0430 <strong>libusb<\/strong><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/0f5\/246\/63d\/0f524663d6d89f542c4ff8fc5936aaec.png\" width=\"691\" height=\"304\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0f5\/246\/63d\/0f524663d6d89f542c4ff8fc5936aaec.png\"\/><\/figure>\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 STM32 \u043a W806\/801 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f58\/d6d\/6a8\/f58d6d6a8b18b043d96ae9a7824205ba.png\" width=\"1024\" height=\"514\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f58\/d6d\/6a8\/f58d6d6a8b18b043d96ae9a7824205ba.png\"\/><\/figure>\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0441\u0430\u043c\u043e\u0434\u0435\u043b\u043a\u0438\u043d \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/363\/da7\/448\/363da74488c9795377b75581baa7a143.png\" width=\"803\" height=\"700\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/363\/da7\/448\/363da74488c9795377b75581baa7a143.png\"\/><\/figure>\n<p>\u041d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e <strong>nRESET<\/strong> \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0442.\u043a \u0441\u0431\u0440\u043e\u0441\u0430 \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u043a\u043d\u043e\u043f\u043a\u0435, \u043d\u043e \u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e. <\/p>\n<p>\u0427\u0442\u043e\u0431\u044b IDE \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0430 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438, \u043d\u0443\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0444\u0430\u0439\u043b\u043e\u043c <strong>W806_Flash_Tool.elf<\/strong><\/p>\n<p>\u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0443 <strong>Flash Management<\/strong> \u0432 IDE<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/cf0\/47b\/198\/cf047b1981e315ee62e37a2c345a816f.png\" width=\"661\" height=\"415\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/cf0\/47b\/198\/cf047b1981e315ee62e37a2c345a816f.png\"\/><\/figure>\n<p>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c <strong>Add<\/strong><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/47b\/b7c\/a2c\/47bb7ca2c40430765b4cb46f2e869541.png\" width=\"687\" height=\"342\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/47b\/b7c\/a2c\/47bb7ca2c40430765b4cb46f2e869541.png\"\/><\/figure>\n<p>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0441\u043a\u0430\u0447\u0430\u043d\u043d\u044b\u0439 \u0440\u0430\u043d\u0435\u0435 \u0444\u0430\u0439\u043b<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/501\/535\/e18\/501535e18eff2d469ae8d8a557c88065.png\" width=\"567\" height=\"246\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/501\/535\/e18\/501535e18eff2d469ae8d8a557c88065.png\"\/><\/figure>\n<p>\u0418 \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435\u043c \u043e\u043a\u043d\u0430, \u043d\u0443\u0436\u043d\u043e \u043f\u043e \u043d\u0435\u043c\u0443 \u043a\u043b\u0438\u043a\u043d\u0443\u0442\u044c. \u0412 \u043d\u0438\u0436\u043d\u0435\u043c \u043e\u043a\u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c\u0441\u044f \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/438\/104\/04b\/43810404b6b057becb6382f4a1a4a410.png\" width=\"688\" height=\"346\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/438\/104\/04b\/43810404b6b057becb6382f4a1a4a410.png\"\/><\/figure>\n<p>\u0414\u0430\u043b\u0435\u0435, \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0443 <strong>Configure Flash Tool<\/strong><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/cc3\/379\/030\/cc3379030a272dfdc5307754cdf5a907.png\" width=\"707\" height=\"400\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/cc3\/379\/030\/cc3379030a272dfdc5307754cdf5a907.png\"\/><\/figure>\n<p>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c <strong>Add<\/strong><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f4e\/f14\/f4c\/f4ef14f4cc7aac976e784b87eda5a802.png\" width=\"995\" height=\"782\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f4e\/f14\/f4c\/f4ef14f4cc7aac976e784b87eda5a802.png\"\/><\/figure>\n<p>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0440\u0430\u043d\u0435\u0435 \u0434\u0440\u0430\u0439\u0432\u0435\u0440, \u043a\u043b\u0438\u043a\u0430\u0435\u043c <strong>Add<\/strong><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/560\/c50\/c11\/560c50c111746a44c56d19bd929f63ef.png\" width=\"683\" height=\"346\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/560\/c50\/c11\/560c50c111746a44c56d19bd929f63ef.png\"\/><\/figure>\n<p>\u041e\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c\u0441\u044f \u0432\u043e\u0442 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432 \u043e\u043a\u043d\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/200\/118\/4c5\/2001184c5f5d2af8b1be053eaf8fb28c.png\" width=\"930\" height=\"301\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/200\/118\/4c5\/2001184c5f5d2af8b1be053eaf8fb28c.png\"\/><\/figure>\n<p>\u0414\u0430\u043b\u0435\u0435 \u2013 \u0432 \u044d\u0442\u043e\u043c \u0436\u0435 \u043e\u043a\u043d\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0443 <strong>Debug<\/strong> \u0438 \u0436\u043c\u0435\u043c <strong>Settings\u2026<\/strong><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/c86\/645\/829\/c8664582954f1846570ee2c25350b5ca.png\" width=\"990\" height=\"447\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c86\/645\/829\/c8664582954f1846570ee2c25350b5ca.png\"\/><\/figure>\n<p>\u0418 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0433\u0430\u043b\u043e\u0447\u043a\u0443 <strong>Download to Flash<\/strong><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d98\/56e\/571\/d9856e57148c56eeeb77918c76d4593e.png\" width=\"805\" height=\"742\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d98\/56e\/571\/d9856e57148c56eeeb77918c76d4593e.png\"\/><\/figure>\n<p>\u0417\u0430\u0448\u0438\u0432\u0430\u0435\u043c \u2013 \u0432\u0441\u0435 \u043f\u0440\u043e\u0448\u043b\u043e \u0433\u043b\u0430\u0434\u043a\u043e. \u041a\u043e\u0434 \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u0438 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0431\u0440\u0435\u0439\u043a\u043f\u043e\u0438\u043d\u0442\u0430\u0445.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/9eb\/53a\/a39\/9eb53aa399447886ce244bba30cd3320.png\" width=\"403\" height=\"214\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9eb\/53a\/a39\/9eb53aa399447886ce244bba30cd3320.png\"\/><\/figure>\n<h4>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f<\/h4>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a\u043e\u0435 \u043e\u043a\u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u043b\u0435\u0437\u0430\u0442\u044c \u043f\u0440\u0438 \u0440\u0435\u0431\u0443\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u0430. \u0412\u0438\u0434\u0438\u043c\u043e, \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0441\u0435\u0440\u0432\u0438\u0441 \u043d\u0435 \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0434\u0440\u0430\u0439\u0432\u0435\u0440.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/3c4\/3f5\/fd5\/3c43f5fd529a31ecc9b347c36e76359f.png\" width=\"390\" height=\"291\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3c4\/3f5\/fd5\/3c43f5fd529a31ecc9b347c36e76359f.png\"\/><\/figure>\n<p>\u0422\u0430\u043a\u043e\u0435 \u043b\u0435\u0447\u0438\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u0432 \u0440\u0443\u0447\u043d\u0443\u044e. <\/p>\n<blockquote>\n<p>\u0414\u0438\u0441\u043f\u0435\u0442\u0447\u0435\u0440 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432->\u0434\u0432\u043e\u0439\u043d\u043e\u0439 \u043a\u043b\u0438\u043a \u043f\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u0443->\u0414\u0440\u0430\u0439\u0432\u0435\u0440->\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u0440\u0430\u0439\u0432\u0435\u0440->\u041d\u0430\u0439\u0442\u0438 \u043d\u0430 \u044d\u0442\u043e\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435->\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445. <\/p>\n<\/blockquote>\n<p>\u0422\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u043f\u0430\u0440\u043e\u0447\u043a\u0430. \u042f \u0442\u044b\u043a\u0430\u044e <strong>\u043b\u044e\u0431\u043e\u0439<\/strong>, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0438\u0441\u0447\u0435\u0437\u0430\u0435\u0442 \u0434\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430. \u041a\u0430\u043a \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438 \u043a\u043b\u0430\u0441\u0441\u0438\u043a\u0438 \u043a\u0438\u043d\u0435\u043c\u0430\u0442\u043e\u0433\u0440\u0430\u0444\u0430: \u201c\u0410 \u0431\u043e\u043b\u044c\u0448\u0435\u0433\u043e \u043c\u043d\u0435 \u0438 \u043d\u0435 \u043d\u0430\u0434\u043e!\u201d. <\/p>\n<p>\u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 806 \u043d\u0430 801 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 \u043d\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438. \u041d\u0435 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043b\u0441\u044f, \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043b\u0438\u0432\u043a\u0438 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u0441\u0442\u0430\u0440\u0442\u0430\u043d\u0443\u0442\u044c \u2013 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0439\u0442\u0438 \u0432 \u043e\u0442\u043b\u0430\u0434\u043a\u0443, \u043f\u043e\u0442\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e.<\/p>\n<p>\u042d\u0442\u043e \u0432\u0441\u0435, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u044b.<\/p>\n<h3>\u0417\u0430\u0432\u043e\u0434\u0438\u043c SPI \u043d\u0430 W806\/W801<\/h3>\n<p>\u0414\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438, \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u0432 \u043f\u0430\u043f\u043a\u0435 SDK.<\/p>\n<p><strong>WM_SDK_W806\\tools\\W806\\projects\\SDK_Project\\project\\CDK_WS<\/strong><\/p>\n<p>\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u043e\u0434\u043d\u044f\u0442\u044c SPI. \u0423\u0437\u043d\u0430\u0435\u043c, \u0447\u0442\u043e \u0438\u0445 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u2013 \u043e\u0431\u044b\u0447\u043d\u044b\u0439(<strong>LSPI<\/strong>), \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u043d\u043e\u0439(<strong>HSPI<\/strong>) \u0438 <strong>QSPI<\/strong>.<\/p>\n<p>\u041d\u0430\u043c \u043d\u0443\u0436\u0435\u043d <strong>LSPI<\/strong>. \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c <em>Chip Specifications W801<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/569\/6b7\/3cf\/5696b73cfc39ab21462993212095f196.png\" width=\"1024\" height=\"385\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/569\/6b7\/3cf\/5696b73cfc39ab21462993212095f196.png\"\/><\/figure>\n<p> \u0412\u0438\u0434\u0438\u043c, \u0447\u0442\u043e <strong>LSPI<\/strong> \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u043c\u0430\u043f\u0438\u0442\u044c \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043d\u043e\u0436\u043a\u0438 \u043f\u043e\u0440\u0442\u0430 B:<\/p>\n<ul>\n<li>\n<p>23 \u2013 CS (NSS)<\/p>\n<\/li>\n<li>\n<p>24 \u2013 CK (CLK)<\/p>\n<\/li>\n<li>\n<p>25 \u2013 MISO<\/p>\n<\/li>\n<li>\n<p>26 \u2013 MOSI<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u0438\u0448\u0435\u043c \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e.<\/p>\n<pre><code class=\"cpp\">static HAL_StatusTypeDef SPI_Init(SPI_HandleTypeDef *hspi){     SPI_InitTypeDef spi;     HAL_StatusTypeDef ret = HAL_OK;     \/\/__HAL_AFIO_REMAP_SPI_CS(GPIOB, GPIO_PIN_4); hardware NSS disabeled     __HAL_AFIO_REMAP_SPI_CLK(GPIOB, SPI_SCL);     \/\/__HAL_AFIO_REMAP_SPI_MISO(GPIOB, SPI_MISO);     __HAL_AFIO_REMAP_SPI_MOSI(GPIOB, SPI_MOSI);           hspi->Init.Mode = SPI_MODE_MASTER;     hspi->Init.CLKPolarity = SPI_POLARITY_HIGH;     hspi->Init.CLKPhase = SPI_PHASE_1EDGE;     hspi->Init.NSS = SPI_NSS_SOFT;     hspi->Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_2;     hspi->Init.FirstByte = SPI_LITTLEENDIAN;          hspi->Instance = SPI;          ret = HAL_SPI_Init(hspi);     return ret;  }<\/code><\/pre>\n<p>\u0412 <strong>main<\/strong> \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u044d\u0442\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0438 \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c ( <strong>HAL_SPI_Transmit(&amp;hspi1, data, 5, 10000); <\/strong>) \u0438\u2026 \u0442\u0438\u0448\u0438\u043d\u0430.<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u043a\u043e\u0434 <strong>HAL_SPI_Init<\/strong> \u2013 \u0432\u0441\u0435 \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u043a\u0430\u043a\u0438\u0435 \u043d\u0443\u0436\u043d\u044b \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b <strong>LSPI<\/strong> \u2013 \u043d\u0435\u0442 \u043b\u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 <strong>ENABLE<\/strong>. \u041d\u0435\u0442, \u0432\u0441\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e. \u041c\u043e\u0436\u0435\u0442 \u043d\u0443\u0436\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0436\u043a\u0438? \u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u2013 \u043d\u0435\u0442. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0440\u0435\u0433\u0438\u0441\u0442\u0440 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u2013 \u0442\u0430\u043c \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435\u0442 \u043f\u0440\u043e \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u044e. <\/p>\n<p>\u0422\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c(<strong>\u043d\u0435 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0442\u0430\u043a<\/strong>), \u0442.\u043a. \u0433\u043b\u0430\u0437 \u0437\u0430\u0446\u0435\u043f\u0438\u043b\u0441\u044f \u0437\u0430 \u044d\u0442\u0443 \u0444\u0440\u0430\u0437\u0443 \u043f\u0440\u0438 \u0431\u0435\u0433\u043b\u043e\u043c \u043e\u0441\u043c\u043e\u0442\u0440\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/5ee\/803\/b71\/5ee803b71c7da0fd4d307ed2eb5cf866.png\" width=\"736\" height=\"368\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/5ee\/803\/b71\/5ee803b71c7da0fd4d307ed2eb5cf866.png\"\/><\/figure>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u0440\u0435\u0448\u0438\u043b \u0432\u044b\u0447\u0438\u0442\u0430\u0442\u044c Software Clock Gating Enable Register (<strong>HR_CLK_BASE_ADDR<\/strong>) \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <strong>0x40000E00<\/strong> \u0438 \u0443\u0432\u0438\u0434\u0435\u043b, \u0447\u0442\u043e \u043a\u043b\u043e\u043a\u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b! \u0412\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f <strong>gpio<\/strong> \u0438 <strong>uart<\/strong>. \u041f\u0435\u0440\u0432\u0430\u044f \u0436\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044f(SystemClock_Config(CPU_CLK_160M)) <strong>\u0432\u044b\u043a\u043b\u044e\u0447\u0438\u043b\u0430 \u0432\u0441\u044e \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u044e<\/strong>!<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f23\/855\/c48\/f23855c48bc1b037d2167e71d8810b63.png\" width=\"812\" height=\"424\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f23\/855\/c48\/f23855c48bc1b037d2167e71d8810b63.png\"\/><\/figure>\n<p>\u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c!<\/p>\n<p>\u0412 <strong>Register Manual<\/strong> \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c 1 \u0441\u044e\u0434\u0430:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/0b3\/131\/139\/0b3131139d574e473599bcdb6687d534.png\" alt=\"i2c\" title=\"i2c\" width=\"955\" height=\"331\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0b3\/131\/139\/0b3131139d574e473599bcdb6687d534.png\"\/><\/p>\n<div><figcaption>i2c<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d33\/20b\/286\/d3320b2861dcd1a028de908be85fd7c8.png\" alt=\"spi\" title=\"spi\" width=\"971\" height=\"501\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d33\/20b\/286\/d3320b2861dcd1a028de908be85fd7c8.png\"\/><\/p>\n<div><figcaption>spi<\/figcaption><\/div>\n<\/figure>\n<p>\u0422\u043e \u0435\u0441\u0442\u044c \u043f\u043e \u043c\u0430\u0441\u043a\u0435 <strong>0x80<\/strong> \u0438 <strong>0x01<\/strong> \u0432 <strong>HR_CLK_BASE_ADDR<\/strong>. <\/p>\n<p><code>*((uint32_t *)(HR_CLK_BASE_ADDR)) |= CLK_GATE_SPI_MASK|CLK_GATE_I2C_MASK;<\/code><\/p>\n<p>\u0418, \u043e \u0447\u0443\u0434\u043e, \u0442\u0435\u0441\u0442\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u043f\u043e\u0431\u0435\u0436\u0430\u043b\u0430! \u041f\u0440\u043e\u0431\u0443\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043e\u0442 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0434\u0438\u0441\u043f\u043b\u0435\u044f \u2013 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<p>SPI \u2013 \u043f\u0438\u0448\u0435\u043c \u0432 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0434\u0438\u0441\u043f\u043b\u0435\u044f:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/201\/c69\/009\/201c6900937bf70759cbfcd0d25cc579.jpeg\" width=\"1024\" height=\"298\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/201\/c69\/009\/201c6900937bf70759cbfcd0d25cc579.jpeg\" data-blurred=\"true\"\/><\/figure>\n<p>\u0425\u043e\u0447\u0443 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c SPI \u0432 BIGENDIAN, \u0442\u043e HAL-\u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c <strong>\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u0435\u043b\u044c\u043d\u043e<\/strong> \u2013 \u043e\u043d\u0430 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0430.<\/p>\n<h3>\u0417\u0430\u0432\u043e\u0434\u0438\u043c I2C \u043d\u0430 W806\/W801<\/h3>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e I2C<\/p>\n<pre><code class=\"cpp\">static HAL_StatusTypeDef I2C_Init(I2C_HandleTypeDef *hi2c){     HAL_StatusTypeDef ret = HAL_OK;     __HAL_AFIO_REMAP_I2C_SCL(GPIOB, I2C_SCL);     __HAL_AFIO_REMAP_I2C_SDA(GPIOB, I2C_SDA);     hi2c->Frequency = 100000;     hi2c->Instance = I2C;     ret = HAL_I2C_Init(hi2c);     return ret; }<\/code><\/pre>\n<p>\u0421\u0430\u043c\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f HAL \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 STM\u043e\u0432\u0441\u043a\u0443\u044e, \u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u0438\u0435. \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u044d\u0442\u043e \u043c\u0435\u043d\u044f \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u043b\u043e \u2013 \u043d\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0441\u0440\u0430\u0437\u0443<\/p>\n<p>\u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u043e\u0442\u043b\u0438\u0447\u0438\u044f:<\/p>\n<pre><code class=\"cpp\">HAL_StatusTypeDef HAL_I2C_Write(I2C_HandleTypeDef *hi2c, uint8_t DevAddress, uint8_t MemAddress, uint8_t *pData, uint16_t Size); \/\/W800 HAL_StatusTypeDef HAL_I2C_Master_Transmit (I2C_HandleTypeDef* hi2c, uint16_t DevAddress, uint8_t* pData, uint16_t Size, uint32_t Timeout); \/\/STM32<\/code><\/pre>\n<p>I2C \u2013 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435 \u0441 \u0434\u0430\u0442\u0447\u0438\u043a\u0430 AHT10<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/a96\/7b6\/134\/a967b61349ee89568af29047dc33effa.jpeg\" width=\"1024\" height=\"360\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a96\/7b6\/134\/a967b61349ee89568af29047dc33effa.jpeg\" data-blurred=\"true\"\/><\/figure>\n<p>\u041e\u0442\u0432\u0435\u0442 \u043e\u0442 \u0434\u0430\u0442\u0447\u0438\u043a\u0430 AHT10<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/404\/78f\/1c8\/40478f1c8b548627909ede82f96ce8f5.jpeg\" width=\"1024\" height=\"353\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/404\/78f\/1c8\/40478f1c8b548627909ede82f96ce8f5.jpeg\" data-blurred=\"true\"\/><\/figure>\n<h3>\u0418\u0442\u043e\u0433\u0438<\/h3>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043b \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0430\u043b\u0430 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u0438 \u0441\u043c\u043e\u0442\u0440\u044e \u043a\u0430\u043a \u0440\u0438\u0441\u0443\u0435\u0442\u0441\u044f.<\/p>\n<p>\u0420\u0438\u0441\u0443\u0435\u043c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u041c\u0430\u043d\u0434\u0435\u043b\u044c\u0431\u0440\u043e\u0442\u0430:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/583\/ab1\/16e\/583ab116e4d20238e4d0553dd2a38f5f.jpeg\" width=\"768\" height=\"1024\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/583\/ab1\/16e\/583ab116e4d20238e4d0553dd2a38f5f.jpeg\" data-blurred=\"true\"\/><\/figure>\n<p>\u041f\u0430\u0440\u0430 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0445 \u0432\u0438\u0434\u0435\u043e:<\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/65b373516748d7d46f51a095\" data-style=\"\" id=\"65b373516748d7d46f51a095\" width=\"\"><\/div>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/65b3739e6748d7d46f51a0cf\" data-style=\"\" id=\"65b3739e6748d7d46f51a0cf\" width=\"\"><\/div>\n<p><a href=\"https:\/\/github.com\/tunerok\/W801_W806_SPI_I2C_Example\" rel=\"noopener noreferrer nofollow\"><u>\u041f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430 GitHub<\/u><\/a><\/p>\n<h3>\u041b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435 \u043f\u0440\u043e\u0447\u0435\u0435<\/h3>\n<p><a href=\"https:\/\/www.hackster.io\/usini\/display-images-on-a-st7789-screen-fbb0d7\" rel=\"noopener noreferrer nofollow\"><u>\u0417\u0434\u0435\u0441\u044c \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043a\u0430\u043a \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c<\/u><\/a><\/p>\n<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 \u043f\u0438\u0442\u043e\u043d\u0435 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b <strong>LCD image converter<\/strong> \u0432 \u0432\u0438\u0434 \u0434\u0432\u0443\u043c\u0435\u0440\u043d\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 header\u2019\u0430\u0445.<\/p>\n<pre><code class=\"python\">file1 = open('inp_file.txt', 'r') file2 = open('test_out.txt', 'w+') count = 0 file2.write(\"const uint16_t test_img[][240] = {\") while True:     line = file1.readline()     if not line:         file2.write(\"};\")         break     if count != 0:         file2.write(\",\")     count += 1     file2.write(\"{\" + line + \"}\") file2.close() file1.close()<\/code><\/pre>\n<p><strong>\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u044f \u043d\u0443\u0436\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043f\u043e \u0447\u0438\u043f\u0430\u043c \u0441\u043e\u0431\u0440\u0430\u043d\u0430 \u0432 \u044d\u0442\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438<\/strong><\/p>\n<p><a href=\"https:\/\/github.com\/nvv13\/test\/tree\/main\/test-mk\/w801\" rel=\"noopener noreferrer nofollow\">GitHub<\/a><\/p>\n<p><a href=\"https:\/\/h.hlktech.com\/Mobile\/download\/fdetail\/170.html\" rel=\"noopener noreferrer nofollow\"><strong><u>\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0435 \u0434\u0430\u0442\u0430\u0448\u0438\u0442\u044b \u043d\u0430 W801<\/u><\/strong><\/a><\/p>\n<p><a href=\"https:\/\/www.cnblogs.com\/milton\/p\/15621540.html\" rel=\"noopener noreferrer nofollow\"><strong><u>\u0422\u0443\u0442 \u0435\u0441\u0442\u044c \u043f\u0440\u043e \u043e\u0442\u043b\u0438\u0447\u0438\u044f \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/u><\/strong><\/a><\/p>\n<p><strong>\u0413\u0438\u0442 \u0441 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u043c \u0434\u0438\u0441\u043f\u043b\u0435\u044f \u043d\u0430 st7789 \u0434\u043b\u044f STM32<\/strong><\/p>\n<p><a href=\"https:\/\/github.com\/Floyd-Fish\/ST7789-STM32\" rel=\"noopener noreferrer nofollow\">GitHub<\/a><\/p>\n<p><a href=\"https:\/\/hackaday.io\/page\/12671-how-to-debug-w806-and-w801-mcus\" rel=\"noopener noreferrer nofollow\"><strong><u>\u041f\u0440\u043e \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a<\/u><\/strong><\/a><\/p>\n<p><a href=\"https:\/\/www.bilibili.com\/video\/BV1L44y1J7Jz\/\" rel=\"noopener noreferrer nofollow\"><strong><u>\u0412\u0438\u0434\u043e\u0441 (\u043d\u0430 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u043e\u043c) \u043a\u0430\u043a \u0447\u0435\u043b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440 \u043d\u0430  STM32F103 \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a \u043e\u0442\u043b\u0430\u0434\u043a\u0438<\/u><\/strong><\/a><strong> (\u81ea\u5236CKlink\u963f\u91cc\u5e73\u5934\u54e5w801\/w806\u4eff\u771f\u5668DIY\u5168\u6559\u7a0b)<\/strong><\/p>\n<p><strong>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u044b \u0441\u0430\u043c\u043e\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0441 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c\u0438 \u043d\u0430 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u043e\u043c \u0441 \u0433\u043e\u0442\u043e\u0432\u044b\u043c\u0438 \u0441\u0445\u0435\u043c\u0430\u0442\u0438\u043a\u0430\u043c\u0438 \u0438 \u0440\u0430\u0437\u0432\u043e\u0434\u043a\u0430\u043c\u0438:<\/strong><\/p>\n<p><a href=\"https:\/\/oshwhub.com\/jiaminghui98\/mini-CKLink\" rel=\"noopener noreferrer nofollow\">https:\/\/oshwhub.com\/jiaminghui98\/mini-CKLink<\/a><\/p>\n<p><a href=\"https:\/\/oshwhub.com\/l88889686\/cklinkw80x-fang-zhen-qi\" rel=\"noopener noreferrer nofollow\">https:\/\/oshwhub.com\/l88889686\/cklinkw80x-fang-zhen-qi<\/a><\/p>\n<p><strong>\u041f\u043e\u043b\u0443-\u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0434\u0430\u0442\u0430\u0448\u0438\u0442 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u043d\u0430 W806:<\/strong><\/p>\n<p><a href=\"https:\/\/programel.ru\/wp-content\/uploads\/2023\/01\/W806_-1.pdf\" rel=\"noopener noreferrer nofollow\">W806_-1\u0421\u043a\u0430\u0447\u0430\u0442\u044c<\/a><\/p>\n<p><a href=\"http:\/\/we.easyelectronics.ru\/tag\/W806%20MCU\/\" rel=\"noopener noreferrer nofollow\"><strong><u>\u041f\u0440\u043e 806 \u043d\u0430 easyelectronics<\/u><\/strong><\/a><\/p>\n<p><a href=\"https:\/\/mysku.club\/blog\/aliexpress\/91119.html\" rel=\"noopener noreferrer nofollow\"><strong><u>\u041d\u0430 \u0434\u0440\u0443\u0433\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u043f\u0440\u043e W806\/W801 \u0441 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c\u0438 \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438<\/u><\/strong><\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/789196\/\"> https:\/\/habr.com\/ru\/articles\/789196\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u0437\u0430\u0432\u0435\u0441\u0442\u0438 SPI \u0438 I2C \u043d\u0430 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u043e\u043c \u0447\u0438\u043f\u0435 WinnerMicro Wi-Fi SoC W801\/W806. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0434\u0438\u0441\u043f\u043b\u0435\u044f \u043d\u0430 ST7789 \u0438 \u0434\u0430\u0442\u0447\u0438\u043a\u0430 \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u0438 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u0438 AHT10. <\/p>\n<h3>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430<\/h3>\n<p><a href=\"https:\/\/occ.t-head.cn\/community\/download?id=4119141468164132864\" rel=\"noopener noreferrer nofollow\"><u>\u041a\u0430\u0447\u0430\u0435\u043c \u043e\u0442\u0441\u044e\u0434\u0430 CDK <\/u><\/a>(IDE)<\/p>\n<p>\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430\u044f, \u0431\u044b\u0441\u0442\u0440\u0430\u044f \u2013 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u043f\u043e\u0447\u0442\u0435. \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0431\u044b\u0441\u0442\u0440\u043e.<\/p>\n<p>\u0413\u0438\u0442\u044b \u0441 SDK. \u041e\u0442\u043b\u0438\u0447\u0438\u044f \u0432 \u043c\u043e\u0434\u0443\u043b\u0435 RF \u0438 \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0438\u043d\u0430\u0445 (\u0441\u043c. \u0432 \u041b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0438 \u043f\u0440\u043e\u0447\u0435\u0435). <\/p>\n<p><a href=\"https:\/\/github.com\/IOsetting\/wm-sdk-w806\" rel=\"noopener noreferrer nofollow\">\u0414\u043b\u044f 806<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/ganhailin\/wm_sdk_w801\" rel=\"noopener noreferrer nofollow\">\u0414\u043b\u044f 801<\/a><\/p>\n<h3>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u0430 cklink-lite (\u0435\u0441\u043b\u0438 \u043d\u0435\u0442)<\/h3>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0430 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c BluePill STM32(<strong>STM32F103C8T6<\/strong>). \u041a\u0430\u0447\u0430\u0435\u043c \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0435\u043a\u0442:<\/p>\n<p><a href=\"https:\/\/github.com\/henrycoding\/cklink-lite\" rel=\"noopener noreferrer nofollow\">GitHub<\/a><\/p>\n<p>\u0418, \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0448\u0438\u0442\u044c <strong>CKLinkLite2.30.hex<\/strong> \u0432 \u043f\u043b\u0430\u0442\u0443. \u041c\u043e\u0436\u043d\u043e \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c\u0438 <em>STM32 Utility<\/em> \u0438\u043b\u0438 <em>Cube Programmer<\/em>. <\/p>\n<p>\u0421\u0442\u043e\u0438\u0442 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0447\u0435\u0440\u0435\u0437 Zadig, \u0438\u043d\u0430\u0447\u0435 IDE \u0431\u0443\u0434\u0435\u0442 \u0440\u0443\u0433\u0430\u0442\u044c \u0432\u0430\u0441 \u0438 \u0433\u0440\u043e\u0437\u0438\u0442\u044c \u043f\u0430\u043b\u044c\u0447\u0438\u043a\u043e\u043c. \u041c\u0435\u043d\u044f\u0435\u043c \u043d\u0430 <strong>libusb<\/strong><\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 STM32 \u043a W806\/801 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0441\u0430\u043c\u043e\u0434\u0435\u043b\u043a\u0438\u043d \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e <strong>nRESET<\/strong> \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0442.\u043a \u0441\u0431\u0440\u043e\u0441\u0430 \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u043a\u043d\u043e\u043f\u043a\u0435, \u043d\u043e \u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e. <\/p>\n<p>\u0427\u0442\u043e\u0431\u044b IDE \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0430 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438, \u043d\u0443\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0444\u0430\u0439\u043b\u043e\u043c <strong>W806_Flash_Tool.elf<\/strong><\/p>\n<p>\u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0443 <strong>Flash Management<\/strong> \u0432 IDE<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c <strong>Add<\/strong><\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0441\u043a\u0430\u0447\u0430\u043d\u043d\u044b\u0439 \u0440\u0430\u043d\u0435\u0435 \u0444\u0430\u0439\u043b<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0418 \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435\u043c \u043e\u043a\u043d\u0430, \u043d\u0443\u0436\u043d\u043e \u043f\u043e \u043d\u0435\u043c\u0443 \u043a\u043b\u0438\u043a\u043d\u0443\u0442\u044c. \u0412 \u043d\u0438\u0436\u043d\u0435\u043c \u043e\u043a\u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c\u0441\u044f \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b.<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0414\u0430\u043b\u0435\u0435, \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0443 <strong>Configure Flash Tool<\/strong><\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c <strong>Add<\/strong><\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0440\u0430\u043d\u0435\u0435 \u0434\u0440\u0430\u0439\u0432\u0435\u0440, \u043a\u043b\u0438\u043a\u0430\u0435\u043c <strong>Add<\/strong><\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041e\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c\u0441\u044f \u0432\u043e\u0442 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432 \u043e\u043a\u043d\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0414\u0430\u043b\u0435\u0435 \u2013 \u0432 \u044d\u0442\u043e\u043c \u0436\u0435 \u043e\u043a\u043d\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0443 <strong>Debug<\/strong> \u0438 \u0436\u043c\u0435\u043c <strong>Settings\u2026<\/strong><\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0418 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0433\u0430\u043b\u043e\u0447\u043a\u0443 <strong>Download to Flash<\/strong><\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0417\u0430\u0448\u0438\u0432\u0430\u0435\u043c \u2013 \u0432\u0441\u0435 \u043f\u0440\u043e\u0448\u043b\u043e \u0433\u043b\u0430\u0434\u043a\u043e. \u041a\u043e\u0434 \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u0438 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0431\u0440\u0435\u0439\u043a\u043f\u043e\u0438\u043d\u0442\u0430\u0445.<\/p>\n<figure class=\"\"><\/figure>\n<h4>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f<\/h4>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a\u043e\u0435 \u043e\u043a\u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u043b\u0435\u0437\u0430\u0442\u044c \u043f\u0440\u0438 \u0440\u0435\u0431\u0443\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u0430. \u0412\u0438\u0434\u0438\u043c\u043e, \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0441\u0435\u0440\u0432\u0438\u0441 \u043d\u0435 \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0434\u0440\u0430\u0439\u0432\u0435\u0440.<\/p>\n<figure class=\"\"><\/figure>\n<p>\u0422\u0430\u043a\u043e\u0435 \u043b\u0435\u0447\u0438\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u0432 \u0440\u0443\u0447\u043d\u0443\u044e. <\/p>\n<blockquote>\n<p>\u0414\u0438\u0441\u043f\u0435\u0442\u0447\u0435\u0440 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432->\u0434\u0432\u043e\u0439\u043d\u043e\u0439 \u043a\u043b\u0438\u043a \u043f\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u0443->\u0414\u0440\u0430\u0439\u0432\u0435\u0440->\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u0440\u0430\u0439\u0432\u0435\u0440->\u041d\u0430\u0439\u0442\u0438 \u043d\u0430 \u044d\u0442\u043e\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435->\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445. <\/p>\n<\/blockquote>\n<p>\u0422\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u043f\u0430\u0440\u043e\u0447\u043a\u0430. \u042f \u0442\u044b\u043a\u0430\u044e <strong>\u043b\u044e\u0431\u043e\u0439<\/strong>, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0438\u0441\u0447\u0435\u0437\u0430\u0435\u0442 \u0434\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430. \u041a\u0430\u043a \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438 \u043a\u043b\u0430\u0441\u0441\u0438\u043a\u0438 \u043a\u0438\u043d\u0435\u043c\u0430\u0442\u043e\u0433\u0440\u0430\u0444\u0430: \u201c\u0410 \u0431\u043e\u043b\u044c\u0448\u0435\u0433\u043e \u043c\u043d\u0435 \u0438 \u043d\u0435 \u043d\u0430\u0434\u043e!\u201d. <\/p>\n<p>\u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 806 \u043d\u0430 801 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 \u043d\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438. \u041d\u0435 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043b\u0441\u044f, \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043b\u0438\u0432\u043a\u0438 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u0441\u0442\u0430\u0440\u0442\u0430\u043d\u0443\u0442\u044c \u2013 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0439\u0442\u0438 \u0432 \u043e\u0442\u043b\u0430\u0434\u043a\u0443, \u043f\u043e\u0442\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e.<\/p>\n<p>\u042d\u0442\u043e \u0432\u0441\u0435, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u044b.<\/p>\n<h3>\u0417\u0430\u0432\u043e\u0434\u0438\u043c SPI \u043d\u0430 W806\/W801<\/h3>\n<p>\u0414\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438, \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u0432 \u043f\u0430\u043f\u043a\u0435 SDK.<\/p>\n<p><strong>WM_SDK_W806\\tools\\W806\\projects\\SDK_Project\\project\\CDK_WS<\/strong><\/p>\n<p>\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u043e\u0434\u043d\u044f\u0442\u044c SPI. \u0423\u0437\u043d\u0430\u0435\u043c, \u0447\u0442\u043e \u0438\u0445 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u2013 \u043e\u0431\u044b\u0447\u043d\u044b\u0439(<strong>LSPI<\/strong>), \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u043d\u043e\u0439(<strong>HSPI<\/strong>) \u0438 <strong>QSPI<\/strong>.<\/p>\n<p>\u041d\u0430\u043c \u043d\u0443\u0436\u0435\u043d <strong>LSPI<\/strong>. \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c <em>Chip Specifications W801<\/em><\/p>\n<figure class=\"full-width\"><\/figure>\n<p> \u0412\u0438\u0434\u0438\u043c, \u0447\u0442\u043e <strong>LSPI<\/strong> \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u043c\u0430\u043f\u0438\u0442\u044c \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043d\u043e\u0436\u043a\u0438 \u043f\u043e\u0440\u0442\u0430 B:<\/p>\n<ul>\n<li>\n<p>23 \u2013 CS (NSS)<\/p>\n<\/li>\n<li>\n<p>24 \u2013 CK (CLK)<\/p>\n<\/li>\n<li>\n<p>25 \u2013 MISO<\/p>\n<\/li>\n<li>\n<p>26 \u2013 MOSI<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u0438\u0448\u0435\u043c \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e.<\/p>\n<pre><code class=\"cpp\">static HAL_StatusTypeDef SPI_Init(SPI_HandleTypeDef *hspi){     SPI_InitTypeDef spi;     HAL_StatusTypeDef ret = HAL_OK;     \/\/__HAL_AFIO_REMAP_SPI_CS(GPIOB, GPIO_PIN_4); hardware NSS disabeled     __HAL_AFIO_REMAP_SPI_CLK(GPIOB, SPI_SCL);     \/\/__HAL_AFIO_REMAP_SPI_MISO(GPIOB, SPI_MISO);     __HAL_AFIO_REMAP_SPI_MOSI(GPIOB, SPI_MOSI);           hspi->Init.Mode = SPI_MODE_MASTER;     hspi->Init.CLKPolarity = SPI_POLARITY_HIGH;     hspi->Init.CLKPhase = SPI_PHASE_1EDGE;     hspi->Init.NSS = SPI_NSS_SOFT;     hspi->Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_2;     hspi->Init.FirstByte = SPI_LITTLEENDIAN;          hspi->Instance = SPI;          ret = HAL_SPI_Init(hspi);     return ret;  }<\/code><\/pre>\n<p>\u0412 <strong>main<\/strong> \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u044d\u0442\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0438 \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c ( <strong>HAL_SPI_Transmit(&amp;hspi1, data, 5, 10000); <\/strong>) \u0438\u2026 \u0442\u0438\u0448\u0438\u043d\u0430.<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u043a\u043e\u0434 <strong>HAL_SPI_Init<\/strong> \u2013 \u0432\u0441\u0435 \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u043a\u0430\u043a\u0438\u0435 \u043d\u0443\u0436\u043d\u044b \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b <strong>LSPI<\/strong> \u2013 \u043d\u0435\u0442 \u043b\u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 <strong>ENABLE<\/strong>. \u041d\u0435\u0442, \u0432\u0441\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e. \u041c\u043e\u0436\u0435\u0442 \u043d\u0443\u0436\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0436\u043a\u0438? \u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u2013 \u043d\u0435\u0442. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0440\u0435\u0433\u0438\u0441\u0442\u0440 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u2013 \u0442\u0430\u043c \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435\u0442 \u043f\u0440\u043e \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u044e. <\/p>\n<p>\u0422\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c(<strong>\u043d\u0435 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0442\u0430\u043a<\/strong>), \u0442.\u043a. \u0433\u043b\u0430\u0437 \u0437\u0430\u0446\u0435\u043f\u0438\u043b\u0441\u044f \u0437\u0430 \u044d\u0442\u0443 \u0444\u0440\u0430\u0437\u0443 \u043f\u0440\u0438 \u0431\u0435\u0433\u043b\u043e\u043c \u043e\u0441\u043c\u043e\u0442\u0440\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438:<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u0440\u0435\u0448\u0438\u043b \u0432\u044b\u0447\u0438\u0442\u0430\u0442\u044c Software Clock Gating Enable Register (<strong>HR_CLK_BASE_ADDR<\/strong>) \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <strong>0x40000E00<\/strong> \u0438 \u0443\u0432\u0438\u0434\u0435\u043b, \u0447\u0442\u043e \u043a\u043b\u043e\u043a\u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b! \u0412\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f <strong>gpio<\/strong> \u0438 <strong>uart<\/strong>. \u041f\u0435\u0440\u0432\u0430\u044f \u0436\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044f(SystemClock_Config(CPU_CLK_160M)) <strong>\u0432\u044b\u043a\u043b\u044e\u0447\u0438\u043b\u0430 \u0432\u0441\u044e \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u044e<\/strong>!<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c!<\/p>\n<p>\u0412 <strong>Register Manual<\/strong> \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c 1 \u0441\u044e\u0434\u0430:<\/p>\n<figure class=\"full-width\">\n<div><figcaption>i2c<\/figcaption><\/div>\n<\/figure>\n<figure class=\"full-width\">\n<div><figcaption>spi<\/figcaption><\/div>\n<\/figure>\n<p>\u0422\u043e \u0435\u0441\u0442\u044c \u043f\u043e \u043c\u0430\u0441\u043a\u0435 <strong>0x80<\/strong> \u0438 <strong>0x01<\/strong> \u0432 <strong>HR_CLK_BASE_ADDR<\/strong>. <\/p>\n<p><code>*((uint32_t *)(HR_CLK_BASE_ADDR)) |= CLK_GATE_SPI_MASK|CLK_GATE_I2C_MASK;<\/code><\/p>\n<p>\u0418, \u043e \u0447\u0443\u0434\u043e, \u0442\u0435\u0441\u0442\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u043f\u043e\u0431\u0435\u0436\u0430\u043b\u0430! \u041f\u0440\u043e\u0431\u0443\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043e\u0442 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0434\u0438\u0441\u043f\u043b\u0435\u044f \u2013 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<p>SPI \u2013 \u043f\u0438\u0448\u0435\u043c \u0432 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0434\u0438\u0441\u043f\u043b\u0435\u044f:<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0425\u043e\u0447\u0443 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c SPI \u0432 BIGENDIAN, \u0442\u043e HAL-\u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c <strong>\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u0435\u043b\u044c\u043d\u043e<\/strong> \u2013 \u043e\u043d\u0430 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0430.<\/p>\n<h3>\u0417\u0430\u0432\u043e\u0434\u0438\u043c I2C \u043d\u0430 W806\/W801<\/h3>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e I2C<\/p>\n<pre><code class=\"cpp\">static HAL_StatusTypeDef I2C_Init(I2C_HandleTypeDef *hi2c){     HAL_StatusTypeDef ret = HAL_OK;     __HAL_AFIO_REMAP_I2C_SCL(GPIOB, I2C_SCL);     __HAL_AFIO_REMAP_I2C_SDA(GPIOB, I2C_SDA);     hi2c->Frequency = 100000;     hi2c->Instance = I2C;     ret = HAL_I2C_Init(hi2c);     return ret; }<\/code><\/pre>\n<p>\u0421\u0430\u043c\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f HAL \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 STM\u043e\u0432\u0441\u043a\u0443\u044e, \u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u0438\u0435. \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u044d\u0442\u043e \u043c\u0435\u043d\u044f \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u043b\u043e \u2013 \u043d\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0441\u0440\u0430\u0437\u0443<\/p>\n<p>\u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u043e\u0442\u043b\u0438\u0447\u0438\u044f:<\/p>\n<pre><code class=\"cpp\">HAL_StatusTypeDef HAL_I2C_Write(I2C_HandleTypeDef *hi2c, uint8_t DevAddress, uint8_t MemAddress, uint8_t *pData, uint16_t Size); \/\/W800 HAL_StatusTypeDef HAL_I2C_Master_Transmit (I2C_HandleTypeDef* hi2c, uint16_t DevAddress, uint8_t* pData, uint16_t Size, uint32_t Timeout); \/\/STM32<\/code><\/pre>\n<p>I2C \u2013 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435 \u0441 \u0434\u0430\u0442\u0447\u0438\u043a\u0430 AHT10<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041e\u0442\u0432\u0435\u0442 \u043e\u0442 \u0434\u0430\u0442\u0447\u0438\u043a\u0430 AHT10<\/p>\n<figure class=\"full-width\"><\/figure>\n<h3>\u0418\u0442\u043e\u0433\u0438<\/h3>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043b \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u043a\u0442\u043e\u0440\u0438\u0430\u043b\u0430 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u0438 \u0441\u043c\u043e\u0442\u0440\u044e \u043a\u0430\u043a \u0440\u0438\u0441\u0443\u0435\u0442\u0441\u044f.<\/p>\n<p>\u0420\u0438\u0441\u0443\u0435\u043c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u041c\u0430\u043d\u0434\u0435\u043b\u044c\u0431\u0440\u043e\u0442\u0430:<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041f\u0430\u0440\u0430 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0445 \u0432\u0438\u0434\u0435\u043e:<\/p>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/65b373516748d7d46f51a095\" data-style=\"\" id=\"65b373516748d7d46f51a095\" width=\"\"><\/div>\n<div class=\"tm-iframe_temp\" data-src=\"https:\/\/embedd.srv.habr.com\/iframe\/65b3739e6748d7d46f51a0cf\" data-style=\"\" id=\"65b3739e6748d7d46f51a0cf\" width=\"\"><\/div>\n<p><a href=\"https:\/\/github.com\/tunerok\/W801_W806_SPI_I2C_Example\" rel=\"noopener noreferrer nofollow\"><u>\u041f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430 GitHub<\/u><\/a><\/p>\n<h3>\u041b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435 \u043f\u0440\u043e\u0447\u0435\u0435<\/h3>\n<p><a href=\"https:\/\/www.hackster.io\/usini\/display-images-on-a-st7789-screen-fbb0d7\" rel=\"noopener noreferrer nofollow\"><u>\u0417\u0434\u0435\u0441\u044c \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043a\u0430\u043a \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c<\/u><\/a><\/p>\n<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 \u043f\u0438\u0442\u043e\u043d\u0435 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b <strong>LCD image converter<\/strong> \u0432 \u0432\u0438\u0434 \u0434\u0432\u0443\u043c\u0435\u0440\u043d\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 header\u2019\u0430\u0445.<\/p>\n<pre><code class=\"python\">file1 = open('inp_file.txt', 'r') file2 = open('test_out.txt', 'w+') count = 0 file2.write(\"const uint16_t test_img[][240] = {\") while True:     line = file1.readline()     if not line:         file2.write(\"};\")         break     if count != 0:         file2.write(\",\")     count += 1     file2.write(\"{\" + line + \"}\") file2.close() file1.close()<\/code><\/pre>\n<p><strong>\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u044f \u043d\u0443\u0436\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043f\u043e \u0447\u0438\u043f\u0430\u043c \u0441\u043e\u0431\u0440\u0430\u043d\u0430 \u0432 \u044d\u0442\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438<\/strong><\/p>\n<p><a href=\"https:\/\/github.com\/nvv13\/test\/tree\/main\/test-mk\/w801\" rel=\"noopener noreferrer nofollow\">GitHub<\/a><\/p>\n<p><a href=\"https:\/\/h.hlktech.com\/Mobile\/download\/fdetail\/170.html\" rel=\"noopener noreferrer nofollow\"><strong><u>\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0435 \u0434\u0430\u0442\u0430\u0448\u0438\u0442\u044b \u043d\u0430 W801<\/u><\/strong><\/a><\/p>\n<p><a href=\"https:\/\/www.cnblogs.com\/milton\/p\/15621540.html\" rel=\"noopener noreferrer nofollow\"><strong><u>\u0422\u0443\u0442 \u0435\u0441\u0442\u044c \u043f\u0440\u043e \u043e\u0442\u043b\u0438\u0447\u0438\u044f \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/u><\/strong><\/a><\/p>\n<p><strong>\u0413\u0438\u0442 \u0441 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u043c \u0434\u0438\u0441\u043f\u043b\u0435\u044f \u043d\u0430 st7789 \u0434\u043b\u044f STM32<\/strong><\/p>\n<p><a href=\"https:\/\/github.com\/Floyd-Fish\/ST7789-STM32\" rel=\"noopener noreferrer nofollow\">GitHub<\/a><\/p>\n<p><a href=\"https:\/\/hackaday.io\/page\/12671-how-to-debug-w806-and-w801-mcus\" rel=\"noopener noreferrer nofollow\"><strong><u>\u041f\u0440\u043e \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a<\/u><\/strong><\/a><\/p>\n<p><a href=\"https:\/\/www.bilibili.com\/video\/BV1L44y1J7Jz\/\" rel=\"noopener noreferrer nofollow\"><strong><u>\u0412\u0438\u0434\u043e\u0441 (\u043d\u0430 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u043e\u043c) \u043a\u0430\u043a \u0447\u0435\u043b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440 \u043d\u0430  STM32F103 \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a \u043e\u0442\u043b\u0430\u0434\u043a\u0438<\/u><\/strong><\/a><strong> (\u81ea\u5236CKlink\u963f\u91cc\u5e73\u5934\u54e5w801\/w806\u4eff\u771f\u5668DIY\u5168\u6559\u7a0b)<\/strong><\/p>\n<p><strong>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u044b \u0441\u0430\u043c\u043e\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0441 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c\u0438 \u043d\u0430 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u043e\u043c \u0441 \u0433\u043e\u0442\u043e\u0432\u044b\u043c\u0438 \u0441\u0445\u0435\u043c\u0430\u0442\u0438\u043a\u0430\u043c\u0438 \u0438 \u0440\u0430\u0437\u0432\u043e\u0434\u043a\u0430\u043c\u0438:<\/strong><\/p>\n<p><a href=\"https:\/\/oshwhub.com\/jiaminghui98\/mini-CKLink\" rel=\"noopener noreferrer nofollow\">https:\/\/oshwhub.com\/jiaminghui98\/mini-CKLink<\/a><\/p>\n<p><a href=\"https:\/\/oshwhub.com\/l88889686\/cklinkw80x-fang-zhen-qi\" rel=\"noopener noreferrer nofollow\">https:\/\/oshwhub.com\/l88889686\/cklinkw80x-fang-zhen-qi<\/a><\/p>\n<p><strong>\u041f\u043e\u043b\u0443-\u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0434\u0430\u0442\u0430\u0448\u0438\u0442 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u043d\u0430 W806:<\/strong><\/p>\n<p><a href=\"https:\/\/programel.ru\/wp-content\/uploads\/2023\/01\/W806_-1.pdf\" rel=\"noopener noreferrer nofollow\">W806_-1\u0421\u043a\u0430\u0447\u0430\u0442\u044c<\/a><\/p>\n<p><a href=\"http:\/\/we.easyelectronics.ru\/tag\/W806%20MCU\/\" rel=\"noopener noreferrer nofollow\"><strong><u>\u041f\u0440\u043e 806 \u043d\u0430 easyelectronics<\/u><\/strong><\/a><\/p>\n<p><a href=\"https:\/\/mysku.club\/blog\/aliexpress\/91119.html\" rel=\"noopener noreferrer nofollow\"><strong><u>\u041d\u0430 \u0434\u0440\u0443\u0433\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u043f\u0440\u043e W806\/W801 \u0441 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c\u0438 \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438<\/u><\/strong><\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/789196\/\"> https:\/\/habr.com\/ru\/articles\/789196\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-366417","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/366417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=366417"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/366417\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=366417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=366417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=366417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}