79 views
in System Integration by
Hi everyone,

I'm working on a project using the STM32MP157F-DK2 board and I need to access GPIO and handle data communications through my application developed with Embedded Wizard. I have successfully installed and run the GUI using the guidelines provided in this https://doc.embedded-wizard.de/getting-started-stm32mp1-opengl-drm.

However, I'm not sure how to access the GPIO and manage data communication through my application. I've noticed that other boards, such as the STM32H747-Discovery, come with the HAL library for these purposes, but I haven't found similar support for my STM32MP157F-DK2 board.

Could someone please guide me on how to access GPIO and handle data communications on the STM32MP57F-DK2 using Embedded Wizard? Are there any specific libraries or APIs that I need to integrate, or any particular steps that I should follow?

Thank you in advance for your help!

1 Answer

0 votes
by

Hello,
please have a look to How to control a GPIO in userspace or GPIOLib overview.

Furthermore, you shouldn't access to GPIO pins from Embedded Wizard GUI code directly. 
Instead, there should be some abstract interface between the Embedded Wizard GUI and your hardware (e. g. Interface MotorControl with functions like MotorCtrlOnOff(), MotorCtrlSetSpeet(), ...).

For some more information regarding hardware device integration to an Embedded Wizard GUI please also have a look to the Embedded Wizard documentations Integrating with the device and Implementing a Device Interface and also to the example 'DeviceIntegration', contained in the Embedded Wizard BuildEnvironment.

Regards,
Martin

by
Thank you for your support...!

Embedded Wizard Website | Privacy Policy | Imprint

...