STM32F407VET6电机驱动TB6612代码(CUBEIDE工程)

上传者: 52849254 | 上传时间: 2024-05-16 20:47:11 | 文件大小: 49.15MB | 文件类型: ZIP
代码(包含PID算法部分) 1.引脚功能设置 CLOCK(RCC) 设置外部时钟源 High Speed Clock即为HSE(高速时钟源),一般为接外部晶振为主,因此选择Crystal/Ceramic Resonator(使用晶振/外部陶瓷振荡器)来使用外部晶振。 Low Speed Clock(低速时钟源),若无特殊需求,不用打开。 然后设置时钟频率 设置输入时钟源频率 此图片频率84为方便讲解设置,实际还是按使用频84MHZ来设置! ①:Input frequency:输入晶振频率,在这个选项中可根据单片机的外部晶振来填写晶振频率,下面的蓝色范围为可接受频率范围。这边按8MHZ来配。 ②:PLL source Mux:PLL时钟源选择器,选择HSE高速时钟源即可。 ③:PLL 分频系数 M 配置。由于我们需要系统时钟设为168MHZ,因此需要通过PLL分频来把8MHZ的晶振时钟转换为系统时钟。 ④:主 PLL 倍频系数 N 配置。倍频系数 N(自动配频会自动计算) ⑤:主 PLL 分频系数 P 配置。分频系数 P(自动配频会自动计算) ⑥:系统时钟时钟源选择,选择PL

文件下载

资源详情

[{"title":"( 888 个子文件 49.15MB ) STM32F407VET6电机驱动TB6612代码(CUBEIDE工程)","children":[{"title":"00119ee7f9b0cd2ff23b37d679f04bab0f65b6 <span style='color:#111;'> 8.69KB </span>","children":null,"spread":false},{"title":"002c8d07768add673b113a607601457e3b5d9b <span style='color:#111;'> 227B </span>","children":null,"spread":false},{"title":"00be0b62aa2e6581e58d8b038044080d251c40 <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"01b0d2e2def1a269feb926a9b9a9950bac9fa6 <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"0212d1164d3b4432ffc4a08b35d58550b6cb28 <span style='color:#111;'> 871B </span>","children":null,"spread":false},{"title":"0219451a7a72b253464223892923f61d164d46 <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"033d88088de72dc23521d0d8e8dbbda5f0fbf2 <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"041e7c99cdcdc1f3c7099b569ef406bb449aa2 <span style='color:#111;'> 392.27KB </span>","children":null,"spread":false},{"title":"0516d709c06f4f6b780e5a5e6ace3ca4133359 <span style='color:#111;'> 47.14KB </span>","children":null,"spread":false},{"title":"057b4ba449adf6f083945f94c7ef71edd734ce <span style='color:#111;'> 86B </span>","children":null,"spread":false},{"title":"05aa378ab4d9b476bf0ef4a93e094c0bdb61d0 <span style='color:#111;'> 409.45KB </span>","children":null,"spread":false},{"title":"064ac2157a2984d8db81948e9ac5ea0d55ca47 <span style='color:#111;'> 391.91KB </span>","children":null,"spread":false},{"title":"06b6d10090617f3f46c9d7be71784073b019c3 <span style='color:#111;'> 103B </span>","children":null,"spread":false},{"title":"06c4bbb947b3e050cf1108ed7da4409b09c43a <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"073768347ad7a4f720364420dd9272af1882ee <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"0743b96f4aae532669d70b3f81a213e0fcc6de <span style='color:#111;'> 207B </span>","children":null,"spread":false},{"title":"0760dd758ae368efc006328c39f454f941fd11 <span style='color:#111;'> 80B </span>","children":null,"spread":false},{"title":"0778c45a2f82605a115dbba1262251f9d8fa6e <span style='color:#111;'> 137B </span>","children":null,"spread":false},{"title":"07ce3d63496e1831984803524630d0a03ec152 <span style='color:#111;'> 601B </span>","children":null,"spread":false},{"title":"090d6d9adffb36214230a8853cbf2e3a5a19fe <span style='color:#111;'> 5.19KB </span>","children":null,"spread":false},{"title":"0939e54beedbca60ece65d8cbeb82cbb21e893 <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false},{"title":"09749f3a5066f0e061783a1e67972b72ab61a7 <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"0987866953f4ace760dbe5f7ad35c791374181 <span style='color:#111;'> 416.05KB </span>","children":null,"spread":false},{"title":"099a8ba4016921998601e7150d844a5db9ffc7 <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"09d91af226d3d5bf3f5fbbee146f6547e3634f <span style='color:#111;'> 10.51KB </span>","children":null,"spread":false},{"title":"0a4eec792237991e58e859f3a5f01ce51ddc81 <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"0a59a8e595021856d96277248d50f4cc037c82 <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"0b1da4602ccef17ece93505df2911f4f83c78a <span style='color:#111;'> 391.39KB </span>","children":null,"spread":false},{"title":"0be79b45eaa66dbe88e9860093d482922e3025 <span style='color:#111;'> 33.87KB </span>","children":null,"spread":false},{"title":"0bfb297cd65a4565f6b2ba55b34533ca1bebb0 <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"0c1538b97962d3149414b4149a2581e9a84109 <span style='color:#111;'> 259B </span>","children":null,"spread":false},{"title":"0c1b47bc10346e9f9b969701b0c41b0d22146a <span style='color:#111;'> 601B </span>","children":null,"spread":false},{"title":"0c69fd4aa567b176c7ca1a31ea03fe31db6503 <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"0ccb3bf631cf757e2fc66792e365544c85c279 <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"0ce4b64d52fbe36bbe887380aa23f7cde09ef5 <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"0d5d21bc84eb3843e81f419f1a26ca39f4c0fa <span style='color:#111;'> 390B </span>","children":null,"spread":false},{"title":"0da542b09437e1e1b950185dfd3026a0f351d3 <span style='color:#111;'> 391.21KB </span>","children":null,"spread":false},{"title":"0df7681aa371d654fa4573204348c765750176 <span style='color:#111;'> 80B </span>","children":null,"spread":false},{"title":"0eaabb7d98dae883e1937cbe4537048a560531 <span style='color:#111;'> 571B </span>","children":null,"spread":false},{"title":"0f612aa31fe2a71cc786af5cac407e41fdd144 <span style='color:#111;'> 744B </span>","children":null,"spread":false},{"title":"106eac0fa8bc7e7cdc73bf94365eafcaf776b0 <span style='color:#111;'> 9.95KB </span>","children":null,"spread":false},{"title":"109a076828ec659571772ebe24f22c30348af5 <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"115a4c239bbb77345c9c166bee3098c035e8ee <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"11f625c936ac23c225b9fa5cf2f0cf0cef15a8 <span style='color:#111;'> 190B </span>","children":null,"spread":false},{"title":"138f07d68f18dd5146c0144fc1267cf900d966 <span style='color:#111;'> 415.13KB </span>","children":null,"spread":false},{"title":"1393f6afe9e00bbc432af877406106d284d230 <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"13961c3180716ff8cd9a8f7f53d7644b29c81c <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"13a8d10e601095c05533c1bdcd5f3c04d3c07e <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"13ac70e8fad615494f710d282c958d4c42d851 <span style='color:#111;'> 141B </span>","children":null,"spread":false},{"title":"1408a52a1d8a1940b94605d215d257680cf29e <span style='color:#111;'> 8.67KB </span>","children":null,"spread":false},{"title":"1426fc46e9d67fe3e5ed02d1992d28b47ffebe <span style='color:#111;'> 541.11KB </span>","children":null,"spread":false},{"title":"147a695e40214ab2920122586de4e7a7107b73 <span style='color:#111;'> 406.71KB </span>","children":null,"spread":false},{"title":"162e2ea83df7e93aaee7074a6112995f77e1a9 <span style='color:#111;'> 444B </span>","children":null,"spread":false},{"title":"164c57c7d4a829931692ffff6b9d3ce5ff854d <span style='color:#111;'> 705B </span>","children":null,"spread":false},{"title":"16ac3d1c1ebc148e0872ba399571de559046bd <span style='color:#111;'> 388.05KB </span>","children":null,"spread":false},{"title":"1710a1a4967ddc15cba3c52d7f69b76ae46087 <span style='color:#111;'> 526.26KB </span>","children":null,"spread":false},{"title":"17538472055daa4256ba58049b81da053f4b2f <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"17f63b7605ddbc2bca7c90b1134153d6137cb3 <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false},{"title":"180b659e1152732952b5c8628c5b5d83541210 <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"181f1f02ad8e3dd920cbb876b7794378f7290b <span style='color:#111;'> 43.95KB </span>","children":null,"spread":false},{"title":"1833db44bac0ca4c167c6ff537074816ce9b90 <span style='color:#111;'> 79B </span>","children":null,"spread":false},{"title":"18349f692a8c2f9caae9dc8d5f1395e41aa790 <span style='color:#111;'> 4.46KB </span>","children":null,"spread":false},{"title":"18dff8995ca49db4c7eb77e02466d1bed0ce18 <span style='color:#111;'> 331B </span>","children":null,"spread":false},{"title":"191afccb33454f5a5fad8e81ccb3fbd572a740 <span style='color:#111;'> 141B </span>","children":null,"spread":false},{"title":"19e029f8ade2c108c9ead3c4fb6417c91bbefb <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"1a8312e548b31ab039c763b312dc78b79df271 <span style='color:#111;'> 897B </span>","children":null,"spread":false},{"title":"1ae396a53915595ff8858fc959b551655d6b66 <span style='color:#111;'> 41.81KB </span>","children":null,"spread":false},{"title":"1af1e2963782823a734cb19fdb26bb5afa85e8 <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"1c1129dfa7effabc750127ebda53ba4377aba5 <span style='color:#111;'> 106B </span>","children":null,"spread":false},{"title":"1c82952a386fb31aa774eb57c8d03384fbdc0f <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"1ddabc2b344716d857565ce6a2b9f363ed68bb <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"1e05f2231554f3b8d03677e4658cfdbf5fa504 <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":"1e34d8842a3299071dd8258353c673f980fc3c <span style='color:#111;'> 6.74KB </span>","children":null,"spread":false},{"title":"1e4ede3a9f54c69e60d997997825b8ee52c106 <span style='color:#111;'> 17.76KB </span>","children":null,"spread":false},{"title":"1e6d811889c2ec9a297bf3e8c6cf4106422f99 <span style='color:#111;'> 248.54KB </span>","children":null,"spread":false},{"title":"1ede3dd8b7d0d3374c4987e9ab2bb3759c7a16 <span style='color:#111;'> 499B </span>","children":null,"spread":false},{"title":"1f2383db777c5f010ec0de7cb5eb9105ba1378 <span style='color:#111;'> 724B </span>","children":null,"spread":false},{"title":"1fa4a515c91d359affb4cbf7a484285aeebfc6 <span style='color:#111;'> 174B </span>","children":null,"spread":false},{"title":"212eb87a94d11bb8346c6fff99d5fbf838c0ac <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"218cfbbc300696d21a650bd47b15f6c9217158 <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"21b7676d776948f8840d479fed832b9fb6c73a <span style='color:#111;'> 44.51KB </span>","children":null,"spread":false},{"title":"21ef3395b102e49769f82eba7bc9821cc094e6 <span style='color:#111;'> 395.30KB </span>","children":null,"spread":false},{"title":"222ce67f119748c22fbba9182e5129f75d02d4 <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"22447a62567869b309cada4a450c95bba4d2d7 <span style='color:#111;'> 410.23KB </span>","children":null,"spread":false},{"title":"225024ac0c6c15e76e17d7321e2e7ef182c3cf <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"227456def595fd9dccabf7c7baaddbfb949b6c <span style='color:#111;'> 179B </span>","children":null,"spread":false},{"title":"2276a060dbdf00b491f895d0644b3e8d30aa80 <span style='color:#111;'> 257B </span>","children":null,"spread":false},{"title":"22858af75b149f40232815f7f680abd9f70069 <span style='color:#111;'> 179B </span>","children":null,"spread":false},{"title":"22f487ec8973f889b34d7fc7b0939e7c9b499d <span style='color:#111;'> 80B </span>","children":null,"spread":false},{"title":"2368c0862c006e35e8a8aae38ff81f8bf7fd16 <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"247fac98ef51baa69ce512a99ac06d8e2cbf97 <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"24eb87accb2db31876cc53dbdcf4fbe5eda689 <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"25fa642264d71d2aac65acd0e1fb2c0d8b6aed <span style='color:#111;'> 80B </span>","children":null,"spread":false},{"title":"26083a4b1500b366a1491dc031507c3c6d63b1 <span style='color:#111;'> 5.85KB </span>","children":null,"spread":false},{"title":"264ffccb509a466fa88e481b797d7784c16a86 <span style='color:#111;'> 607B </span>","children":null,"spread":false},{"title":"267a781849e4d57e337d1f4b4e6d604ef6c21e <span style='color:#111;'> 382B </span>","children":null,"spread":false},{"title":"270d92f49012fd9d3e2890f60cc4a27355339a <span style='color:#111;'> 312B </span>","children":null,"spread":false},{"title":"27196eb6d34286dbc7237ce97146061e5c4841 <span style='color:#111;'> 500B </span>","children":null,"spread":false},{"title":"272b70f66e78eab933e5c09168e8594b7d0da0 <span style='color:#111;'> 227B </span>","children":null,"spread":false},{"title":"27630238ea50305865de62ad790f06c1bad9ca <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明