STM32 X-CUBE-IPS Industrial Digital Output Software

X-CUBE-IPS Industrial Digital Output Software rau STM32
Nucleo

Cov ntaub ntawv khoom

X-CUBE-IPS Industrial Digital Output Software yog ib qho
nthuav dav ntawm STM32Cube software technology, tsim los ua
portability hla txawv STM32 microcontrollers yooj yim dua. Qhov no
software pob yog siv los tsim cov ntawv thov rau kev ua haujlwm siab
high-sab keyboards thiab suav nrog sample kev siv rau txhua qhov
expansion board txhawb nqa hauv pob, rau ob qho tib si NUCLEOF401RE thiab
NUCLEO-G431RB kev txhim kho pawg thawj coj saib.

Cov yam ntxwv tseem ceeb ntawm pob software no yog:

  • GPIOs, PWM, and IRQs
  • Fault/diagnostics cuam tshuam kev tuav
  • Sample kev siv muaj nyob rau ntawm qhov nthuav tawm hauv qab no
    boards:
    • IPS 1025H-32
  • Ib qho yooj yim portability hla ntau tsev neeg MCU, ua tsaug rau
    STM32 kub
  • Free, user-friendly licence cov ntsiab lus

Cov software no tso cai rau tswj cov zis digital ntawm ib leeg
expansion board los yog ib tug zoo configured pawg ntawm cov expansion
boards mounted raws li ib tug NUCLEO-F401RE los yog NUCLEO-G431RB kev loj hlob
lub rooj tsavxwm. Nws kuj tseem tso cai rau koj los tsim cov phiaj xwm nthuav dav los ua
switched on and off using PWM with a specific zaus nyob rau hauv lub
0-100 Hz ntau yam (0.1 Hz daws teeb meem), thiab lub luag haujlwm tshwj xeeb hauv lub voj voog
0-100% ntau yam (1% daws teeb meem). Lub pob muaj xws li ib tug exampua le
sim cov cuab yeej ua haujlwm thaum tsav cov channel hauv lub
Steady State and PWM.

Cov lus qhia siv khoom

Txhawm rau siv X-CUBE-IPS Industrial Digital Output Software, ua raws
cov kauj ruam no:

  1. Txuas lub expansion board rau NUCLEO-F401RE los yog
    NUCLEO-G431RB kev txhim kho pawg thawj coj saib.
  2. Download tau thiab nruab STM32Cube software.
  3. Rub tawm thiab nruab X-CUBE-IPS software pob.
  4. Siv cov sample kev siv tau muab nrog pob rau
    tsim koj tus kheej daim ntawv thov rau kev tswj cov zis digital ntawm
    lub expansion board(s).
  5. Yog tias tsim nyog, qhib lub rooj tsav xwm nthuav dav kom hloov mus
    thiab tawm siv PWM nrog lub sijhawm tshwj xeeb thiab lub luag haujlwm
    raws li koj daim ntawv thov.
  6. Kuaj cov cuab yeej ua haujlwm siv tus example muab
    lub pob thaum tsav tsheb cov channel hauv lub xeev khov kho thiab
    PWM.

UWM 3035
Cov neeg siv phau ntawv
Pib nrog X-CUBE-IPS industrial digital output software rau STM32 Nucleo
Taw qhia
Nrog rau X-CUBE-IPS software pob koj tuaj yeem nkag mus tau yooj yim cov yam ntxwv ntawm ICs tuav hauv cov ntawv nthuav qhia hauv qab no rau STM32 Nucleo: · 0.7 Kev ntsuas tam sim no nrog X-NUCLEO-OUT10A1, X-NUCLEO-OUT11A1, X-NUCLEO- OUT12A1, hosting feem
IPS161HF, ISO808 thiab ISO808A · 1.0 A qhov ntsuas tam sim no nrog X-NUCLEO-OUT13A1, X-NUCLEO-OUT14A1, hosting raws li ISO808-1 thiab ISO808A-1 · 2.5 A tam sim no ntsuas nrog X-NUCLEO-OUT03A), -NUCLEO-OUT1A2050 (hosting IPS05H),
X-NUCLEO-OUT08A1 (hosting the IPS160HF), los yog X-NUCLEO-OUT15A1 (hosting the IPS1025HF) · 5.7 Kev ntsuam xyuas tam sim no nrog X-NUCLEO-OUT04A1 lossis X-NUCLEO-OUT06A1, hosting2050 thiab IPSH raws li
IPS1025H-32 Qhov nthuav dav yog tsim los ntawm STM32Cube software thev naus laus zis kom yooj yim txav mus los thoob plaws STM32 microcontrollers. Lub software los nrog sample kev siv rau txhua pawg thawj coj nthuav dav txhawb nqa hauv pob, rau NUCLEOF401RE thiab NUCLEO-G431RB pawg thawj coj txhim kho.
Txuas txuas
Mus ntsib STM32Cube ecosystem web nplooj ntawv ntawm www.st.com yog xav paub ntxiv

UM3035 - Rev 2 - Kaum Ob Hlis 2022 Yog xav paub ntxiv hu rau koj lub chaw muag khoom hauv STMicroelectronics.

www.st.com

1

Acronyms thiab abbreviations

Acronym API BSP CMSIS HAL IDE LED SPI

Table 1. Daim ntawv teev cov lus piav qhia
Daim ntawv thov programming interface Board txhawb pob Cortex® microcontroller software interface txheem Hardware abstraction txheej Integrated txoj kev loj hlob ib puag ncig Lub teeb emitting diode Serial peripheral interface

UWM 3035
Acronyms thiab abbreviations

UM3035 – Rev 2

paj 2/50

UWM 3035
X-CUBE-IPS software nthuav dav rau STM32Cube

2

X-CUBE-IPS software nthuav dav rau STM32Cube

2.1

Tshajview

X-CUBE-IPS software pob nthuav dav STM32Cube ua haujlwm.

Cov yam ntxwv tseem ceeb ntawm pob khoom yog:

·

Cov pob software los tsim cov ntawv thov rau kev ua haujlwm siab siab-sab keyboards:

Daim ntawv pov thawj: ISO808, ISO808-1, ISO808A, thiab ISO808A-1

dual: IPS2050H thiab IPS2050H-32

Ib leeg: IPS160HF, IPS161HF, IPS1025H, IPS1025H-32, thiab IPS1025HF

·

GPIOs, PWM, and IRQs

·

Fault/diagnostics cuam tshuam kev tuav

·

Sample kev siv tau muaj nyob rau ntawm cov rooj nthuav dav hauv qab no, thaum txuas nrog NUCLEO-

F401RE los yog NUCLEO-G431RB kev txhim kho pawg thawj coj:

X-NUCLEO-OUT03A1

X-NUCLEO-OUT04A1

X-NUCLEO-OUT05A1

X-NUCLEO-OUT06A1

X-NUCLEO-OUT08A1

X-NUCLEO-OUT10A1

X-NUCLEO-OUT11A1

X-NUCLEO-OUT12A1

X-NUCLEO-OUT13A1

X-NUCLEO-OUT14A1

X-NUCLEO-OUT15A1

·

Yooj yim txav mus los thoob plaws MCU tsev neeg, ua tsaug rau STM32Cube

·

Free, user-friendly licence cov ntsiab lus

Cov software no tso cai rau kev tswj hwm cov txiaj ntsig digital ntawm ib lub rooj nthuav dav ib leeg, lossis ib pawg tsim kho kom zoo ntawm cov rooj sib tham nthuav dav txuas rau ntawm NUCLEO-F401RE lossis NUCLEO-G431RB kev txhim kho pawg thawj coj.

Nws kuj tseem tso cai rau koj los tsim cov phiaj xwm nthuav dav kom hloov mus rau thiab tawm siv PWM nrog cov zaus tshwj xeeb hauv 0-100 Hz ntau yam (0.1 Hz daws teeb meem), thiab lub voj voog tshwj xeeb hauv 0-100% ntau (1% daws teeb meem) .

Lub pob muaj xws li ib tug example sim cov cuab yeej ua haujlwm thaum tsav cov channel hauv lub xeev khov kho thiab PWM.

2.2

Kev tsim vaj tsev

Cov software no yog qhov ua tau raws li kev nthuav dav ntawm STM32Cube architecture rau kev txhim kho cov ntawv thov rau kev ua haujlwm siab (dual thiab ib leeg) siab-sab ntse hloov hluav taws xob (IPS) cov khoom tso tawm digital.

Lub software yog ua raws li STM32CubeHAL hardware abstraction txheej rau STM32 microcontroller. Lub pob txuas ntxiv STM32Cube los ntawm kev muab lub rooj txhawb nqa pob (BSP) rau cov khoom siv digital nthuav dav raws li cov khoom siv tau teev tseg hauv Tshooj 2.1 Tshaj.view.

Cov txheej txheem software siv los ntawm daim ntawv thov software nkag mus thiab siv cov kev lag luam digital output expansion boards yog:

·

STM32Cube HAL txheej: muaj cov yooj yim, generic thiab multi-instance APIs (daim ntawv thov kev pab cuam

interfaces) uas cuam tshuam nrog cov txheej txheem sab saud, cov tsev qiv ntawv thiab pawg. Cov no generic thiab

extension APIs yog ua raws li lub hauv paus ntsiab lus kom overlying txheej xws li cov khoom nruab nrab tuaj yeem ua haujlwm

tsis tas yuav tsum tau tshwj xeeb microcontroller unit (MCU) cov ntaub ntawv kho vajtse. Cov qauv no txhim kho cov tsev qiv ntawv

code reusability thiab lav tau yooj yim portability hla lwm yam khoom siv.

·

Board txhawb pob (BSP) txheej: muab software txhawb rau STM32 Nucleo board peripherals,

tsis suav nrog MCU. Cov APIs tshwj xeeb no muab qhov programming interface rau qee lub rooj tsav xwm tshwj xeeb

peripherals zoo li LEDs, cov neeg siv nyees khawm, thiab lwm yam, thiab tseem tuaj yeem siv los nqa tus kheej lub rooj tsavxwm

cov ntaub ntawv. Nws tseem muab kev txhawb nqa rau kev pib, teeb tsa thiab nyeem cov ntaub ntawv.

UM3035 – Rev 2

paj 3/50

Daim duab 1. X-CUBE-IPS expansion software architecture

UWM 3035
Folder qauv

2.3

Folder qauv

Daim duab 2. X-CUBE-IPS pob cov qauv txheej txheem

Cov folders hauv qab no suav nrog hauv pob software:

·

htmresc muaj cov duab rau html nplooj ntawv

·

Cov ntaub ntawv muaj cov ntaub ntawv sau ua ke HTML file tsim los ntawm lub hauv paus code, nthuav dav cov software

Cheebtsam thiab APIs.

·

Cov tsav tsheb muaj:

STM32Cube HAL subfolders, tshwj xeeb STM32G4xx_HAL_Driver thiab STM32F4xx_HAL_Driver. Cov no files tsis yog tshwj xeeb rau X-CUBE-IPS software tab sis tuaj ncaj qha los ntawm STM32Cube lub moj khaum thiab sawv cev rau hardware abstraction txheej code rau STM32 MCUs.

CMSIS folder, uas muaj Cortex® microcontroller software interface tus qauv files ntawm Arm. Cov no files yog cov neeg muag khoom-kev ywj pheej kho vajtse abstraction txheej rau Cortex-M processor
series. Cov nplaub tshev no los kuj tsis hloov pauv los ntawm STM32Cube moj khaum.

BSP nplaub tshev uas muaj cov cai yuav tsum tau rau kev teeb tsa ntawm cov rooj sib tham nthuav dav teev nyob rau hauv Tshooj 2.1 Tshajview, cov tsav tsheb rau IC teev nyob rau hauv Tshooj 2.1 Tshajview, thiab hloov API ua haujlwm.

·

Cov phiaj xwm muaj sample daim ntawv thov rau tag nrho cov khoom txhawb nqa IPS, muab rau NUCLEO-F401RE thiab

NUCLEO-G431RB platforms.

UM3035 – Rev 2

paj 4/50

2.3.1
2.3.1.1 2.3.1.2 2.3.1.3 2.3.1.4 2.3.1.5 ib

UWM 3035
Folder qauv

BSPs

Rau X-CUBE-IPS software, sib txawv BSPs yog siv:

·

STM32F4xx-Nucleo, STM32G4xx_Nucleo

·

IPS1025H_2050H

·

IPS 1025 HF

·

IPS160HF_161HF

·

ISO 808

·

ISO 808-1

·

ISO 808A

·

ISO 808A-1

·

OUT0xA1

·

OUT08_10A1

·

OUT15A1

·

OUT11_13A1

·

OUT12_14A1

STM32F4xx-Nucleo, STM32G4xx_Nucleo
Raws li STM32 Nucleo txoj kev loj hlob pawg thawj coj siv, cov BSPs no muab qhov sib txuas los teeb tsa thiab siv lub rooj tsav xwm kev loj hlob peripherals nrog lub expansion boards teev nyob rau hauv Tshooj 2.1 Tshaj.view.
Txhua lub nplaub tshev (STM32F4xx-Nucleo, STM32G4xx_Nucleo) muaj ob peb ntawm .c/.h files (stm32[code]xx_nucleo.c/.h, qhov twg [code] yog MCU tsev neeg code F4 lossis G4), uas tuaj ntawm STM32Cube moj khaum yam tsis muaj kev hloov kho. Lawv muab cov haujlwm los tswj cov neeg siv khawm thiab LEDs ntawm pawg thawj coj loj hlob.

IPS1025H_2050H

Lub IPS1025H_2050H BSP tivthaiv muab cov tsav tsheb ua haujlwm rau STMicroelectronics ntse fais fab hloov khoom siv hauv lub nplaub tshev DriversBSPComponentsips1025h_2050h.

Cov ntaub ntawv no muaj:

·

ips1025h_2050h.c: cov haujlwm tseem ceeb ntawm IPS1025H, IPS1025H-32, IPS2050H thiab IPS2050H-32 tsav tsheb

·

ips1025h_2050h.h: tshaj tawm ntawm IPS1025H, IPS1025H-32, IPS2050H thiab IPS2050H-32 tsav tsheb

kev ua haujlwm thiab lawv cov ntsiab lus cuam tshuam

IPS 1025 HF

IPS1025HF BSP tivthaiv muab cov tsav tsheb ua haujlwm rau STMicroelectronics ntse fais fab hloov khoom siv hauv cov ntawv tais ceev tseg DriversBSPComponentsips1025hf.

Cov ntaub ntawv no muaj:

·

ips1025hf.c: cov haujlwm tseem ceeb ntawm IPS1025HF tsav tsheb

·

ips1025hf.h: tshaj tawm ntawm IPS1025HF tsav tsheb ua haujlwm thiab lawv cov ntsiab lus cuam tshuam

IPS160HF_161HF

Lub IPS160HF_161HF BSP tivthaiv muab cov tsav tsheb ua haujlwm rau STMicroelectronics ntse fais fab hloov khoom siv hauv cov nplaub tshev DriversBSPComponentsips160hf_161hf.

Cov ntaub ntawv no muaj:

·

ips160hf_161hf.c: cov haujlwm tseem ceeb ntawm IPS160HF thiab IPS161HF tsav tsheb

·

ips160hf_161hf.h: tshaj tawm ntawm IPS160HF thiab IPS161HF tsav tsheb ua haujlwm thiab lawv cuam tshuam

txhais

ISO 808
ISO808 BSP tivthaiv muab cov neeg tsav tsheb ua haujlwm rau STMicroelectronics ntse fais fab hloov khoom siv hauv daim nplaub tshev DriversBSPComponentsiso808.

UM3035 – Rev 2

paj 5/50

UWM 3035
Folder qauv

2.3.1.6 2.3.1.7 2.3.1.8 2.3.1.9 2.3.1.10 2.3.1.11 ib

Cov ntaub ntawv no muaj:

·

iso808.c: cov haujlwm tseem ceeb ntawm ISO808 thiab ISO808-1 tsav tsheb

·

iso808.h: tshaj tawm ntawm ISO808 thiab ISO808-1 tsav tsheb ua haujlwm thiab lawv cov ntsiab lus cuam tshuam

ISO 808A

ISO808A BSP tivthaiv muab cov tsav tsheb ua haujlwm rau STMicroelectronics ntse fais fab hloov khoom siv hauv cov ntawv tais ceev tseg DriversBSPComponentsiso808a.

Cov ntaub ntawv no muaj:

·

iso808a.c: cov haujlwm tseem ceeb ntawm ISO808A thiab ISO808A-1 tsav tsheb

·

iso808a.h: tshaj tawm ntawm ISO808A thiab ISO808A-1 tsav tsheb ua haujlwm thiab lawv cov ntsiab lus cuam tshuam

OUT08_10A1
OUT08_10A1 BSP tivthaiv muaj cov pob khoom txhawb nqa files rau X-NUCLEO-OUT08A1 thiab X-NUCLEO-OUT10A1 expansion boards. Cov no files tau mob siab rau cov haujlwm tsim nyog los tsav lub zog hloov pauv hauv lub xeev khov kho thiab hauv PWM hom siv GPIOs.
Cov files kuj tseem siv tau kom tau txais cov xwm txheej ntawm kev kuaj mob thiab tso tawm tswv yim pins.
Los ntawm cov haujlwm no, cov channel tuaj yeem teeb tsa, rov pib dua, lossis teeb tsa hauv PWM hom nrog lub sijhawm tshwj xeeb thiab lub luag haujlwm.

OUT0xA1
Lub OUT0xA1 BSP tivthaiv muaj lub rooj txhawb nqa pob files rau tsev neeg X-NUCLEO-OUT0xA1 (X-NUCLEO-OUT03A1, X-NUCLEO-OUT04A1, X-NUCLEO-OUT05A1, X-NUCLEO-OUT06A1), uas tau mob siab rau cov haujlwm tsim nyog los tsav lub zog hloov pauv hauv nyob ruaj khov thiab hauv PWM hom siv GPIOs.
Cov files kuj tseem siv tau kom tau txais cov xwm txheej ntawm kev kuaj mob thiab tso tawm tswv yim pins. Los ntawm cov haujlwm no, ib lossis ntau txoj kev tuaj yeem teeb tsa, rov pib dua, lossis teeb tsa hauv PWM hom nrog lub sijhawm tshwj xeeb thiab lub luag haujlwm.

OUT11_13A1
OUT11_13A1 BSP tivthaiv muaj cov pob khoom txhawb nqa files rau X-NUCLEO-OUT11A1 thiab X-NUCLEO-OUT13A1 expansion boards. Cov no files tau mob siab rau cov haujlwm tsim nyog los tsav lub zog hloov pauv hauv lub xeev khov kho thiab hauv PWM hom siv GPIOs.
Cov files kuj tseem siv tau kom tau txais cov xwm txheej ntawm kev kuaj mob thiab tso tawm tswv yim pins. Los ntawm cov haujlwm no, Hom Kev Tswj Ncaj Ncees lossis Synchronous Control Mode tuaj yeem tswj tau, ib lossis ntau txoj kev tuaj yeem raug teeb tsa, rov pib dua, lossis teeb tsa hauv PWM hom nrog lub sijhawm tshwj xeeb thiab lub luag haujlwm.

OUT12_14A1
OUT12_14A1 BSP tivthaiv muaj cov pob khoom txhawb nqa files rau X-NUCLEO-OUT12A1 thiab X-NUCLEO-OUT14A1 expansion boards. Cov no files tau mob siab rau cov haujlwm tsim nyog los tsav lub zog hloov pauv hauv lub xeev khov kho thiab hauv PWM hom siv GPIOs.
Cov files kuj tseem siv tau kom tau txais cov xwm txheej ntawm kev kuaj mob thiab tso tawm tswv yim pins. Los ntawm cov haujlwm no, siv SPI interface, ib lossis ntau txoj kev tuaj yeem teeb tsa, rov pib dua, lossis teeb tsa hauv PWM hom nrog lub sijhawm tshwj xeeb thiab lub luag haujlwm.

OUT15A1
OUT15A1 BSP tivthaiv muaj cov pob khoom txhawb nqa files rau X-NUCLEO-OUT15A1 expansion board. Cov no files tau mob siab rau cov haujlwm tsim nyog los tsav lub zog hloov pauv hauv lub xeev khov kho thiab hauv PWM hom siv GPIOs.
Cov files kuj tseem siv tau kom tau txais cov xwm txheej ntawm kev kuaj mob thiab tso tawm tswv yim pins. Los ntawm cov haujlwm no, cov channel tuaj yeem teeb tsa, rov pib dua, lossis teeb tsa hauv PWM hom nrog lub sijhawm tshwj xeeb thiab lub luag haujlwm.

UM3035 – Rev 2

paj 6/50

2.3.2

UWM 3035
Folder qauv

Tej yaam num

Rau txhua qhov STM32 Nucleo platform, ib qho piv txwvample project muaj nyob rau hauv cov folders:

·

ProjectsSTM32F401RE-NucleoExamplesOut03_04

·

ProjectsSTM32G431RB-NucleoExamplesOut03_04

·

ProjectsSTM32F401RE-NucleoExamplesOut05_06

·

ProjectsSTM32G431RB-NucleoExamplesOut05_06

·

ProjectsSTM32F401RE-NucleoExamplesOut08_10

·

ProjectsSTM32G431RB-NucleoExamplesOut08_10

·

ProjectsSTM32F401RE-NucleoExamplesOut11_13

·

ProjectsSTM32G431RB-NucleoExamplesOut11_13

·

ProjectsSTM32F401RE-NucleoExamplesOut12_14

·

ProjectsSTM32G431RB-NucleoExamplesOut12_14

·

ProjectsSTM32F401RE-NucleoExamplesOut 15

·

ProjectsSTM32G431RB-NucleoExamplesOut 15

Txhua tus example muaj ib daim nplaub tshev rau lub hom phiaj IDE:

·

EWARM muaj qhov project files rau IAR

·

MDK-ARM muaj qhov project files rau Keil

·

STM32CubeIDE muaj qhov project files rau OpenSTM32

Txhua tus example muaj cov hauv qab no files:

·

Ntawm 03_04

ProjectsSTM32F401RE-NucleoExamplesOut03_04

Incmain.h - header rau main.c module

Incout03_04a1_conf.h – header for BSP/OUT0xA1 driver configuration

Incapp_switch.h – header rau app_switch.c module

Incstm32f4xx_hal_conf.h – HAL configuration file rau STM32F4xx

Incstm32f4xx_it.h – cuam tshuam handlers header file rau STM32F4xx

Incstm32f4xx_nucleo_errno.h – yuam kev lis dej num rau STM32F4xx-Nucleo

Incips2050h_conf.h – header for BSP/Components/ips1025h_2050h driver configuration

Srcmain.c – lub ntsiab program

Srcapp_switch.c – code rau daim ntawv thov exampli customization

Srcstm32f4xx_hal_msp.c – HAL MSP module rau STM32F4xx

Srcstm32f4xx_it.c – cuam tshuam handlers rau STM32F4xx

Srcsystem_stm32f4xx.c- qhov chaw file rau STM32F4xx

ProjectsSTM32G431RB-NucleoExamplesOut03_04

Incmain.h- header rau main.c module

Incout03_04a1_conf.h- header rau BSP/OUT0xA1 tsav tsheb configuration

Incapp_switch.h- header rau app_switch.c module

Incstm32g4xx_hal_conf.h- HAL configuration file rau STM32G4xx

Incstm32g4xx_it.h – cuam tshuam handlers header file rau STM32G4xx

Incstm32g4xx_nucleo_conf.h – configuration file rau STM32G4xx_Nucleo

Incips2050h_conf.h – header for BSP/Components/ips1025h_2050h driver configuration

Srcmain.c – lub ntsiab program

Srcapp_switch.c – code rau daim ntawv thov exampli customization

Srcstm32g4xx_hal_msp.c – HAL MSP module rau STM32G4xx

Srcstm32g4xx_it.c – cuam tshuam handlers rau STM32G4xx

Srcsystem_stm32g4xx.c – system source file rau STM32G4xx

UM3035 – Rev 2

paj 7/50

UWM 3035
Folder qauv

·

Ntawm 05_06

ProjectsSTM32F401RE-NucleoExamplesOut05_06

Incmain.h - header rau main.c module

Incout05_06a1_conf.h – header for BSP/OUT0xA1 driver configuration

Incapp_switch.h – header rau app_switch.c module

Incstm32f4xx_hal_conf.h – HAL configuration file rau STM32F4xx

Incstm32f4xx_it.h – cuam tshuam handlers header file rau STM32F4xx

Incstm32f4xx_nucleo_errno.h – yuam kev lis dej num rau STM32F4xx-Nucleo

Incips1025h_conf.h – header for BSP/Components/ips1025h_2050h driver configuration

Srcmain.c – lub ntsiab program

Srcapp_switch.c - pib thiab hloov ua haujlwm

Srcstm32f4xx_hal_msp.c – HAL MSP module rau STM32F4xx

Srcstm32f4xx_it.c – cuam tshuam handlers rau STM32F4xx

Srcsystem_stm32f4xx.c – qhov system file rau STM32F4xx

ProjectsSTM32G431RB-NucleoExamplesOut05_06

Incmain.h - header rau main.c module

Incout05_06a1_conf.h – header for BSP/OUT0xA1 driver configuration

Incapp_switch.h – header rau app_switch.c module

Incstm32g4xx_hal_conf.h – HAL configuration file rau STM32G4xx

Incstm32g4xx_it.h – cuam tshuam handlers header file rau STM32G4xx

Incstm32g4xx_nucleo_conf.h – configuration file rau STM32G4xx_Nucleo

Incips1025h_conf.h – header for BSP/Components/ips1025h_2050h driver configuration

Srcmain.c – lub ntsiab program

Srcapp_switch.c - pib thiab hloov ua haujlwm

Srcstm32g4xx_hal_msp.c – HAL MSP module rau STM32G4xx

Srcstm32g4xx_it.c – cuam tshuam handlers rau STM32G4xx

Srcsystem_stm32g4xx.c – system source file rau STM32G4xx

UM3035 – Rev 2

paj 8/50

UWM 3035
Folder qauv

·

Tawm 15

ProjectsSTM32F401RE-NucleoExamplesOut 15

Incmain.h - header rau main.c module

Incout15a1_conf.h – header rau BSP/OUT15A1 tsav configuration

Incapp_switch.h – header rau app_switch.c module

Incstm32f4xx_hal_conf.h – HAL configuration file rau STM32F4xx

Incstm32f4xx_it.h – cuam tshuam handlers header file rau STM32F4xx

Incstm32f4xx_nucleo_errno.h – yuam kev lis dej num rau STM32F4xx-Nucleo

Incips1025hf_conf.h – header for BSP/Components/ips1025hf driver configuration

Srcmain.c – lub ntsiab program

Srcapp_switch.c - pib thiab hloov ua haujlwm

Srcstm32f4xx_hal_msp.c – HAL MSP module rau STM32F4xx

Srcstm32f4xx_it.c – cuam tshuam handlers rau STM32F4xx

Srcsystem_stm32f4xx.c – qhov system file rau STM32F4xx

ProjectsSTM32G431RB-NucleoExamplesOut 15

Incmain.h - header rau main.c module

Incout15a1_conf.h – header rau BSP/OUT15A1 tsav configuration

Incapp_switch.h – header rau app_switch.c module

Incstm32g4xx_hal_conf.h – HAL configuration file rau STM32G4xx

Incstm32g4xx_it.h – cuam tshuam handlers header file rau STM32G4xx

Incstm32g4xx_nucleo_conf.h – configuration file rau STM32G4xx_Nucleo

Incips1025hf_conf.h – header for BSP/Components/ips1025hf driver configuration

Srcmain.c – lub ntsiab program

Srcapp_switch.c - pib thiab hloov ua haujlwm

Srcstm32g4xx_hal_msp.c – HAL MSP module rau STM32G4xx

Srcstm32g4xx_it.c – Interrupt handlers for STM32G4xx

Srcsystem_stm32g4xx.c – System source file rau STM32G4xx

UM3035 – Rev 2

paj 9/50

UWM 3035
Folder qauv

·

Ntawm 08_10

ProjectsSTM32F401RE-NucleoExamplesOut08_10

Incmain.h - header rau main.c module

Incout08_10a1_conf.h- header rau BSP/OUT08_10A1 tsav tsheb configuration

Incapp_switch.h – header rau app_switch.c module

Incstm32f4xx_hal_conf.h – HAL configuration file rau STM32F4xx

Incstm32f4xx_it.h – cuam tshuam handlers header file rau STM32F4xx

Incstm32f4xx_nucleo_errno.h – yuam kev lis dej num rau STM32F4xx-Nucleo

Incips160hf_161hf_conf.h- header rau BSP/Components/ips160hf_161hf driver configuration

Srcmain.c – lub ntsiab program

Srcapp_switch.c - pib thiab hloov ua haujlwm

Srcstm32f4xx_hal_msp.c – HAL MSP module rau STM32F4xx

Srcstm32f4xx_it.c – cuam tshuam handlers rau STM32F4xx

Srcsystem_stm32f4xx.c – qhov system file rau STM32F4xx

ProjectsSTM32G431RB-NucleoExamplesOut08_10

Incmain.h - header rau main.c module

Incout15a1_conf.h – header for BSP/OUT08_10A1 driver configuration

Incapp_switch.h – header rau app_switch.c module

Incstm32g4xx_hal_conf.h – HAL configuration file rau STM32G4xx

Incstm32g4xx_it.h – cuam tshuam handlers header file rau STM32G4xx

Incstm32g4xx_nucleo_conf.h – configuration file rau STM32G4xx_Nucleo

Incips160hf_161hf_conf.h- header rau BSP/Components//ips160hf_161hf tsav configuration

Srcmain.c – lub ntsiab program

Srcapp_switch.c - pib thiab hloov ua haujlwm

Srcstm32g4xx_hal_msp.c – HAL MSP module rau STM32G4xx

Srcstm32g4xx_it.c – Interrupt handlers for STM32G4xx

Srcsystem_stm32g4xx.c – System source file rau STM32G4xx

UM3035 – Rev 2

paj 10/50

UWM 3035
Folder qauv

·

Ntawm 11_13

ProjectsSTM32F401RE-NucleoExamplesOut11_13

Incmain.h - header rau main.c module

Incout11_13a1_conf.h – header rau BSP/OUT11_13A1 tsav configuration

Incapp_switch.h – header rau app_switch.c module

Incstm32f4xx_hal_conf.h – HAL configuration file rau STM32F4xx

Incstm32f4xx_it.h – cuam tshuam handlers header file rau STM32F4xx

Incstm32f4xx_nucleo_errno.h – yuam kev lis dej num rau STM32F4xx-Nucleo

Inciso808_conf.h – header rau BSP/Components/iso808 driver configuration

Srcmain.c – lub ntsiab program

Srcapp_switch.c - pib thiab hloov ua haujlwm

Srcstm32f4xx_hal_msp.c – HAL MSP module rau STM32F4xx

Srcstm32f4xx_it.c – cuam tshuam handlers rau STM32F4xx

Srcsystem_stm32f4xx.c – qhov system file rau STM32F4xx

ProjectsSTM32G431RB-NucleoExamplesOut11_13

Incmain.h - header rau main.c module

Incout11_13a1_conf.h – header rau BSP/OUT11_13A1 tsav configuration

Incapp_switch.h – header rau app_switch.c module

Incstm32g4xx_hal_conf.h – HAL configuration file rau STM32G4xx

Incstm32g4xx_it.h – cuam tshuam handlers header file rau STM32G4xx

Incstm32g4xx_nucleo_conf.h – configuration file rau STM32G4xx_Nucleo

Inciso808_conf.h – header rau BSP/Components/iso808 driver configuration

Srcmain.c – lub ntsiab program

Srcapp_switch.c - pib thiab hloov ua haujlwm

Srcstm32g4xx_hal_msp.c – HAL MSP module rau STM32G4xx

Srcstm32g4xx_it.c – cuam tshuam handlers rau STM32G4xx

Srcsystem_stm32g4xx.c – system source file rau STM32G4xx

UM3035 – Rev 2

paj 11/50

2.4
2.4.1

UWM 3035
Software xav tau kev pab

·

Ntawm 12_14

ProjectsSTM32F401RE-NucleoExamplesOut12_14

Incmain.h - header rau main.c module

Incout12_14a1_conf.h – header rau BSP/OUT12_14A1 tsav configuration

Incapp_relay.h – header rau app_relay.c module

Incstm32f4xx_hal_conf.h – HAL configuration file rau STM32F4xx

Incstm32f4xx_it.h – cuam tshuam handlers header file rau STM32F4xx

Incstm32f4xx_nucleo_errno.h – yuam kev lis dej num rau STM32F4xx-Nucleo

Inciso808a_conf.h – header rau BSP/Components/iso808a driver configuration

Srcmain.c – lub ntsiab program

Srcapp_relay.c – pib thiab relay muaj nuj nqi

Srcstm32f4xx_hal_msp.c – HAL MSP module rau STM32F4xx

Srcstm32f4xx_it.c – cuam tshuam handlers rau STM32F4xx

Srcsystem_stm32f4xx.c – qhov system file rau STM32F4xx

ProjectsSTM32G431RB-NucleoExamplesOut12_14

Incmain.h - header rau main.c module

Incout12_14a1_conf.h – header rau BSP/OUT12_14A1 tsav configuration

Incapp_relay.h – header rau app_relay.c module

Incstm32g4xx_hal_conf.h – HAL configuration file rau STM32G4xx

Incstm32g4xx_it.h – cuam tshuam handlers header file rau STM32G4xx

Incstm32g4xx_nucleo_conf.h – configuration file rau STM32G4xx_Nucleo

Inciso808a_conf.h – header rau BSP/Components/iso808a driver configuration

Srcmain.c – lub ntsiab program

Srcapp_relay.c – pib thiab relay muaj nuj nqi

Srcstm32g4xx_hal_msp.c – HAL MSP module rau STM32G4xx

Srcstm32g4xx_it.c – cuam tshuam handlers rau STM32G4xx

Srcsystem_stm32g4xx.c – system source file rau STM32G4xx

Software xav tau kev pab

X-NUCLEO-OUT03A1, X-NUCLEO-OUT04A1
MCU tswj IPS2050H thiab IPS2050H-32 ntawm GPIOs.
Yog li, thaum siv ib qho X-NUCLEO-OUT03A1 expansion board los yog ib qho X-NUCLEO-OUT04A1 expansion board, ob lub GPIO signals (IN1 thiab IN2 pins) ntxiv rau ob GPIOs mob siab rau kev cuam tshuam kev tswj hwm (FLT1, FLT2 pins) yuav tsum tau.
Lub software kuj siv PWM timer los tsim cov qauv raws sij hawm ntawm cov khoom tso tawm rau lub rooj nthuav dav.
Nws kuj tseem tuaj yeem ntsuas qhov yim-channel digital output module los ntawm stacking mus txog plaub X-NUCLEO-OUT03A1 andor X-NUCLEO-OUT04A1 nrog kev sib koom lossis kev ywj pheej xa khoom thiab kev ywj pheej.
Nyob rau hauv cov ntaub ntawv no, ntxiv expansion boards yuav tsum tau configured kom zoo. Rau lub thib ob, thib peb, los yog plaub lub rooj tsavxwm, nws yog tsim nyog los unsolder plaub resistors rau txhua lub rooj tsavxwm los ntawm lub neej ntawd txoj hauj lwm thiab solder lawv nyob rau hauv txawv txoj hauj lwm uas muaj feem xyuam rau lub board tooj, ua raws li cov tswv yim piav hauv qab no.

Board 0 Board 1 Board 2 Board 3

Board no.

Table 2. Configuration ntawm ib pawg ntawm plaub expansion boards

IN1 R101 R131 R111 R121

IN2 R102 R132 R112 R122

FLT1 R103 R133 R113 R123

FLT2 R104 R134 R114 R124

UM3035 – Rev 2

paj 12/50

UWM 3035
Software xav tau kev pab

Tseem ceeb:

Thaum siv board 2 thiab board 3, ob jumpers yuav tsum kaw lub morpho connectors pins nyob rau hauv lub STM32 Nucleo txoj kev loj hlob board:

·

CN7.35-36 kaw

·

CN10.25-26 kaw

Yog xav paub ntxiv, saib lub jumper configuration piav nyob rau hauv Tshooj 3.4 Board teeb thiab cov ntaub ntawv file (readme.html hauv ExamplesOut03_04 folders).

2.4.2

X-NUCLEO-OUT05A1, X-NUCLEO-OUT06A1
MCU tswj IPS1025H thiab IPS1025H-32 ntawm GPIOs.
Yog li, thaum siv ib qho X-NUCLEO-OUT05A1 expansion board los yog ib qho X-NUCLEO-OUT06A1 expansion board, ib qho GPIO teeb liab (IN1) ntxiv rau ob GPIOs nplooj siab rau kev cuam tshuam kev tswj hwm (FLT1, FLT2 pins) yuav tsum.
Lub software kuj siv PWM timer los tsim cov qauv raws sij hawm ntawm cov khoom tso tawm rau lub rooj nthuav dav.
Nws kuj tseem tuaj yeem ntsuas plaub-channel digital output module los ntawm stacking mus txog plaub X-NUCLEO-OUT05A1 andor X-NUCLEO-OUT06A1 nrog kev sib koom lossis kev ywj pheej ntawm kev thauj khoom thiab kev ywj pheej.
Nyob rau hauv cov ntaub ntawv no, ntxiv expansion boards yuav tsum tau configured kom zoo. Rau lub thib ob, thib peb, los yog plaub lub rooj tsavxwm, nws yog tsim nyog los unsolder peb resistors rau txhua lub rooj tsavxwm los ntawm lub neej ntawd txoj hauj lwm thiab solder lawv nyob rau hauv txawv txoj hauj lwm muaj feem xyuam rau lub board tooj, ua raws li cov tswv yim tau piav qhia hauv qab no.

Board 0 Board 1 Board 2 Board 3

Table 3. Configuration ntawm ib pawg ntawm plaub expansion boards

Board no.

IN1 R101 R102 R115 R120

R103R104R116R119

FLT1

R114R117R107R118

FLT2

Yog xav paub ntxiv, saib lub jumper configuration piav nyob rau hauv Tshooj 3.4 Board teeb thiab cov ntaub ntawv file (readme.html hauv ExamplesOut05_06 folders).
X-NUCLEO-OUT08A1, X-NUCLEO-OUT10A1 Lub MCU tswj IPS160HF thiab IPS161HF ntawm GPIOs. Yog li, thaum siv ib qho X-NUCLEO-OUT08A1 lossis X-NUCLEO-OUT10A1 expansion board, peb GPIO teeb liab (IN1, Nch-Drv, OUT_FB pins) ntxiv rau GPIO nplooj siab rau kev cuam tshuam kev tswj hwm (DIAG tus pin) yuav tsum tau. Lub software kuj siv PWM timer los tsim cov qauv raws sij hawm ntawm cov zis channel rau lub rooj tsav xwm nthuav dav. Nws kuj tseem tuaj yeem ntsuas lub quad-channel digital output module los ntawm stacking plaub X-NUCLEO-OUT08A1 los yog plaub X-NUCLEO-OUT10A1, los yog ib qho kev sib xyaw ntawm lawv, nrog rau kev sib koom lossis kev ywj pheej ntawm kev thauj khoom thiab kev thauj khoom ywj pheej. Nyob rau hauv cov ntaub ntawv no, ntxiv expansion boards yuav tsum tau configured kom zoo. Rau lub thib ob, thib peb, thiab plaub lub rooj tsavxwm, nws yog tsim nyog los unsolder plaub resistors los ntawm lub neej ntawd txoj hauj lwm thiab solder lawv nyob rau hauv txawv txoj hauj lwm, ua raws li cov txheej txheem tau piav qhia hauv qab no.

Board no. Board 0 Board 1 Board 2 Board 3

Table 4. Configuration ntawm ib pawg ntawm plaub expansion boards

IN1 R101 R111 R121 R132

DIAG R103 R112 R125 R133

R102R124R130R134

Nch-DRV

R104R131R123R122

OUT_FB

UM3035 – Rev 2

paj 13/50

UWM 3035
Software xav tau kev pab

Tseem ceeb:

Thaum siv board 1 thiab board 3, ob jumpers yuav tsum kaw lub morpho connectors pins nyob rau hauv lub STM32 Nucleo txoj kev loj hlob board:

·

CN7.35-36 kaw

·

CN10.25-26 kaw

2.4.4

Yog xav paub ntxiv, saib lub jumper configuration piav nyob rau hauv Tshooj 3.4 Board teeb thiab cov ntaub ntawv file (readme.html hauv ExamplesOut08_10 folders).
X-NUCLEO-OUT15A1 MCU tswj IPS1025HF ntawm GPIOs. Yog li, thaum siv ib qho X-NUCLEO-OUT15A1 expansion board, peb GPIO signals (IN1, Nch-Drv, OUT_FB pins) ntxiv rau ob GPIOs mob siab rau kev cuam tshuam kev tswj hwm (FLT1, FLT2 pins) yuav tsum tau. Lub software kuj siv PWM timer los tsim cov qauv raws sij hawm ntawm cov zis channel rau lub rooj tsav xwm nthuav dav. Nws kuj tseem tuaj yeem soj ntsuam lub dual-channel digital tso zis module los ntawm kev teeb tsa ob lub X-NUCLEO-OUT15A1 nrog kev sib koom lossis kev ywj pheej xa khoom thiab kev thauj khoom ywj pheej. Nyob rau hauv cov ntaub ntawv no, lub expansion board ntxiv yuav tsum tau configured kom zoo. Rau lub rooj tsavxwm thib ob, nws yog ib qho tsim nyog yuav tsum tau muab tsib lub resistors los ntawm lub neej ntawd txoj hauj lwm thiab solder lawv nyob rau hauv ntau txoj haujlwm, ua raws li cov txheej txheem tau piav qhia hauv qab no.

Board no. 0 Board 1

Table 5. Configuration ntawm ib pawg ntawm ob expansion boards

1 R101 R102

FLT1 R103 R104

FLT2 R114 R107

Nch-DRV R110 R115

OUT_FB R108 R116

Yog xav paub ntxiv, saib lub jumper configuration piav nyob rau hauv Tshooj 3.4 Board teeb thiab cov ntaub ntawv file (readme.html hauv ExamplesOut15 folders).

X-NUCLEO-OUT11A1, X-NUCLEO-OUT13A1

MCU tswj ISO808 thiab ISO808-1 ntawm GPIOs.

Yog li, thaum siv ib qho X-NUCLEO-OUT11A1 expansion board los yog ib qho X-NUCLEO-OUT13A1 expansion board, yim GPIO teeb liab (IN1 rau IN8), ob GPIOs (LOAD thiab SYNCH) siv los tswj cov cuab yeej ua haujlwm hom (Synchronous Control Mode lossis Direct Control Mode), ib qho GPIO (OUT_EN) siv los pab cov kab tso zis thiab ib qho GPIO mob siab rau kev cuam tshuam kev tswj hwm (STATUS tus pin) yuav tsum tau.

Lub software kuj tseem siv PWM timer los tsim cov qauv raws sij hawm ntawm cov zis channel rau cov ntawv nthuav dav. Txhawm rau pab kom Synchronous Control Mode lub software yuav tsum tau muab tso ua ke siv cov lus qhia ua ntej ua ntej:

·

USE_SCM

·

noUSE_DCM

Qhov no yog lub neej ntawd tsim rau X-CUBE-IPS software pob. Txhawm rau pab kom Direct Control Mode lub software yuav tsum tau muab tso ua ke siv cov lus qhia ua ntej ua ntej:

·

USE_DCM

·

noUSE_SCM

Kev hloov kho rau kev tswj hom yuav ua tau zoo ntawm binary files tom qab rebuilding.

Nws kuj tseem tuaj yeem ntsuas qhov sib xyaw ua ke ntawm cov rooj sib tham nthuav dav uas tau teeb tsa los ntawm Arduino connectors. Nyob rau hauv cov ntaub ntawv no, lub expansion boards yuav tsum tau configured kom tsis txhob muaj teeb meem ntawm cov teeb liab. Lub X-NUCLEOOUT11A1 thiab X-NUCLEO-OUT13A1 muaj qee qhov yooj yim rau remap default signals rau hauv lwm txoj haujlwm. Saib lawv cov schematic daim duab.

Yog xav paub ntxiv, saib lub jumper configuration piav nyob rau hauv Tshooj 3.4 Board teeb thiab cov ntaub ntawv file (readme.html hauv ExamplesOut11_13 folders).

UM3035 – Rev 2

paj 14/50

UWM 3035
Software xav tau kev pab

2.4.6

X-NUCLEO-OUT12A1, X-NUCLEO-OUT14A1
MCU tswj ISO808A thiab ISO808A-1 ntawm SPI interface thiab GPIOs.
Yog li, thaum siv ib qho X-NUCLEO-OUT12A1 expansion board los yog ib qho X-NUCLEO-OUT14A1 expansion board, ib qho SPI peripheral (SPI_CLK, SPI_MISO, SPI_MOSI signals), ib qho GPIO (SPI_SS) siv los ua khoom xaiv, ib qho GPIO (OUT_EN) siv. txhawm rau ua kom cov kab tso zis thiab ob GPIOs nplooj siab rau kev cuam tshuam kev tswj hwm (STATUS thiab PGOOD pins) yuav tsum tau ua.
Lub software kuj siv PWM timer los tsim cov qauv raws sij hawm ntawm cov zis channel rau lub rooj tsav xwm nthuav dav.
Nws kuj tseem tuaj yeem soj ntsuam 16-channels digital output module los ntawm stacking ob X-NUCLEO-OUT12A1 andor X-NUCLEO-OUT14A1 nrog kev sib koom lossis kev ywj pheej muab kev tsheb ciav hlau thiab kev ywj pheej.
Qhov no tuaj yeem ua tiav hauv ob txoj kev sib txawv:
1. Configuring ob ywj siab stacked boards kom tau ib tug 8+8 channels system. Nyob rau hauv rooj plaub no, ob lub rooj tsavxwm yuav tsum tau teeb tsa kom zoo: thawj tus (board 0) tuaj yeem tso rau hauv qhov kev teeb tsa, rau qhov thib ob (board 1) nws yog ib qho tsim nyog yuav tsum tau muab qee cov resistors los ntawm qhov chaw ua haujlwm thiab muab lawv sib txawv. cov haujlwm raws li cov txheej txheem tau piav qhia hauv qab no.

Board no. 0 Board 1

Table 6. Configuration ntawm ib pawg ntawm ob expansion boards (parallel ywj siab)

SPI_CLK R106 R106

SPI_MISO R105 R105

SPI_MOSI R104 R104

SPI_SS R103 R114

OUT_EN R119 R109

STATUS R108 R113

PGOOD R107 R111

Tseem ceeb:

Txhawm rau qhib qhov kev teeb tsa no, software yuav tsum tau muab tso ua ke siv cov lus qhia ua ntej ua ntej: USE_PAR_IND noUSE_DAISY_CHAIN

Qhov no yog lub neej ntawd tsim rau X-CUBE-IPS software pob.
2. Configuring ob stacked boards siv Daisy Chain feature kom tau ib tug 16 channels system. Nyob rau hauv rooj plaub no, ob lub rooj tsavxwm yuav tsum tau teeb tsa kom zoo: rau thawj tus (board 0) thiab thib ob (board 1) nws yog ib qho tsim nyog yuav tsum tau tshem tawm qee cov resistors los ntawm qhov chaw ua haujlwm thiab solder lawv nyob rau hauv ntau txoj haujlwm raws li cov tswv yim tau piav qhia. hauv qab no.

Table 7. Configuration ntawm ib pawg ntawm ob expansion boards (Daisy Chain)

Board no. 0 Board 1

SPI_CLK R106 R106

DaisyChain R102 R102

SPI_MISO -R105

SPI_MOSI R104 —

SPI_SS OUT_EN

R103

R119

R103

R109

STATUS PGOOD

R108

R107

R113

R111

Tseem ceeb:

Txhawm rau qhib qhov kev teeb tsa no, software yuav tsum tau muab tso ua ke siv cov lus qhia ua ntej ua ntej: USE_DAISY_CHAIN ​​noUSE_PAR_IND

Kev hloov kho rau hom kev teeb tsa ua tau zoo ntawm binary files tom qab rebuilding. Yog xav paub ntxiv, saib lub jumper configuration piav nyob rau hauv Tshooj 3.4 Board teeb thiab cov ntaub ntawv file (readme.html hauv ExamplesOut12_14 folders).

UM3035 – Rev 2

paj 15/50

2.5
2.6.1
2.6.2

UWM 3035
APIs

APIs

X-CUBE-IPS software APIs tau txhais hauv:

·

DriversBSPOUT0xA1out0xa1.h

·

DriversBSPOUT08_10A1out08_10a1.h

·

DriversBSPOUT15A1out15a1.h

·

DriversBSPOUT11_13A1out11_13a1.h

·

DriversBSPOUT12_14A1out12_14a1.h

Cov haujlwm no yog prefixed los ntawm:

·

OUT03_05_SWITCH_

·

OUT08_10_SWITCH_

·

OUT15_SWITCH_

·

OUT11_13_SWITCH_

·

OUT12_14_RELAY_

Cov ncauj lus qhia ntxaws ntxaws txog APIs muaj rau cov neeg siv tuaj yeem pom nyob rau hauv cov ntaub ntawv HTML file nyob rau hauv lub "Cov ntaub ntawv" nplaub tshev ntawm lub software pob qhov twg tag nrho cov functions thiab tsis tau piav qhia tag nrho.

Sample daim ntawv piav qhia

Out03_04 A sample daim ntawv thov siv X-NUCLEO-OUT03A1 los yog X-NUCLEO-OUT04A1 expansion boards nrog ib tug NUCLEO-F401RE los yog NUCLEO-G431RB kev loj hlob pawg thawj coj yog muab nyob rau hauv lub "Projects" directory. Npaj ua tej yaam num muaj nyob rau ntau IDEs. Hauv no example, ib ntu ntawm cov lus txib yog siv rau X-NUCLEO-OUT03A1 lossis X-NUCLEO-OUT04A1 hauv cov channel. Kev hloov pauv haujlwm yog thov los ntawm nias tus neeg siv khawm. Thaum pib, IN1 thiab IN2 channel raug kaw. Txhua zaus tus neeg siv khawm raug nias, qhov kev zov me nyuam ua ib qho kev txiav txim sib law liag raws li hauv qab no: 1. Hloov ntawm IN1 channel ntawm boards 0-2, hloov ntawm IN2 channel ntawm cov laug cam 1-3 2. Hloov ntawm IN1 channel ntawm cov laug cam 1 -3, hloov ntawm IN2 channel ntawm boards 0-2 3. Hloov tawm IN1 channel ntawm boards 0-1, hloov tawm IN2 channel ntawm cov laug cam 2-3 4. Hloov tawm IN1 channel ntawm cov laug cam 2-3, hloov tawm IN2 channel rau boards 0-1 5. Hloov ntawm IN1 thiab IN2 raws ntawm txhua lub rooj tsavxwm 6. Hloov tawm IN1 thiab IN2 raws ntawm txhua lub rooj tsavxwm 7. Pib PWM ntawm ob txoj kab ntawm txhua lub rooj tsavxwm nrog ntau zaus thiab lub luag haujlwm lub voj voog teeb tsa:
IN1 boards 0-3: PWM ntawm zaus 2 Hz, DC 25% IN2 boards 1-2: PWM ntawm zaus 2 Hz, DC 50% IN1 boards 1-2: PWM ntawm zaus 1 Hz, DC 25% IN2 boards 0-3: PWM nrog zaus 1 Hz, DC 50% 8. Teeb DC 50% rau IN1 ntawm txhua lub rooj tsavxwm 9. Teeb DC 75% rau IN2 ntawm txhua lub rooj tsavxwm 10. Teeb DC 100% rau IN1 ntawm txhua lub rooj tsavxwm 11. Teeb DC 100% rau IN2 ntawm tag nrho cov boards 12. Nres PWM ntawm ob qho tib si ntawm txhua lub board Los ntawm nias tus neeg siv khawm xiav, lub firmware txav mus rau tom ntej ua haujlwm. Qhov sib lawv liag yog cyclic: tom qab cov kauj ruam kawg (12) nws rov qab mus rau thawj tus (1).
Out05_06 A sample daim ntawv thov siv X-NUCLEO-OUT05A1 lossis X-NUCLEO-OUT06A1 nthuav dav boards nrog NUCLEO-F401RE lossis NUCLEO-G431RB kev txhim kho pawg thawj coj tau muab rau hauv "Projects" directory. Npaj ua tej yaam num muaj nyob rau ntau IDEs.

UM3035 – Rev 2

paj 16/50

2.6.3

UWM 3035
Sample daim ntawv piav qhia

Hauv no example, ib ntu ntawm cov lus txib yog siv rau hauv IN channels ntawm X-NUCLEO-OUT05A1 lossis X-NUCLEOOUT06A1 nthuav tawm pawg thawj coj saib. Kev hloov pauv kev ua haujlwm yog thov los ntawm tus neeg siv khawm nias. Thaum pib, IN1 raws hauv txhua lub rooj tsavxwm raug kaw. Txhua zaus tus neeg siv khawm nias, qhov kev zov me nyuam ua ib qho kev txiav txim sib law liag hauv qab no: 1. Teem rau IN1 tus pin ntawm cov laug cam 0-2, teeb tawm IN1 tus pin ntawm cov laug cam 1-3 2. Teem ON IN1 tus pin ntawm boards 1- 3, teeb tawm IN1 tus pin ntawm cov laug cam 0-2 3. Teem ON IN1 tus pin ntawm txhua lub rooj tsavxwm 4. Teem tawm IN1 tus pin ntawm txhua lub rooj tsavxwm 5. Pib PWM ntawm IN1 tus pin ntawm txhua lub rooj tsavxwm nrog ntau zaus thiab lub luag haujlwm lub voj voog teeb tsa:
IN1 pin boards 0-3: PWM ntawm zaus 2 Hz, DC 25% IN1 tus pin boards 1-2: PWM ntawm zaus 1 Hz, DC 25% 6. IN1 tus pin ntawm tag nrho cov boards: teev DC 50% 7. IN1 tus pin ntawm tag nrho cov boards: teev DC 75% 8. IN1 tus pin ntawm tag nrho cov boards: teem DC 100% 9. Nres PWM ntawm IN1 tus pin ntawm tag nrho cov boards 10. Qhov sib lawv liag restarts los ntawm kauj ruam 1

Ntawm 08_10

A sample daim ntawv thov siv X-NUCLEO-OUT08A1 lossis X-NUCLEO-OUT10A1 nthuav tawm pawg thawj coj nrog NUCLEO-F401RE lossis NUCLEO-G431RB pawg thawj coj tau muab rau hauv "Cov Haujlwm" phau ntawv qhia. Npaj ua tej yaam num muaj nyob rau ntau IDEs.

Hauv no example, ib ntu ntawm cov lus txib raug siv rau IN thiab Nch_DRV channels ntawm X-NUCLEO-OUT08A1 lossis X-NUCLEO-OUT10A1 nthuav tawm boards. Kev hloov pauv kev ua haujlwm yog thov los ntawm tus neeg siv khawm nias.

Thaum pib, IN thiab Nch_DRV channels tag nrho raug kaw. Txhua lub sij hawm tus neeg siv khawm nias, qhov kev zov me nyuam ua ib qho kev txiav txim sib law liag hauv qab no:

1. Ua kom lub synchronization rau Nch-DRV teeb liab nrog PWM ntawm channel 0 rau txhua lub rooj tsavxwm, raws li hauv qab no:

board 0: ncua 20%, ON-Lub Sijhawm 50%

board 1: ncua 40%, ON-Lub Sijhawm 70% (clamping tshwm sim ntawm 100% ntawm IN1 OFF-Lub Sijhawm mus txog)

board 2: ncua 20%, ON-Lub Sijhawm 50%

board 3: ncua 40%, ON-Lub Sijhawm 70% (clamping tshwm sim ntawm 100% ntawm IN1 OFF-Lub Sijhawm mus txog)

Nco tseg:

Ob qho kev ncua sijhawm thiab ON-Lub Sijhawm tau hais tawm raws li OFF-Lub Sijhawm percentage ntawm qhov xaiv IN1 teeb liab.

2. Teem rau IN1 tus pin ntawm cov laug cam 0-2, teeb tawm IN1 tus pin ntawm boards 1-3

3. Teem ON IN1 tus pin ntawm boards 1-3, teeb tawm IN1 tus pin ntawm boards 0-2

4. Teem ON IN1 tus pin ntawm txhua lub rooj tsavxwm

5. Teem tawm IN1 tus pin ntawm txhua lub rooj tsavxwm

6. Pib PWM ntawm IN1 tus pin ntawm txhua lub boards nrog ntau zaus thiab lub luag haujlwm lub voj voog teeb tsa:

IN1 pin boards 0-3: PWM ntawm zaus 2 Hz, DC 25%

IN1 pin boards 1-2: PWM ntawm zaus 1 Hz, DC 25%

7. IN1 tus pin ntawm txhua lub rooj tsavxwm: teeb DC 50%

8. IN1 tus pin ntawm txhua lub rooj tsavxwm: teeb DC 75%

9. IN1 tus pin ntawm txhua lub rooj tsavxwm: teeb DC 100%

10. Nres PWM ntawm IN1 tus pin ntawm txhua lub rooj tsavxwm

11. Disables lub synchronization rau Nch-DRV teeb liab nrog PWM ntawm channel 0 rau tag nrho cov boards

12. Cov kab ke rov pib dua los ntawm kauj ruam 1

Tawm 15
A sample daim ntawv thov siv ib lossis ob lub X-NUCLEO-OUT15A1 expansion boards nrog ib tug NUCLEO-F401RE los yog NUCLEO-G431RB kev loj hlob pawg thawj coj saib yog muab nyob rau hauv "Projects" directory. Npaj ua tej yaam num muaj nyob rau ntau IDEs.
Hauv no example, ib ntu ntawm cov lus txib yog siv rau hauv IN channels ntawm X-NUCLEO-OUT15A1 expansion boards. Kev hloov pauv kev ua haujlwm yog thov los ntawm tus neeg siv khawm nias.

UM3035 – Rev 2

paj 17/50

2.6.5

UWM 3035
Sample daim ntawv piav qhia

Thaum pib, IN1 raws hauv txhua lub rooj tsavxwm raug kaw. Txhua zaus tus neeg siv khawm raug nias, qhov kev zov me nyuam ua ib qho kev txiav txim sib law liag hauv qab no:

1. Enables synchronization rau Nch-DRV teeb liab nrog PWM ntawm channel 0 rau board 0 thiab 1, raws li hauv qab no:

board 0: ncua 20%, ON-Lub Sijhawm 50%

board 1: ncua 40%, ON-Lub Sijhawm 70% (clamping tshwm sim ntawm 100% ntawm IN1 OFF-Lub Sijhawm mus txog)

Nco tseg:

Ob qho kev ncua sijhawm thiab ON-Lub Sijhawm tau hais tawm raws li OFF-Lub Sijhawm percentage ntawm qhov xaiv IN1 teeb liab.

Teem ON IN1 hauv board 0, teeb OFF IN1 hauv board 1

2. Teem OFF IN1 hauv board 0, teeb ON IN1 hauv board 1

3. Teem ON IN1 hauv board 0, teeb ON IN1 hauv board 1

4. Teem OFF IN1 hauv board 0, teeb OFF IN1 hauv board 1

5. Pib PWM ntawm IN1 nyob rau hauv board 0 thiab board 1 nrog txawv zaus thiab lub luag hauj lwm lub voj voog chaw, raws li nram no:

board 0 IN1: PWM ntawm zaus 2 Hz DC 25%

board 1 IN1: PWM ntawm zaus 1 Hz DC 25%

6. IN1 hauv txhua lub rooj tsavxwm: teeb DC 50%

7. IN1 hauv txhua lub rooj tsavxwm: teeb DC 75%

8. IN1 hauv txhua lub rooj tsavxwm: teeb DC 100%

9. Nres PWM ntawm IN1 hauv txhua lub rooj tsavxwm

Txhua tus neeg siv xiav khawm lub siab txav lub firmware mus rau lub luag haujlwm tom ntej.

Qhov sib lawv liag yog cyclic: tom qab cov kauj ruam kawg (tus naj npawb 9), nws rov qab mus rau thawj tus (tus naj npawb 1).

Out11_13 A sample daim ntawv thov siv X-NUCLEO-OUT11A1 lossis X-NUCLEO-OUT13A1 nthuav dav pawg thawj coj nrog NUCLEO-F401RE lossis NUCLEO-G431RB pawg thawj coj tau muab rau hauv "Cov Haujlwm" phau ntawv qhia. Npaj ua tej yaam num muaj nyob rau ntau IDEs. Hauv no example, ib ntu ntawm cov lus txib yog siv rau hauv IN channels ntawm X-NUCLEO-OUT11A1 lossis X-NUCLEOOUT13A1 nthuav tawm pawg thawj coj saib. Kev hloov pauv kev ua haujlwm yog thov los ntawm tus neeg siv khawm nias. Thaum pib, tag nrho cov input channel raug kaw. Txhua lub sij hawm tus neeg siv khawm raug nias, qhov kev zov me nyuam ua ib qho kev txiav txim sib law liag hauv qab no: 1. Teem Kev Ua Haujlwm Hom (default yog SCM) thiab ua kom cov zis tawm (OUT_EN siab)
Teem IN1, IN4, IN5, IN8 2. Teem IN2, IN3, IN6, IN7 3. Teem IN1, IN2, IN5, IN6 4. Teem IN3, IN4, IN7, IN8 5. Teem rau tag nrho cov inputs 6. Teem OFF tag nrho cov inputs 7. Pib PWM ntawm tag nrho cov inputs nrog ntau zaus thiab lub luag hauj lwm lub voj voog teeb tsa.
IN1, IN3, IN5, IN7: PWM ON nrog freq 2Hz IN2, IN4, IN6, IN8: PWM ON nrog freq 1Hz IN1, IN3, IN5, IN7: PWM ON nrog DC 25% IN2, IN4, IN6, IN8: PWM nrog DC 50% 8. IN1, IN3, IN5, IN7: teeb DC 50% 9. IN2, IN4, IN6, IN8: teeb DC 75% 10. IN1, IN3, IN5, IN7: teeb DC 100% 11. IN2, IN4, IN6, IN8: teeb DC 100% 12. Disable outputs (OUT_EN low) Nres PWM ntawm tag nrho cov inputs

Ntawm 12_14
A sample daim ntawv thov siv X-NUCLEO-OUT12A1 lossis X-NUCLEO-OUT14A1 nthuav tawm pawg thawj coj nrog NUCLEO-F401RE lossis NUCLEO-G431RB pawg thawj coj tau muab rau hauv "Cov Haujlwm" phau ntawv qhia. Npaj ua tej yaam num muaj nyob rau ntau IDEs.

UM3035 – Rev 2

paj 18/50

UWM 3035
Sample daim ntawv piav qhia
Hauv no example, ib ntu ntawm cov lus txib yog siv rau SPI interface ntawm X-NUCLEO-OUT12A1 lossis X-NUCLEOOUT14A1 nthuav dav pawg thawj coj. Kev hloov pauv kev ua haujlwm yog thov los ntawm tus neeg siv khawm nias. Thaum pib, tag nrho cov input channel raug kaw. Txhua lub sij hawm tus neeg siv khawm nias, qhov kev zov me nyuam ua ib qho kev txiav txim sib law liag hauv qab no: 1. Pab kom cov zis tawm (OUT_EN siab) hauv txhua lub rooj tsavxwm
Teem IN1, IN4, IN5, IN8 hauv board 0 Teem IN2, IN3, IN6, IN7 hauv board 1 2. Teem IN2, IN3, IN6, IN7 hauv board 0 Teem IN1, IN4, IN5, IN8 hauv board 1 3. Teem OFF IN1, IN2, IN5, IN6 hauv board 0 Teem tawm IN3, IN4, IN7, IN8 hauv board 1 4. Teem IN3, IN4, IN7, IN8 hauv board 0 Teem IN1, IN2, IN5, IN6 hauv board 1 5. Teem IN5, IN6, IN7, IN8 thiab OFF IN1, IN2, IN3, IN4 hauv board 0 Teem IN1, IN2, IN3, IN4 thiab OFF IN5, IN6, IN7, IN8 hauv board 1 6. IN1, IN2, IN3, IN4 thiab OFF IN5, IN6, IN7, IN8 nyob rau hauv lub rooj tsavxwm 0 Teem IN5, IN6, IN7, IN8 thiab OFF IN1, IN2, IN3, IN4 nyob rau hauv board 1 7. Teem OFF tag nrho cov inputs nyob rau hauv tag nrho cov boards Pib PWM ntawm tag nrho cov inputs hauv board 0 thiab board 1 nrog txawv zaus thiab lub luag hauj lwm lub voj voog teeb tsa:
0 IN1, IN3, IN5, IN7: PWM ON nrog freq 2Hz DC 25% board 0 IN2, IN4, IN6, IN8: PWM ON nrog freq 1Hz DC 50% board 1 IN1, IN3, IN5, IN7: PWM ON 1Hz DC 50% board 1 IN2, IN4, IN6, IN8: PWM ON nrog freq 2Hz DC 25% 8. board 0 IN1, IN3, IN5, IN7: teeb DC 50% board 1 IN2, IN4, IN6, IN8: teeb 50% 9. board 0 IN2, IN4, IN6, IN8: teem DC 75% board 1 IN1, IN3, IN5, IN7: teem DC 75% 10. board 0 IN1, IN3, IN5, IN7: teem DC 100% board 1 IN2, IN4, IN6, IN8: teeb DC 100% 11. board 0 IN2, IN4, IN6, IN8: teeb DC 100% board 1 IN1, IN3, IN5, IN7: teeb DC 100% 12. Disable outputs (OUT_EN) rau txhua lub rooj tsavxwm Nres PWM ntawm txhua qhov kev nkag hauv txhua lub rooj tsavxwm

UM3035 – Rev 2

paj 19/50

3

Daim ntawv qhia kev teeb tsa

UWM 3035
Daim ntawv qhia kev teeb tsa

3.1
3.1.1

Cov lus piav qhia khoom kho vajtse
STM32 Nucleo STM32 Nucleo txoj kev loj hlob boards muab txoj hauv kev pheej yig thiab hloov tau yooj yim rau cov neeg siv los ntsuas cov kev daws teeb meem thiab tsim cov qauv nrog txhua kab STM32 microcontroller. Lub ArduinoTM kev sib txuas kev txhawb nqa thiab ST morpho connectors ua rau nws yooj yim los nthuav kev ua haujlwm ntawm STM32 Nucleo qhib kev txhim kho platform nrog ntau yam tshwj xeeb nthuav dav boards xaiv los ntawm. NUCLEO-F401RE pawg thawj coj loj hlob tsis tas yuav muaj kev sojntsuam cais raws li nws koom nrog ST-LINK / V2-1 debugger / programmer. NUCLEO-G431RB kev txhim kho pawg thawj coj tsis xav tau kev sojntsuam cais vim nws koom nrog STLINK-V3 debugger / programmer. Lub STM32 Nucleo board los nrog cov ntaub ntawv STM32 software HAL lub tsev qiv ntawv ua ke nrog ntau yam ntim software examples.
Daim duab 3. STM32 Nucleo board

UM3035 – Rev 2

paj 20/50

3.1.2

UWM 3035
Cov lus piav qhia khoom kho vajtse
X-NUCLEO-OUT03A1 expansion board X-NUCLEO-OUT03A1 muaj digital output expansion board rau STM32 Nucleo muab qhov chaw muaj zog thiab hloov tau yooj yim rau kev ntsuam xyuas ntawm kev tsav tsheb thiab kev kuaj mob ntawm IPS2050H (dual high-side smart power solid state relay) nyob rau hauv ib tug digital output module txuas nrog 2.5 A (max.) industrial loads. X-NUCLEO-OUT03A1 cuam tshuam nrog microcontroller ntawm STM32 Nucleo ntawm 5 kV optocouplers tsav los ntawm GPIO pins, Arduino UNO R3 (default configuration) thiab ST morpho (yeem, tsis mounted) connectors. Lub rooj tsav xwm nthuav dav tuaj yeem txuas nrog NUCLEO-F401RE lossis NUCLEO-G431RB kev txhim kho pawg thawj coj. Nws kuj tseem tuaj yeem ntsuas qhov system uas muaj txog li plaub pawg X-NUCLEO-OUT03A1 nthuav dav boards. Raws li ib tug example, ib qho system nrog plaub X-NUCLEO-OUT03A1 expansion boards tso cai rau koj los soj ntsuam ib yimchannel digital output module nrog 2.5 A (max.) muaj peev xwm txhua.
Daim duab 4. X-NUCLEO-OUT03A1 expansion board

UM3035 – Rev 2

paj 21/50

3.1.3

UWM 3035
Cov lus piav qhia khoom kho vajtse
X-NUCLEO-OUT04A1 expansion board X-NUCLEO-OUT04A1 muaj digital output expansion board rau STM32 Nucleo muab qhov chaw muaj zog thiab hloov tau yooj yim rau kev ntsuam xyuas ntawm kev tsav tsheb thiab kev kuaj mob ntawm IPS2050H-32 (dual highside smart power solid state relay) nyob rau hauv ib tug digital output module txuas nrog 5.7 A (max.) industrial loads. X-NUCLEO-OUT04A1 cuam tshuam nrog microcontroller ntawm STM32 Nucleo ntawm 5 kV optocouplers uas tau tsav los ntawm GPIO pins, Arduino UNO R3 (default configuration) thiab ST morpho (yeem, tsis mounted) connectors. Lub rooj tsav xwm nthuav dav tuaj yeem txuas nrog NUCLEO-F401RE lossis NUCLEO-G431RB kev txhim kho pawg thawj coj. Nws kuj tseem tuaj yeem ntsuas qhov system uas muaj txog li plaub pawg X-NUCLEO-OUT04A1 expansion boards. Raws li ib tug example, ib qho system nrog plaub X-NUCLEO-OUT04A1 expansion boards tso cai rau koj los soj ntsuam ib yimchannel digital output module nrog 5.7 A (max.) muaj peev xwm txhua.
Daim duab 5. X-NUCLEO-OUT04A1 expansion board

UM3035 – Rev 2

paj 22/50

3.1.4

UWM 3035
Cov lus piav qhia khoom kho vajtse
X-NUCLEO-OUT05A1 expansion board Lub X-NUCLEO-OUT05A1 muaj digital output expansion board rau STM32 Nucleo muab lub zog thiab hloov tau ib puag ncig rau kev ntsuam xyuas ntawm kev tsav tsheb thiab kuaj lub peev xwm ntawm IPS1025H ib leeg-sab ntse ntse zog lub xeev relay, hauv ib tug digital output module txuas nrog 2.5 A industrial loads. X-NUCLEO-OUT05A1 cuam tshuam nrog microcontroller ntawm STM32 Nucleo ntawm 5 kV optocouplers uas tau tsav los ntawm GPIO pins thiab Arduino R3 connectors. Lub rooj tsav xwm nthuav dav tuaj yeem txuas nrog NUCLEO-F401RE lossis NUCLEO-G431RB kev txhim kho pawg thawj coj. Nws kuj tseem tuaj yeem ntsuas qhov system uas muaj txog li plaub pawg X-NUCLEO-OUT05A1 expansion boards. Raws li ib tug example, ib qho system nrog plaub X-NUCLEO-OUT05A1 expansion boards tso cai rau koj los soj ntsuam ib tug quad channel digital output module.
Daim duab 6. X-NUCLEO-OUT05A1 expansion board

UM3035 – Rev 2

paj 23/50

3.1.5

UWM 3035
Cov lus piav qhia khoom kho vajtse
X-NUCLEO-OUT06A1 expansion board Lub X-NUCLEO-OUT06A1 muaj digital output expansion board rau STM32 Nucleo muab lub zog thiab hloov tau ib puag ncig rau kev ntsuam xyuas ntawm kev tsav tsheb thiab kuaj lub peev xwm ntawm IPS1025H-32 ib leeg-sab ntse ntse zog lub xeev relay , nyob rau hauv ib tug digital output module txuas nrog 5.7 A industrial loads. X-NUCLEO-OUT06A1 cuam tshuam nrog microcontroller ntawm STM32 Nucleo ntawm 5 kV optocouplers uas tau tsav los ntawm GPIO pins thiab Arduino UNO R3 connectors. Lub rooj tsav xwm nthuav dav tuaj yeem txuas nrog NUCLEO-F401RE lossis NUCLEO-G431RB kev txhim kho pawg thawj coj. Nws tseem tuaj yeem ntsuas qhov system uas muaj txog li plaub pawg X-NUCLEO-OUT06A1 nthuav dav boards. Raws li ib tug example, ib qho system nrog plaub X-NUCLEO-OUT06A1 expansion boards tso cai rau koj los soj ntsuam ib tug quad channel digital output module.
Daim duab 7. X-NUCLEO-OUT06A1 expansion board

UM3035 – Rev 2

paj 24/50

3.1.6

UWM 3035
Cov lus piav qhia khoom kho vajtse
X-NUCLEO-OUT08A1 expansion board
Lub X-NUCLEO-OUT08A1 muaj digital output expansion board rau STM32 Nucleo muab lub zog thiab hloov pauv kev ntsuam xyuas thiab kev loj hlob ib puag ncig rau 2 A (typ.) cov khoom tso tawm digital, uas muaj kev nyab xeeb tsav tsheb thiab kev kuaj mob ntse ntawm IPS160HF ib leeg-siab hloov. . Lub X-NUCLEO-OUT08A1 cuam tshuam nrog lub microcontroller ntawm STM32 Nucleo ntawm 3 kV optocouplers uas tau tsav los ntawm GPIO pins thiab ArduinoTM UNO R3 (kev teeb tsa ua ntej) thiab ST morpho (yeem, tsis mounted) connectors. Lub rooj tsav xwm nthuav dav yuav tsum txuas nrog NUCLEO-F401RE lossis NUCLEO-G431RB kev txhim kho pawg thawj coj saib, thiab tseem tuaj yeem muab tso nrog lwm X-NUCLEO-OUT08A1 lossis X-NUCLEO-OUT10A1. Txog li plaub lub X-NUCLEO-OUT08A1 nthuav dav boards tuaj yeem muab tso rau hauv kev ntsuas mus txog rau plaub lub channel digital output module nrog 2 A (typ.) muaj peev xwm txhua. Nws kuj tseem tuaj yeem soj ntsuam cov qauv cascade ntawm ib qho channel digital output module rau kev siv kev nyab xeeb: hauv qhov xwm txheej no, thawj cov ntaub thaiv npog tso tawm txuas nrog cov khoom siv thib ob. Dedicated on-board hardware yuav enabled los yog neeg xiam oob qhab los qhib ceev tawm ntawm siab capacitive loads, tso zis voltage sensing, thiab ib qho ntxiv surge pulse output kab tiv thaiv.
Daim duab 8. X-NUCLEO-OUT08A1 expansion board

UM3035 – Rev 2

paj 25/50

3.1.7

UWM 3035
Cov lus piav qhia khoom kho vajtse
X-NUCLEO-OUT10A1 expansion board
X-NUCLEO-OUT10A1 kev lag luam digital output expansion board rau STM32 Nucleo muab cov kev daws teeb meem pheej yig thiab yooj yim rau kev txhim kho 0.5 A (typ.) digital output modules, cia koj yooj yim ntsuas IPS161HF tsav tsheb thiab kuaj kev muaj peev xwm nrog kev lag luam. loads. X-NUCLEO-OUT10A1 cuam tshuam nrog microcontroller ntawm STM32 Nucleo ntawm 3 kV optocouplers uas tau tsav los ntawm GPIO pins thiab ArduinoTM UNO R3 (default configuration) thiab ST morpho (optional, not mounted) connectors. Lub rooj tsav xwm nthuav dav yuav tsum txuas nrog NUCLEO-F401RE lossis NUCLEO-G431RB kev txhim kho pawg thawj coj, thiab tuaj yeem muab tso nrog lwm X-NUCLEO-OUT10A1 lossis X-NUCLEO-OUT08A1. Txog li plaub X-NUCLEO-OUT10A1 expansion boards tuaj yeem muab tso rau hauv kev ntsuas mus txog rau plaub lub channel digital output module nrog 0.5 A (typ.) muaj peev xwm txhua. Nws kuj tseem tuaj yeem soj ntsuam cov qauv cascade ntawm ib qho channel digital output module rau kev siv kev nyab xeeb: hauv qhov xwm txheej no, thawj cov ntaub thaiv npog tau txuas nrog cov khoom siv thib ob. Dedicated on-board hardware yuav enabled los yog neeg xiam oob qhab los qhib ceev tawm ntawm siab capacitive loads, tso zis voltage sensing, thiab ib qho ntxiv surge pulse output kab tiv thaiv.
Daim duab 9. X-NUCLEO-OUT10A1 expansion board

UM3035 – Rev 2

paj 26/50

3.1.8

UWM 3035
Cov lus piav qhia khoom kho vajtse
X-NUCLEO-OUT11A1 expansion board X-NUCLEO-OUT11A1 yog ib qho kev lag luam digital output expansion board rau STM32 Nucleo. Nws muab qhov chaw muaj zog thiab hloov tau yooj yim rau kev ntsuam xyuas kev tsav tsheb thiab kuaj lub peev xwm ntawm ISO808 octal high-side smart power solid state relay, nrog embedded galvanic cais, nyob rau hauv ib tug digital output module txuas nrog 0.7 A industrial loads. X-NUCLEO-OUT11A1 ncaj qha cuam tshuam nrog microcontroller ntawm STM32 Nucleo tsav los ntawm GPIO pins thiab Arduino® R3 connectors. Kev sib cais galvanic ntawm microcontroller thiab cov txheej txheem stage tau lees paub los ntawm ISO808. Lub rooj tsav xwm nthuav dav tuaj yeem txuas nrog NUCLEO-F401RE lossis NUCLEO-G431RB kev txhim kho pawg thawj coj. Nws kuj tseem tuaj yeem ntsuas qhov system uas muaj xws li X-NUCLEO-OUT11A1 stacked ntawm lwm lub rooj nthuav dav.
Daim duab 10. X-NUCLEO-OUT11A1 expansion board

UM3035 – Rev 2

paj 27/50

3.1.9

UWM 3035
Cov lus piav qhia khoom kho vajtse
X-NUCLEO-OUT12A1 expansion board Lub X-NUCLEO-OUT12A1 muaj digital output expansion boards rau STM32-Nucleo muab lub zog thiab hloov tau ib puag ncig rau kev ntsuam xyuas ntawm kev tsav tsheb thiab kev kuaj mob ntawm ISO808A octal high-side smart power solid state relay, nrog embedded galvanic cais thiab 20MHz SPI tswj interface, nyob rau hauv ib tug digital output module txuas nrog 0.7 A industrial loads. X-NUCLEO-OUT12A1 ncaj qha cuam tshuam nrog microcontroller ntawm STM32 Nucleo tsav los ntawm GPIO pins thiab Arduino® R3 connectors. Kev sib cais galvanic ntawm microcontroller thiab cov txheej txheem stage yog lav los ntawm ISO808A ntaus ntawv. Lub rooj tsav xwm nthuav dav tuaj yeem txuas nrog NUCLEO-F401RE lossis NUCLEO-G431RB kev txhim kho pawg thawj coj. Nws kuj tseem tuaj yeem soj ntsuam 16-channel digital tso zis system ua kom lub daisy chaining feature ntawm ob X-NUCLEO-OUT12A1 stacked expansion boards.
Daim duab 11. X-NUCLEO-OUT12A1 expansion board

UM3035 – Rev 2

paj 28/50

3.1.10

UWM 3035
Cov lus piav qhia khoom kho vajtse
X-NUCLEO-OUT13A1 expansion board Lub X-NUCLEO-OUT13A1 muaj digital output expansion board rau STM32 Nucleo muab lub zog thiab hloov tau ib puag ncig rau kev ntsuam xyuas ntawm kev tsav tsheb thiab kuaj lub peev xwm ntawm ISO808-1 octal high-side smart power solid state relay nrog embedded galvanic cais, nyob rau hauv ib tug digital output module txuas nrog 1.0 A industrial loads. X-NUCLEO-OUT13A1 cuam tshuam nrog microcontroller ntawm STM32 Nucleo ntawm Arduino® R3 connectors. ISO808-1 integrated technology guarantees ib 2 kVRMS galvanic cais. Lub rooj tsav xwm nthuav dav tuaj yeem txuas nrog NUCLEO-F401RE lossis NUCLEO-G431RB kev txhim kho pawg thawj coj. Nws kuj tseem tuaj yeem ntsuas qhov system uas muaj xws li X-NUCLEO-OUT13A1 stacked ntawm lwm lub rooj nthuav dav.
Daim duab 12. X-NUCLEO-OUT13A1 expansion board

UM3035 – Rev 2

paj 29/50

3.1.11

UWM 3035
Cov lus piav qhia khoom kho vajtse
X-NUCLEO-OUT14A1 expansion board X-NUCLEO-OUT14A1 yog ib qho kev lag luam digital output expansion board rau STM32 Nucleo. Nws muab qhov chaw muaj zog thiab hloov tau yooj yim rau kev ntsuam xyuas ntawm kev tsav tsheb thiab kuaj lub peev xwm ntawm ISO808A-1 octal high-side smart power solid state relay, nrog embedded galvanic cais thiab 20MHz SPI tswj interface, nyob rau hauv cov zis module txuas nrog 1.0 A industrial loads. X-NUCLEO-OUT14A1 ncaj qha cuam tshuam nrog microcontroller ntawm STM32 Nucleo tsav los ntawm GPIO pins thiab Arduino® R3 connectors. Kev sib cais galvanic ntawm microcontroller thiab cov txheej txheem stage tau lees paub los ntawm ISO808A-1. Lub rooj tsav xwm nthuav dav tuaj yeem txuas nrog NUCLEO-F401RE lossis NUCLEO-G431RB kev txhim kho pawg thawj coj. Nws kuj tseem tuaj yeem soj ntsuam 16 channel digital tso tawm qhov system ua rau daisy chaining feature ntawm ob lub X-NUCLEO-OUT14A1 stacked expansion boards.
Daim duab 13. X-NUCLEO-OUT14A1 expansion board

UM3035 – Rev 2

paj 30/50

3.1.12

UWM 3035
Kev teeb tsa kho vajtse
X-NUCLEO-OUT15A1 expansion board X-NUCLEO-OUT15A1 industrial digital output expansion board rau STM32 Nucleo muab kev ntsuam xyuas muaj zog thiab yoog raws thiab kev loj hlob ib puag ncig rau 2.5 A (ib txwm) cov khoom tso tawm digital. Nws nta kev tsav tsheb nyab xeeb thiab muaj peev xwm kuaj xyuas ntse ntawm IPS1025HF kev ua haujlwm siab ib leeg hloov siab. X-NUCLEO-OUT15A1 cuam tshuam nrog microcontroller ntawm STM32 Nucleo ntawm 3 kV optocouplers uas tau tsav los ntawm GPIO pins, nrog Arduino® UNO R3 (default configuration), thiab ST morpho (yeem, tsis mounted) connectors. Lub rooj tsav xwm nthuav dav tuaj yeem txuas nrog NUCLEO-F401RE lossis NUCLEO-G431RB kev txhim kho pawg thawj coj. Nws tseem tuaj yeem muab tso nrog lwm X-NUCLEO-OUT15A1. Ob lub X-NUCLEO-OUT15A1 expansion boards tso cai rau koj los soj ntsuam ib tug dual-channel cov zis module nrog 2.5A (ib txwm) muaj peev xwm txhua.
Daim duab 14. X-NUCLEO-OUT15A1 expansion board

3.2

Kev teeb tsa kho vajtse

Cov nram qab no hardware Cheebtsam yuav tsum tau:

1. Ib USB hom A rau Mini-B USB cable txuas rau STM32 Nucleo rau PC thaum siv NUCLEOF401RE

2. Ib USB hom A rau Micro-B USB cable thaum siv NUCLEO-G431RB

3. Ib qho hluav taws xob sab nraud (8 - 33 V) thiab cov kab txuas txuas los muab cov kab ke nthuav dav

UM3035 – Rev 2

paj 31/50

3.3
3.4
3.4.1
3.4.2

UWM 3035
Kev teeb tsa software

Kev teeb tsa software

Cov khoom siv hauv qab no yog xav tau los teeb tsa qhov chaw tsim kho tsim nyog rau kev tsim cov ntawv thov rau STM32 Nucleo nruab nrog ib lossis ntau qhov kev lag luam digital output expansion boards:

·

X-CUBE-IPS: kev nthuav dav rau STM32Cube nplooj siab rau kev txhim kho daim ntawv thov uas yuav tsum tau siv

ntawm:

IPS 2050 H

IPS2050H-32

IPS 1025 H

IPS1025H-32

IPS 1025 HF

IPS 160 HF

IPS 161 HF

ISO 808

ISO 808-1

ISO 808A

ISO 808A-1

X-CUBE-IPS firmware thiab cov ntaub ntawv ntsig txog muaj nyob rau ntawm www.st.com.

·

Kev txhim kho cov cuab yeej-chain thiab muab tso ua ke: STM32Cube expansion software txhawb nqa peb yam hauv qab no

Ib puag ncig:

IAR Embedded Workbench rau ARM® (EWARM) toolchain + ST-LINK

Tiag tiagView Microcontroller Development Kit (MDK-ARM-STR) toolchain + ST-LINK

STM32CubeIDE + ST-LINK

Kev teeb tsa pawg thawj coj saib

STM32 Nucleo Development Board

Configure STM32 Nucleo txhim kho pawg thawj coj saib nrog cov haujlwm jumper hauv qab no:

·

NUCLEO-F401RE

JP5 ntawm U5V rau firmware flashing

JP1 qhib

JP6 kaw

CN2 kaw 1-2, 3-4

CN3 qhib

CN4 qhib

CN11 kaw

CN12 kaw

·

NUCLEO-G431RB

JP5 kaw 1-2 (5V_STLK rau firmware flashing)

JP1, JP7 qhib

JP3, JP6 kaw

JP8 kaw 1-2

CN4 qhib

CN11 kaw

CN12 kaw

X-NUCLEO-OUT03A1 thiab X-NUCLEO-OUT04A1 expansion boards

X-NUCLEO-OUT03A1 lossis X-NUCLEO-OUT04A1 yuav tsum tau teeb tsa raws li hauv qab no:

·

NWS 1 1-2

·

NWS 2 1-2

UM3035 – Rev 2

paj 32/50

·

NWS 3 1-2

·

SIB 4

Kaw 1-2 rau txoj kev FLT2 teeb liab los ntawm cov cuab yeej mus rau microcontroller nkaus xwb

Kaw 2-3 tsav lub DR2 liab LED nkaus xwb

·

SIB 5

Kaw 1-2 rau txoj kev FLT1 teeb liab los ntawm cov cuab yeej mus rau microcontroller nkaus xwb

Kaw 2-3 tsav lub DR1 liab LED nkaus xwb

·

J1, J2, J5, J6, J7, J12, J13, J14 kaw

·

J3, J4, J10, J11, J17 qhib

·

J8 kaw 4-6

·

J9 kaw 4-6

UWM 3035
Kev teeb tsa pawg thawj coj saib

UM3035 – Rev 2

paj 33/50

UWM 3035
Kev teeb tsa pawg thawj coj saib
Kauj ruam 1. Txuas lub X-NUCLEO-OUT03A1 los yog X-NUCLEO-OUT04A1 expansion board nyob rau sab saum toj ntawm STM32 Nucleo ntawm Arduino® UNO connectors.
Daim duab 15. X-NUCLEO-OUT03A1 expansion board txuas nrog STM32 Nucleo txoj kev loj hlob board

Daim duab 16. X-NUCLEO-OUT04A1 expansion board txuas nrog STM32 Nucleo txoj kev loj hlob board

Kauj Ruam 2. Kauj Ruam 3.
Kauj ruam 4.

Fais fab lub STM32 Nucleo board ntawm USB cable ntawm connector CN1 thiab ib tug PC USB chaw nres nkoj.
Fais fab lub X-NUCLEO-OUT03A1 los yog X-NUCLEO-OUT04A1 expansion board los ntawm kev txuas CN1 connector pin 2 los yog 3 (VCC) thiab 4 (GND) rau DC fais fab mov (uas yuav tsum tau teem ntawm 8 thiab 33 V).
Qhib koj lub cuab yeej uas koj nyiam (MDK-ARM los ntawm Keil, EWARM los ntawm IAR, lossis STM32CubeIDE)

UM3035 – Rev 2

paj 34/50

3.4.3

UWM 3035
Kev teeb tsa pawg thawj coj saib

Kauj ruam 5.
Kauj Ruam 6. Kauj Ruam 7.

Nyob ntawm STM32 Nucleo board thiab IDE siv, qhib qhov project software los ntawm: ProjectsSTM32F401RE-NucleoExamplesOut03_04 rau NUCLEO-F401RE ProjectsSTM32G431RB-NucleoExamplesOut03_04 for NUCLEO-G431RB
Rov tsim kho tag nrho files thiab thauj koj cov duab rau hauv lub hom phiaj nco.
Khiav example. Txhua zaus tus neeg siv khawm raug nias, ib qho lus txib tshiab raug siv ntawm cov zis digital raws li tau piav qhia hauv Tshooj 2.6.1 Out03_04.

X-NUCLEO-OUT05A1 thiab X-NUCLEO-OUT06A1 expansion boards

X-NUCLEO-OUT05A1 lossis X-NUCLEO-OUT06A1 yuav tsum tau teeb tsa raws li hauv qab no:

·

NWS 1 1-2

·

SIB 2

Kaw 1-2 rau txoj kev FLT1 teeb liab los ntawm cov cuab yeej mus rau microcontroller nkaus xwb

Kaw 2-3 tsav lub DR1 liab LED nkaus xwb

·

NWS 3 1-2

·

SIB 4

Kaw 1-2 rau txoj kev FLT2 teeb liab los ntawm cov cuab yeej mus rau microcontroller nkaus xwb

Kaw 2-3 tsav lub DR2 liab LED nkaus xwb

·

J1, J3, J5, J6, J8, J10 kaw

·

J2, J4, J7 qhib

·

J9 kaw 4-6

UM3035 – Rev 2

paj 35/50

UWM 3035
Kev teeb tsa pawg thawj coj saib
Kauj ruam 1. Txuas lub X-NUCLEO-OUT05A1 los yog X-NUCLEO-OUT06A1 expansion board nyob rau sab saum toj ntawm STM32 Nucleo ntawm Arduino® UNO connectors.
Daim duab 17. X-NUCLEO-OUT05A1 expansion board txuas nrog STM32 Nucleo txoj kev loj hlob board

Daim duab 18. X-NUCLEO-OUT06A1 expansion board txuas nrog STM32 Nucleo txoj kev loj hlob board

Kauj Ruam 2. Kauj Ruam 3.
Kauj ruam 4.

Fais fab lub STM32 Nucleo board ntawm USB cable ntawm connector CN1 thiab ib tug PC USB chaw nres nkoj.
Fais fab lub X-NUCLEO-OUT05A1 los yog X-NUCLEO-OUT06A1 expansion board los ntawm kev txuas CN1 connector pin 4 los yog 5 (VCC) thiab 3 (GND) rau DC fais fab mov (uas yuav tsum tau teem ntawm 8 thiab 33 V).
Qhib koj lub cuab yeej uas koj nyiam (MDK-ARM los ntawm Keil®, EWARM los ntawm IAR, lossis STM32CubeIDE).

UM3035 – Rev 2

paj 36/50

3.4.4

UWM 3035
Kev teeb tsa pawg thawj coj saib

Kauj ruam 5.
Kauj Ruam 6. Kauj Ruam 7.

Nyob ntawm STM32 Nucleo board thiab IDE siv, qhib qhov project software los ntawm: ProjectsSTM32F401RE-NucleoExamplesOut05_06 rau NUCLEO-F401RE ProjectsSTM32G431RB-NucleoExamplesOut05_06 for NUCLEO-G431RB
Rov tsim kho tag nrho files thiab thauj koj cov duab rau hauv lub hom phiaj nco.
Khiav example. Txhua zaus tus neeg siv khawm raug nias, ib qho lus txib tshiab raug siv ntawm cov zis digital raws li tau piav qhia hauv Tshooj 2.6.2 Out05_06.

X-NUCLEO-OUT08A1 thiab X-NUCLEO-OUT10A1 expansion boards

X-NUCLEO-OUT08A1 lossis X-NUCLEO-OUT10A1 nthuav dav pawg thawj coj saib yuav tsum tau teeb tsa raws li hauv qab no:

·

J1, J4, J5, J7, J8, J9 kaw

·

J13 kaw: 1-2, 3-4, 5-6

·

J14 kaw: 1-2, 3-4

·

SWB 1:2–3

·

SWB 2:1–2

·

Tag nrho lwm cov jumpers qhib

UM3035 – Rev 2

paj 37/50

UWM 3035
Kauj ruam 1. Txuas lub X-NUCLEO-OUT08A1 los yog X-NUCLEO-OUT10A1 expansion board nyob rau sab saum toj ntawm STM32
Nucleo ntawm Arduino® UNO connectors. Daim duab 19. X-NUCLEO-OUT08A1 expansion board txuas nrog STM32 Nucleo txoj kev loj hlob
lub rooj tsavxwm
Daim duab 20. X-NUCLEO-OUT10A1 expansion board txuas nrog STM32 Nucleo txoj kev loj hlob board

Kauj Ruam 2. Kauj Ruam 3.

Fais fab lub STM32 Nucleo board ntawm USB cable ntawm connector CN1 thiab ib tug PC USB chaw nres nkoj.
Fais fab lub X-NUCLEO-OUT08A1 los yog X-NUCLEO-OUT10A1 expansion board los ntawm kev txuas nws cov connectors CN1 1(VCC), 2(GND) rau DC fais fab mov (uas yuav tsum tau teem ntawm 8 thiab 33 V).

UM3035 – Rev 2

paj 38/50

3.4.5

UWM 3035
Kev teeb tsa pawg thawj coj saib

Kauj Ruam 4. Kauj Ruam 5.
Kauj Ruam 6. Kauj Ruam 7.

Qhib koj lub cuab yeej uas koj nyiam (MDK-ARM los ntawm Keil, EWARM los ntawm IAR, lossis STM32CubeIDE)
Nyob ntawm STM32 Nucleo board siv, qhib qhov project software los ntawm: ProjectsSTM32F401RE-NucleoExamplesOut08_10 rau NUCLEO-F401RE ProjectsSTM32G431RB-NucleoExamplesOut08_10 for NUCLEO-G431RB
Rov tsim kho tag nrho files thiab thauj koj cov duab rau hauv lub hom phiaj nco.
Khiav example. Txhua zaus tus neeg siv khawm raug nias, ib qho lus txib tshiab raug siv ntawm cov zis digital raws li tau piav qhia hauv Tshooj 2.6.3 Out08_10.

X-NUCLEO-OUT15A1 expansion board

X-NUCLEO-OUT15A1 yuav tsum tau teeb tsa raws li hauv qab no:

·

NWS 1 2-3

·

SIB 2

Kaw 1-2 rau txoj kev FLT1 teeb liab los ntawm cov cuab yeej mus rau microcontroller nkaus xwb

Kaw 2-3 tsav lub DR1 liab LED nkaus xwb

·

NWS 3 1-2

·

SIB 4

Kaw 1-2 rau txoj kev FLT2 teeb liab los ntawm cov cuab yeej mus rau microcontroller nkaus xwb

Kaw 2-3 tsav lub DR2 liab LED nkaus xwb

·

NWS 5 1-2

·

J2 qhib

·

J3, J4, J5, J6, J7, J8, J10, J12 kaw

·

J9 kaw 4-6

·

J11 kaw 1-2, 3-4, 5-6

Kauj ruam 1. Txuas lub X-NUCLEO-OUT15A1 expansion board nyob rau sab saum toj ntawm STM32 Nucleo ntawm Arduino® UNO connectors.

Daim duab 21. X-NUCLEO-OUT15A1 expansion board txuas nrog STM32 Nucleo txoj kev loj hlob board

Kauj ruam 2. Fais fab lub STM32 Nucleo board ntawm USB cable ntawm connector CN1 thiab ib tug PC USB chaw nres nkoj.

UM3035 – Rev 2

paj 39/50

3.4.6

UWM 3035
Kev teeb tsa pawg thawj coj saib

Kauj Ruam 3. Kauj Ruam 4. Kauj Ruam 5.
Kauj Ruam 6. Kauj Ruam 7.

Fais fab lub X-NUCLEO-OUT15A1 expansion board los ntawm kev txuas CN1 connector pin 4 los yog 5 (VCC) thiab 3 (GND) rau DC fais fab mov (uas yuav tsum tau teem caij ntawm 8 thiab 33 V).
Qhib koj lub cuab yeej uas koj nyiam (MDK-ARM los ntawm Keil®, EWARM los ntawm IAR, lossis STM32CubeIDE).
Nyob ntawm STM32 Nucleo board thiab IDE siv, qhib qhov project software los ntawm: ProjectsSTM32F401RE-NucleoExamplesOut15 rau NUCLEO-F401RE ProjectsSTM32G431RB-NucleoExamplesOut15 rau NUCLEO-G431RB
Rov tsim kho tag nrho files thiab thauj koj cov duab rau hauv lub hom phiaj nco.
Khiav example. Txhua lub sij hawm tus neeg siv khawm raug nias, ib qho lus txib tshiab raug siv ntawm cov zis digital raws li tau piav qhia hauv Tshooj 2.6.4 Out15.

X-NUCLEO-OUT11A1 thiab X-NUCLEO-OUT13A1 expansion boards

X-NUCLEO-OUT11A1 thiab X-NUCLEO-OUT13A1 yuav tsum tau teeb tsa raws li hauv qab no:

·

J1, J2, J5 qhib

·

J3

Kaw 1-2, 5-6

·

J4

Kaw 5-6

·

J6 Kaw

1-2, 3-4, 5-6, 7-8 txhawm rau ua kom muaj zog lub xeev coj rau OUT1-4

·

J7 Kaw

1-2, 3-4, 5-6, 7-8 txhawm rau ua kom muaj zog lub xeev coj rau OUT5-8

·

j9,j10 ua

UM3035 – Rev 2

paj 40/50

UWM 3035
Kev teeb tsa pawg thawj coj saib
Kauj ruam 1. Txuas lub X-NUCLEO-OUT11A1 los yog X-NUCLEO-OUT13A1 expansion board nyob rau sab saum toj ntawm STM32 Nucleo ntawm Arduino® UNO connectors.
Daim duab 22. X-NUCLEO-OUT11A1 expansion board txuas nrog STM32 Nucleo txoj kev loj hlob board

Daim duab 23. X-NUCLEO-OUT13A1 expansion board txuas nrog STM32 Nucleo txoj kev loj hlob board

Kauj Ruam 2. Kauj Ruam 3.
Kauj Ruam 4. Kauj Ruam 5.

Fais fab lub STM32 Nucleo board ntawm USB cable ntawm connector CN1 thiab ib tug PC USB chaw nres nkoj.
Fais fab lub X-NUCLEO-OUT11A1 los yog X-NUCLEO-OUT13A1 expansion board los ntawm kev txuas CN1 connector pin 1 (VCC) thiab tus pin 2 (GND) rau DC fais fab mov (uas yuav tsum tau teem caij ntawm 15 thiab 33 V).
Qhib koj lub cuab yeej uas koj nyiam (MDK-ARM los ntawm Keil, EWARM los ntawm IAR, lossis STM32CubeIDE)
Nyob ntawm STM32 Nucleo board thiab IDE siv, qhib qhov project software los ntawm: ProjectsSTM32F401RE-NucleoExamplesOut11_13 rau NUCLEO-F401RE ProjectsSTM32G431RB-NucleoExamplesOut11_13 for NUCLEO-G431RB

UM3035 – Rev 2

paj 41/50

3.4.7

UWM 3035
Kev teeb tsa pawg thawj coj saib

Kauj Ruam 6. Kauj Ruam 7.

Rov tsim kho tag nrho files thiab thauj koj cov duab rau hauv lub hom phiaj nco.
Khiav example. Txhua zaus tus neeg siv khawm raug nias, ib qho lus txib tshiab raug siv ntawm cov zis digital raws li tau piav qhia hauv Tshooj 2.6.5 Out11_13.

X-NUCLEO-OUT12A1 thiab X-NUCLEO-OUT14A1 expansion boards

X-NUCLEO-OUT12A1 thiab X-NUCLEO-OUT14A1 yuav tsum tau teeb tsa raws li hauv qab no:

·

J5 qhib

·

J3

Kaw 1-2, 3-4, 5-6

·

J4

Kaw 5-6

·

J6

Kaw 1-2, 3-4, 5-6, 7-8 kom pab tau lub xeev nquag coj rau OUT1-4

·

J7

Kaw 1-2, 3-4, 5-6, 7-8 kom pab tau lub xeev nquag coj rau OUT5-8

·

j9,j10 ua

·

J12, J13 rau Daisy Chain teeb:

Board 0:

J12: Kaw 1-2

J13: Kaw 3-4

Board 1:

J12: Kaw 3-4

J13: Kaw 1-2

·

J12, J13 rau Parallel Independent teeb:

Board 0:

J12: Kaw 1-2

J13: Kaw 1-2

Board 1:

J12: Kaw 1-2

J13: Kaw 1-2

UM3035 – Rev 2

paj 42/50

UWM 3035
Kev teeb tsa pawg thawj coj saib
Kauj ruam 1. Txuas lub X-NUCLEO-OUT12A1 los yog X-NUCLEO-OUT14A1 expansion board nyob rau sab saum toj ntawm STM32 Nucleo ntawm Arduino® UNO connectors.
Daim duab 24. X-NUCLEO-OUT12A1 expansion board txuas nrog STM32 Nucleo txoj kev loj hlob board

Daim duab 25. X-NUCLEO-OUT14A1 expansion board txuas nrog STM32 Nucleo txoj kev loj hlob board

Kauj Ruam 2. Kauj Ruam 3.
Kauj ruam 4.

Fais fab lub STM32 Nucleo board ntawm USB cable ntawm connector CN1 thiab ib tug PC USB chaw nres nkoj.
Fais fab lub X-NUCLEO-OUT12A1 los yog X-NUCLEO-OUT14A1 expansion board los ntawm kev txuas CN1 connector pin 1 (VCC) thiab tus pin 2 (GND) rau DC fais fab mov (uas yuav tsum tau teem caij ntawm 15 thiab 33 V).
Qhib koj lub cuab yeej uas koj nyiam (MDK-ARM los ntawm Keil, EWARM los ntawm IAR, lossis STM32CubeIDE)

UM3035 – Rev 2

paj 43/50

UWM 3035
Kev teeb tsa pawg thawj coj saib

Kauj ruam 5.
Kauj Ruam 6. Kauj Ruam 7.

Nyob ntawm STM32 Nucleo board thiab IDE siv, qhib qhov project software los ntawm: ProjectsSTM32F401RE-NucleoExamplesOut12_14 rau NUCLEO-F401RE ProjectsSTM32G431RB-NucleoExamplesOut12_14 for NUCLEO-G431RB
Rov tsim kho tag nrho files thiab thauj koj cov duab rau hauv lub hom phiaj nco.
Khiav example. Txhua zaus tus neeg siv khawm raug nias, ib qho lus txib tshiab raug siv ntawm cov zis digital raws li tau piav qhia hauv Tshooj 2.6.6 Out12_14.

UM3035 – Rev 2

paj 44/50

UWM 3035

Kev kho keeb kwm

Table 8. Cov ntaub ntawv kho dua tshiab

Hnub tim

Kev kho dua

Hloov

09-Lub Ib Hlis-2022

1

Kev tso tawm thawj zaug.

14 Peb.-2022

Kev taw qhia tshiab, Tshooj 2.1 Tshajview, Seem 2.2 Architecture, Tshooj 2.3 Folder qauv, Tshooj 2.3.1 BSPs, Tshooj 2.3.1.1 STM32F4xx-Nucleo, STM32G4xx_Nucleo, Tshooj 2.3.2 Projects, Tshooj 3.2 Hardware teeb, thiab Tshooj 3.3 Software teeb.

Ntxiv Ntu 2.3.1.4 IPS160HF_161HF, Ntu 2.3.1.7 OUT08_10A1, Ntu 2.4.3 X-

NUCLEO-OUT08A1, X-NUCLEO-OUT10A1, Ntu 2.4.5 X-NUCLEO-OUT11A1, X-NUCLEO-

OUT13A1, Ntu 2.4.6 X-NUCLEO-OUT12A1, X-NUCLEO-OUT14A1, Ntu 2.6.5 Out11_13,

2

Ntu 2.6.6 Out12_14, Ntu 2.6.3 Out08_10, Ntu 3.1.6 X-NUCLEO-OUT08A1

expansion board, Tshooj 3.1.7 X-NUCLEO-OUT10A1 expansion board, Tshooj 3.1.8 X-

NUCLEO-OUT11A1 expansion board, Tshooj 3.1.9 X-NUCLEO-OUT12A1 expansion board,

Tshooj 3.1.10 X-NUCLEO-OUT13A1 nthuav tawm pawg thawj coj saib, Tshooj 3.1.11 X-NUCLEO-OUT14A1

expansion board, Tshooj 3.4.4 X-NUCLEO-OUT08A1 thiab X-NUCLEO-OUT10A1 expansion

boards, Tshooj 3.4.4 X-NUCLEO-OUT08A1 thiab X-NUCLEO-OUT10A1 expansion boards,

Tshooj 3.4.6 X-NUCLEO-OUT11A1 thiab X-NUCLEO-OUT13A1 nthuav tawm boards, thiab

Tshooj 3.4.7 X-NUCLEO-OUT12A1 thiab X-NUCLEO-OUT14A1 nthuav tawm boards.

UM3035 – Rev 2

paj 45/50

UWM 3035
Cov ntsiab lus
Cov ntsiab lus
1 Cov ntawv sau thiab cov ntawv luv. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 X-CUBE-IPS software nthuav dav rau STM32Cube . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.1 Tshajview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.2 Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.3 Folder structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.3.1 PAB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.3.2 Projects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.4 Software xav tau kev pab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.4.1 X-NUCLEO-OUT03A1, X-NUCLEO-OUT04A1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.4.2 X-NUCLEO-OUT05A1, X-NUCLEO-OUT06A1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.4.3 X-NUCLEO-OUT08A1, X-NUCLEO-OUT10A1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.4.4 X-NUCLEO-OUT15A1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.4.5 X-NUCLEO-OUT11A1, X-NUCLEO-OUT13A1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.4.6 X-NUCLEO-OUT12A1, X-NUCLEO-OUT14A1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.5 APIs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.6 ibample application description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.6.1 Txa03_04 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.6.2 Txa05_06 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.6.3 Txa08_10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.6.4 Ib 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.6.5 Txa11_13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.6.6 Txa12_14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3 Daim ntawv qhia kev teeb tsa. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20 3.1 Hardware description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.1.1 STM32 Nucleo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.1.2 X-NUCLEO-OUT03A1 expansion board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.1.3 X-NUCLEO-OUT04A1 expansion board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.1.4 X-NUCLEO-OUT05A1 expansion board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.1.5 X-NUCLEO-OUT06A1 expansion board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.1.6 X-NUCLEO-OUT08A1 expansion board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.1.7 X-NUCLEO-OUT10A1 expansion board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.1.8 X-NUCLEO-OUT11A1 expansion board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.1.9 X-NUCLEO-OUT12A1 expansion board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.1.10 X-NUCLEO-OUT13A1 expansion board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.1.11 X-NUCLEO-OUT14A1 expansion board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.1.12 X-NUCLEO-OUT15A1 expansion board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

UM3035 – Rev 2

paj 46/50

UWM 3035
Cov ntsiab lus
3.2 Hardware setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.3 Kev teeb tsa software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.4 Kev teeb tsa. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.4.1 STM32 Nucleo Development Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.4.2 X-NUCLEO-OUT03A1 thiab X-NUCLEO-OUT04A1 expansion boards. . . . . . . . . . . . . . . . 32 3.4.3 X-NUCLEO-OUT05A1 thiab X-NUCLEO-OUT06A1 expansion boards. . . . . . . . . . . . . . . . 35 3.4.4 X-NUCLEO-OUT08A1 thiab X-NUCLEO-OUT10A1 expansion boards. . . . . . . . . . . . . . . . 37 3.4.5 X-NUCLEO-OUT15A1 expansion board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 3.4.6 X-NUCLEO-OUT11A1 thiab X-NUCLEO-OUT13A1 expansion boards . . . . . . . . . . . . . . . . 40 3.4.7 X-NUCLEO-OUT12A1 thiab X-NUCLEO-OUT14A1 expansion boards. . . . . . . . . . . . . . . . 42
Kev kho keeb kwm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45 Daim ntawv teev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 Daim ntawv teev cov duab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49

UM3035 – Rev 2

paj 47/50

UWM 3035
Daim ntawv teev cov rooj

Daim ntawv teev cov rooj

Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8.

Daim ntawv teev npe acronym. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Configuration ntawm ib pawg ntawm plaub expansion boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Configuration ntawm ib pawg ntawm plaub expansion boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Configuration ntawm ib pawg ntawm plaub expansion boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Configuration ntawm ib pawg ntawm ob expansion boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Configuration ntawm ib pawg ntawm ob expansion boards (parallel ywj siab). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Kev teeb tsa ntawm ib pawg ntawm ob lub rooj nthuav dav (Daisy Chain). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Cov ntaub ntawv hloov kho keeb kwm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

UM3035 – Rev 2

paj 48/50

UWM 3035
Daim ntawv teev cov duab

Daim ntawv teev cov duab

Daim duab 1. Daim duab 2. Daim duab 3. Daim duab 4. Daim duab 5. Daim duab 6. Daim duab 7. Daim duab 8. Daim duab 9. Daim duab 10. Daim duab 11. Daim duab 12. Daim duab 13. Daim duab 14. Daim duab 15. Daim duab 16. . Daim duab 17. Daim duab 18. Daim duab 19. Daim duab 20. Daim duab 21. Daim duab 22. Daim duab 23. Daim duab 24.

X-CUBE-IPS expansion software architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 X-CUBE-IPS pob nplaub tshev qauv. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 STM32 Nucleo Board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 X-NUCLEO-OUT03A1 expansion board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 X-NUCLEO-OUT04A1 expansion board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 X-NUCLEO-OUT05A1 expansion board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 X-NUCLEO-OUT06A1 expansion board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 X-NUCLEO-OUT08A1 expansion board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 X-NUCLEO-OUT10A1 expansion board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 X-NUCLEO-OUT11A1 expansion board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 X-NUCLEO-OUT12A1 expansion board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 X-NUCLEO-OUT13A1 expansion board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 X-NUCLEO-OUT14A1 expansion board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 X-NUCLEO-OUT15A1 expansion board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 X-NUCLEO-OUT03A1 expansion board txuas nrog STM32 Nucleo txhim kho pawg thawj coj. . . . . . . . . . . . . 34 X-NUCLEO-OUT04A1 expansion board txuas nrog STM32 Nucleo txhim kho pawg thawj coj. . . . . . . . . . . . . 34 X-NUCLEO-OUT05A1 expansion board txuas nrog STM32 Nucleo txhim kho pawg thawj coj. . . . . . . . . . . . . 36 X-NUCLEO-OUT06A1 expansion board txuas nrog STM32 Nucleo txhim kho pawg thawj coj. . . . . . . . . . . . . 36 X-NUCLEO-OUT08A1 expansion board txuas nrog STM32 Nucleo txhim kho pawg thawj coj. . . . . . . . . . . . . 38 X-NUCLEO-OUT10A1 expansion board txuas nrog STM32 Nucleo txhim kho pawg thawj coj. . . . . . . . . . . . . 38 X-NUCLEO-OUT15A1 expansion board txuas nrog STM32 Nucleo txhim kho pawg thawj coj. . . . . . . . . . . . . 39 X-NUCLEO-OUT11A1 expansion board txuas nrog STM32 Nucleo txhim kho pawg thawj coj. . . . . . . . . . . . . 41 X-NUCLEO-OUT13A1 expansion board txuas nrog STM32 Nucleo txhim kho pawg thawj coj. . . . . . . . . . . . . 41 X-NUCLEO-OUT12A1 expansion board txuas nrog STM32 Nucleo txhim kho pawg thawj coj. . . . . . . . . . . . . 43 X-NUCLEO-OUT14A1 expansion board txuas nrog STM32 Nucleo txhim kho pawg thawj coj. . . . . . . . . . . . .

UM3035 – Rev 2

paj 49/50

UWM 3035
TSEEM CEEB CEEB TOOM NYEEM CEEB TOOM STMicroelectronics NV thiab nws cov chaw ua haujlwm (“ST”) muaj cai hloov pauv, kho, txhim kho, hloov kho, thiab kev txhim kho rau cov khoom ST thiab / lossis cov ntaub ntawv no txhua lub sijhawm yam tsis muaj ntawv ceeb toom. Cov neeg yuav khoom yuav tsum tau txais cov ntaub ntawv tseem ceeb ntawm ST cov khoom ua ntej muab xaj. ST cov khoom raug muag raws li ST cov nqe lus thiab cov xwm txheej ntawm kev muag khoom nyob rau hauv qhov chaw thaum lub sijhawm lees paub kev txiav txim. Cov neeg yuav khoom tsuas yog lub luag haujlwm rau kev xaiv, xaiv, thiab siv cov khoom ST thiab ST xav tias tsis muaj kev lav phib xaub rau daim ntawv thov kev pab lossis kev tsim khoom ntawm cov neeg yuav khoom. Tsis muaj daim ntawv tso cai, qhia lossis qhia, rau txhua txoj cai kev txawj ntse tau tso cai los ntawm ST ntawm no. Kev muag khoom ntawm ST nrog cov kev cai sib txawv ntawm cov ntaub ntawv tau teev tseg hauv no yuav tsis muaj kev lav phib xaub los ntawm ST rau cov khoom no. ST thiab ST logo yog cov cim lag luam ntawm ST. Yog xav paub ntxiv txog ST cov cim lag luam, xa mus rau www.st.com/trademarks. Tag nrho lwm yam khoom lossis kev pabcuam npe yog cov cuab yeej ntawm lawv cov tswv. Cov ntaub ntawv hauv daim ntawv no hloov pauv thiab hloov cov ntaub ntawv yav dhau los uas tau muab rau hauv ib qho ua ntej ntawm daim ntawv no.
© 2022 STMicroelectronics All rights reserved

UM3035 – Rev 2

paj 50/50

Cov ntaub ntawv / Cov ntaub ntawv

STM STM32 X-CUBE-IPS Industrial Output Software [ua pdf] Tus neeg siv phau ntawv
STM32 X-CUBE-IPS Industrial Digital Output Software, STM32 X-CUBE-IPS, Industrial Digital Output Software, Output Software

Cov ntaub ntawv

Cia ib saib

Koj email chaw nyob yuav tsis raug luam tawm. Cov teb uas yuav tsum tau muaj yog cim *