{"id":1648,"date":"2017-04-10T09:47:59","date_gmt":"2017-04-10T00:47:59","guid":{"rendered":"http:\/\/flogics.com\/wp\/?p=1648"},"modified":"2020-06-30T10:39:15","modified_gmt":"2020-06-30T01:39:15","slug":"atmel-samd21-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%9f-spi-usb-%e3%83%96%e3%83%aa%e3%83%83%e3%82%b8%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0%e3%83%af%e3%83%bc%e3%82%af","status":"publish","type":"post","link":"https:\/\/flogics.com\/wp\/2017\/04\/atmel-samd21-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%9f-spi-usb-%e3%83%96%e3%83%aa%e3%83%83%e3%82%b8%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0%e3%83%af%e3%83%bc%e3%82%af\/","title":{"rendered":"Atmel SAMD21 \u3092\u4f7f\u3063\u305f SPI &#8211; USB \u30d6\u30ea\u30c3\u30b8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af"},"content":{"rendered":"<p>Prototyped an SPI &#8211; USB communication bridge framework by Atmel (current Microchip) SAMD21 microcomputer.<\/p>\n<p>\u4e45\u3005\u306e\u6295\u7a3f\u3067\u3059\u30022\u301c3\u6708\u9803\u306f\u304a\u5ba2\u69d8\u304b\u3089\u306e\u5927\u91cf\u306e\u304a\u4ed5\u4e8b\u3092\u9802\u6234\u3057\u3066\u3001\u3068\u3066\u3082\u30d6\u30ed\u30b0\u3092\u66f8\u304f\u4f59\u88d5\u304c\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3054\u3081\u3093\u306a\u3055\u3044\u3002<\/p>\n<p>\u3055\u3066\u3002\u4f11\u65e5\u3092\u5229\u7528\u3057\u3066\u3001\u307e\u305f\u4e00\u3064\u8a66\u4f5c\u3092\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u3001SPI\uff08Serial Peripheral Interface Bus\uff09\u3067\u9ad8\u901f\u306b\u30c7\u30fc\u30bf\u3092\u51fa\u529b\u3059\u308b\u30c7\u30d0\u30a4\u30b9\u304b\u3089\u3001USB \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u7d4c\u7531\u3057\u3001\u30d1\u30bd\u30b3\u30f3\u3042\u308b\u3044\u306f Raspberry Pi \u306b\u8ee2\u9001\u3059\u308b\u30d6\u30ea\u30c3\u30b8\u30c7\u30d0\u30a4\u30b9\uff08\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\uff09\u3067\u3059\u3002\uff08SPI \u3067\u51fa\u529b\u3055\u308c\u308b\u30c7\u30fc\u30bf\u3092\u3001\u9ad8\u901f\u306b\u30d1\u30bd\u30b3\u30f3\u306b\u53d6\u308a\u8fbc\u307f\u305f\u3044\u3068\u3044\u3046\u30cb\u30fc\u30ba\u306f\u6848\u5916\u306b\u591a\u3044\u306e\u3067\u3059\u3002\uff09<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1649\" src=\"http:\/\/flogics.com\/wp\/wp-content\/uploads\/2017\/04\/samd21_board-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/flogics.com\/wp\/wp-content\/uploads\/2017\/04\/samd21_board-300x225.jpg 300w, https:\/\/flogics.com\/wp\/wp-content\/uploads\/2017\/04\/samd21_board-768x576.jpg 768w, https:\/\/flogics.com\/wp\/wp-content\/uploads\/2017\/04\/samd21_board-1024x768.jpg 1024w, https:\/\/flogics.com\/wp\/wp-content\/uploads\/2017\/04\/samd21_board-660x495.jpg 660w, https:\/\/flogics.com\/wp\/wp-content\/uploads\/2017\/04\/samd21_board.jpg 1600w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>\u30d7\u30ed\u30bb\u30c3\u30b5\u306b\u306f\u3001SAMD21 \u3068\u547c\u3070\u308c\u308b Atmel \u793e\uff08\u73fe Microchip\uff09\u306e ARM Cortex-M0+ \u30de\u30a4\u30b3\u30f3\uff08\u30af\u30ed\u30c3\u30af48MHz\uff09\u3092\u521d\u3081\u3066\u5229\u7528\u3057\u307e\u3057\u305f\u3002Arduino ZERO PRO \u3068\u540c\u3058\u00a0ATSAMD21G18 \u3092\u642d\u8f09\u3057\u305f\u5c0f\u3055\u306a\u30dc\u30fc\u30c9\u3067\u3001<a href=\"https:\/\/www.sparkfun.com\/products\/13664\">SparkFun \u793e\u306e\u88fd\u54c1<\/a>\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f Arduino \u306e\u958b\u767a\u74b0\u5883\u3092\u4f7f\u3044\u307e\u3057\u305f\u304c\u3001SERCOM SPI \u3068\u3044\u3046\u901a\u4fe1\u30da\u30ea\u30d5\u30a7\u30e9\u30eb\u3084 DMAC\uff08DMA \u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\uff09\u3092\u4f7f\u3046\u3053\u3068\u306b\u306a\u3063\u305f\u305f\u3081\u3001\u76f4\u63a5\u306b\u30ec\u30b8\u30b9\u30bf\u3092\u53e9\u304f\u30b3\u30fc\u30c9\u304c\u5927\u91cf\u306b\u5165\u308a\u307e\u3057\u305f\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u898f\u6a21\uff08\u8a2d\u8a08\u5bb9\u6613\u5ea6\u66f2\u7dda?\uff09\u3068\u3057\u3066\u306f\u3001Arduino \u3067\u8a2d\u8a08\u3059\u308b\u306e\u3068\u3001Atmel \u306e\u958b\u767a\u74b0\u5883\u3092\u76f4\u63a5\u4f7f\u3046\u306e\u3068\u3001\u3061\u3087\u3046\u3069\u4ea4\u70b9\u306b\u3042\u308a\u305d\u3046\u306a\u30ec\u30d9\u30eb\u3067\u3059\u3002<\/p>\n<p>\u5b9f\u3092\u8a00\u3046\u3068\u3001\u5f53\u521d\u306f Arduino \u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u7c21\u5358\u306b\u66f8\u3051\u308b\u3060\u308d\u3046\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001SPI \u30da\u30ea\u30d5\u30a7\u30e9\u30eb\u3084 DMAC \u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3042\u308b\u3044\u306f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u304c\u306a\u304b\u306a\u304b\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u305f\u3081\u3001\u5c11\u3005\u3001\u76ee\u8ad6\u898b\u304c\u5916\u308c\u307e\u3057\u305f\u3002\u3082\u3057\u4eca\u5f8c\u4f5c\u308a\u76f4\u3059\u3068\u3057\u305f\u3089\u3001Atmel \u306e\u958b\u767a\u74b0\u5883\u306b\u79fb\u884c\u3059\u308b\u3001\u3001\u3001\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u3002\u3082\u3061\u308d\u3093\u3001Arduino \u958b\u767a\u74b0\u5883\u306e\u300c\u521d\u3081\u3066\u306e\u30c7\u30d0\u30a4\u30b9\u3067\u3082\u3001\u3068\u308a\u3042\u3048\u305a\u7c21\u5358\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u3001\u30d5\u30e9\u30c3\u30b7\u30e5\u306b\u713c\u3044\u3066\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u300d\u306f\u3001\u6368\u3066\u304c\u305f\u3044\u7279\u8cea\u3067\u3042\u308a\u3001Arduino \u958b\u767a\u74b0\u5883\u306b\u306f\u624b\u653e\u305b\u306a\u3044\u5229\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306e\u8a66\u4f5c\u306e\u30b9\u30da\u30c3\u30af\u3067\u3059\u304c\u3001<\/p>\n<ul>\n<li>\u3042\u308b\u30bb\u30f3\u30b5\u30c7\u30d0\u30a4\u30b9\u304c\u3001SPI \u30de\u30b9\u30bf\u3068\u3057\u3066\u6570\u30e1\u30ac bps \u3067\u30c7\u30fc\u30bf\u3092\u51fa\u529b\u3059\u308b\u3002<\/li>\n<li>\u305d\u308c\u3092\u30de\u30a4\u30b3\u30f3\u3067 USB\uff082.0 Full Speed\uff09\u306b\u5909\u63db\u3057\u3001<\/li>\n<li>\u30d1\u30bd\u30b3\u30f3\u3084 Raspberry Pi \u3067\u53d6\u308a\u8fbc\u3080<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002USB \u901a\u4fe1\u3068\u3057\u3066\u306f\u3001Arduino \u6a19\u6e96\u74b0\u5883\u306b\u3042\u308b USB CDC\uff08Communications Device Class\uff09\u306e USB device \u6a5f\u80fd\u3092\u4f7f\u3044\u307e\u3057\u305f\u3002\u30d5\u30ed\u30fc\u5236\u5fa1\u307e\u3067\u9762\u5012\u3092\u898b\u3066\u304f\u308c\u3066\u3001\u304b\u3064\u6570\u30e1\u30ac bps \u3067\u30d0\u30a4\u30c8\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u9001\u308c\u308b\u4fbf\u5229\u306a\u6a5f\u80fd\u3067\u3059\u3002\uff08\u305f\u3060\u3057\u3001\u3042\u304f\u307e\u3067\u3082\u30b9\u30c8\u30ea\u30fc\u30e0\u8ee2\u9001\u306a\u306e\u3067\u3001\u30d1\u30b1\u30c3\u30c8\u8ee2\u9001\u3042\u308b\u3044\u306f\u30d5\u30ec\u30fc\u30e0\u8ee2\u9001\u3092\u3059\u308b\u306b\u306f\u5de5\u592b\u304c\u5fc5\u8981\u3067\u3059\u3002\uff09<\/p>\n<p>\u4eca\u56de\u3001\u6700\u521d\u306b\u6c17\u306b\u306a\u3063\u305f\u306e\u306f\u3001USB CDC \u3067\u3069\u306e\u7a0b\u5ea6\u306e\u901f\u5ea6\u304c\u5f97\u3089\u308c\u308b\u304b\u3001\u3068\u3044\u3046\u70b9\u3067\u3059\u3002USB 2.0 Full Speed \u306e\u751f\u30ec\u30fc\u30c8\u306f 12Mbps \u3067\u3059\u304c\u3001CDC \u3067\u306f\u7406\u8ad6\u6700\u5927\u901f\u5ea6\u304c 9.6Mbps \u7a0b\u5ea6\u306b\u5236\u9650\u3055\u308c\u308b\u3068\u3044\u3046\u8a71\u3067\u3057\u305f\u3002\u307e\u305f\u3001\u5b9f\u969b\u306b\u30d1\u30bd\u30b3\u30f3\u306e USB CDC \u30c9\u30e9\u30a4\u30d0\u3068\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3069\u306e\u7a0b\u5ea6\u306e\u5b9f\u884c\u901f\u5ea6\u304c\u5f97\u3089\u308c\u308b\u304b\u3082\u691c\u8a3c\u304c\u5fc5\u8981\u3067\u3059\u3002\u79c1\u304c\u30d1\u30bd\u30b3\u30f3\uff08\u304a\u3088\u3073 Raspberry Pi\uff09\u3068 SAMD21 \u30de\u30a4\u30b3\u30f3\u3067\u5b9f\u6e2c\u3057\u305f\u30ec\u30fc\u30c8\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<h4>\u6a5f\u6750<\/h4>\n<ul>\n<li>Apple Mac mini (Late 2014),\u00a03 GHz Intel Core i7<\/li>\n<li>Raspberry Pi 2 Model B<\/li>\n<\/ul>\n<p>\u3044\u305a\u308c\u3082\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30bd\u30d5\u30c8\u3068\u3057\u3066\u306f Python 2.7 \u3068 PySerial \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5229\u7528\u3057\u307e\u3057\u305f\u3002\u30de\u30a4\u30b3\u30f3\u5074\u304c\u7121\u8ca0\u8377\uff08\u901a\u4fe1\u3060\u3051\u306b\u5c02\u5ff5\uff09\u306e\u72b6\u614b\u3067\u3001\u524d\u8005\u3060\u3068 6Mbps \u5f31\u3001\u5f8c\u8005\u3060\u3068 3.7Mbps \u7a0b\u5ea6\u306e\u5b9f\u52b9\u30ec\u30fc\u30c8\u304c\u5f97\u3089\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001\u30de\u30a4\u30b3\u30f3\u4e0a\u306b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u8f09\u305b\u3066\u307f\u307e\u3057\u305f\u3002\u3042\u3068\u306f\u3001\u30d1\u30bd\u30b3\u30f3\u3084 Raspberry Pi \u4e0a\u306b Python \u306e\u30e9\u30c3\u30d1\u30fc\u30b3\u30de\u30f3\u30c9\u3092\u7528\u610f\u3057\u3066\u3001\u5b8c\u6210\u3067\u3059\u3002\uff08\u3042\u3001\u753b\u9762\u4e0a\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u306a\u3093\u304b\u9593\u9055\u3063\u3066\u308b\u3002\uff09<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1650\" src=\"http:\/\/flogics.com\/wp\/wp-content\/uploads\/2017\/04\/sensor_platform.png\" alt=\"\" width=\"565\" height=\"566\" srcset=\"https:\/\/flogics.com\/wp\/wp-content\/uploads\/2017\/04\/sensor_platform.png 565w, https:\/\/flogics.com\/wp\/wp-content\/uploads\/2017\/04\/sensor_platform-150x150.png 150w, https:\/\/flogics.com\/wp\/wp-content\/uploads\/2017\/04\/sensor_platform-300x300.png 300w\" sizes=\"(max-width: 565px) 100vw, 565px\" \/><\/p>\n<p>\u304a\u3057\u307e\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Prototyped an SPI &#8211; USB communication bridge framework by Atmel (current Microchip) SAMD21 microcomputer. \u4e45\u3005\u306e\u6295\u7a3f\u3067\u3059\u30022\u301c3\u6708\u9803\u306f\u304a\u5ba2\u69d8\u304b\u3089\u306e\u5927\u91cf\u306e\u304a\u4ed5\u4e8b\u3092\u9802\u6234\u3057\u3066\u3001\u3068\u3066\u3082\u30d6\u30ed\u30b0\u3092\u66f8\u304f\u4f59\u88d5\u304c\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3054\u3081\u3093\u306a\u3055\u3044\u3002 \u3055\u3066\u3002\u4f11\u65e5\u3092\u5229\u7528\u3057\u3066\u3001\u307e\u305f\u4e00\u3064\u8a66\u4f5c\u3092\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u3001SPI\uff08Serial Peripheral Interface Bus\uff09\u3067\u9ad8\u901f\u306b\u2026 <span class=\"read-more\"><a href=\"https:\/\/flogics.com\/wp\/2017\/04\/atmel-samd21-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%9f-spi-usb-%e3%83%96%e3%83%aa%e3%83%83%e3%82%b8%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0%e3%83%af%e3%83%bc%e3%82%af\/\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":1649,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[18,12,62,24,64,3,23,17],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/flogics.com\/wp\/wp-json\/wp\/v2\/posts\/1648"}],"collection":[{"href":"https:\/\/flogics.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/flogics.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/flogics.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/flogics.com\/wp\/wp-json\/wp\/v2\/comments?post=1648"}],"version-history":[{"count":8,"href":"https:\/\/flogics.com\/wp\/wp-json\/wp\/v2\/posts\/1648\/revisions"}],"predecessor-version":[{"id":3922,"href":"https:\/\/flogics.com\/wp\/wp-json\/wp\/v2\/posts\/1648\/revisions\/3922"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/flogics.com\/wp\/wp-json\/wp\/v2\/media\/1649"}],"wp:attachment":[{"href":"https:\/\/flogics.com\/wp\/wp-json\/wp\/v2\/media?parent=1648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/flogics.com\/wp\/wp-json\/wp\/v2\/categories?post=1648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/flogics.com\/wp\/wp-json\/wp\/v2\/tags?post=1648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}