Mundarija:
Video: ARM Cortex-M4 yordamida ketma-ket aloqa: 4 qadam
2025 Muallif: John Day | [email protected]. Oxirgi o'zgartirilgan: 2025-01-13 06:58
Bu virtual terminal yordamida ketma-ket aloqa uchun ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) dan foydalanadigan dastur. Chiqish 16x2 LCD displeyda olinishi mumkin va ketma -ket aloqa uchun kirish Energia IDE, Tera Team, Keil uVision yoki boshqa virtual terminal dasturlarining ketma -ket monitorida bo'lishi mumkin.
Ish paytida EK-TM4C123GXL RED LED mikrokontroller holatini ko'rsatadi. Seriya ma'lumotlarini mikrokontrollerga uzatishda EK-TM4C123GXL RED LED oq rangga aylandi. Butun elektron +5V (VBUS) va +3.3V EK-TM4C123GXL bilan quvvatlanadi. c99 kodining.bin fayli ushbu qo'llanma bilan biriktirilgan..bin faylini LM Flash Programmer yordamida mikrokontrollerga yuklash mumkin.
1 -qadam: talablar
Loyihani amalga oshirish uchun quyidagilar zarur: 1- Texas Instruments EK-TM4C123GXL
2- Potansiyometr (masalan, 5K)
3- LCD 16x2
4- Virtual terminal (kompyuterda dasturiy ta'minot)
5- LM Flash dasturchisi (kompyuterda dasturiy ta'minot)
=> Agar siz LM Flash Programmer dasturidan qanday foydalanishni va o'rnatishni bilmasangiz, iltimos, oldingi ko'rsatmalarni ko'rib chiqing yoki quyidagi havolalarni bosing:
LM Flash dasturchi yuklab olish
LM Flash Programmer yordamida.bin yoki.hex faylini yuklang
2-qadam: simlarni ulash va ulash
ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) va boshqa periferiya qurilmalarini ulash va ulash ushbu qadam bilan biriktirilgan va ularga quyidagilar berilgan:
================= TM4C123GXL => LCD
=================
VBUS => VDD yoki VCC
GND => VSS
PB4 = RS
GND => RW
PE5 => E.
PE4 => D4
PB1 => D5
PB0 => D6
PB5 => D7
+3.3V => A.
GND => K.
========================
TM4C123GXL => Potansiyometr
========================
VBUS => 1 -pin
GND => 3 -pin
=================
Potansiyometr => LCD
=================
2 -pin => Vo
=> Potansiometr yordamida kontrastni o'rnatishingiz mumkin
3 -qadam:.bin faylini yuklang
Bu qadam bilan biriktirilgan.bin faylini LM Flash Programmer yordamida ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) ga yuklang.
4 -qadam: Ma'lumotlaringizni kiritish uchun kiriting
. Bin faylini ARM Cortex-M4 (Texas Instruments EK-TM4C123GXL) ga yuklaganingizdan so'ng, siz 16x2 o'lchamli LCD displeyga chiqishingiz va terminalga kerakli kirishni kiritishingiz mumkin. Energia IDE Serial Monitor, Tera Team Virtual Terminal, Keil uVision yoki boshqa virtual terminal.