Question: switching alternate pin functions in bcm2835
Moin,
is it appropriate to ask user questions here?
On a Raspberry Pi 2B, I connected the UART pins among others to an ATtiny µC to use avrdude in linuxgpio bit-banging mode to flash the program, and then use the same pins to talk to the ATtiny via /dev/ttyAMA0. After a reboot I can use the serial port. After using gpio on those pins, the serial link does not receive anything. There are not errors opening, writing, or reading /dev/ttyAMA0. Just no answer.
Is there a way (sysfs, ioclt, …) to reconnect the pins to the UART without a reboot?
Thanks!
Gruß,
Signature · 1 line
Stephan