Disabling/enabling SPI while programming an AVR - Raspberry Pi Forums


i've got avr based board talking raspberry pi. it's hooked serial pins spi idea pi talk of peripherals on board. working fine until enabled spi on pi - @ point couldn't program avr unless unplugged it.

assume because when spi-bcm2708 module loaded it's putting pi master mode or , it's interfering spi lines. thought unload module before programming, didn't seem work:

code: select all

sudo modprobe -r spi-bcm2708 # flash avr here sudo modprobe spi-bcm2708
missing obvious? clear it's fine if disable module in raspi-config , disable loading on boot, doesn't seem if it's been loaded during boot , unload it.

thanks!



raspberrypi



Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support