disable SPI? Mega162
2010-08-09 by Jeff Blaine
My SPI is working fine. But I just want to use it for part of a startup routeene. And then disable it so that the MOSI line is available for other uses. I did not see anything in the data sheet preventing this but that blasted MOSI line wants to stay high even after I disable the SPI via setting SPE=0. Wondered if there is some other "trick" to turning the SPI module off. Or maybe it's on until reset, once initalized? I must be overlooking something simple. Seems setting SPE low should disable the SPI. And designating MOSI as an output should reenable it''s use as a standard I/O pin... 73/jeff/ac0c www.ac0c.com [Non-text portions of this message have been removed]