How can I use SS on SDcard pin with ATMEGA128 ?

Status
Not open for further replies.

bianchi77

Advanced Member level 4
Joined
Jun 11, 2009
Messages
1,313
Helped
21
Reputation
44
Reaction score
20
Trophy points
1,318
Location
California
Visit site
Activity points
9,442
Guys,

How can connect SS pin on SDCard ?
directly connect to SS pin on ATMEGA128 and set ATMEGA128 as SPI master ?

any ideas ?
thanks
 

As you may Know, SS is Slave Select (Chip Select) . If you have just 1 card in the SPI BUS and you want that the SPI BUS for the card always be active, so just connect this pin to GND. but I recommend you that connect this pin to one General Purpose I/O (GPIO) of AVR and force it to Low voltage by software.

https://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…