STM32CubeIDE basics - 11 USART HAL lab

  Рет қаралды 61,950

STMicroelectronics

STMicroelectronics

4 жыл бұрын

Learn how to create your STM32 based application using STM32CubeIDE
STM32CubeIDE can be used to create applications for STM32 devices using STM32Cube libraries (HAL and Low Layer versions).
Benefits you will take away
• Understanding how to create Hardware Abstraction Layer (HAL) based examples on STM32 devices
• Understanding how to create Low Layer based examples on STM32
• Understanding how to manage software components and generated projects within STM32CubeIDE tool
Prerequisites
• NUCLEO-G071RB board
• microUSB cable
• PC with MS Windows OS (in version 7 or higher) with preinstalled the following software:
o STM32CubeIDE with STM32G0 Cube library preinstalled (libraries installation instruction present within “Repository management” video)
Complete set of slides:
drive.google.com/file/d/1qEyO...

Пікірлер: 42
@bennguyen1313
@bennguyen1313 Жыл бұрын
So any USARTX_CK pins be configured as an INPUT to receive the sync clock? For example, the STM32H745 has: USART1_CK PA8/E15 USART2_CK PA4/U3 USART2_CK PD7/C11 USART3_CK PB12/T14 USART3_CK PD10/T16 USART3_CK PC12/C12 USART6_CK PG7/F16 USART6_CK PC8/E13
@pavikarthi1467
@pavikarthi1467 2 жыл бұрын
Will you please implement spi communication between two nucleo board!!
@mathssoso4261
@mathssoso4261 Жыл бұрын
I did everything correctly but I am using an STM32F746NG discovery board and I can't see in the debug consol the transmitted bytes "Test ", I wonder if it is due to the pins used, i use D5 and D6, I don't know how to check if they can be used for debugging purposes, wether they are linked to st-link
@merviny0
@merviny0 2 жыл бұрын
Hello thank you for the Video I followed your steps but at the end when i try to setup the console it says " 'Making Connection' has encountered a problem" "java.io.IOException - when I open the details its just a blank window and can't really find a solution. Is there anybody having the same issue ? Thanks in advance
@fpgamachine
@fpgamachine 3 жыл бұрын
Thanks bro!
@user-cn4zt7hv7v
@user-cn4zt7hv7v 4 жыл бұрын
HI , man, would you like me the detailed Debugger configure ? and why you choose the COM31 to debug ?
@albanjuan106
@albanjuan106 4 жыл бұрын
Hey, Press Windows+R ("Execute" window), and type devmgmt.msc Search the part "COM ports.." and you should see your Virtual STM32 COM Port number! ;)
@yassin5568
@yassin5568 3 жыл бұрын
Great Video 😊 Can you tell me please how can I delete the received data from Rx_buffer (UART interrupt) in order to receive new data from Rx_buffer[0] ?
@stmicroelectronics
@stmicroelectronics 3 жыл бұрын
Hello there, glad to hear it ! For technical questions we really recommend you check out our community of experts and other developers at community.st.com
@eamonhannon1103
@eamonhannon1103 3 жыл бұрын
Great comment at the end !
@fpgamachine
@fpgamachine 3 жыл бұрын
Hahaha
@nikoloznadiradze7370
@nikoloznadiradze7370 4 жыл бұрын
STM32CubeIDE V 1.3 gives warning and file isn't executable.... ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:700:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' when you pass "TEST " as uint8_t *pData 2nd parameter to HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout);
@indyzd
@indyzd Жыл бұрын
Great video. But the sound quality was extremely hard to understand, especially given the non-native english accent. Can you please invest in a better audio system for the next video? Would be very helpful. I found myself having to rewind several times just to understand the audio, not even to understand the coding....
@igorbecker2323
@igorbecker2323 3 жыл бұрын
Please normalize the volume on the video. I don't mind the accent, but the volume is also throublesome.
@stmicroelectronics
@stmicroelectronics 3 жыл бұрын
Hi, thanks for your comment, our engineers do their very best to create this content and we do consider it to be important to have the people who know technically what they are talking about to do these videos. That said, we have received this type of comment in the past, and we are trying to figure out ways to improve the situation.
@marcelopessoa1
@marcelopessoa1 3 жыл бұрын
the subtitles are automatically being translated from Dutch in some of your videos! please correct it!
@stmicroelectronics
@stmicroelectronics 3 жыл бұрын
Hi, thanks for watching, our engineers do their very best to create this content and we do consider your comment !
@ShahbazParviezQazi
@ShahbazParviezQazi 3 жыл бұрын
Same here I was not be able to understand the audio properly so decided to turn on subtitle but unfortunately google is also not considering language as English :D
@danscheffler2548
@danscheffler2548 2 жыл бұрын
@@stmicroelectronics One thing that would help with the audio quality is to record the audio without automatic gain level adjust. The audio level keeps modulating with the stops and starts of each word. Another thing that would help is a quality microphone and preamp. (ie. for all in one the Yeti blue to USB mic w preamp or for separates, external mic with USB Audio Interface ( Motu M2, Behringer UMC202HD, Focusrite etc) . I usually adapt to each person's accent but the signal level and frequency response of the mic would help a lot in the quality. Thanks for making these videos.
@kavorka8855
@kavorka8855 3 жыл бұрын
I can confirm these steps did not work on nucleo-144.
@harryshuman9637
@harryshuman9637 2 жыл бұрын
Did u get it to work at all?
@harryshuman9637
@harryshuman9637 2 жыл бұрын
I got it to work on Nucleo-144, but idk, I enabled the FIFOs in the USART serial config. Idk if it has something to do with it, but I noticed UART on STM32 doesn't output anything without it.
@mrlajel
@mrlajel 2 жыл бұрын
just want to bookmark, 8:59 how to open serial terminal in stm32cube
@tejwingehlot
@tejwingehlot Жыл бұрын
I don't think there is a way, I use Arduino Serial monitor to view STM32 UART output.
@Cansan10
@Cansan10 5 ай бұрын
How ?@@tejwingehlot
@alaeddinne1386
@alaeddinne1386 Жыл бұрын
The video is great, but the sound seems to be recorded by a phonograph, very annoying
@ErikLevholt
@ErikLevholt 3 жыл бұрын
I tried to turn on KZfaqs automatic subtitles because i find the strong accent hard to understand, but it auto-detects it to dutch and refuses to let me select it being English spoken. Guess that proves my point about accents :P Consider having someone with a more neutral English do these lectures, and with a better microphone. Compare this video to any semi-professional youtubers videos and you will understand what I mean.
@ael6122
@ael6122 3 жыл бұрын
Lol same for me x'D
@GuiLLaumeSry
@GuiLLaumeSry 3 жыл бұрын
I am French and have no problems with it just work your ears to adapt to different people it is not their job to do mate
@vincentartaud6143
@vincentartaud6143 5 ай бұрын
The best solution would be to add real good subtitles. It's simple, there is no need for a new video, and it will help everyone, including the deaf ones. I don't think this accent is so bad, even if I have problems with it sometimes myself. But the automatic subtitles won't work with it, so a solution is needed. :)
@azbycxdw8471
@azbycxdw8471 2 жыл бұрын
Like for speaking out loud ctrl+space
@SHDK-vq1rx
@SHDK-vq1rx Жыл бұрын
The audio is terrible. Volume/Compression settings are not present, lots of noise, heavy accent and no subtitles. Why is such a big company making such amateurish entries?
@matt_313
@matt_313 2 жыл бұрын
Narrator is terrible. Even KZfaq's auto-caption has no idea what he is saying.
@ireneuszerikowsiak5637
@ireneuszerikowsiak5637 3 жыл бұрын
This guy is horrible!!!
@stmicroelectronics
@stmicroelectronics 3 жыл бұрын
Hello, Why do you say that ? We appreciate your feedback to help us improve your experience !
@eamonhannon1103
@eamonhannon1103 3 жыл бұрын
What a nasty thing to say about someone . I wonder who is horrible ?
@SHDK-vq1rx
@SHDK-vq1rx Жыл бұрын
@@stmicroelectronics Get a sound/recording engineer to teach you how to record audio for broadcasting so you can hear the sound in a pleasant fashion. Make subtitles for the video so that the heavy accent doesnt negatively impact the ability to understand what is happening.
@vincentartaud6143
@vincentartaud6143 5 ай бұрын
@@stmicroelectronics Please add subtitles to all these videos. Sometimes I need them, and I am clearly not the only one here. :) Most of the times, the automatic subtitles are useless. They vary from false to confounding, and they are sometimes plainly hilarious (“SDM ready to keep ID”, “Pantheon 42”, “is the inverter to kill ID”). But they never are reliable. So please add subtitles. It's simpler and cheaper than doing a new video. And it will help everyone, including deaf people.
@alanmilosevic
@alanmilosevic 2 ай бұрын
The accent is quite strong but perfectly understandable, the content is excellent and well thought through. Not everyone outside of Oxford speaks with the correct English accent. Wait until STMicroelectronics decide to use Rab Nesbitt.
@altesocke1727
@altesocke1727 2 жыл бұрын
@STMicroelectronics This video is very bad because its only for ONE board. You producing few HUNDREDTS of boards so please make a video for EVERY SINGLE board. P.S. Buy a better microphone.
STM32CubeIDE basics - 12 FreeRTOS basic lab
32:39
STMicroelectronics
Рет қаралды 27 М.
STM32CubeIDE basics - 10 ADC DMA TIM HAL lab
31:32
STMicroelectronics
Рет қаралды 58 М.
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 100 МЛН
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 492 М.
STM32CubeIDE basics - 05 TIM PWM HAL lab
13:37
STMicroelectronics
Рет қаралды 61 М.
Transmit data using UART in STM32 || Poll || Interrupt || DMA
20:34
ControllersTech
Рет қаралды 72 М.
STM32Cube tools in practice - STM32CubeIDE - FreeRTOS aware debug
7:58
STMicroelectronics
Рет қаралды 7 М.
I 3D Printed a $1,224 Chair
23:56
Morley Kert
Рет қаралды 98 М.
how does UART work??? (explained clearly)
10:52
Continuous Load
Рет қаралды 300 М.
STM32CubeIDE basics - 08 Project management
25:42
STMicroelectronics
Рет қаралды 25 М.
Худший продукт Apple
0:53
Rozetked
Рет қаралды 173 М.