Skip to main content
Associate III
January 18, 2025
Question

Configure pin as GPIO Input in STM32MP1

  • January 18, 2025
  • 0 replies
  • 410 views

Hi,

On my STm32MP157c-dk2 with openstlinux-eglfs, I configured in device tree (*.dts file) CAN and works .

 

Now I would like to set pin PH11 as GPIO input.... Please help me how sholud looks my *.dts file, and wher in linux userspace I should find file with this GPIO ?

 

Also I can not generate device tree  for GPIO configuration using STM32CubeMX, please look below :

Screenshot from 2025-01-18 16-22-09.png