SD/MMC Prototype Adapter

SD/MMC Prototype Adapter
SD/MMC Prototype
Adapter
User Manual
Manual Revision 1.1 – April 21, 2008
Cloud-9
12
Cloud-9
3749 County Road 30
Delano, MN 55328
Telephone 763.972.3261
www.cloud9tech.com
Cloud-9
Cloud-9
3749 County Road 30
Delano, MN 55328
Telephone 763.972.3261
www.cloud9tech.com
SD/MMC Prototype Adapter
© 2008 Cloud-9
All Rights Reserved
All portions of this hardware are copyright and are the
proprietary and trade secret information of Cloud-9. Use,
reproduction or publication of any portion of this material
without the prior written authorization of Cloud-9 is strictly
prohibited.
**********Note - This page intentionally left blank. **********
SD/MMC Prototype Adapter User Manual
© 2008 Cloud-9
All Rights Reserved
Reproduction or use of any portion of this manual, without
express written permission from Cloud-9 is prohibited.
While reasonable efforts have been made in the preparation
of this manual to assure its accuracy, Cloud-9 does not
assume liability resulting from any errors in or omissions
from this manual, or from the use of the information
contained herein.
2
11
Table Of Contents
SD/MMC Prototype ...............................................................1
1.
2.
3.
Congratulations! .............................................................4
Features ..................................................................4
Getting Started ...............................................................5
The SD/MMC Card ..................................................7
If Problems Arise............................................................8
**********Note - This page intentionally left blank. **********
10
3
1. Congratulations!
Thank you for purchasing the SD/MMC Prototype Adapter,
another one of the fine products offered by Cloud-9. This
product was designed to be used with the Atmel STK500¹.
SD/MMC is a popular standard media for storage of digital
information, and is widely used in digital cameras and MP3
players. Such wide usage has made the market for
SD/MMC cards plentiful and inexpensive. With this adapter,
you can now bring the advantage of popular and
inexpensive storage to your computer.
The SD/MMC Adapter comes with a 10 pin female IDC
cable and is meant to be mated directly to the STK500's
PortB connector. The jumper field allows the use of devices
that have their SPI ports on different pins. Atmel has these
in two different classes. Devices that reside on the STK500
board, for example, ATmega16/32/164/324/644/8515.
**********Note - This page intentionally left blank. **********
Features
•
•
•
•
SD/MMC slot
Mates directly to the STK500/501 connector.
Card Detect and Write Protect status lines.
Jumper fields to easily select proper SPI port on the
Atmel Atmega series AVRs.
¹ All rights reserved. Atmel®, logo and combinations thereof, Everywhere You Are®,
AVR®, and others, are the registered trademarks or trademarks of Atmel Corporation or
its subsidiaries.
4
9
3. If Problems Arise
Although our products are engineered with quality and care,
Cloud-9 can not guarantee that you won’t run into problems.
If you have a problem or question, please contact us via the
Internet at [email protected] You can also visit our
website at http://www.cloud9tech.com for up-to-date
information on your product.
2. Getting Started
Installation of the SD/MMC Adapter to the STK500/501 is
easy, but be sure to follow the steps below to insure proper
operation.
1. Verify which device is to be used. Locate the jumper
field labeled J3, J4 and J5 on the adapter. Per the following
table, select the proper SPI PortB assignment.
SD/MMC
Pin 1, CS~, Jumper 1
Pin 2, MOSI, Jumper 2
Pin 3, GND
Pin 4, VDD
Pin 5, SCK, Jumper 3
Pin 6, GND
Pin 7, MISO, Jumper 4
Pin 8, DAT1, Jumper 5
Pin 9, DAT2, Jumper 6
Pin 10, CD~, Jumper 7
Pin 11, WP, Jumper 8
STK500 Device
PB.4
PB.5
GND
VTG
PB.7
GND
PB.6
PB.2
PB.3
STK501 Device
PB.0
PB.2
GND
VTG
PB.1
GND
PB.3
PB.6
PB.7
To select the STK500 device type, Install jumpers from J3 to
J4.
To select the STK501 device type, Install jumpers from J4 to
J5.
Please note that all part references on the printed circuit
board (PCB) are on the pin 1 end. The board is shipped
configured with STK500 support. Jumpers 5 & 6 are typically
not connected.
8
5
2. Connect the Adapter. Attach one end of the supplied
IDC10 ribbon cable to the adapter. Please note pin1
orientation. Place the red stripe of cable to Jx reference side
of the circuit board. Pin1 is also noted on the bottom side of
the PCB with a square. Reference name J2 indicates pin
one end of the connector.
3. Connect to STK50x. Locate PORTB on the STK500's
board. Observing pin 1's orenitation, insert 10 pin IDC into
connector so that red stripe is on the pin 1 side of PORTB. If
a software SPI approach is taken then you will have to
configure the card to your design. Please note that a
SD/MMC's normal operating voltage is 2.4 to 3.6vDC.
Please adjust the VTG setting to comply to the SD/MMC
voltage operating range before inserting the SD/MMC
device.
The SD/MMC Card
While it is impossible to test every possible SD/MMC
card for compatibility, we are virtually certain that any
standard SD/MMC card will work with the adapter.
SD/MMC is hot-swappable.
To use the adapter card, with either power applied or not,
place the SD into the socket slot. The socket is keyed to the
SD/MMC so that it can only be inserted one way.
That’s it! Your SD/MMC device is ready for development on
the Atmel platform.
For reference purposes
Card Detect~ = Lo = Card Detected, Hi = No Card
Detected.
WP = Hi = Write Protect, Lo = Write Enabled.
Both CD~ and WP should have the AVR's input port
configured to have the internal pullup enabled for proper
detection with this device.
6
7
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement