Skip to main content

Questions tagged [gpio]

General Purpose Input/Output (GPIO) is a generic pin on a chip whose behavior (including whether it is an input or output pin) can be controlled (programmed) by the user at run time.

0 votes
1 answer
18 views

STM32G0B0 writing to PD1 affects PD0

Note: Cross-posted to ST-Community Forum I am running into an issue with the STM32G0B0 MCU: Writing to PD1 seems to result in the opposite value being somehow applied to PD0, even though PD0 is set to ...
Lukas Lang's user avatar
0 votes
0 answers
19 views

How to handle multiple interrupts connected on same interrupt line in STM32?

I have created a circuit to use multiple interrupts in STM32H63 microcontroller. e.g. several interrupt sources are conntected to EXTI0 and similarly for others interrupt lines as well. Now, I know ...
Sachin Sharma's user avatar
1 vote
0 answers
40 views

Alder Lake N - ACPI/DSDT - GPIO - Change default value

I purchased an obscure NAS only sold to the Chinese domestic market (Zspace Z4Pro) with a view to using another OS on it since it was intel based. I can boot and run another OS (ESXi/Proxmox/etc) fine ...
Whiterat's user avatar
0 votes
0 answers
25 views

Output mode configuration: When to use push/pull vs open drain? [closed]

Hello guys I'm relatively new to Embedded engineering. I wanted to know if there's any specific rule that experienced embedded engineers use when selecting when to use one of these output ...
tadm123's user avatar
  • 8,698
0 votes
0 answers
24 views

Raspberry pi SPI / Dot Matrix LED with 74hc595n not work

I connect circuit like rasspbery pi - 595 - 595 - matrix. Matrix turned on when i didn't transfer data. However, run this code, it didn't work and turned off. This is my spi library code which use ...
yeochi1201's user avatar
0 votes
0 answers
34 views

Enable GPIO Sysfs interface on yocto mickledore

I'm trying to get my application to run on a new Yocto Mickledore Image I created. My application is failing to interface to the GPIO's and upon some research I found it is because GPIO sysfs ...
tyleax's user avatar
  • 1,674
0 votes
0 answers
42 views

Why do I keep getting a Segmentation Fault from trying to access /dev/mem in ARM64 on the Raspberry Pi 4?

I've been working at this program for months, and I've fixed many errors, errors with alignment, other segmentation faults, and I've gotten down to this one, where it throws a segmentation fault when ...
Linklordofgaming 's user avatar
0 votes
1 answer
34 views

Looking for library supporting hardware PWM on RPi3 (not using sysfs)

I wrote years ago a short c program for a Raspberry Pi (RPi3) using the pigpio library to send an infrared signal to a heating system. Still in use. The carrier frequency is 450 kHz, i.e., pretty fast ...
Al_'s user avatar
  • 73
0 votes
0 answers
14 views

GPIO pin usage in Odroid M1, Ver : Android 11

I am developing an app using Odroid M1, android version 11. I want to configure the GPIO pins for application specific usage. I tried AndroidThings, unable to succeed. I checked the dependencies are ...
Manas R Biswal's user avatar
0 votes
0 answers
47 views

gpio sysfs interface initialize pin high voltage

I am facing stupid problem. LED is on when pin is low. I need to get the pin as output with level high (LED physically turned off). If I export and set direction to out, LED gets on, and value is ...
Anonymous's user avatar
  • 629
-1 votes
0 answers
36 views

Changing output GPIO line value based on input GPIO line

We have configured two GPIOs, one as a input GPIO and other as output GPIO. We need to change the GPIO output pin value when the input GPIO value changed. Can you suggest the ways to achieve this.
user3693586's user avatar
  • 1,265
2 votes
0 answers
48 views

Can't control servo with Python using Raspberry Pi

I am using a Raspberry Pi model 4B and a Tower Pro servo SG51R which only turns 180 degrees. I am writing code on the Raspberry Pi to control the servo (which works as I have tested it with my Arduino ...
realhuman's user avatar
  • 195
0 votes
0 answers
59 views

Need help to setup rtc-ds1302 in device tree on RaspberryPi

I need to wire a RTC DS1302 on a RaspberryPi 1B running Raspberry Pi OS Bullseye. I can make it work from user space and bitbanging the gpio, and update the OS clock accordingly during boot. However, ...
Pliskin's user avatar
0 votes
1 answer
47 views

How to obtain gpio number for irq number defined in the device tree

irq_to_gpio() is being removed and should not be available anymore. Device tree: interrupts = <GIC_SPI 14 IRQ_TYPE_EDGE_BOTH>; The IRQ number assigned by the platform is 56. Is there any valid ...
Anonymous's user avatar
  • 629
1 vote
0 answers
35 views

Raspberry Pi 3, 4 work fine with Blinkt led lights, but same software does not work with Pi 5

I have a Docker container that will display the CPU load for the Kubernetes cluster on the blinkt LED if they are present for that node. It works fine on a Pi 3B and 4 but I just got some Pi 5's and ...
techguy993's user avatar

15 30 50 per page
1
2 3 4 5
122