GPIO写故障:Possible failure?
Posted: 2025-11-03 2:59
在使用GPIO作为SPI的NSS信号过程中,GPIO需要快速的改变状态,使用标准GPIO库函数出现下列故障提升:Possible failure in int write 0 to /sys/class/gpio/gpio48/value。该故障不定期出现,读写100次可能出现2-3次,出现故障后对GPIO进行retry没有效果,如何修复?
A short text to describe your forum
http://forums.luckfox.com/
Code: Select all
# GPIO1_C0 C0=8*2+1=16 GPIO_MODE=0
iomux 1 16 0