graycatlabs / PyBBIO

A Python library for Arduino-style hardware IO support on the Beaglebone
https://github.com/graycatlabs/PyBBIO/wiki
MIT License
251 stars 89 forks source link

GPIO resource busy error #104

Open rameshprakash opened 7 years ago

rameshprakash commented 7 years ago

Hi,

I am very interested in high speed toggling of GPIO pins ( ~2.5MHz) to use this as a turn on/off clock Found out this PyBBIO supports it - since it uses the kernel method - to do it

I followed the directions installing the pybbio. I tried the blink.py - it worked flawlessly. As I was interested in finding out the maximum speed - this GPIO could toggle - tried executing the speed_test.py - however this showed the following errors

debian@beaglebone:~/PyBBIO/tests$ sudo python speed_test.py Could not load gpio1_6 overlay, resource busy could not configure pinmux for pin GPIO1_6

Please help me with this

Thanks,