Quantcast
Viewing all articles
Browse latest Browse all 5180

Troubleshooting • Re: Raspberry Pi pin not toggling regularly (Zero 2W)

I had turned ON all of the features in the "Raspberry Pi Configuration", Interfaces. Including 1-Wire.

After turning OFF the 1-Wire interface, everything works.

[ ... ]

Could you please explain to me why is this happening?


In general terms: You handed over control of GPIO4 to the Operating System for use as a 1-Wire interface. So you no longer have exclusive control over the behaviour of that Pin. So you should not be surprised by changes to its state that occur asynchronously with your own attempts to control it.
I agree, but I also enabled I2C and SPI buses (these ones I actually need). By this definition, I should also have problems on these pins likewise.

This is definitely a hidden problem.

Statistics: Posted by ajevtic — Sun May 05, 2024 3:14 pm



Viewing all articles
Browse latest Browse all 5180

Trending Articles