{"id":352,"date":"2017-06-09T07:46:12","date_gmt":"2017-06-08T22:46:12","guid":{"rendered":"http:\/\/dubstylee.net\/v\/?p=352"},"modified":"2017-11-20T14:55:13","modified_gmt":"2017-11-20T05:55:13","slug":"stm32-smart-v2-0-stm32f103c8t6","status":"publish","type":"post","link":"https:\/\/dubstylee.net\/v\/stm32-smart-v2-0-stm32f103c8t6\/","title":{"rendered":"STM32 Smart V2.0 STM32F103C8T6\u30dc\u30fc\u30c9"},"content":{"rendered":"<p><a href=\"http:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_1-e1496999235694.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-353\" src=\"http:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_1-e1496999235694-300x300.jpg\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_1-e1496999235694-300x300.jpg 300w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_1-e1496999235694-150x150.jpg 150w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_1-e1496999235694-768x768.jpg 768w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_1-e1496999235694-1024x1024.jpg 1024w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_1-e1496999235694-945x945.jpg 945w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_1-e1496999235694-600x600.jpg 600w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_1-e1496999235694.jpg 1500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"http:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_2-e1496999256328.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-354\" src=\"http:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_2-e1496999256328-300x300.jpg\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_2-e1496999256328-300x300.jpg 300w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_2-e1496999256328-150x150.jpg 150w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_2-e1496999256328-768x768.jpg 768w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_2-e1496999256328-1024x1024.jpg 1024w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_2-e1496999256328-945x945.jpg 945w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/STM32_Smart2.0_2-e1496999256328-600x600.jpg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nSTM32F103C8T6\u642d\u8f09\u30dc\u30fc\u30c9\u3002<br \/>\n\u958b\u767a\u5143\u304c\u3044\u307e\u3044\u3061\u7279\u5b9a\u3067\u304d\u306a\u3044\u306e\u3060\u304c\u4e2d\u56fd\u306eMCUDEV\u3068\u3046\u30d6\u30e9\u30f3\u30c9\u306e\u3082\u306e\u3063\u307d\u3044\u3002\u901a\u79f0Black407V\u3068\u304b\u3044\u308f\u308c\u3066\u3044\u308b\u30dc\u30fc\u30c9\u3068\u540c\u3058\u30d9\u30f3\u30c0\u30fc\u3068\u601d\u308f\u308c\u307e\u3059\u3002\u3060\u304b\u3089\u3064\u304f\u308a\u306f\u305d\u3053\u305d\u3053\u826f\u3044\u3067\u3059\u3002<br \/>\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-8847538533969572\" data-ad-slot=\"6971491947\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<h2>\u4e3b\u306a\u4ed5\u69d8<\/h2>\n<ul>\n<li>4KB\u306eEEPROM(AT24C04)\u304c\u642d\u8f09\u3057\u3066\u3044\u308b\u3002\u4fbf\u5229\u306a\u3088\u3046\u3060\u3051\u3069I2C\u30a2\u30c9\u30ec\u30b9\u304c0x40\u3067\u56fa\u5b9a\u5316\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u6ce8\u610f\u3002<\/li>\n<li>\u30e6\u30fc\u30b6\u30fcLED\u306e\u30d4\u30f3\u306fPC13\u3002Pullup\u3055\u308c\u3066\u3044\u308b\u306e\u3067LOW\u3067\u70b9\u706f\u3002<\/li>\n<li>\u30e6\u30fc\u30b6\u30fc\u30b9\u30a4\u30c3\u30c1\u306e\u30d4\u30f3\u306fPA0\u3002\u62bc\u3059\u3068GND\u306b\u843d\u3061\u308b\u3002<\/li>\n<li>OLED\u7528\u306e\u30dd\u30fc\u30c8\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u3002(TFT\u3067\u3082OK\uff09\u30d4\u30f3\u306e\u914d\u7f6e\u306f\u3001(USB\u30dd\u30fc\u30c8\u3092\u624b\u524d\u5074\u3068\u3057\u3066)\u53f3\u304b\u3089<br \/>\n3V3\u3001GND\u3001SDI(PB15)\u3001SCL(PB13)\u3001CS(PB12)\u3001NRST\u3001A0(PB1)\u3001NC(\u63a5\u7d9a\u306a\u3057)<br \/>\n\u3068\u3044\u3046\u4e26\u3073\u9806\uff08SPI2\uff1f\uff09\u3002\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u5074\u304c\u5947\u8de1\u7684\u306b\u3053\u306e\u4e26\u3073\u9806\u306a\u3089\u826f\u3044\u3051\u3069\u305d\u3046\u3058\u3083\u306a\u3044\u3068\u3042\u307e\u308a\u610f\u5473\u304c\u306a\u3044\u304b\u3082\u3002<\/li>\n<li>SWD\u7aef\u5b50\u4ed8\u304d\u3002ST-LINK\u304c\u63a5\u7d9a\u3057\u3084\u3059\u3044\u3002\u4eba\u306b\u3088\u3063\u3066\u306f\u30c7\u30d0\u30c3\u30b0\u3057\u6613\u3044\u304b\u3082\u3002<\/li>\n<\/ul>\n<h2>Arduino\u5316<\/h2>\n<p>\u5f53\u7136\u306e\u3054\u3068\u304fArduino\u5316\u53ef\u80fd\u3067\u3001Arduino_STM32\u7528\u306eBootloader\u304c\u5229\u7528\u3067\u304d\u308b\u3002\u30e6\u30fc\u30b6\u30fcLED\u304cPC13\u7528\u306e\u3082\u306e\u306fBluePill\u3068\u540c\u3058\u3060\u304c\u3001\u3053\u308c\u306f\u30e6\u30fc\u30b6\u30fc\u30b9\u30a4\u30c3\u30c1\u304cPC14\u7528\u306b\u306a\u3063\u3066\u3044\u308b\u3002\u305b\u3063\u304b\u304f\u306a\u306e\u3067PA0\u7528\u306b\u5909\u3048\u3066\u81ea\u524d\u3067\u30d3\u30eb\u30c9\u3059\u308b\u306e\u304c\u826f\u3044\u3002<a href=\"http:\/\/dubstylee.net\/v\/stm32duino-bootloader-build\/\" target=\"_blank\" rel=\"noopener\">bootloader\u306e\u30d3\u30eb\u30c9\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u3092\u53c2\u8003\u306b\u3002<\/a>\u00a0config.h\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u3048\u308c\u3070\u826f\u3044\u3002<\/p>\n<pre>#elif defined TARGET_GENERIC_F103_PC13\r\n\r\n    #define LED_BANK            GPIOC\r\n    #define LED_PIN             13\r\n    #define LED_ON_STATE        0\r\n\r\n    \/\/ Button (if you have one)\r\n    #define BUTTON_BANK GPIOA  \/\/ \u30e6\u30fc\u30b6\u30fc\u30dc\u30bf\u30f3\uff08PA0\uff09\u306f\u30d0\u30f3\u30afA\r\n    #define BUTTON_PIN 0       \/\/ (A\u30d0\u30f3\u30af\u306e)0\u30d4\u30f3\u306b\u6307\u5b9a\u3002\r\n    #define BUTTON_PRESSED_STATE 0  \/\/ \u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u3089GND(LOW)\u306b\u306a\u308b<\/pre>\n<p>\u3053\u3093\u306a\u611f\u3058\u3002<br \/>\n\u3053\u3046\u3059\u308b\u3068\u30e6\u30fc\u30b6\u30fc\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u306a\u304c\u3089\u96fb\u6e90\u3092\u5165\u308c\u308b\u3068DFU\u30e2\u30fc\u30c9\u306e\u307e\u307e\u8d77\u52d5\u3059\u308b\u3057\u3001\u8d77\u52d5\u4e2d\u3067\u3082\u30ea\u30bb\u30c3\u30c8\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u306a\u304c\u3089\u30e6\u30fc\u30b6\u30fc\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u3001\u6b21\u306b\u30ea\u30bb\u30c3\u30c8\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u9806\u306b\u96e2\u305b\u3070\u5f37\u5236\u7684\u306bDFU\u30e2\u30fc\u30c9\u306b\u5165\u308b\u306e\u3067\u3001\u66f8\u304d\u8fbc\u307f\u304c\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u5834\u5408\u306a\u3069\u3067\u6709\u52b9\u3002\u901a\u5e38\u8d77\u52d5\u6642\u306f\u30e6\u30fc\u30b6\u30fc\u30dc\u30bf\u30f3\u3068\u3057\u3066\u5229\u7528\u3044\u3067\u304d\u308b\u3002\u3061\u306a\u307f\u306bDFU\u30e2\u30fc\u30c9\u3092\u629c\u3051\u308b\u3068\u304d\u306fReset\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u518d\u8d77\u52d5\u3092\u304b\u3051\u308c\u3070OK\u3002bootloader\u306e\u30d3\u30eb\u30c9\u306f\u7279\u5225\u306a\u74b0\u5883\u69cb\u7bc9\u304c\u5fc5\u8981\u306a\u3044\u306e\u3067\u3001\u662f\u975e\u81ea\u5206\u3067\u30d3\u30eb\u30c9\u3057\u305f\u3044\u3068\u3053\u308d\u3002<\/p>\n<h2>\u56de\u8def\u56f3<\/h2>\n<p><a href=\"http:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/e9d0177de31081ee0c4e3a828dd360b1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1497 size-large\" src=\"http:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/e9d0177de31081ee0c4e3a828dd360b1-1024x724.png\" alt=\"\" width=\"676\" height=\"478\" srcset=\"https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/e9d0177de31081ee0c4e3a828dd360b1-1024x724.png 1024w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/e9d0177de31081ee0c4e3a828dd360b1-300x212.png 300w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/e9d0177de31081ee0c4e3a828dd360b1-768x543.png 768w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/e9d0177de31081ee0c4e3a828dd360b1-945x668.png 945w, https:\/\/dubstylee.net\/v\/wp-content\/uploads\/2017\/06\/e9d0177de31081ee0c4e3a828dd360b1-600x424.png 600w\" sizes=\"auto, (max-width: 676px) 100vw, 676px\" \/><\/a><\/p>\n<h2>\u3055\u3044\u3054\u306b<\/h2>\n<p>BluePill\u3088\u308a\u5927\u304d\u304f\u9ad8\u3044\u3067\u3059\u304c\u3001AliExpress\u3067\u8cb7\u3048\u3070\u305d\u308c\u306a\u308a\u306b\u5b89\u3044\u306e\u3068\u3001\u3064\u304f\u308a\u3082\u3057\u3063\u304b\u308a\u3057\u3066\u3044\u308b\u306e\u3067\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<div style=\"float: left; margin: 10px;\"><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=dubstylee-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=as_ss_li_til&amp;asins=B01MDLO0UT&amp;linkId=4f407fc85a0fe5cc941c2255d27a54c4\" width=\"120\" height=\"240\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/div>\n<div style=\"float: left; margin: 10px;\"><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=dubstylee-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=as_ss_li_til&amp;asins=B01CZL6RGC&amp;linkId=3e235338bb2c6077dc2e49f9e66ca7c9\" width=\"120\" height=\"240\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/div>\n<div style=\"float: left; margin: 10px;\"><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=dubstylee-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=as_ss_li_til&amp;asins=B01MYLNWTH&amp;linkId=859cf362a4538e89c1832e5b43446add\" width=\"120\" height=\"240\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/div>\n<div style=\"float: left; margin: 10px;\"><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=dubstylee-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=as_ss_li_til&amp;asins=B016IV7MV4&amp;linkId=a8a14503b25f654f677477085aa5260d\" width=\"120\" height=\"240\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>STM32F103C8T6\u642d\u8f09\u30dc\u30fc\u30c9\u3002 \u958b\u767a\u5143\u304c\u3044\u307e\u3044\u3061\u7279\u5b9a\u3067\u304d\u306a\u3044\u306e\u3060\u304c\u4e2d\u56fd\u306e&#8230; <a class=\"more-link\" href=\"https:\/\/dubstylee.net\/v\/stm32-smart-v2-0-stm32f103c8t6\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":355,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,17],"tags":[63,46,40,39],"class_list":["post-352","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dev-board","category-stm32","tag-cortex-m3","tag-stm32","tag-stm32duino","tag-stm32f103c8t6"],"_links":{"self":[{"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/posts\/352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/comments?post=352"}],"version-history":[{"count":10,"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/posts\/352\/revisions"}],"predecessor-version":[{"id":1520,"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/posts\/352\/revisions\/1520"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/media\/355"}],"wp:attachment":[{"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/media?parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/categories?post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dubstylee.net\/v\/wp-json\/wp\/v2\/tags?post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}