Question: switching alternate pin functions in bcm2835

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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ß,
-- 
Stephan




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux