Qt for MCUs, how to control hardware, such as using MCU GPIO interface, USART, ADC, etc.
-
@IBO_GO said in Qt for MCUs, how to control hardware, such as using MCU GPIO interface, USART, ADC, etc.:
HAL
Is it Android based OS?
Or what is this HAL exactly? -
@jsulm said in Qt for MCUs, how to control hardware, such as using MCU GPIO interface, USART, ADC, etc.:
@IBO_GO said in Qt for MCUs, how to control hardware, such as using MCU GPIO interface, USART, ADC, etc.:
HAL
Is it Android based OS?
Or what is this HAL exactly?Usually it stands for Hardware Abstraction Layer. Generally a set of libraries that you can use to interact with lower level components without having to learn each processor/micro-controller specifics.
-
@jsulm said in Qt for MCUs, how to control hardware, such as using MCU GPIO interface, USART, ADC, etc.:
@SGaist Yes, I know. I know Android uses such HALs, that's why I asked.
My bad ! I misunderstood your question 😅
-
@jsulm I didn't make myself clear. I used the STM32F769 microcontroller, embedded microcontrollers can often use HAL(Hardware abstraction layer) to simplify the code, or use the standard library, to write programs. The problem is that I have heard that STM32F769I-DISCO can directly use Qt for MCUs to create a user interface, I have implemented it, but I do not know how to add hardware control on the basis of Qt for MCUs.
-
@JoeCFD Thank you for your answer, but that doesn't answer my question. My problem is that I don't know how to use Qt for MCUs and control the hardware through the API as easily as writing code in MDK. The control here is that the microcontroller using Qt for MCUs controls its own peripherals, rather than controlling other external devices.
-
@JoeCFD Because it doesn't make any engineering sense to create an interface using Qt for MCUs alone, it only makes sense to generate a graphical interface that is compatible with microcontroller code like LVGL and TouchGFX. Unfortunately, until now I have not been able to find an official Qt example.
-
-