Cov txheej txheem:

Atollic TrueStudio-Hloov ntawm LED los ntawm Nias Lub Pob Khawm Siv STM32L100: 4 Cov Kauj Ruam
Atollic TrueStudio-Hloov ntawm LED los ntawm Nias Lub Pob Khawm Siv STM32L100: 4 Cov Kauj Ruam

Video: Atollic TrueStudio-Hloov ntawm LED los ntawm Nias Lub Pob Khawm Siv STM32L100: 4 Cov Kauj Ruam

Video: Atollic TrueStudio-Hloov ntawm LED los ntawm Nias Lub Pob Khawm Siv STM32L100: 4 Cov Kauj Ruam
Video: #Шаг3. Работаем в Atollic TrueStudio. Мигаем светодиодом. Stm32Blink2. 2024, Hlis ntuj nqeg
Anonim
Atollic TrueStudio-Hloov ntawm LED los ntawm Nias Lub Laub Khawm Siv STM32L100
Atollic TrueStudio-Hloov ntawm LED los ntawm Nias Lub Laub Khawm Siv STM32L100

Hauv qhov kev qhia ntawm STM32 Kuv yuav qhia koj txog yuav ua li cas nyeem GPIO tus pin ntawm STM32L100, yog li ntawm no kuv yuav ua ib qho ntawm lub nkoj Coj ci ci los ntawm kev nias lub pob

Kauj Ruam 1: Siv Software:

Siv Software
Siv Software
Siv Software
Siv Software

Nov yog cov software peb tau siv rau txoj haujlwm no:

1. Atollic TrueSTUDIO: Atollic® TrueSTUDIO® rau STM32 yog qhov kev hloov pauv tau yooj yim thiab nthuav dav thiab debug deb IDE rau STM32 MCU cov tsim tawm uas xav tau cov cuab yeej muaj zog los pab txhim kho cov cuab yeej siv tau zoo. TrueSTUDIO® yog ua raws cov qauv qhib (ECLIPSE thiab GNU) thiab txuas ntxiv nrog cov yam ntxwv zoo rau kev tswj hwm cov cai thiab kev tshuaj xyuas qib siab. Qhov no muab qhov kev nkag siab tshwj xeeb rau hauv tus qauv thiab kev coj ua zoo ntawm lub system.

Koj tuaj yeem rub tawm cov software los ntawm qhov txuas no

2. STM32CubeMX: STM32CubeMX yog cov cuab yeej siv duab uas tso cai rau kev teeb tsa yooj yim heev ntawm STM32 microcontrollers thiab microprocessors, nrog rau cov cim ntawm kev pib ua haujlwm C code rau Arm® Cortex®-M core lossis ib nrab Linux® Device Tree for Arm ® Cortex®-A core), los ntawm cov txheej txheem ib qib zuj zus.

Koj tuaj yeem rub tawm cov software los ntawm qhov txuas no

Kauj Ruam 2: Cov Khoom Siv:

Cheebtsam Siv
Cheebtsam Siv

Tsuas muaj ib qho khoom siv uas peb tau siv hauv qhov kev qhia no:

1.32L100CDISCOVERY: 32L100CDISCOVERY pab koj kom pom cov yam ntxwv ntawm STM32L100 Tus Nqi Kab 32-ntsis Cortex®-M3 microcontrollers thiab txhim kho koj daim ntawv thov yooj yim. Nws suav nrog txhua yam xav tau rau cov pib tshiab thiab cov neeg siv kev paub dhau los kom pib sai.

Raws li STM32L100RCT6, nws suav nrog ST-LINK/V2 embedded debug tool, LEDs, thawb lub pob kom yooj yim txuas ntawm cov khoom ntxiv thiab cov qauv.

Kauj ruam 3: Code:

Raws li peb tau tsim cov cai nrog kev pab los ntawm STM32CubeMX, yog li ntawm no kuv yuav qhia koj cov ntaub ntawv main.c.

koj tuaj yeem tau txais cov ntaub ntawv main.c los ntawm kab ntawv hauv qab no

Kauj Ruam 4: Txoj Cai Ua Haujlwm thiab Yees Duab:

Ntawm no ua ntej koj yuav tsum qhib STM32CubeMX tom qab ntawd koj yuav tsum xaiv lub rooj tsav xwm raug lossis mcu yog tias koj siv lub rooj tsav xwm tshwj xeeb.

Rau tag nrho cov txheej txheem thov saib peb cov vis dis aus. Kev piav qhia tag nrho Txoj Haujlwm tau muab rau hauv cov vis dis aus saum toj no

Yog tias koj muaj kev tsis ntseeg txog txoj haujlwm no thov tawm lus rau peb hauv qab no. Thiab yog tias koj xav kawm paub ntau ntxiv txog kev teeb tsa kab ke koj tuaj yeem mus ntsib peb tus youtube channel

Thov mus saib thiab nyiam peb Facebook nplooj ntawv rau hloov tshiab tas li.

Ua tsaug & Ua tsaug, Embedotronics yees

Pom zoo: