- 71
- 137 969
PR TechTalk
Sweden
Приєднався 30 лис 2020
Electronics Tutorials, Projects and How To´s
Mainly based on Arm Cortex based MCU
Examples STM32, NXP, Renesas .....
Mainly based on Arm Cortex based MCU
Examples STM32, NXP, Renesas .....
WiFi-Enabled STM32: Connect Your Projects to the Internet!
Looking to bring WiFi to your STM32 project? In this tutorial, I introduce the Quectel FCM100D module, share how to connect it, and show you a custom Arduino shield I designed using EasyEDA and JLCPCB. Plus, I'll guide you through the program’s features, all shared on my GitHub. In upcoming videos, I'll expand the project with an OLED display and MQTT support, so make sure to subscribe!
Links
teratermproject.github.io/manual/4/en/about/ctrlseq.html
www.quectel.com/download-zone/
jlcpcb.com/
easyeda.com/
Links
teratermproject.github.io/manual/4/en/about/ctrlseq.html
www.quectel.com/download-zone/
jlcpcb.com/
easyeda.com/
Переглядів: 466
Відео
STM32 Development Made Easy in VS Code | Installation & Setup Guide
Переглядів 1,4 тис.Місяць тому
In this video, I guide you step-by-step through setting up Visual Studio Code for STM32 development. You'll learn how to install all the necessary tools and configure your environment to start coding for STM32 microcontrollers. We cover everything from installing software to making essential setup changes. By the end of the video, we'll create a simple blinky project to demonstrate how everythi...
QuicTip #9 Duplicate Project in STM32CubeIde
Переглядів 250Місяць тому
In QuicTip #9, I'll show you how to quickly and easily clone a project. This simple process can be super helpful when you want to keep your original project intact while creating a fork to modify or expand upon the code. If you found this video helpful, don't forget to like, subscribe, and hit the notification bell so you never miss a tip!
STM32 SD Card Interface via SPI and FatFS Tutorial (No RTOS)
Переглядів 1,4 тис.Місяць тому
In this video, I walk you through how to use an SD card with an STM32 microcontroller via the SPI interface, utilizing FatFS for file system support. To keep things simple, I’ve avoided using any real-time operating system (RTOS) in this demonstration. You’ll learn: *. How to configure the SPI interface on STM32 to communicate with an SD card *. Integrating FatFS to read and write files *. Simp...
Git in STM32CubeIDE: Import, Edit, and Push to GitHub Explained
Переглядів 9942 місяці тому
Description: In this follow-up tutorial, we take Git integration in STM32CubeIDE to the next level. Building on the basics of installing EGit, we now explore how to import existing repositories, make changes, and seamlessly push them to GitHub. This step-by-step guide also walks you through creating Personal Access Tokens (PATs) for secure uploads to GitHub, and even shows how to create and upl...
Install Git support in STM32CubeIDE | Step-by-Step Guide
Переглядів 1 тис.2 місяці тому
Install Git Support in STM32CubeIDE | Step-by-Step Guide In this tutorial, I’ll show you how to easily install EGit into STM32CubeIDE to enable Git support. Whether you’re working on STM32 projects or need to collaborate using version control, this guide will help you get started with Git integration. In this video, you will learn: How to install EGit in STM32CubeIDE for version control. How to...
Export project from STM32CubeIde
Переглядів 5742 місяці тому
In this short video, I'll guide you through the process of exporting a project from STM32CubeIDE. This is perfect if you want to share your project with others, store it on a NAS, or save it in the Cloud. I’ve also created a separate video on how to import an already exported project-be sure to check that out as well. If you find this helpful, please like the video and subscribe to the channel ...
How to Add ThreadX support to STM32CubeIDE
Переглядів 4713 місяці тому
Learn how to enable support for ThreadX in STM32CubeIDE with this step-by-step tutorial. Whether you're new to embedded development or looking to integrate ThreadX RTOS into your STM32 projects, this guide will walk you through the process from start to finish. Perfect for developers working with STM32 microcontrollers and seeking to optimize their real-time applications. Continue with this vid...
RTC for STM32 Tutorial
Переглядів 1,5 тис.3 місяці тому
🚀 Master RTC Setup in STM32CubeMX! 🚀 Want to learn how to set up Real-Time Clock (RTC) in STM32CubeMX and create a robust date, time, and alarm system using UART? 🕒✨ 🔧 In this comprehensive tutorial, you'll learn: 1. How to enable RTC in STM32CubeMX 2. Developing software to set and manage date, time, and alarms via UART 3. Adding an I2C OLED display to show real-time date and time ⏰ Whether yo...
ST Ultra-Low Power MCU STM32U0 in Action: Exploring Run Modes & Measuring Current
Переглядів 9174 місяці тому
In this video, we dive into STMicroelectronics' new Ultra-Low Power MCU. Join us as we explore different run modes and measure the current consumption. Learn how to optimize power usage for your next project with detailed explanations and hands-on demonstrations. I will Also use tools like the STM32CubeProgrammer and STM32CubeMonitor Power and STLINK-V3PWR ST made a similar video but i thought ...
ThreadX Queues STM32 Made Easy: Step-by-Step Startup Tutorial
Переглядів 1 тис.5 місяців тому
In the 3rd video of our ThreadX tutorial series, we'll dive into Queues. Learn how to use Queues in ThreadX for efficient communication between threads. We build on the last project that we created on Semaphores and add 2 more Tasks: Temp and UART and one Queue. The Temp Task uses DTS ( I explained this in another video link below) to get a temperature value, this is then put on the queue and p...
QuicTip #7 How to import archived project into STM32CubeIDE
Переглядів 5415 місяців тому
In this Short video i show how to import an archived project into STM32CubeIDE.
STM32 DTS Tutorial: Digital Temperature Sensor
Переглядів 5455 місяців тому
Learn how to use the Digital Temperature Sensor (DTS) on STM32 in this tutorial. Follow along to create your own project with this sensor!
Easy Current Measurement with FRDM-MCXA153 & MCU-Link PRO
Переглядів 1975 місяців тому
This is a short followup video from my 3rd video on NXP the Lowpowermodes on MCXA153. In that video i used a FLuke 867B Multimeter to make the current readings, but their is a tool inside ther MCUExpresso that with help from MCU_Link PRO can also make current measurment and present is in graphical waveform. Link to my MCX Playlist : ua-cam.com/play/PLGWvw6-TCb3Ne7LOQznCAIzZSzYIYUja6.html
STM32U0: The MCU That Will Change the Game in 2024
Переглядів 8505 місяців тому
ST have launched a new UltraLowPower MCU for battery driven application that require ULP and high security. In this video i introduce this family and will do test on current consumption in comming videos.
Mastering STLINK-V3PWR consumption for success
Переглядів 1,7 тис.7 місяців тому
Mastering STLINK-V3PWR consumption for success
WebServer on STM32 based on Threadx NetXDuo. Demo application
Переглядів 1,4 тис.7 місяців тому
WebServer on STM32 based on Threadx NetXDuo. Demo application
ThreadX Semaphore STM32 Made Easy: Step-by-Step Startup Tutorial
Переглядів 1,5 тис.8 місяців тому
ThreadX Semaphore STM32 Made Easy: Step-by-Step Startup Tutorial
ThreadX on STM32 Made Easy: Step-by-Step Startup Tutorial
Переглядів 4,9 тис.9 місяців тому
ThreadX on STM32 Made Easy: Step-by-Step Startup Tutorial
Tutorial STM32 DAC Timer Triggered DMA
Переглядів 4,6 тис.10 місяців тому
Tutorial STM32 DAC Timer Triggered DMA
QuicTip #6 How to adjust code formating i STM32Cube IDE
Переглядів 81410 місяців тому
QuicTip #6 How to adjust code formating i STM32Cube IDE
Tutorial On ADC MultiChannel Interrupt method.
Переглядів 2,6 тис.10 місяців тому
Tutorial On ADC MultiChannel Interrupt method.
PWM Made Easy: A Comprehensive Tutorial for Theory and Practice
Переглядів 79510 місяців тому
PWM Made Easy: A Comprehensive Tutorial for Theory and Practice
HOW-TO GET STM32 Board in ARDUINO using STM32duino
Переглядів 5 тис.11 місяців тому
HOW-TO GET STM32 Board in ARDUINO using STM32duino
Discover the Inner Workings of SAR ADCs: A Fundamental Guide
Переглядів 43111 місяців тому
Discover the Inner Workings of SAR ADCs: A Fundamental Guide
greetings sir thank you for the vidoe also i have a question if its not a bother i did the same thing but my sd card doesnt initialize couple of debugs and says ACMD41 and CMD 58 are returning 0x01 can you please tell me what to do
AT is difficult to use. If your project is WiFi + Some sensors and actuator. ESP32/8266 is a better fit. Only time I'd consider an external module is when it is a legacy product that needs internet connectivity with minimal changes or when there is lot of Hard Real Time / DSP / Analog stuff going on and WiFi is a small part of the project. Anything mass market needs to be a one IC solution.
Too bad the ESP32 doesn’t support Thread
I think your design in EasyEDA is also important. In your next videos kindly ensure some minutes allocated for your design in EasyEDA being explained.
Hi Thanks for your input, it might be coming video on how to make a PCB also. So Stay subscribed and hit the Bell so you get notified when new videos are released. /PR TechTalk
Thank you for the video. The new U0 goes below 2 micro amps in stop2 mode. Did you have a chance to look at that already?
Hi, i did a lowpower video on the STM32U0. Take a look a it ua-cam.com/video/-L9rTAFgr08/v-deo.html /PR TechTalk
Many thanks for the video. I have just started to use the U0 with a custom board. The low power modes are great.
Great to hear!
Nicely explained. What is the music name and artist please, thanks
I really appreciate your feedback! The music is "Chasing Dreams" by The Soundscapes. I'm glad you enjoyed the explanation!
This video is an excellent resource for cloning a project using a straight forward copy, paste and an automated swap of project names, new-for-old. Finish with just a keystroke edit of the ".ioc" file name. Well done!
I'm glad you found the video helpful! Cloning projects can be a breeze with the right steps, and I'm happy to have shared them with you.
Thank you so much for your video, Peter! I'm getting a weird behaviour. The first time I have tried to ruin the code it was working. I realized that I did not load any test.txt file and I loaded it through PC. When I put back the SD, I got the FR_NOT_READY error. Do you have an idea why I get something like this?
Hi, when i get these issues i hook up an logic analyzer to the SPI bus to see what is transmitted and returned. Look for Saleae and software Sigrok. You can also try to use another SD Card preferably 32GB or less. Good luck /PrTechTalk
How to integrate sd card to this MCU cozz fatfs option is not given for creating project
Hi, i have made a video on how to add SD card to any STM32MCU using SPI interface. I realise that this STM32H5 have also SDIO interface that is a much better interface. But i have not yet made any video on this. I would guess that if i do then it will be using Thredx RTOS and FileX to access this features. /PR TechTalk
Can you show how to make it a C++ project please?
Hi Jaaxc, Sorry but i have sofar done Zero work with C++. Perhaps i will need to look into this in the future. /PR TechTalk
@ i think it’s not possible anyway after googling, apparently it is quite manual to setup
thank you very much for the video!
You are welcome 🤗 /PR TechTalk
There are some talks in several forums about C/C++ being not memory safe and also regulatory authorities are encouraging to drop C/C++ language from major software development. I would like to hear your thoughts on that, cause that is big deal given the toolchains and sdk we are learning in this channel. Also I'm a beginner in C, I would like to know the impact that will have in the embedded system.
Hi, this is the first time i have heard something regarding this topic. But if C /C++ is not preferred what are pushed instead?
ua-cam.com/video/3Sy6TyhAF0s/v-deo.htmlsi=cIzsKZgpX7N2NpUs
@@prtechtalk416RUST
@@prtechtalk416 RUST ! but honestly it seems to me that the regulators will caught the manufacturers off guard.
@@prtechtalk416 Don't worry about it, it's just the Rust people trying force their language. If anything, there will be a push instead to force embedded programmers into newer standards of C++ instead of Rust.
Thank you, sir , excellent
Thanks
Thank you, sir , excellent
Thanks
VEREY GOOD SIR
Thanks
i am facing issue in myST login how to do that?
Hi , i am not working for ST so i cant help with loging in to their site. What is the issue you are facing?
@prtechtalk416 I have downloaded stmcubeide but while creating project it is saying that packages are missing. when I tried to download packages connection time out showing so how to download and installed packages offline mode?
It sounds like you have some undefined issues with communicating with ST, I suggest you create a support ticket with ST to get is sorted och just create a new login to see if this helps. /PR TechTalk
Thank you, exactly what I need. 😀
You are welcome, pls consider to hit the Subscribe button also :-) /PR TechTalk
Can i write the voltage reading plus timestamp in the sd card ? Can suggest me any method
Hi, for sure you can. I have even thought of doing a "DataLogger" for in my example see discharge curve on LiOn cells. I would then use a RTC to keep track of time and sample at some defined interval and save to SD card and then later bring that data into Excel for analyze. So hit the Hit Subscribr and the Bell so you get notifyed on new videos i release. /PR Tech Talk
I would like to know whether other microcontrollers other than stm32 can be monitored with this tool. Lets say ESP32? ALSO CAN WE USE POWER MONITORING SOFTWARE AS WELL FOR THAT?
Hi, This tool is MCU agnostic on some of the functions. the MCU current measurement is one of them. So yes you can use this Tool with ESP32 so measure the current consumption. /PR TechTalk
Absolutely amazing video❤❤
Thanks :-) /PR TechTalk
5:20 - Putting pull-ups on always output pins is not only pointless but also increases power consumption.
Hi, thanks for your comment! As I mentioned in the video, I'm not entirely sure it's always necessary. I agree that pull-ups will consume some current. However, the output is configured as push-pull, using transistors in a totem-pole arrangement. To prevent shoot-through (when both transistors are on at the same time), a small dead time is introduced where both transistors are off. During this brief moment, the output can enter a high-impedance (tristate) condition. Although this period is typically very short and may not cause issues in most cases, adding an external pull-up can prevent the output from floating. I've seen a few cases where adding pull-ups helped resolve SPI-SD card communication problems. Pls make some experiment and see if it makes any difference. /PR TechTalk
Very nice! What about the debug? Can you see the registers?
Thanks, Yes you can se register's in the VSC when debugging PR TechTalk
You have to play with CLT . .
Thanks for your suggestion. Not in the plans right now but if i get more request for it then i just might :-) /PR TechTalk
What are the advantages use stm32cubeide in VS code ?
Hi, Some claims that VSC are faster than STM32CubeIDE if this is true i cant say. But VSC have a lot of plugins and a great user base. Test it and let me know what your thoughts are. /PR TechTalk
Thanks for sharing
My pleasure
hello! can i suggest you a topic for a new video? i will very happy to see a tutorial of USB C power delivery using the TCPP software pack with azure Rtos, maybe sink,source and dual role... best reguards!
Thanks for the idea!
@@prtechtalk416 another idea.. a tutorial of touchGFX with Azure Rtos. best reguards!
I have done some on Threadx if i am not misstaken ? / PR TechTalk
Hi, I have a question regarding the feasibility of using a timer event to generate a clock on a pin and read data on another pin. specifically I'm talking about the HX711 chip which implements clock and data communication (micro input only) not compatible with SPI, I would like to generate a variable number of clock strokes from 24 to 26 and at each clock stroke read the value of the data pin. seeing the use of the timer event it occurred to me that perhaps it is possible to use this approach. what do you think? thank you!
The Serial interface on HX711 is slow so i would implement a timer to not block the MCU with delay functions. And poll the data signal after the clock flank perhaps also with a small delay between flank and poll. i would use timer int and in the callbackfunction set flags that you use in your code. This migth be one way but i am certain that "real" SW hackers have alternative and better soloutions. /PR TechTalk
@@prtechtalk416 thank you for your response! you are right, the problem is that i don't want to block the MCU during the reading of the value and i would use the azure RTOS.. maybe i can use a timer interrupt and then use a semaphore to trigger in a thread the reading. maybe i can read the data on the driving low of the clock pin (i have to control that on the datasheet). thank you for your suggestion!
Your Welcome
very useful as usual! thank you!
I'm glad you found it useful! Your support means a lot to me!
@@prtechtalk416 your tutorials make my work easier, thank you!
Amazing,, very clearly explained.....Video helped me a lot. Thanks...
Awesome! So happy it helped you out! Thanks for checking it out! 😊
Thank you so much.
You're very welcome! I'm glad you enjoyed it!
Thank you Peter. I'm trying with NUCLEO-C031C6 but the program didn't mount the sd card.
Hi Did you format the card with FAT ? /PR TechTalk
@@prtechtalk416 I solved. Since Stm32CubeIDE has not FatFS in Middleware for my board I add it manually and I forgot to init FatFS in main. Thank you.
Awesome job figuring that out! It's always satisfying to troubleshoot and come up with a solution. Keep up the great work!
Hi, but at lower reference voltages the resolution is even higher. why use these 2.048 volts and not for example 1.024 or even lower. what are the limitations?
The problem could be to find a good refvoltage at lower voltage. Your result are hevily dependent on the Ref. /PR TechTalk
Hi how are you? I learnt a lot from you video, I implemented my RTC using a backup register but when I turn off the device the set time doesn't continue it stops at the last read time, any ideas?
If you turn of the MCU then all clocks stop and also the time keeping. You can "only" put is in some lowpowermode that still remain RTC functionality and you find this info in the MCU manual. /PR TEchTalk
Thank you so much! It helps me a lot !
Greate to hear, hope you also hit the Subscribe button :-) /PR TechTalk
pi=3.1415926 correct please you video
Hi, You are correct in your comment that in 11:58 i define pi to a value that is not correct. This error have already been notified by annother viewer Codures. Thanks anyway to point it out. Brgds /PR TechTalk
Hello, what could be the problem? I set everything up exactly the same as you, but the output of the DAC has a minimum voltage. Exactly the same situation when setting without a timer trigger
Hi Rudolf, sorry to hear that you are having issues. But it is hard to say what might be the issue in your case. To answer this one have to review the code and that is something i dont have bandwidht to do. If you need support you can get support on fiverr.com PR TechTalk
Which chip? If G431 - then you must set "Word" size for peripheral in the DMA page. Spent a couple of days for this. Exactly same setup as in the video didn't start at G431
@@dmitryvasiliev8094 да у меня точно такой же мк. я конечно тоже уже нашел решение этой проблемы, но все равно спасибо)
Thank you very much sir 🙏🙏
You are welcome, Hopa you also pushed the Subscribe button :-) /PR TechTalk
Thank you for providing good insights about MCUXA-153. I am a new learner and this gave me a good overview about the development board. Wanna see more about flashing ,creating and buliding own programs.Thank you :)
You're very welcome!, glad to hear it was to some help for you, /PR TechTalk
I think i will get one for myself soon. I hope in your channel we will see more programming from scratch. May be a "c to c++" conversion video of any project from "application hub".
Hi, thanks for your comment. Stay tuned it might be something in the comming videos. (No promise though :-) ) /PR TechTalk
Thank you!
You´re welcome. /PR TechTalk
hello sir your way of keeping code small in callback function is cool but i was thinking when controller return from performing function which should be in callback function, will it continue it working from previous stage where it was interrupted?
Short answer: You are correct. After have served the interrupt it restore the run status as it had when the int accured and just proceed. /PR TechTalk
Not all heroes wear capes...
Absolutely loved your video. Great clarity, slowly (but not too slowly) paced and well structured. Already subscribed and am now watching the follow-up video on semaphores.
Thanks for your kind words and feedback; it is highly appreciated /PR TechTalk
Which ide?
STM32CubeIDE and the integrated part CubeMX for chip configuration, Take a look on my youtubechanned PR TechTalk for full tutorials /PR TechTalk
/.
Сергій Сивохо )))
Hi, i don’t in understand your comment could you give some explanation?
@@prtechtalk416 It's a joke. Only Ukrainians will understand.
congratulations on the video my friend
Thanks
what is the advantage of using word instead of half word for 12 bit adc reading?
Their is no advantage of that. Using 32bit variable to store a 12 bit value then remaining bits are wasted. So to conserve memory its better to declare halfword instead. /PR Tech talk
I found this tutorial really helpful as I'm approaching CubeMX and CubeIDE for the first time. Thank you sir, from an Italian student!
Thanks, Greate to hear that you found it helpful
very good explanation..
Thanks 🙏
Thanks
You as an expert, guide Embedded software developers to Linux environment . .