Cov txheej txheem:

Tsheb Teeb Tswj Kev Siv ARM Cortex-M4: 3 Kauj Ruam
Tsheb Teeb Tswj Kev Siv ARM Cortex-M4: 3 Kauj Ruam

Video: Tsheb Teeb Tswj Kev Siv ARM Cortex-M4: 3 Kauj Ruam

Video: Tsheb Teeb Tswj Kev Siv ARM Cortex-M4: 3 Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim
Tsheb Teeb Tswj Kev Siv ARM Cortex-M4
Tsheb Teeb Tswj Kev Siv ARM Cortex-M4

Nov yog qhov phiaj xwm phiaj xwm uas siv ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) los ua lub teeb pom kev khiav tsheb.

Lub sijhawm RED thiab XEEB LED tau teeb tsa rau 15 Thib Ob. Lub sijhawm ntawm Daj LED tau teeb tsa rau 1 Thib Ob. Ib daim duab "phiaj xwm" tau txuas nrog txoj haujlwm los pab kom nkag siab txog kev faib cov teeb tsheb.

Lub cathode ntawm txhua qhov LED tau txuas nrog ib leeg. Nws txhais tau tias lawv txhua tus muaj qib hauv av.

.bin cov ntaub ntawv ntawm c99 code tau txuas nrog qhov muab txuas ntawm qhov kawg ntawm qhov kev qhia no..bin cov ntaub ntawv tuaj yeem xa mus rau lub microcontroller siv LM Flash Programmer.

Kauj ruam 1: Yuav tsum tau ua

Cov hauv qab no yuav tsum ua kom tiav txoj haujlwm no:

1- Texas Instruments EK-TM4C123GXL 2- Plaub Liab LED's

3- Plaub Daj LED's

4- Plaub Blue lossis Green LED's

5- LM Flash Programmer (software ntawm PC)

=> Yog tias koj tsis paub siv thiab teeb tsa LM Flash Programmer, tom qab ntawv thov txheeb xyuas kuv li Kev Qhia Ua Ntej dhau los, lossis nyem rau ntawm qhov txuas hauv qab no:

Rub tawm LM Flash Programmer

Upload.bin lossis.hex Cov Ntaub Ntawv Siv LM Flash Programmer

Kauj Ruam 2: Pin-outs & thaiv

Pin-outs & Txuas
Pin-outs & Txuas
Pin-outs & Txuas
Pin-outs & Txuas

Tus Pin-outs & Wiring ntawm ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) thiab lwm yam khoom siv txuas nrog cov kauj ruam no thiab tseem muab cov hauv qab no:

=================== TM4C123GXL => LEDs

===================

PB5 => L1 (Liab), L2 (Liab)

PB0 => L1 (Daj), L2 (Daj)

PB1 => L1 (Xiav), L2 (Xiav)

PE4 => L3 (Liab), L4 (Liab)

PE5 => L3 (Daj), L4 (Daj)

PB4 => L3 (Xiav), L4 (Xiav)

GND => Txhua qhov tsis zoo ntawm LED's

Kauj ruam 3: Upload cov ntaub ntawv.bin

Upload cov ntaub ntawv.bin
Upload cov ntaub ntawv.bin
Upload cov ntaub ntawv.bin
Upload cov ntaub ntawv.bin

Xa cov ntawv.bin txuas nrog cov kauj ruam no rau ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) siv LM Flash Programmer kom tau txais cov txiaj ntsig.

Pom zoo: