{"id":372032,"date":"2024-05-21T05:02:25","date_gmt":"2024-05-21T05:02:25","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=372032"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=372032","title":{"rendered":"<span>\u0417\u0430\u0447\u0435\u043c \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0443 \u041c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u044b \u0423\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f<\/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<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/5a0\/2fd\/d78\/5a02fdd786d37b153f93188187d8238d.png\" width=\"930\" height=\"435\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/5a0\/2fd\/d78\/5a02fdd786d37b153f93188187d8238d.png\"\/><\/figure>\n<p><strong>\u041f\u0440\u043e\u043b\u043e\u0433<\/strong><\/p>\n<p>\u0412 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0435 \u0435\u0441\u0442\u044c \u0442\u0430\u043a\u0430\u044f \u0442\u0435\u043c\u0430 \u043a\u0430\u043a \u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u044b \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f. \u0412 \u0441\u0430\u043c\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u043c \u0432\u0438\u0434\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u043e\u043d\u0438 \u0442\u0430\u043a.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"ax+by=d \\qquad \\qquad\\qquad (1)\" alt=\"ax+by=d \\qquad \\qquad\\qquad (1)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/373\/241\/035\/37324103574041d5c095b26a8eb98db0.svg\" width=\"239\" height=\"22\"\/><\/p>\n<p>\u0422\u0443\u0442 \u043e\u0434\u043d\u043e \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0438 \u0434\u0432\u0435 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435: x,y. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c a, b, d &#8212; \u044d\u0442\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b. <\/p>\n<p>\u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043a\u0430\u043a \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0432\u0435\u0449\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Micro Controller Unit (MCU), \u043d\u043e \u043d\u0435 \u0442\u0443\u0442-\u0442\u043e \u0431\u044b\u043b\u043e.<\/p>\n<p>\u041a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u0443\u0435\u0448\u044c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 (MCU), \u0442\u043e \u043f\u0435\u0440\u0432\u043e\u0435, \u0447\u0442\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c &#8212; \u044d\u0442\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043d\u043e\u0433\u043e \u044f\u0434\u0440\u0430. \u0422\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0437\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c phase-locked loop (PLL\/\u0424\u0410\u041f\u0427). \u042d\u0442\u043e \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430 SoC(\u0430).<\/p>\n<p>\u0418 \u0442\u0430\u043c \u043d\u0430\u0434\u043e \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u0442\u044c \u0442\u0440\u0438 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b (\u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u043b\u0430): M, N \u0438 F. \u0412 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 Artery, \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0430\u044f, \u044d\u0442\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0446\u0435\u043f\u044c \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a. \u0423\u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0438 \u0438 \u0434\u0435\u043b\u0438\u0442\u0435\u043b\u0438 \u0447\u0430\u0441\u0442\u043e\u0442.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/804\/00e\/bd9\/80400ebd92969cd91d708da9dc04aef1.png\" width=\"1259\" height=\"620\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/804\/00e\/bd9\/80400ebd92969cd91d708da9dc04aef1.png\"\/><\/figure>\n<p>\u041f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0435 (2)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"\\frac{(N\\frac{F_{quartz}}{M})   }  {F} = F_{sys}    \\qquad  \\qquad  (2)\" alt=\"\\frac{(N\\frac{F_{quartz}}{M})   }  {F} = F_{sys}    \\qquad  \\qquad  (2)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f50\/907\/cd6\/f50907cd62a42774542f9eb701ba1407.svg\" width=\"245\" height=\"54\"\/><\/p>\n<p>\u0412\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430 F_sys (sclk). \u042d\u0442\u043e \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 (2) \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442\u0441\u044f \u0432 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 (3)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"F_{quartz}   \\frac{N}{M} -F_{sys}F     = 0   \\qquad  \\qquad  (3)\" alt=\"F_{quartz}   \\frac{N}{M} -F_{sys}F     = 0   \\qquad  \\qquad  (3)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/9ff\/240\/048\/9ff2400485fca54279391cd5f6adcc35.svg\" width=\"289\" height=\"43\"\/><\/p>\n<p>\u0410 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 (3), \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u044d\u0442\u043e \u0441\u0430\u043c\u043e\u0435 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u043e \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435! \u0414\u0430.. \u0422\u0443\u0442 <strong>F_quartz<\/strong> &#8212; \u044d\u0442\u043e \u0447\u0430\u0441\u0442\u043e\u0442\u0430 \u043a\u0432\u0430\u0440\u0446\u0435\u0432\u043e\u0433\u043e \u0440\u0435\u0437\u043e\u043d\u0430\u0442\u043e\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u0441\u0445\u0435\u043c\u043e\u0442\u0435\u0445\u043d\u0438\u043a\u043e\u0439 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u044b. <br \/><strong>F_sys<\/strong> \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u043c \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438. \u041e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u0446\u0435\u043b\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 N, M  \u0438 F.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0435\u0449\u0451 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0443\u0436\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u0435\u043c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430. \u0414\u043b\u044f Artery \u044d\u0442\u043e <\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\"><strong>\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f<\/strong><\/p>\n<\/td>\n<td data-colwidth=\"150\" width=\"150\">\n<p align=\"left\"><strong>\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">M<\/p>\n<\/td>\n<td data-colwidth=\"150\" width=\"150\">\n<p align=\"left\">1<\/p>\n<\/td>\n<td>\n<p align=\"left\">15<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">N<\/p>\n<\/td>\n<td data-colwidth=\"150\" width=\"150\">\n<p align=\"left\">31<\/p>\n<\/td>\n<td>\n<p align=\"left\">500<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">FR (\u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0434\u0432\u043e\u0439\u043a\u0438)<\/p>\n<\/td>\n<td data-colwidth=\"150\" width=\"150\">\n<p align=\"left\">1<\/p>\n<\/td>\n<td>\n<p align=\"left\">32<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u042d\u0442\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u043e \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u043a\u043e\u0434\u0430\u0445 \u043d\u0430 C\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c Artery Tech.<\/p>\n<pre><code class=\"cpp\"> \/**   *    config crm pll   *                        pll_rcs_freq * pll_ns   *         pll clock = --------------------------------   *                           pll_ms * pll_fr_n   *         attemtion:   *                  31 &lt;= pll_ns &lt;= 500   *                  1  &lt;= pll_ms &lt;= 15   *   *                       pll_rcs_freq   *         2mhz &lt;=  ---------------------- &lt;= 16mhz   *                          pll_ms   *   *                       pll_rcs_freq * pll_ns   *         500mhz &lt;=  -------------------------------- &lt;= 1200mhz   *                               pll_ms   * @param  clock_source   *         this parameter can be one of the following values:   *         - CRM_PLL_SOURCE_HICK   *         - CRM_PLL_SOURCE_HEXT   * @param  pll_ns (31~500)   * @param  pll_ms (1~15)   * @param  pll_fr   *         this parameter can be one of the following values:   *         - CRM_PLL_FR_1   *         - CRM_PLL_FR_2   *         - CRM_PLL_FR_4   *         - CRM_PLL_FR_8   *         - CRM_PLL_FR_16   *         - CRM_PLL_FR_32   * @retval none   *\/ void crm_pll_config(crm_pll_clock_source_type clock_source,                      uint16_t pll_ns,                      uint16_t pll_ms,                     crm_pll_fr_type pll_fr)   <\/code><\/pre>\n<p><strong>\u0418\u0442\u0430\u043a, \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438:<\/strong><\/p>\n<p>\u0415\u0441\u0442\u044c \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430\u044f \u043f\u043b\u0430\u0442\u0430 \u0441 Artery MCU \u043d\u0430 \u0431\u043e\u0440\u0442\u0443. \u041d\u0430 PCB \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u043f\u0430\u044f\u043d \u043a\u0432\u0430\u0440\u0446\u0435\u0432\u044b\u0439 \u0440\u0435\u0437\u043e\u043d\u0430\u0442\u043e\u0440 c \u0447\u0430\u0441\u0442\u043e\u0442\u043e\u0439 8 MHz \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d \u043a \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0443. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c PLL \u0442\u0430\u043a \u0447\u0442\u043e\u0431\u044b \u0431\u0430\u0437\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430 \u044f\u0434\u0440\u0430 \u0441\u0442\u0430\u043b\u0430 \u0440\u043e\u0432\u043d\u043e \u043d\u0430 100 MHz.<\/p>\n<p>\u041a\u0430\u043a\u0438\u043c\u0438 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u044b PLL: N, M \u0438 RF?<\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/strong><\/p>\n<p>\u041f\u043e \u0441\u0443\u0442\u0438, \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u0432\u0435\u043b\u0430\u0441\u044c \u043a \u0442\u043e\u043c\u0443 \u0447\u0442\u043e\u0431\u044b \u0440\u0435\u0448\u0438\u0442\u044c \u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u043e \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 (4).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"formula\" source=\"8000000 \\frac{N}{M} -100000000F     = 0   \\qquad  \\qquad  (4)\" alt=\"8000000 \\frac{N}{M} -100000000F     = 0   \\qquad  \\qquad  (4)\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/beb\/445\/a6b\/beb445a6b50056ea24916aa55f3cddad.svg\" width=\"356\" height=\"43\"\/><\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u0431\u0435\u0433\u043d\u0443\u0442\u044c \u043a \u043f\u043e\u043c\u043e\u0449\u0438 \u043f\u0440\u0435\u0441\u043b\u043e\u0432\u0443\u0442\u043e\u0433\u043e Artificial intelligence (AI) \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 Wolfram Alfa<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/147\/25b\/6fa\/14725b6fa0c0bded19ae424afe162700.png\" width=\"1116\" height=\"705\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/147\/25b\/6fa\/14725b6fa0c0bded19ae424afe162700.png\"\/><\/figure>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u043e \u043d\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u043c \u0432\u0438\u0434\u0435. \u041d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u0436\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <strong>crm_pll_config()<\/strong>. <\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u043d\u0430\u043c \u043f\u043e\u0432\u0435\u0437\u043b\u043e. \u0412 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u0442\u0443\u0442 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 (2) \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0430\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f (3) \u043e\u0431\u044b\u043a\u043d\u043e\u0432\u0435\u043d\u043d\u044b\u043c \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u043e\u043c. <\/p>\n<p>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0439 \u0440\u0435\u0448\u0430\u0442\u0435\u043b\u044c \u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u0430 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0434\u043b\u044f PLL \u043f\u0440\u044f\u043c\u043e \u043d\u0430 \u0421\u0438.<\/p>\n<pre><code class=\"cpp\">uint64_t ipow(uint32_t base, uint32_t exponenta) { uint64_t ret = 1, i = 0;     if(0 != exponenta) {         for(i = 1; i &lt;= exponenta; i++) {             ret *= base;         }     }     return ret; }  typedef struct{     uint32_t ms;     uint32_t ns;     uint32_t fr; }PllArtety_t;  bool pll_calc_artery(uint32_t freq_xtal_hz,                       uint32_t freq_sys_hz,                       PllArtety_t* const PllArtety) {     bool res = false;      LOG_INFO(PLL_CALC, \"FreqXtal:%u Hz,FreqSys:%u  Hz\",               freq_xtal_hz, freq_sys_hz);     cli_printf(\"{ [ (  {Xtal:%uHz} \/M )*N ]\/FR  }= Sys:%u Hz\" CRLF,                 freq_xtal_hz, freq_sys_hz);     uint32_t solution_cnt = 0;     if(PllArtety) {         uint32_t m = 0;         uint32_t temp_hz = 0;         uint32_t temp_m_hz = 0;         uint32_t cur_freq_sys_hz = 0;         for(m = 1; m &lt;= 15; m++) {             uint32_t n = 0;             temp_m_hz = freq_xtal_hz\/m;             if(2000000&lt;=temp_m_hz) {                 if(temp_m_hz&lt;=16000000){                     for(n = 31; n &lt;= 500; n++) {                         uint32_t f = 0;                         for(f = 0; f &lt;= 5; f++) {                             uint32_t fr = ipow(2, f);                             cur_freq_sys_hz = ((n * freq_xtal_hz) \/ (m * fr));                             if(freq_sys_hz == cur_freq_sys_hz) {                                 temp_hz = freq_xtal_hz * n \/ m;                                \/*condition from Artery New Clock Config*\/                                 if(500000000 &lt;= temp_hz) {                                     if(temp_hz &lt;= 1200000000) {                                         solution_cnt++;                                         cli_printf(\"%u: MS:%2u,NS:%3u,FR:%2u\" CRLF,                                                    solution_cnt, m, n, fr);                                         PllArtety->ms = m;                                         PllArtety->ns = n;                                         PllArtety->fr = fr;                                         res = true;                                     }                                 }                             }                         }                     }             }             }         }     }     if(res) {         LOG_INFO(PLL_CALC, \"SpotPllVals! %u Solutions\",solution_cnt);     } else {         LOG_ERROR(PLL_CALC, \"NoPllVals!\");     }     return res; } <\/code><\/pre>\n<h2>\u041e\u0442\u043b\u0430\u0434\u043a\u0430<\/h2>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a, \u0432 UART-CLI \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u044f \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u043b \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043e\u0431\u0441\u0447\u0435\u0442\u0430 PLL \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0430\u0436  4 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043d\u0430 \u0432\u044b\u0431\u043e\u0440.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4c7\/b1c\/987\/4c7b1c987c01508906f8a118ffa72185.png\" width=\"767\" height=\"235\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4c7\/b1c\/987\/4c7b1c987c01508906f8a118ffa72185.png\"\/><\/figure>\n<p>\u0412\u043e\u0442 \u044d\u0442\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f:<\/p>\n<p>1: MS:1, NS:100, FR:8<br \/>2: MS:2, NS:200, FR:8<br \/>3: MS:3, NS:300, FR:8<br \/>4: MS:4, NS:400, FR:8<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u0432 \u0447\u0435\u0442\u0432\u0451\u0440\u0442\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432 \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 PLL \u044f \u0443\u0432\u0438\u0434\u0435\u043b, \u0447\u0442\u043e \u043a\u043e\u043d\u0444\u0438\u0433 \u0432\u0430\u043b\u0438\u0434\u043d\u044b\u0439! <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/244\/5bb\/ec2\/2445bbec2b0a0bd1b64d4cd85fb76f98.png\" width=\"1285\" height=\"606\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/244\/5bb\/ec2\/2445bbec2b0a0bd1b64d4cd85fb76f98.png\"\/><\/figure>\n<p>\u0423\u0441\u043f\u0435\u0445!<\/p>\n<h2>\u0418\u0442\u043e\u0433\u0438<\/h2>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0438. \u0410 \u043a\u0430\u043a \u0412\u044b \u0445\u043e\u0442\u0435\u043b\u0438?<\/p>\n<p>\u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0440\u0435\u0448\u0430\u0442\u044c \u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u044b \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u0434\u0430\u043b\u0435\u043a\u043e \u0432 run-time.<\/p>\n<p>\u041c\u043e\u0436\u043d\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0440\u0435\u0436\u0438\u043c \u044d\u043d\u0435\u0440\u0433\u043e\u0441\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u0438\u044f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u043d\u0438\u0437\u0438\u0432 \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u044f\u0434\u0440\u0430. \u0418\u043b\u0438 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0434\u043b\u044f \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b. <\/p>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a..<\/p>\n<p><strong>Links\/URLs<\/strong><\/p>\n<p><a href=\"https:\/\/www.wolframalpha.com\/input?i=8000000\" rel=\"noopener noreferrer nofollow\">https:\/\/www.wolframalpha.com\/input?i=8000000<\/a><em>x-100000000<\/em>y%3D0<\/p>\n<p><a href=\"http:\/\/latex.codecogs.com\/eqneditor\/editor.php\" rel=\"noopener noreferrer nofollow\"><u>http:\/\/latex.codecogs.com\/eqneditor\/editor.php<\/u><\/a>  <\/p>\n<p><a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%94%D0%B8%D0%BE%D1%84%D0%B0%D0%BD%D1%82%D0%BE%D0%B2%D0%BE_%D1%83%D1%80%D0%B0%D0%B2%D0%BD%D0%B5%D0%BD%D0%B8%D0%B5\" rel=\"noopener noreferrer nofollow\">https:\/\/ru.wikipedia.org\/wiki\/\u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u043e_\u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><\/p>\n<div class=\"tm-article-poll-container\"><!--[--><\/p>\n<div class=\"tm-article-poll tm-article-poll_variant-bordered\">\n<div class=\"tm-notice tm-notice_positive tm-article-poll__notice\"><!----><\/p>\n<div class=\"tm-notice__inner\"><!----><\/p>\n<div class=\"tm-notice__content\" data-test-id=\"notice-content\"><!--[--><span>\u0422\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u043f\u0440\u043e\u0441\u0435. <a rel=\"nofollow\" href=\"\/kek\/v1\/auth\/habrahabr\/?back=\/ru\/articles\/803415\/&#038;hl=ru\">\u0412\u043e\u0439\u0434\u0438\u0442\u0435<\/a>, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430.<\/span><!--]--><\/div>\n<\/div>\n<\/div>\n<p><!--[--><\/p>\n<div class=\"tm-article-poll__header\">\u0412\u0430\u043c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0435 \u0440\u0435\u0448\u0430\u0442\u044c \u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u044b \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f?<\/div>\n<div class=\"tm-article-poll__answers\"><!--[--><\/p>\n<div class=\"tm-article-poll__answer\">\n<div class=\"tm-article-poll__answer-data\"><span class=\"tm-article-poll__answer-percent\">34.48% <\/span><span class=\"tm-article-poll__answer-label\">\u0434\u0430<\/span><span class=\"tm-article-poll__answer-votes\">30<\/span><\/div>\n<div class=\"tm-article-poll__answer-bar\">\n<div class=\"tm-article-poll__answer-progress\" style=\"width: 34.48%\"><\/div>\n<\/div>\n<\/div>\n<div class=\"tm-article-poll__answer\">\n<div class=\"tm-article-poll__answer-data\"><span class=\"tm-article-poll__answer-percent tm-article-poll__answer-percent_winning\">65.52% <\/span><span class=\"tm-article-poll__answer-label\">\u043d\u0435\u0442<\/span><span class=\"tm-article-poll__answer-votes\">57<\/span><\/div>\n<div class=\"tm-article-poll__answer-bar\">\n<div class=\"tm-article-poll__answer-progress tm-article-poll__answer-progress_winning\" style=\"width: 65.52%\"><\/div>\n<\/div>\n<\/div>\n<p><!--]--><\/div>\n<div class=\"tm-article-poll__stats\"> \u041f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043b\u0438 87 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439.   \u0412\u043e\u0437\u0434\u0435\u0440\u0436\u0430\u043b\u0438\u0441\u044c 10 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. <\/div>\n<p><!--]--><\/div>\n<p><!--]--><\/div>\n<p> \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\/803415\/\"> https:\/\/habr.com\/ru\/articles\/803415\/<\/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<figure class=\"full-width\"><\/figure>\n<p><strong>\u041f\u0440\u043e\u043b\u043e\u0433<\/strong><\/p>\n<p>\u0412 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0435 \u0435\u0441\u0442\u044c \u0442\u0430\u043a\u0430\u044f \u0442\u0435\u043c\u0430 \u043a\u0430\u043a \u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u044b \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f. \u0412 \u0441\u0430\u043c\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u043c \u0432\u0438\u0434\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u043e\u043d\u0438 \u0442\u0430\u043a.<\/p>\n<p>\u0422\u0443\u0442 \u043e\u0434\u043d\u043e \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0438 \u0434\u0432\u0435 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435: x,y. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c a, b, d &#8212; \u044d\u0442\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b. <\/p>\n<p>\u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043a\u0430\u043a \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0432\u0435\u0449\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Micro Controller Unit (MCU), \u043d\u043e \u043d\u0435 \u0442\u0443\u0442-\u0442\u043e \u0431\u044b\u043b\u043e.<\/p>\n<p>\u041a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u0443\u0435\u0448\u044c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 (MCU), \u0442\u043e \u043f\u0435\u0440\u0432\u043e\u0435, \u0447\u0442\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c &#8212; \u044d\u0442\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043d\u043e\u0433\u043e \u044f\u0434\u0440\u0430. \u0422\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0437\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c phase-locked loop (PLL\/\u0424\u0410\u041f\u0427). \u042d\u0442\u043e \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430 SoC(\u0430).<\/p>\n<p>\u0418 \u0442\u0430\u043c \u043d\u0430\u0434\u043e \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u0442\u044c \u0442\u0440\u0438 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b (\u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u043b\u0430): M, N \u0438 F. \u0412 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 Artery, \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0430\u044f, \u044d\u0442\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0446\u0435\u043f\u044c \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a. \u0423\u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0438 \u0438 \u0434\u0435\u043b\u0438\u0442\u0435\u043b\u0438 \u0447\u0430\u0441\u0442\u043e\u0442.<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041f\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0435 (2)<\/p>\n<p>\u0412\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430 F_sys (sclk). \u042d\u0442\u043e \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 (2) \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442\u0441\u044f \u0432 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 (3)<\/p>\n<p>\u0410 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 (3), \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u044d\u0442\u043e \u0441\u0430\u043c\u043e\u0435 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u043e \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435! \u0414\u0430.. \u0422\u0443\u0442 <strong>F_quartz<\/strong> &#8212; \u044d\u0442\u043e \u0447\u0430\u0441\u0442\u043e\u0442\u0430 \u043a\u0432\u0430\u0440\u0446\u0435\u0432\u043e\u0433\u043e \u0440\u0435\u0437\u043e\u043d\u0430\u0442\u043e\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u0441\u0445\u0435\u043c\u043e\u0442\u0435\u0445\u043d\u0438\u043a\u043e\u0439 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u044b. <br \/><strong>F_sys<\/strong> \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u043c \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438. \u041e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u0446\u0435\u043b\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 N, M  \u0438 F.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0435\u0449\u0451 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0443\u0436\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u0435\u043c \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430. \u0414\u043b\u044f Artery \u044d\u0442\u043e <\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\"><strong>\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f<\/strong><\/p>\n<\/td>\n<td data-colwidth=\"150\" width=\"150\">\n<p align=\"left\"><strong>\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\"><strong>\u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">M<\/p>\n<\/td>\n<td data-colwidth=\"150\" width=\"150\">\n<p align=\"left\">1<\/p>\n<\/td>\n<td>\n<p align=\"left\">15<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">N<\/p>\n<\/td>\n<td data-colwidth=\"150\" width=\"150\">\n<p align=\"left\">31<\/p>\n<\/td>\n<td>\n<p align=\"left\">500<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">FR (\u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0434\u0432\u043e\u0439\u043a\u0438)<\/p>\n<\/td>\n<td data-colwidth=\"150\" width=\"150\">\n<p align=\"left\">1<\/p>\n<\/td>\n<td>\n<p align=\"left\">32<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u042d\u0442\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u043e \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u043a\u043e\u0434\u0430\u0445 \u043d\u0430 C\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c Artery Tech.<\/p>\n<pre><code class=\"cpp\"> \/**   *    config crm pll   *                        pll_rcs_freq * pll_ns   *         pll clock = --------------------------------   *                           pll_ms * pll_fr_n   *         attemtion:   *                  31 &lt;= pll_ns &lt;= 500   *                  1  &lt;= pll_ms &lt;= 15   *   *                       pll_rcs_freq   *         2mhz &lt;=  ---------------------- &lt;= 16mhz   *                          pll_ms   *   *                       pll_rcs_freq * pll_ns   *         500mhz &lt;=  -------------------------------- &lt;= 1200mhz   *                               pll_ms   * @param  clock_source   *         this parameter can be one of the following values:   *         - CRM_PLL_SOURCE_HICK   *         - CRM_PLL_SOURCE_HEXT   * @param  pll_ns (31~500)   * @param  pll_ms (1~15)   * @param  pll_fr   *         this parameter can be one of the following values:   *         - CRM_PLL_FR_1   *         - CRM_PLL_FR_2   *         - CRM_PLL_FR_4   *         - CRM_PLL_FR_8   *         - CRM_PLL_FR_16   *         - CRM_PLL_FR_32   * @retval none   *\/ void crm_pll_config(crm_pll_clock_source_type clock_source,                      uint16_t pll_ns,                      uint16_t pll_ms,                     crm_pll_fr_type pll_fr)   <\/code><\/pre>\n<p><strong>\u0418\u0442\u0430\u043a, \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438:<\/strong><\/p>\n<p>\u0415\u0441\u0442\u044c \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430\u044f \u043f\u043b\u0430\u0442\u0430 \u0441 Artery MCU \u043d\u0430 \u0431\u043e\u0440\u0442\u0443. \u041d\u0430 PCB \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u043f\u0430\u044f\u043d \u043a\u0432\u0430\u0440\u0446\u0435\u0432\u044b\u0439 \u0440\u0435\u0437\u043e\u043d\u0430\u0442\u043e\u0440 c \u0447\u0430\u0441\u0442\u043e\u0442\u043e\u0439 8 MHz \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d \u043a \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0443. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c PLL \u0442\u0430\u043a \u0447\u0442\u043e\u0431\u044b \u0431\u0430\u0437\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430 \u044f\u0434\u0440\u0430 \u0441\u0442\u0430\u043b\u0430 \u0440\u043e\u0432\u043d\u043e \u043d\u0430 100 MHz.<\/p>\n<p>\u041a\u0430\u043a\u0438\u043c\u0438 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u044b PLL: N, M \u0438 RF?<\/p>\n<p><strong>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/strong><\/p>\n<p>\u041f\u043e \u0441\u0443\u0442\u0438, \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u0432\u0435\u043b\u0430\u0441\u044c \u043a \u0442\u043e\u043c\u0443 \u0447\u0442\u043e\u0431\u044b \u0440\u0435\u0448\u0438\u0442\u044c \u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u043e \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 (4).<\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u0431\u0435\u0433\u043d\u0443\u0442\u044c \u043a \u043f\u043e\u043c\u043e\u0449\u0438 \u043f\u0440\u0435\u0441\u043b\u043e\u0432\u0443\u0442\u043e\u0433\u043e Artificial intelligence (AI) \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 Wolfram Alfa<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u043e \u043d\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u043c \u0432\u0438\u0434\u0435. \u041d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u0436\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <strong>crm_pll_config()<\/strong>. <\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u043d\u0430\u043c \u043f\u043e\u0432\u0435\u0437\u043b\u043e. \u0412 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u0442\u0443\u0442 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 (2) \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0430\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f (3) \u043e\u0431\u044b\u043a\u043d\u043e\u0432\u0435\u043d\u043d\u044b\u043c \u043f\u0435\u0440\u0435\u0431\u043e\u0440\u043e\u043c. <\/p>\n<p>\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0439 \u0440\u0435\u0448\u0430\u0442\u0435\u043b\u044c \u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u0430 \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0434\u043b\u044f PLL \u043f\u0440\u044f\u043c\u043e \u043d\u0430 \u0421\u0438.<\/p>\n<pre><code class=\"cpp\">uint64_t ipow(uint32_t base, uint32_t exponenta) { uint64_t ret = 1, i = 0;     if(0 != exponenta) {         for(i = 1; i &lt;= exponenta; i++) {             ret *= base;         }     }     return ret; }  typedef struct{     uint32_t ms;     uint32_t ns;     uint32_t fr; }PllArtety_t;  bool pll_calc_artery(uint32_t freq_xtal_hz,                       uint32_t freq_sys_hz,                       PllArtety_t* const PllArtety) {     bool res = false;      LOG_INFO(PLL_CALC, \"FreqXtal:%u Hz,FreqSys:%u  Hz\",               freq_xtal_hz, freq_sys_hz);     cli_printf(\"{ [ (  {Xtal:%uHz} \/M )*N ]\/FR  }= Sys:%u Hz\" CRLF,                 freq_xtal_hz, freq_sys_hz);     uint32_t solution_cnt = 0;     if(PllArtety) {         uint32_t m = 0;         uint32_t temp_hz = 0;         uint32_t temp_m_hz = 0;         uint32_t cur_freq_sys_hz = 0;         for(m = 1; m &lt;= 15; m++) {             uint32_t n = 0;             temp_m_hz = freq_xtal_hz\/m;             if(2000000&lt;=temp_m_hz) {                 if(temp_m_hz&lt;=16000000){                     for(n = 31; n &lt;= 500; n++) {                         uint32_t f = 0;                         for(f = 0; f &lt;= 5; f++) {                             uint32_t fr = ipow(2, f);                             cur_freq_sys_hz = ((n * freq_xtal_hz) \/ (m * fr));                             if(freq_sys_hz == cur_freq_sys_hz) {                                 temp_hz = freq_xtal_hz * n \/ m;                                \/*condition from Artery New Clock Config*\/                                 if(500000000 &lt;= temp_hz) {                                     if(temp_hz &lt;= 1200000000) {                                         solution_cnt++;                                         cli_printf(\"%u: MS:%2u,NS:%3u,FR:%2u\" CRLF,                                                    solution_cnt, m, n, fr);                                         PllArtety->ms = m;                                         PllArtety->ns = n;                                         PllArtety->fr = fr;                                         res = true;                                     }                                 }                             }                         }                     }             }             }         }     }     if(res) {         LOG_INFO(PLL_CALC, \"SpotPllVals! %u Solutions\",solution_cnt);     } else {         LOG_ERROR(PLL_CALC, \"NoPllVals!\");     }     return res; } <\/code><\/pre>\n<h2>\u041e\u0442\u043b\u0430\u0434\u043a\u0430<\/h2>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a, \u0432 UART-CLI \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u044f \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u043b \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043e\u0431\u0441\u0447\u0435\u0442\u0430 PLL \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0430\u0436  4 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043d\u0430 \u0432\u044b\u0431\u043e\u0440.<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0412\u043e\u0442 \u044d\u0442\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f:<\/p>\n<p>1: MS:1, NS:100, FR:8<br \/>2: MS:2, NS:200, FR:8<br \/>3: MS:3, NS:300, FR:8<br \/>4: MS:4, NS:400, FR:8<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u0432 \u0447\u0435\u0442\u0432\u0451\u0440\u0442\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432 \u0443\u0442\u0438\u043b\u0438\u0442\u0443 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 PLL \u044f \u0443\u0432\u0438\u0434\u0435\u043b, \u0447\u0442\u043e \u043a\u043e\u043d\u0444\u0438\u0433 \u0432\u0430\u043b\u0438\u0434\u043d\u044b\u0439! <\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0423\u0441\u043f\u0435\u0445!<\/p>\n<h2>\u0418\u0442\u043e\u0433\u0438<\/h2>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0438. \u0410 \u043a\u0430\u043a \u0412\u044b \u0445\u043e\u0442\u0435\u043b\u0438?<\/p>\n<p>\u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0440\u0435\u0448\u0430\u0442\u044c \u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u044b \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u0434\u0430\u043b\u0435\u043a\u043e \u0432 run-time.<\/p>\n<p>\u041c\u043e\u0436\u043d\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0440\u0435\u0436\u0438\u043c \u044d\u043d\u0435\u0440\u0433\u043e\u0441\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u0438\u044f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u043d\u0438\u0437\u0438\u0432 \u0447\u0430\u0441\u0442\u043e\u0442\u0443 \u044f\u0434\u0440\u0430. \u0418\u043b\u0438 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u0434\u043b\u044f \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b. <\/p>\n<p>\u0412\u043e\u0442 \u0442\u0430\u043a..<\/p>\n<p><strong>Links\/URLs<\/strong><\/p>\n<p><a href=\"https:\/\/www.wolframalpha.com\/input?i=8000000\" rel=\"noopener noreferrer nofollow\">https:\/\/www.wolframalpha.com\/input?i=8000000<\/a><em>x-100000000<\/em>y%3D0<\/p>\n<p><a href=\"http:\/\/latex.codecogs.com\/eqneditor\/editor.php\" rel=\"noopener noreferrer nofollow\"><u>http:\/\/latex.codecogs.com\/eqneditor\/editor.php<\/u><\/a>  <\/p>\n<p><a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%94%D0%B8%D0%BE%D1%84%D0%B0%D0%BD%D1%82%D0%BE%D0%B2%D0%BE_%D1%83%D1%80%D0%B0%D0%B2%D0%BD%D0%B5%D0%BD%D0%B8%D0%B5\" rel=\"noopener noreferrer nofollow\">https:\/\/ru.wikipedia.org\/wiki\/\u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u043e_\u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><\/p>\n<div class=\"tm-article-poll-container\"><!--[--><\/p>\n<div class=\"tm-article-poll tm-article-poll_variant-bordered\">\n<div class=\"tm-notice tm-notice_positive tm-article-poll__notice\"><!----><\/p>\n<div class=\"tm-notice__inner\"><!----><\/p>\n<div class=\"tm-notice__content\" data-test-id=\"notice-content\"><!--[--><span>\u0422\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u043f\u0440\u043e\u0441\u0435. <a rel=\"nofollow\" href=\"\/kek\/v1\/auth\/habrahabr\/?back=\/ru\/articles\/803415\/&#038;hl=ru\">\u0412\u043e\u0439\u0434\u0438\u0442\u0435<\/a>, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430.<\/span><!--]--><\/div>\n<\/div>\n<\/div>\n<p><!--[--><\/p>\n<div class=\"tm-article-poll__header\">\u0412\u0430\u043c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0435 \u0440\u0435\u0448\u0430\u0442\u044c \u0414\u0438\u043e\u0444\u0430\u043d\u0442\u043e\u0432\u044b \u0443\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f?<\/div>\n<div class=\"tm-article-poll__answers\"><!--[--><\/p>\n<div class=\"tm-article-poll__answer\">\n<div class=\"tm-article-poll__answer-data\"><span class=\"tm-article-poll__answer-percent\">34.48% <\/span><span class=\"tm-article-poll__answer-label\">\u0434\u0430<\/span><span class=\"tm-article-poll__answer-votes\">30<\/span><\/div>\n<div class=\"tm-article-poll__answer-bar\">\n<div class=\"tm-article-poll__answer-progress\" style=\"width: 34.48%\"><\/div>\n<\/div>\n<\/div>\n<div class=\"tm-article-poll__answer\">\n<div class=\"tm-article-poll__answer-data\"><span class=\"tm-article-poll__answer-percent tm-article-poll__answer-percent_winning\">65.52% <\/span><span class=\"tm-article-poll__answer-label\">\u043d\u0435\u0442<\/span><span class=\"tm-article-poll__answer-votes\">57<\/span><\/div>\n<div class=\"tm-article-poll__answer-bar\">\n<div class=\"tm-article-poll__answer-progress tm-article-poll__answer-progress_winning\" style=\"width: 65.52%\"><\/div>\n<\/div>\n<\/div>\n<p><!--]--><\/div>\n<div class=\"tm-article-poll__stats\"> \u041f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043b\u0438 87 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439.   \u0412\u043e\u0437\u0434\u0435\u0440\u0436\u0430\u043b\u0438\u0441\u044c 10 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. <\/div>\n<p><!--]--><\/div>\n<p><!--]--><\/div>\n<p> \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\/803415\/\"> https:\/\/habr.com\/ru\/articles\/803415\/<\/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-372032","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/372032","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=372032"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/372032\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=372032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=372032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=372032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}