John, Never mind it. I made a stupid mistake on the #define - had the wrong blasted pin. Thanks - our suggestion was not the answer - but it helped push my head to the answer and I'm most grateful for it. 73/jeff/ac0c www.ac0c.com From: Jeff Blaine Sent: Sunday, August 08, 2010 10:16 PM To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] disable SPI? Mega162 John, Sorry, I don't quite follow your meaning???? do you mean the pins on the SPI port are always dedicated to the SPI function? Or, is it that even when SPI is enabled, you can always directly write to those pins and affect their state (until an SPI operation reverses them, that is...)? Thanks! 73/jeff/ac0c www.ac0c.com From: John Samperi Sent: Sunday, August 08, 2010 9:44 PM To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] disable SPI? Mega162 At 12:41 PM 9/08/2010, you wrote: >then disable it so that the MOSI line is available for other uses. The SPI, all pins, is ALWAYS available regardless. Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA Tel. (02) 9674-6495 Fax (02) 9674-8745 Website http://www.ampertronics.com.au *Electronic Design * Custom Products * Contract Assembly ******************************************************** [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]
Message
Re: [AVR-Chat] disable SPI? Mega162
2010-08-09 by Jeff Blaine
Attachments
- No local attachments were found for this message.