Тёмный
EE by Karl
EE by Karl
EE by Karl
Подписаться
This channel is about working with mostly STM32CubeIDE, TouchGFX and ST's development kits.

But I've been using other companies development kits lately. Due to my work I've been using dev kits from TI, Xilinx and Atmel ATtiny. So one day when I get a chance, I'll try and make a video on those kits.


Kits that I have
* ST *
B-L475E-IOT01A
B-U585I-IO02A
SensorTile.box
STEVAL-PROTEUS1
STM32F072B-DISCO
STM32L0538-DISCO
STM32F407G-DISCO amzn.to/404rich
STM32F429I-DISCO
STM32F429I-DISC1 amzn.to/3Qg74Ia
STM32F746G-DISCO
STM32F769I-DISCO
STM32H747I-DISCO
STM32H750B-DK
STM32MP157C-DK2
NUCLEO-C031C6
NUCLEO-F072RB
NUCLEO-F302R8 amzn.to/3s22hli
NUCLEO-F334R8
NUCLEO-G431KB
NUCLEO-G431RB
NUCLEO-L432KC amzn.to/3Q9ioWh
NUCLEO-H563ZI
NUCLEO-H723ZG
P-NUCLEO-LRWAN3

* Microchip * Explorer 16/32
dsPIC33CH512MP508 PIM

* TI *
EK-TM4C123GXL
EK-TM4C1294XL

* Digilent - Xilinx*
ARTY Artix-7 35T

*Renesas*
EK-RA6M4

Комментарии
@ichGluck
@ichGluck Месяц назад
огонь!
@WHAJONNALAGADDAHEMASREE
@WHAJONNALAGADDAHEMASREE Месяц назад
can this be used for STM32H747I - DISCO as well?
@YAKITEMiguel
@YAKITEMiguel Месяц назад
Hello, thank you for this tuto but i want to know if it´s possible to interface a SmartEmbedded screen with an toshiba inverter and read out the inverter frequency on the screen by using RS485 wire with Stm32cubeIde and TouchGFX ?
@uguraltunbilek
@uguraltunbilek Месяц назад
thanx for this beatifuly share
@khanghoangvan7407
@khanghoangvan7407 Месяц назад
i hope you know how this means to me. Thank you so much.
@WaelBenHarzalla
@WaelBenHarzalla 3 месяца назад
you saved me man may god bless you
@onslakhal4594
@onslakhal4594 2 месяца назад
Did u find prob with #include "PollingRoutine.h"
@jeronymjuran6617
@jeronymjuran6617 3 месяца назад
Hello, how did you make the buttons and text background blue? The image assets are grey. Thank you
@IsaMohammadi-xf7fe
@IsaMohammadi-xf7fe 3 месяца назад
Hi, thank you very much for your tutorial. Could it be possible to have the source code?
@jdjenzano6660
@jdjenzano6660 3 месяца назад
Used this to test Smart Riverdi Display 50STM32U5A9 RS232 - Arduino RS232 shield to expansion port P4-USART1_TX-D1- PG9 -P4-25 AND USART1_RX-D0- PG10 -P4-27 Used TouchGFX v4.23.2, STMCubeMX v6.11.0, X-CUBE-FREERTOS STM32H5/U5/WBA/C0 v1.2.0 and STMCubeIDE v1.5.0 The code had to be updated to use "cmsis_os2.h" and of course all the other STM update improvements? Works with some work! The basic Path “Simple” explanation of what it takes to use TouchGFX is good best I have seen so far.
@DjordjeKostic
@DjordjeKostic 5 месяцев назад
Hi, great video, by the way, in TouchGFX Designer, there are 3 buttons. Generate code, build (window pops up to test) and build & run. When you finish designing, you just need to click the build & run, and the code is automatically flashed to the board. No need for this complicated stuff. If I understanded this right, this is the same you did. Regards.
@EEbyKarl
@EEbyKarl 5 месяцев назад
Yes i know you can program the development directly from TouchGFX. But then how do you set up UART, PWM, ADC, I2C from TouchGFX? How do you run the debugger from TouchGFX?
@user-tw9wm3hi9h
@user-tw9wm3hi9h 8 месяцев назад
Hello. I would like to ask a question. How is that LCD fixed to the pcb? I checked the PCB file provided by STM, but I have no idea how it is fixed. I would appreciate it if you could tell me in detail how it is fixed to the PCB.
@EEbyKarl
@EEbyKarl 8 месяцев назад
With VHB?
@MultiPowerAid
@MultiPowerAid 9 месяцев назад
Hey, in terms of osSemaphoreRelease(...Handle) function, I understand that this functionality lock/unlock code access of the exectuted thread so that other threads do not have a potential acess to the updating value (of the ADC in this case). So this works like mutexes in terms of lock/unlock for pthread_create() in RTOS, am I understanding the use of osSemaphoreRelease in this sense, correctly?
@amorftor
@amorftor Год назад
Hello carl, xSemaphoreGive function not avalible in cmsis_os2. What can i do about it
@EEbyKarl
@EEbyKarl Год назад
use osSemaphoreRelease and osSemaphoreAcquire
@fernandoprudencio5521
@fernandoprudencio5521 Год назад
Dear Mr. Karl First of all, congratulations for you tutorial and to share with us. Dear Karl in my project if I enable freeRTOS, the programs stops working and the display turn off.How can I send data from touchGFX (GUI) to main task (MCU) wthouy freeertos.Could you please send an example. Thanks best regards.
@mohaarhly2950
@mohaarhly2950 Год назад
please help, i want to go back to the factory condition on this board. After i debug it with stm32cube i can only see a white screen. I used a binary factory but the touch screen not responsive ther was a game in factory condition and now nothing work. Please help
@alvisyah3126
@alvisyah3126 Год назад
Can you send all the link such as the library please
@Chang-cy1lp
@Chang-cy1lp Год назад
Hi Karl, I am using STM32F469I-DISCO (DK32F469I$AU1), TouchGFX is version 4.21.1. My app is just a box with a button on it. Code generation and flashing onto the board show no error in TouchGFX, so is building app in STM32CubeIDE (with firmware version FW_F4 V1.27.1) but it just gives blank screen. Tried a few examples and demos on the board too, none worked. I have another made in China board, i can created TouchGFX app and runs fine, but this STMF469I-DISCO just drives me nuts, just could not get it run even a simple app. Any clue ?
@embedded_eng
@embedded_eng 9 месяцев назад
Almost 6 months later, I have exactly the same error and it seems Stm32Ide is resulting for this bug and it is buggy anyway.
@amalbabu9361
@amalbabu9361 Год назад
Hi i am getting error like this when i debug the project....Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_sd.c:459:35: error: unknown type name 'SD_HandleTypeDef'; did you mean 'TIM_HandleTypeDef'? can you please help me with this
@EEbyKarl
@EEbyKarl Год назад
Leave some comments if you found this tutorial helpful and what you use the timercallback for
@casualnoises2808
@casualnoises2808 Год назад
Great tutorial Karl!!! It got me started on my discovery board real fast, thank you!!!
@EEbyKarl
@EEbyKarl Год назад
You're welcome! Glad the video helped you out.
@Red_Fang.
@Red_Fang. Год назад
excuse me, for this video how to make long press button using timer ? thank you
@EEbyKarl
@EEbyKarl Год назад
Long press to do what?
@Red_Fang.
@Red_Fang. Год назад
@@EEbyKarl well, like shut down system, or when you're going to turn on/off the LED for the simple application
@EEbyKarl
@EEbyKarl Год назад
@@Red_Fang. well instead of debouncing for 20ms you can do 2000ms which is 2 seconds which will call your shut down function TimerCallbackTimerStart(&timerCallback, ShutDownFunction, 2000, TIMER_NO_REPEAT);// one shot
@edwin7543
@edwin7543 Год назад
Hi, thanks for sharing touchGFX tutorial , I am new to touchgfx, and trying to display float value on TextArea , using following code is working w/o problem. Unicode::snprintf(textArea2Buffer, TEXTAREA1_SIZE, "%d", gTvalue); textArea2.invalidate(); But if I change with floating Unicode::snprintf(textArea4Buffer, TEXTAREA4_SIZE, "%3.1f", gTvalue); I get text -- %3.1f is there anything setting I missing? please advics, thank you.
@EEbyKarl
@EEbyKarl Год назад
Try using snprintfloat. support.touchgfx.com/4.20/docs/api/classes/classtouchgfx_1_1_unicode
@Pellemolle
@Pellemolle Год назад
Wow, thank you! Been struggling with this for a long time and you solved it for me! 🙏 ST's documentation leaves a bit to be desired.
@EEbyKarl
@EEbyKarl Год назад
You're welcome!
@Bob-Is-A-PotterNow
@Bob-Is-A-PotterNow Год назад
I ran across a note in the STM community "rename STM32CubeIDE project". It seems the process is much simplified. All that needs be done is to open the .project file and on the first line correct the default name supplied by touchgfx designer (which is the board name). Then when importing the project into the STM32Cube-IDE it will be named appropriately AND there won't be a conflict with the board name attached to the ioc file.
@EEbyKarl
@EEbyKarl Год назад
You're partly correct that you only need to rename the one line. But you can't add the IOC file to the project tree without renaming it to the same name as the project. CubeIDE won't open it because it's not the same name as the project. But I did stumble on an easier way to add the IOC file to the project tree and to rename it. Then I realized that it fixes the issue with TouchGFX not finding the board name unless you rename the text as the project name in the .gfx files. But with your insight it helped me find an easier solution😀. I will have to replace this video soon.
@Bob-Is-A-PotterNow
@Bob-Is-A-PotterNow Год назад
@@EEbyKarl Love your videos! For such a noob as myself, they are very useful and informative. As to the naming of the *.ioc file, yep, after posting my original comment I ran across that. It seems ST's product dev teams, as good as they obviously are, could do a bit better job of communicating how the various apps should communicate and interact. It feels like they are SOOO close to having a fairly seamless integration between the gfx design and the Cube-IDE code & compile aspects of development. Distantly related to all the preceeding: I ran across a new channel (STM32 Research) with only a single video so far (posted about 4 months ago). What I found very, very useful was his approach to using the F429i disc1 board and adding a new (2nd) OLED ssd1306 display by hand. First starting the project as if it's a bare mcu (not a board version), configuring the pins for spi, then adding touchgfx to the project and showing the manual edits to get the display up. I found his workflow very straightforward. I need to try his approach to see if it finally gets me to a nice, orderly and repeatable approach to developing some apps for my own use. Please keep publishing! Your information is so very useful!!!🤩
@user-np8ks8wk5j
@user-np8ks8wk5j Год назад
thank u so much!! :D
@EEbyKarl
@EEbyKarl Год назад
You're welcome!
@RanjeetSingh-jx2qx
@RanjeetSingh-jx2qx Год назад
hello sir,touch not working in stm32 after reset,how i can solve this issue ?
@EEbyKarl
@EEbyKarl Год назад
I have no idea. I never had a situation where the touch screen didn't work so I've never had to troubleshoot something that's not broken
@RanjeetSingh-jx2qx
@RanjeetSingh-jx2qx Год назад
@@EEbyKarl ok,i will make a video and then share with you,can you also make a video in which after reset it will work ?
@madGambol
@madGambol Год назад
The very first operation is to select something from TouchGFX Designer -- how is that installed?
@mehmetakifcokren8263
@mehmetakifcokren8263 Год назад
Thx Karl ! It works good. I am using TouchGFX 4.20.0 and STM32CubeIDE 1.10.1. But ioc file doesnt create or linked. So i added link code to .project file then when i created project, it linked a ioc file.
@svvelanautica2374
@svvelanautica2374 Год назад
Hello, I like your STM videos! May you eventually do an updated one where you install some GFX example? Thanks
@NoBody-bm9if
@NoBody-bm9if Год назад
Has anybody an idea on how to implement hw button control for the keygoard? I am currently stuck on integrating it on a non touch screen.
@colletteanderson4566
@colletteanderson4566 Год назад
Thanks Karl!!!
@KarlYamashita
@KarlYamashita Год назад
You're welcome!
@maikengelbrecht8259
@maikengelbrecht8259 Год назад
Can you Debuging with VSCode? Can you MAKE A VIDEO 😊
@randomtuber5358
@randomtuber5358 Год назад
Nice video.I followed your video for stm32f469i disco but it doesn't work.I tried many times but the screen remain black.can you make a video for stm32f469i disco.thanks in advance
@luisdc1855
@luisdc1855 Год назад
Did you manage to solve your problem? I've been looking for a solution for hours but can't find anything
@user-gc2do4kz3m
@user-gc2do4kz3m Год назад
stm32F429 ?? stm32F469?
@knightrousoxide
@knightrousoxide Год назад
The video is titled STM32F469I-DISCO but you go on to do everything on a STM32F429I-DISCO. Is this on purpose and the advise universal for the DISCO boards or an error?
@EEbyKarl
@EEbyKarl Год назад
Sorry, I accidently titled it wrong and even said the wrong part # in the video.
@TheKoba30
@TheKoba30 Год назад
Great have you back.
@mursalaboobacker3593
@mursalaboobacker3593 Год назад
Waiting for feature videos on touchgfx
@mursalaboobacker3593
@mursalaboobacker3593 Год назад
Good video sir
@lucadebs7872
@lucadebs7872 Год назад
I am using the STM32F429I In some of the files that you have modified, in addition to having 'STM32F429I-DISCO' I also have the following: "STM32F429I_DISCO_REV_E01" Should I replace this as well?
@lucadebs7872
@lucadebs7872 Год назад
I cannot see the .ioc file generated when I import THE existing project into Workspace (as you did at 4:37)
@denishnatiuk921
@denishnatiuk921 Год назад
"You have a bad pixel on your screen" 🤣😂
@EEbyKarl
@EEbyKarl Год назад
Haha! Good comeback. 😆
@TheKoba30
@TheKoba30 2 года назад
Good day, great video, Does anybody knows why the .ioc file is not imported? is there some procedure during installation of STM cube ide or touchGFX ?
@khaledsaleh664
@khaledsaleh664 2 года назад
I compiled the github project with errors such as /Middlewares/ST/touchgfx_backup/framework/source/platform/hal/simulator/sdl2/HALSDL2.cpp:18:10: fatal error: SDL2/SDL.h: No such file or directory. Please advise
@yahyaaouledamer1466
@yahyaaouledamer1466 2 года назад
For me, it only worked when I copied also "TouchGFXJAL.hpp and TouchGFXJAL.cpp"
@rajdeeproychowdhury7301
@rajdeeproychowdhury7301 2 года назад
Is it same process on STM32F469I-DISCO Board...Can i follow that steps on my DISCO board. please reply me...If any video you have then link send me please...
@korhanefe40
@korhanefe40 2 года назад
The great shepherd has given me a great deal. Thank you. Biji Karl in the Kurdish language
@mursalaboobacker3593
@mursalaboobacker3593 2 года назад
when you are post the next parts, i waiting for thats one
@BJH-fm1pf
@BJH-fm1pf 2 года назад
Karl, as many pointed out, the content is great but the background music is annoying and it's even louder than your voice. Great job explaining the hardware GUI interface.
@EEbyKarl
@EEbyKarl 2 года назад
The music is playing in the background recorded at the same time when I'm talking. I didn't add it in post so it can't be removed.
@ugurcanusta7005
@ugurcanusta7005 2 года назад
is there any way to do same thing with but with NO OS?
@EEbyKarl
@EEbyKarl 2 года назад
If you're talking about FreeRTOS then no. The TouchGFX engineers built their graphics firmware around FreeRTOS.