Тёмный
No video :(

Touch GFX #5. How to Send UART data to GUI || Sample from Interrupt 

ControllersTech
Подписаться 40 тыс.
Просмотров 9 тыс.
50% 1

Purchase the Products shown in this video from :: controllerstec...
________________________________________________________________________________________
Check out more TouchGFX videos :: • TouchGFX
Download the project from :: controllerstec...
________________________________________________________________________________________
****** SUPPORT US BY DONATING*****
paypal.me/cont...
******Join the Membership******
/ @controllerstech
Join the Discord Server / discord
Join the Telegram Group t.me/controlle...
Follow me on Instagram / controllerstech
For more info, visit www.controller...

Опубликовано:

 

23 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@rachidtigua7328
@rachidtigua7328 Месяц назад
I don’t understand why you are using uartData_q->Data without initialization of pointer uartData_q (null pointer) 5:49
@Aleexc2000
@Aleexc2000 Год назад
Would you make one video about the OTA, Over The Air programming for STM32 wireless MCU?
@user-tl1ku7hm4q
@user-tl1ku7hm4q Год назад
Hello , great work one question , i have a project with multiple screens and each screen receives specific data over UART , i tried to implement the same structure of this project on mine and i have issues with the model.cpp ,,, any idea or help on this
@cherniyosri8669
@cherniyosri8669 Год назад
hello and thanks for the video I'm currently working on multiple screen project... actually 17 screen, each screen receives specific data from uart and displays it , I'm having an issue with modelListener,, when i use the instance to call a specific function in the model::tick, it tells me that the function is undefined in the other screens!! which is what i want! please I've been stuck here for almost two weeks and this is my final year project, i would be grateful for any help ',!
@LunaNLR
@LunaNLR Год назад
In the ModelListener.h, declare the function as "virtual void uart_Data (char *data) {}" (notice the change of ; to {}). This way the default implementation will be empty and not undefined.
@cherniyosri8669
@cherniyosri8669 Год назад
@@LunaNLR thanks for the reply! i tried that as first solution but then data won't display on any screen, but as an update i tried something esle and it eventually worked, i define the function as void in the screenpresenter.h of the screen that i won't need the data to be displayed in! yet i don't know if it makes sense or not!
@SimonKas112
@SimonKas112 Год назад
I tried this with the Riverdi display, but I always get into HardFault Handler after leaving the line modelListener->uart_Data (RData); There's an ErrorMessage: No source available for "touchgfx::HAL::tick() at 0x8021dce"... Found no way to fix this, maybe someone has got an idea?
@ControllersTech
@ControllersTech Год назад
seems like a lot of people are getting issues with the Riverdi. I will make 2 3 more videos with the display, so that you guys can get an idea of how to make it work.
@SimonKas112
@SimonKas112 Год назад
Thank you very much!!!
@user-ci4fz9co3b
@user-ci4fz9co3b Месяц назад
I also had the same problem. There is some kind of problem with pointers to the uartData_t structure. Instead of pointers, I used the structure itself as an object, and everything became OK! I'm sorry for the poor translation, I don't speak English.
@bedirhankoksoy993
@bedirhankoksoy993 8 месяцев назад
Hi, I am using STM32H735-DK Kit. I configured the touchGFX settings and I generated the code. But when I was open the STM32CubeIde, I didn't see the auto UART configuration. So I wonder why I didn't see the auto UART config. Do you have any solution for this?
@ControllersTech
@ControllersTech 8 месяцев назад
What is auto uart config ?
@bedirhankoksoy993
@bedirhankoksoy993 8 месяцев назад
@@ControllersTech I mean, in the 02:37 minutes of the video you said UART already selected. But when I tried with the STM32H735-DK Kit it's not selected.
@ControllersTech
@ControllersTech 8 месяцев назад
What's the big issue ? You can select it manually. Different boards may enable / disable additional things, it depends on the script ST wrote for the partiular board.
@Karthikm-hv5ob
@Karthikm-hv5ob Год назад
How to view printf output on display?
@saeedomidvari6885
@saeedomidvari6885 Год назад
I have this error in IAR! Error[Li005]: no definition for "Virtual function table for ModelListener" [referenced from ...\Obj\TouchGFX\gui\screen1_screen\Screen1Presenter.o]
@ControllersTech
@ControllersTech Год назад
Remove the word virtual from the function you defined in thr modellistener. And define it as an empty function. Void function (arg) {}
@sopandhaye2327
@sopandhaye2327 7 месяцев назад
hello sir I have same board i want to send data through GUI to modbus RTU(rs485) and received on GUI my modbus communication with slave is successfull but i want to print the received data on display and i am trying to add bodbus_CRC file in the project but there is no core with Inc and Src file to add it help me on this
@ControllersTech
@ControllersTech 7 месяцев назад
Its in the main project folder, not inside the cubeide folders.
@amorftor
@amorftor Год назад
strncpy(RData, uartData_r->Data, uartData_r->size); modelListener->uart_Data(RData); is says cannot convert 'int*' to 'const char*' but my all codes same as you what can i do
@ControllersTech
@ControllersTech Год назад
Check your uartData_r structure. I guess you have defined “Data” as an integer array instead of character array
@rafaldrzewiecki3056
@rafaldrzewiecki3056 3 месяца назад
Riverdi with Stm32Cube is isnt compatibile, when use cube later TouchGfx not working. This display is expensive and support is like children. Not helped
@ControllersTech
@ControllersTech 3 месяца назад
Riverdi STM32U5 is fully compatible with regeneration from STM32cube. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-lhjI2T527Eo.htmlsi=MR7T5Brh0R1PaFvq
@lehuythanh3882
@lehuythanh3882 3 дня назад
I got the error as follow: C:/TouchGFXProjects/SendUARTtoGUI/TouchGFX/gui/src/model/Model.cpp:25:34: error: 'RData' was not declared in this scope 25 | strncpy (RData, uartData_r->Data, uartData_r->size); | ^~~~~ make: *** [Application/User/gui/subdir.mk:30: Application/User/gui/Model.o] Error 1 "make -j6 all" terminated with exit code 2. Build might be incomplete.
Далее
УГАДАЙ ЕДУ ПО ЭМОДЗИ! #shorts
00:57
Просмотров 130 тыс.
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Просмотров 8 млн
skibidi toilet multiverse 041
06:01
Просмотров 2,8 млн
Х.евая доставка 😂
00:23
Просмотров 640 тыс.
Using Serial.read() with Arduino | Part 1
10:30
Просмотров 132 тыс.
STM32 MODBUS RTU SLAVE
57:38
Просмотров 3,6 тыс.
I Made 200 Python Projects...Here Are My 5 FAVORITES
11:23
How to set up TouchGFX with SPI Displays || ILI9341
20:33
Modern Graphical User Interfaces in Python
11:12
Просмотров 1,5 млн
УГАДАЙ ЕДУ ПО ЭМОДЗИ! #shorts
00:57
Просмотров 130 тыс.