Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

ATMega128 SPI

2004-02-05 by harshit suri

Hello

From the manual of ATMEGA128 i gather that general
purpose IO can be used as as SS (Slave Select pin). 

I only see one dedicated SS pin = pin 10 (PB0) in the
data sheet. 

--How does the SPI module know which are the other SS
Pins that i have connected as SS to the slaves?

--So does this mean that the CPU has to be involved in
a multi slave situation. as it shall have to pull the
SS for the slaves low ? 

--How many slaves can i connect to a single Atmega128?

--What is the maximum bit rate of communication
assuming that i am using a 16Mhz Xtal?

Thankyou


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.