Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: STM32F103C8T6 yog dab tsi?
- Kauj Ruam 2: Cov Lus Qhia Tshwj Xeeb ntawm STM32F103C8T6 Blue Pill Board
- Kauj Ruam 3: Tam sim no, GigaDevice's GD32F103C8T6?
- Kauj Ruam 4: Kev qhia tshwj xeeb ntawm GD32F103C8T6
- Kauj Ruam 5: Kev Sib Piv Ntawm Ob Yam Khoom
Video: Lwm txoj hauv kev rau STM32F103C8T6 los ntawm GigaDevice: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Qhia GD32F103C8T6 los ntawm GigaDevice ua qhov pheej yig thiab nrawm dua rau STM32F103C8T6
Khoom siv
GigaDevice GD32F103C8T6
Kauj ruam 1: STM32F103C8T6 yog dab tsi?
STM32F103C8T6 yog lub microcontroller uas tuaj yeem siv ua lwm txoj hauv kev rau Arduino cov laug cam. Arduino yuav yog thawj lub rooj tsavxwm rau ntau tus neeg nyiam ua haujlwm (suav nrog kuv) thiab cov kws tsim tawm thaum lawv pib siv hluav taws xob.
Txawm li cas los xij, thaum peb pib tsim ntau dua thiab khawb tob peb yuav paub sai tias Arduino tsis tau npaj ua lag luam thiab nws 8-ntsis CPU nrog lub moos qeeb qeeb, nws tsis muab kua txiv txaus rau koj cov haujlwm. Cia siab tias, txawm li cas los xij, peb muaj tus tshiab STM32F103C8T6 STM32 Kev Txhim Kho Cov Txheej Txheem (Blue Pill) hauv kev ua lag luam tam sim no uas tuaj yeem yooj yim ua tau zoo dua Arduino nrog nws 32-ntsis CPU thiab ARM Cortex M3 architecture. Lwm lub lauj kaub zib ntab ntawm no yog qhov peb tuaj yeem siv tib lub qub Arduino IDE los teeb tsa peb li STM32 Boards. Yog li hauv qhov kev qhia no, cia peb pib nrog STM32 kom paub me ntsis ntawm cov hauv paus no thiab ntsais lub onboard LED siv Arduino IDE.
Txoj haujlwm no yog txhawb nqa los ntawm LCSC. Kuv tau siv cov khoom siv hluav taws xob los ntawm LCSC.com. LCSC muaj kev cog lus ruaj khov los muab kev xaiv dav ntawm cov khoom siv hluav taws xob zoo tshaj plaws ntawm tus nqi zoo tshaj nrog kev xa khoom thoob ntiaj teb mus rau ntau dua 200 lub tebchaws. Sau npe hnub no thiab tau txais $ 8 tawm ntawm koj thawj daim ntawv xaj.
Cov microcontrollers no yog tsim los ntawm STMicroelectronics, uas yog lub tuam txhab kev lag luam ywj pheej thoob ntiaj teb. Pawg thawj coj nrog STM32F103C8T6 raws li nws lub hlwb tseem muaj npe menyuam yaus li Blue Pill.
Kauj Ruam 2: Cov Lus Qhia Tshwj Xeeb ntawm STM32F103C8T6 Blue Pill Board
- Tub ntxhais: Cortex-M3 32-ntsis
- Kev khiav hauj lwm zaus: 72MHz
- Cov peev txheej cia: 64K Byte Flash, 20KByte SRAM
- Cov khoom siv sib cuam tshuam: 2x SPI, 3x USART, 2x I2C, 1x CAN, 37x I / O chaw nres nkoj
- Analog-to-digital conversion: ADC (12-ntsis / 16-channel) PWM: 16-ntsis / 15 channel
- USB ntaus ntawv: 1Timers: 3 lub sij hawm dav dav thiab 1 lub sij hawm zoo tshaj
- Debug Download: Txhawb JTAG / SWD debug interface los rub tawm, txhawb rau IAP
Kauj Ruam 3: Tam sim no, GigaDevice's GD32F103C8T6?
GigaDevice, tus muab kev pabcuam Tsis-Volatile Memory (NVM) cov cuab yeej, yog lub tuam txhab koom nrog kev nco siab thiab cuam tshuam txog kev tsim chip hauv Suav Teb Tuam Tshoj tsim nyob rau xyoo 2005.
GigaDevice ua STM tus ntxaib uas tau nrawm dua vim yog lub moos ceev ntawm 108 MHz raws li piv rau 72 MHz ntawm STM.
Zoo li STM, cov no kuj tseem ua raws ARM CortexTM-M3 RISC cov tub ntxhais nrog qhov sib piv zoo tshaj plaws ntawm kev ua lub zog, txo lub zog siv thiab txheej txheej txheej. CortexTM-M3 yog cov tub ntxhais tsim txheej txheem tom ntej uas tau nruj ua ke nrog Nested Vectored Interrupt Controller (NVIC), SysTick timer thiab txhawb nqa debug siab.
Kauj Ruam 4: Kev qhia tshwj xeeb ntawm GD32F103C8T6
- Pob: TQFP-48_7x7x05P
- Tub ntxhais loj: 32-ntsis
- Hom Kev Pab Cuam: FLASH
- Tus Txheej Txheem: ARM® Cortex®-M3
- Kev Ua Haujlwm Zaus: 108MHz
- Voltage - Khoom (Vcc/Vdd): 2.6V ~ 3.6V
- Qhov Kev Pabcuam Loj: 64KB
- RAM Loj: 20KB
- Tus naj npawb ntawm I/O: 37
- A/D: 10x12 ntsis
- D/A: 0
- PWM: 2
- UART/USART: 3
- PIB: 2
- I2C/SMBUS: 2
- USB ntaus ntawv: 1
- USB Host/OTG: 1
- YOG: 1
Kauj Ruam 5: Kev Sib Piv Ntawm Ob Yam Khoom
Yuav luag txhua qhov kev qhia tshwj xeeb thiab cov ntsiab lus ntawm ob lub microcontrollers zoo ib yam nrog tib lub flash loj, RAM, cov tub ntxhais ua haujlwm, thiab pinouts.
Qhov sib txawv tseem ceeb tshaj plaws yog tias GD32F103C8T6 muaj ntau zaus ua haujlwm nrog 108 MHz piv rau 72 MHz ntawm STM32F103C8T6. Yog li, Yog tias koj tab tom nrhiav kom nrawm dua rau kev ua cov lej ntev thiab cov lus txib nrog kev suav me me, GigaDevice muaj lwm txoj hauv kev. Txawm hais tias koj yuav xav tau qee qhov kev hloov pauv thaum koj pib ua haujlwm GigaDevice pawg thawj coj txhawm rau ua kom qeeb () muaj nuj nqi thiab lwm lub sijhawm cuam tshuam txog kev ua haujlwm. Kev ncua () kev ua haujlwm yog qhov nyuaj-coded loops ntawm nops uas xav tias 72Mhz, yog li ntawd yuav tsum tau hloov pauv ib yam.
Koj tuaj yeem hla cov kev hloov pauv no hauv stm32.h: Cov Ntaub Ntawv Txoj Kev: / IDE / hardware / Arduino_STM32 / STM32F1 / system / libmaple / stm32f1 / suav nrog / series
# yog STM32_F1_LINE == STM32_F1_LINE_PERFORMANCE
# ifndef STM32_PCLK1 # txhais STM32_PCLK1 54000000U //
Pom zoo:
Siv Kev Cia Siab Lub Hauv Paus txuas ntxiv txhawm rau Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Txoj Cai Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: 11 Kauj Ruam
Siv Kev Cia Siab Lub Hauv Paus Txuas Ntxiv kom Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: Lub hom phiaj ntawm cov lus qhia no yog los qhia seb yuav tshawb nrhiav koj tsev neeg tsob ntoo li cas hauv Tsev Neeg Nrhiav rau cov poj koob yawm txwv nrog kev ua haujlwm hauv lub tuam tsev tsis tiav siv Kev Cia Siab lub hauv siab txuas ntxiv. Siv Kev Cia Siab Lub Hauv Paus tuaj yeem ua rau koj qhov kev tshawb nrhiav tsis tiav
Yuav Ua Li Cas Upload Txoj Haujlwm lossis Txoj Cai Rau Hauv Arduino Pro Mini los ntawm Kev Siv CH340 UART Serial Converter Cable: 4 Cov Kauj Ruam
Yuav Ua Li Cas Txhim Kho Txoj Haujlwm lossis Txoj Cai Rau Hauv Arduino Pro Mini los ntawm Kev Siv CH340 UART Serial Converter Cable: USB TTL Cov lej txuas yog ntau yam ntawm USB rau txuas txuas txuas txuas uas muab kev sib txuas ntawm USB thiab txuas UART cuam tshuam. Ntau cov kab hluav taws xob tau muaj kev sib txuas ntawm 5 volts, 3.3 volts lossis cov neeg siv tau teev tseg cov teeb liab theem wi
(Yooj yim) Txoj hauv kev yooj yim kom tau txais Analog/pwm Suab Los ntawm Raspberry PI Zero thiab Kuj Txuas Rau Crt TV: 4 Kauj Ruam
(Yooj yim) Txoj hauv kev yooj yim kom tau txais Analog/pwm Suab Los ntawm Raspberry PI Zero thiab Kuj Txuas Rau Crt TV: Ntawm no kuv tau siv txoj hauv kev yooj yim tshaj plaws los tso suab rau TV nrog rau cov vis dis aus sib piv
Txoj hauv kev yooj yim tshaj plaws los luam Cov Ntawv lossis IMessages Sib Tham Los Ntawm IPhone: 3 Kauj Ruam
Txoj hauv kev yooj yim tshaj plaws los luam Cov Ntawv lossis IMessages Sib Tham Los Ntawm IPhone: Nyob zoo txhua tus, Hauv Cov Lus Qhia no, Kuv yuav qhia koj ob peb txoj hauv kev yooj yim los luam cov ntawv los ntawm koj iPhone. tsis tuaj ntawm tsab ntawv, lossis txawm tias los ntawm email, tab sis hloov los ntawm tex
Cov lus qhia ntawm Kev Ua Kom Zoo Mock-Up ntawm Track Slide Tsim rau Nqa/Txo Hauv Pem Hauv Ntej-Mounted Footrests ntawm Lub Hwj Huam Log: 9 Kauj Ruam (nrog Duab)
Cov lus qhia ntawm Kev Ua Kom Tiav Mock-Up ntawm Track Slide Tsim rau Nqa/Sab Qaum Nruab Nrab-Mounted Footrests ntawm Lub Hwj Huam Lub Rooj Zaum: Lub hauv paus tau teeb tsa lub tog zaum kom nqa tau hauv qab lub rooj kom zoo, thiab qis dua kom siv tau. Ib lub tswv yim rau kev ua haujlwm ywj pheej ntawm kev tuav cov footrest thiab kev xa tawm tsis suav nrog lub rooj zaum fais fab lag luam, thiab PWC cov neeg siv tau qhia txog qhov xav tau