{"id":196924,"date":"2013-10-09T15:30:02","date_gmt":"2013-10-09T11:30:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=196924"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=196924","title":{"rendered":"<span class=\"post_title\">\u041a\u0440\u0430\u0442\u043a\u0438\u0439 \u043e\u0431\u0437\u043e\u0440 \u043d\u043e\u0432\u043e\u0433\u043e TI Launchpad (MSP-EXP430F5529LP \u0438\u043b\u0438 MSP430F5529 USB LaunchPad)<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/c8c\/cd1\/497\/c8ccd149749c88d36a2a6cb079040fba.jpg\"\/><\/p>\n<p>  \u041d\u0435 \u0442\u0430\u043a \u0434\u0430\u0432\u043d\u043e TI \u0432\u044b\u043b\u043e\u0436\u0438\u043b\u0438 \u0432 \u043f\u0430\u0431\u043b\u0438\u043a \u043d\u043e\u0432\u0443\u044e \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u0443\u044e \u043f\u043b\u0430\u0442\u0443 \u0438\u0437 \u0441\u0435\u0440\u0438\u0438 Launchpad (\u0435\u0441\u043b\u0438 \u0441\u0443\u0434\u0438\u0442\u044c \u043f\u043e <a href=\"http:\/\/www.ti.com\/ww\/en\/launchpad\/overview_head.html\">http:\/\/www.ti.com\/ww\/en\/launchpad\/overview_head.html<\/a> \u044d\u0442\u0430 \u043f\u043b\u0430\u0442\u0430 \u0438\u0434\u0435\u0442 \u043a\u0430\u043a \u0437\u0430\u043c\u0435\u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u0433\u043e launchpad).<br \/>  \u0411\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u044d\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043f\u043e\u043f\u0430\u043b\u043e \u043a\u043e \u043c\u043d\u0435 \u0432 \u0440\u0443\u043a\u0438, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 \u0447\u0435\u0441\u0442\u044c \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0431\u044b\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0439 \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043e\u0431\u0437\u043e\u0440.<\/p>\n<p>  \u0425\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438:  <\/p>\n<ul>\n<li>\u0427\u0430\u0441\u0442\u043e\u0442\u0430 \u044f\u0434\u0440\u0430 25MHz<\/li>\n<li>\u041f\u0430\u043c\u044f\u0442\u044c: 128KB \u0444\u043b\u0435\u0448\u0430, 8kB RAM<\/li>\n<li>16-\u0442\u0438 \u043a\u0430\u043d\u0430\u043b\u044c\u043d\u044b\u0439 12-bit ADC<\/li>\n<li>\u043a\u043e\u043c\u043f\u0430\u0440\u0430\u0442\u043e\u0440<\/li>\n<li>\u0447\u0435\u0442\u044b\u0440\u0435 16 \u0431\u0438\u0442\u043d\u044b\u0445 \u0442\u0430\u0439\u043c\u0435\u0440\u0430<\/li>\n<li>2 I2C, 4 SPI, 2 UART, USB (\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 \u0447\u0435\u0440\u0435\u0437 USB hub)<\/li>\n<li>40 \u043f\u0438\u043d\u043e\u0432\u044b\u0439 \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u043e\u0440 \u0434\u043b\u044f BoosterPack-\u043e\u0432 (\u043a\u0430\u043a \u043d\u0430 TivaC\/Stellaris launchpad)<\/li>\n<li>MSP430-F5529 \u2014 \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u0442\u0430\u0440\u0448\u0438\u0445 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440\u043e\u0432 \u0432 5x \u0441\u0435\u0440\u0438\u0438<\/li>\n<\/ul>\n<p>  \u0427\u0442\u043e \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u0442 \u044d\u0442\u0443 \u043f\u043b\u0430\u0442\u0443 \u043d\u0430 \u0444\u043e\u043d\u0435 \u0434\u0440\u0443\u0433\u0438\u0445? \u0413\u043b\u0430\u0432\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440\u0430 USB, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u043a\u0430\u043a \u043e\u0441\u043d\u043e\u0432\u0443 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 USB \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u0438 \u0434\u043b\u044f PC\/Mac. \u0412 msp430f5529 \u0443\u0436\u0435 \u0437\u0430\u0448\u0438\u0442\u0430 \u0434\u0435\u043c\u043a\u0430 \u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 HID \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u0438 Mass Strorage \u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044f. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u0442\u0430\u043a\u0436\u0435 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u043e, \u0447\u0442\u043e \u043d\u0430 \u043d\u0435\u0439 \u0441\u0442\u043e\u0438\u0442 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0438\u0437 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u043e\u0432\u043e\u0439 5x \u0441\u0435\u0440\u0438\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 2x \u0441\u0435\u0440\u0438\u0438 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 DMA, Port Mapping Controller.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0430\u0446\u0438\u044f (\u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 \u00ab\u043f\u0435\u0440\u0432\u043e\u0433\u043e\u00bb Launchpad \u044d\u0442\u0430 \u043f\u043b\u0430\u0442\u0430 \u0438\u0434\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u043e\u0439, \u0442.\u0435 \u0442\u0443\u0442 \u043d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u0440\u0438\u043f\u0430\u0438\u0432\u0430\u0442\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043c\u0435\u043b\u043a\u0438\u0439 \u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b \u0438 \u0440\u0430\u0437\u044a\u0435\u043c\u044b):  <\/p>\n<ul>\n<li>\u043f\u043b\u0430\u0442\u0430<\/li>\n<li>micro usb \u0448\u043d\u0443\u0440<\/li>\n<li>\u043a\u0440\u0430\u0441\u0438\u0432\u0430\u044f \u0431\u0440\u043e\u0448\u044e\u0440\u043a\u0430 \u0441 \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0430\u0446\u0438\u0435\u0439 \u0440\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0438 \u043f\u043b\u0430\u0442\u044b \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u0430\u043c\u0438 \u043d\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e.<\/li>\n<\/ul>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u043c \u0432 \u044d\u0442\u043e\u0439 \u043f\u043b\u0430\u0442\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u0430\/\u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430\/\u0434\u0435\u0431\u0430\u0433\u0435\u0440\u0440\u0430 <b>eZ-FET lite<\/b>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u043e\u043f\u0435\u043d\u0441\u0443\u0440\u0441.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/5a4\/468\/755\/5a44687554fc71fdc590ef980be2e444.jpg\"\/><\/p>\n<p>  \u0423 eZ-Fet lite \u0435\u0441\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 TI <br \/>  <a href=\"http:\/\/software-dl.ti.com\/msp430\/msp430_public_sw\/mcu\/msp430\/MSP430_ezFETLite\/latest\/\">http:\/\/software-dl.ti.com\/msp430\/msp430_public_sw\/mcu\/msp430\/MSP430_ezFETLite\/latest\/<\/a><br \/>  \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443, \u0441\u0445\u0435\u043c\u044b, \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u0438 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e.<br \/>  (\u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043e\u043d \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u043c \u043e\u043f\u0435\u043d\u0441\u0443\u0440\u0441\u043e\u043c \u0442.\u043a \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0437\u0430\u043a\u0440\u044b\u0442\u0430\u044f MSP430.DLL)<\/p>\n<p>  \u0425\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438 eZ-Fet lite 1.10:  <\/p>\n<ul>\n<li>USB \u043e\u0442\u043b\u0430\u0434\u043a\u0430, \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430<\/li>\n<li>\u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u044f \u043f\u043e UART \u0441\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e \u0434\u043e 1MBaud<\/li>\n<li>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438<\/li>\n<li>\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0432\u0441\u0435\u0445 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440\u043e\u0432 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b MSP430<\/li>\n<li>\u0441\u043e\u0444\u0442 \u2014 MSP430.DLL \u0432\u0435\u0440\u0441\u0438\u0438 3.3.0.6 \u0438\u043b\u0438 \u0441\u0442\u0430\u0440\u0448\u0435, Code Composer Studio \u0432\u0435\u0440\u0441\u0438\u0438 5.4 \u0438\u043b\u0438 \u0441\u0442\u0430\u0440\u0448\u0435, IAR Embedded Workbench \u0432\u0435\u0440\u0441\u0438\u0438 5.50 \u0438\u043b\u0438 \u0441\u0442\u0430\u0440\u0448\u0435<\/li>\n<\/ul>\n<p>  <habracut\/><br \/>  \u0415\u0449\u0435 \u0444\u043e\u0442\u043e:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/8bd\/d66\/40f\/8bdd6640fc77f902e1d4e44b2b8c7c57.jpg\"\/><br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/3c8\/845\/c61\/3c8845c61e8c1a3e07d01ed2a5d08f29.jpg\"\/><br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/ccd\/6ec\/26d\/ccd6ec26df7d768deac94d6a2564c230.jpg\"\/><\/p>\n<h4>\u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u0441\u0442\u0430\u0440\u0442:<\/h4>\n<p>  \u0421 \u043d\u0435\u0434\u0430\u0432\u043d\u0438\u0445 \u043f\u043e\u0440 TI \u0441\u0442\u0430\u043b\u0430 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 \u043f\u043b\u0430\u0442 \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u0442\u044c \u043d\u0435\u043a\u0438\u0439 \u00abProject 0\u00bb \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u043e \u043e\u043a\u0443\u043d\u0443\u0442\u0441\u044f \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443, \u0434\u0430\u043d\u043d\u0430\u044f \u043f\u043b\u0430\u0442\u0430 \u0442\u0430\u043a\u0436\u0435 \u0438\u043c\u0435\u0435\u0442 \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442. \u0421\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u00ab\u041d\u0443\u043b\u0435\u0432\u043e\u0433\u043e\u00bb \u043f\u0440\u043e\u0435\u043a\u0442\u0430 <a href=\"http:\/\/processors.wiki.ti.com\/index.php\/MSP430F5529_LaunchPad\">http:\/\/processors.wiki.ti.com\/index.php\/MSP430F5529_LaunchPad<\/a> \u2014 \u043d\u0430 \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0441\u043e\u0431\u0440\u0430\u043d\u044b \u0432\u0441\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u043b\u044f \u0441\u0442\u0430\u0440\u0442\u0430.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u043a\u0440\u0430\u0442\u043a\u043e \u043f\u0435\u0440\u0435\u0441\u043a\u0430\u0437\u0430\u0442\u044c Project 0 \u0442\u043e \u0432\u043e\u0442, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c:  <\/p>\n<ul>\n<li>\u0441\u043a\u0430\u0447\u0430\u0442\u044c Code Composer Studio <br \/>  (CCS) c \u0441\u0430\u0439\u0442\u0430 TI (\u044d\u0442\u043e \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u0441\u0430\u043c\u043e\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0435) \u2014 \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0437\u0430\u0445\u043e\u0434\u0438\u043c \u043d\u0430 <a href=\"http:\/\/processors.wiki.ti.com\/index.php\/Download_CCS\">http:\/\/processors.wiki.ti.com\/index.php\/Download_CCS<\/a><br \/>  \u0438 \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u043f\u043e\u0434 \u00abDownload the latest CCS\u00bb, \u0434\u0430\u043b\u0435\u0435 \u043f\u043e\u0434\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0430\u043d\u043a\u0435\u0442\u0443 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u044b \u043d\u0435 \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u043e\u0444\u0442 \u0432 \u0432\u043e\u0435\u043d\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u043c \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e CSS \u043b\u0438\u043c\u0438\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e 16kB \u043a\u043e\u0434\u0430.<\/li>\n<li>\u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 CCS \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0435\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043e\u0431\u044b\u0447\u043d\u044b\u043c \u0438\u043d\u0441\u0442\u0430\u043b\u044f\u0442\u043e\u0440\u043e\u043c<\/li>\n<li>\u0414\u0430\u043b\u0435\u0435 \u043d\u0443\u0436\u043d\u043e \u0435\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442 File &gt; New &gt; CCS Project, \u0432 \u0432\u0438\u0437\u0430\u0440\u0442\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 device MSP430F5529, \u0432\u044b\u0431\u0440\u0430\u0442\u044c Empty Project (with main.c).<\/li>\n<li>\u041f\u043e\u0441\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432 \u043d\u0435\u0433\u043e \u043a\u043e\u0434:<\/li>\n<\/ul>\n<pre> #include &lt;msp430.h&gt; unsigned int i = 0;                 \/\/ Initialize variables. This will keep count of how many cycles between LED toggles void main(void) {     WDTCTL = WDTPW + WDTHOLD;       \/\/ Stop watchdog timer. This line of code is needed at the beginning of most MSP430 projects.                                      \/\/ This line of code turns off the watchdog timer, which can reset the device after a certain period of time.     P1DIR |= 0x01;                  \/\/ P1DIR is a register that configures the direction (DIR) of a port pin as an output or an input.                                      \/\/ To set a specific pin as output or input, we write a '1' or '0' on the appropriate bit of the register.                                     \/\/ P1DIR = &lt;PIN7&gt;&lt;PIN6&gt;&lt;PIN5&gt;&lt;PIN4&gt;&lt;PIN3&gt;&lt;PIN2&gt;&lt;PIN1&gt;&lt;PIN0&gt;                                     \/\/ Since we want to blink the on-board red LED, we want to set the direction of Port 1, Pin 0 (P1.0) as an output                                     \/\/ We do that by writing a 1 on the PIN0 bit of the P1DIR register                                     \/\/ P1DIR = &lt;PIN7&gt;&lt;PIN6&gt;&lt;PIN5&gt;&lt;PIN4&gt;&lt;PIN3&gt;&lt;PIN2&gt;&lt;PIN1&gt;&lt;PIN0&gt;                                     \/\/ P1DIR = 0000 0001                                     \/\/ P1DIR = 0x01 &lt;-- this is the hexadecimal conversion of 0000 0001     for (;;)                        \/\/ This empty for-loop will cause the lines of code within to loop infinitely     {         P1OUT ^= 0x01;              \/\/ Toggle P1.0 using exclusive-OR operation (^=)                                     \/\/ P1OUT is another register which holds the status of the LED.                                      \/\/ '1' specifies that it's ON or HIGH, while '0' specifies that it's OFF or LOW                                     \/\/ Since our LED is tied to P1.0, we will toggle the 0 bit of the P1OUT register         for(i=0; i&lt; 20000; i++);    \/\/ Delay between LED toggles. This for-loop will run until the condition is met.                                      \/\/In this case, it will loop until the variable i increments to 20000.     } }<\/pre>\n<p>  \u0438 \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 Debug (F11), \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e, \u0435\u0441\u043b\u0438 \u0432\u0441\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u043c\u044b \u043f\u043e\u043f\u0430\u0434\u0435\u043c \u0432 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a (\u0433\u0434\u0435 \u043c\u043e\u0436\u0435\u043c \u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e \u043a\u043e\u0434\u0443 \u0438 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044b) \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0436\u043c\u0435\u043c Resume (F8) \u0438 \u043d\u0430\u0441\u043b\u0430\u0434\u0438\u043c\u0441\u044f \u043c\u0438\u0433\u0430\u043d\u0438\u0435\u043c \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434\u0430 (\u0435\u0449\u0435 CCS \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443 eZ-Fet lite).<\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u043a\u0430\u043a \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f <a href=\"http:\/\/www.energia.nu\">Energia<\/a>, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u043f\u043b\u0430\u0442\u0443 \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 arduino.<\/p>\n<p>  \u041d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043f\u043b\u0430\u0442\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u0430\u0447\u043d\u0430\u044f \u0438 \u0431\u0435\u0437 \u0441\u0438\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043a\u0430\u043a\u043e\u0435-\u043d\u0438\u0431\u0443\u0434\u044c usb \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e.<\/p>\n<p>  (\u0414\u043b\u044f \u0442\u0435\u0445 \u043a\u0442\u043e \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c\u0438 \u043f\u043b\u0430\u0442\u0430\u043c\u0438 \u0432\u043f\u0435\u0440\u0432\u044b\u0435, \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043e\u043d\u0430 \u043a\u0430\u043a \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 launchpad-\u044b, \u043f\u043e \u0441\u0443\u0442\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u0435\u0448\u0435\u0432\u044b\u043c Spy-by-Wire \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0442\u043e\u0440\u043e\u043c\/\u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u043e\u043c \u0434\u043b\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043b\u044e\u0431\u044b\u0445 MSP430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440\u043e\u0432, \u0442.\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0430\u0440\u044b \u043f\u0440\u043e\u0432\u043e\u0434\u043e\u0432 \u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a \u0432\u043d\u0435\u0448\u043d\u0435\u043c\u0443 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443 \u0438 \u043f\u0440\u043e\u0448\u0438\u0432\u0430\u0442\u044c\/\u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0438\u0437 CCS \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 IDE (\u043f\u0440\u0438\u0447\u0435\u043c \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 \u0434\u043e\u0440\u043e\u0433\u043e\u0433\u043e JTAG MSP430-FET UIF \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u0441\u044f \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u043a \u043d\u043e\u0436\u043a\u0430\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440\u043e\u0432)). \t\t\t<\/p>\n<div class=\"clear\"><\/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=\"http:\/\/habrahabr.ru\/post\/196924\/\"> http:\/\/habrahabr.ru\/post\/196924\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/c8c\/cd1\/497\/c8ccd149749c88d36a2a6cb079040fba.jpg\"\/><\/p>\n<p>  \u041d\u0435 \u0442\u0430\u043a \u0434\u0430\u0432\u043d\u043e TI \u0432\u044b\u043b\u043e\u0436\u0438\u043b\u0438 \u0432 \u043f\u0430\u0431\u043b\u0438\u043a \u043d\u043e\u0432\u0443\u044e \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u0443\u044e \u043f\u043b\u0430\u0442\u0443 \u0438\u0437 \u0441\u0435\u0440\u0438\u0438 Launchpad (\u0435\u0441\u043b\u0438 \u0441\u0443\u0434\u0438\u0442\u044c \u043f\u043e <a href=\"http:\/\/www.ti.com\/ww\/en\/launchpad\/overview_head.html\">http:\/\/www.ti.com\/ww\/en\/launchpad\/overview_head.html<\/a> \u044d\u0442\u0430 \u043f\u043b\u0430\u0442\u0430 \u0438\u0434\u0435\u0442 \u043a\u0430\u043a \u0437\u0430\u043c\u0435\u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u0433\u043e launchpad).<br \/>  \u0411\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u044d\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043f\u043e\u043f\u0430\u043b\u043e \u043a\u043e \u043c\u043d\u0435 \u0432 \u0440\u0443\u043a\u0438, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 \u0447\u0435\u0441\u0442\u044c \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0431\u044b\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0439 \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043e\u0431\u0437\u043e\u0440.<\/p>\n<p>  \u0425\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438:  <\/p>\n<ul>\n<li>\u0427\u0430\u0441\u0442\u043e\u0442\u0430 \u044f\u0434\u0440\u0430 25MHz<\/li>\n<li>\u041f\u0430\u043c\u044f\u0442\u044c: 128KB \u0444\u043b\u0435\u0448\u0430, 8kB RAM<\/li>\n<li>16-\u0442\u0438 \u043a\u0430\u043d\u0430\u043b\u044c\u043d\u044b\u0439 12-bit ADC<\/li>\n<li>\u043a\u043e\u043c\u043f\u0430\u0440\u0430\u0442\u043e\u0440<\/li>\n<li>\u0447\u0435\u0442\u044b\u0440\u0435 16 \u0431\u0438\u0442\u043d\u044b\u0445 \u0442\u0430\u0439\u043c\u0435\u0440\u0430<\/li>\n<li>2 I2C, 4 SPI, 2 UART, USB (\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 \u0447\u0435\u0440\u0435\u0437 USB hub)<\/li>\n<li>40 \u043f\u0438\u043d\u043e\u0432\u044b\u0439 \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u043e\u0440 \u0434\u043b\u044f BoosterPack-\u043e\u0432 (\u043a\u0430\u043a \u043d\u0430 TivaC\/Stellaris launchpad)<\/li>\n<li>MSP430-F5529 \u2014 \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u0442\u0430\u0440\u0448\u0438\u0445 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440\u043e\u0432 \u0432 5x \u0441\u0435\u0440\u0438\u0438<\/li>\n<\/ul>\n<p>  \u0427\u0442\u043e \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u0442 \u044d\u0442\u0443 \u043f\u043b\u0430\u0442\u0443 \u043d\u0430 \u0444\u043e\u043d\u0435 \u0434\u0440\u0443\u0433\u0438\u0445? \u0413\u043b\u0430\u0432\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440\u0430 USB, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u043a\u0430\u043a \u043e\u0441\u043d\u043e\u0432\u0443 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 USB \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u0438 \u0434\u043b\u044f PC\/Mac. \u0412 msp430f5529 \u0443\u0436\u0435 \u0437\u0430\u0448\u0438\u0442\u0430 \u0434\u0435\u043c\u043a\u0430 \u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 HID \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u0438 Mass Strorage \u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044f. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u0442\u0430\u043a\u0436\u0435 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u043e, \u0447\u0442\u043e \u043d\u0430 \u043d\u0435\u0439 \u0441\u0442\u043e\u0438\u0442 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0438\u0437 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u043e\u0432\u043e\u0439 5x \u0441\u0435\u0440\u0438\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 2x \u0441\u0435\u0440\u0438\u0438 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 \u043f\u0435\u0440\u0438\u0444\u0435\u0440\u0438\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 DMA, Port Mapping Controller.  <\/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-196924","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/196924","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=196924"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/196924\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=196924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=196924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=196924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}