mikroElektronika USB SPI click Quick Start Manual

Page 1
2. Soldering the headers
Before using your click™ board, make sure to solder 1x8 male headers to both left and right side of the board. Two 1x8 male headers are included with the board in the package.
1
USB SPI click
1. Introduction
USB SPI click™ is an accessory board in
mikroBUS™ form factor. It’s a compact
and easy solution for adding SPI serial communication via USB cable. It features MCP2210 USB-to-SPI protocol converter with GPIO as well as USB MINI B connector. USB SPI click™ communicates with target board via SPI interface as a master device. The board is designed to use 3.3V or 5V power supply. It has a LED diode (GREEN) that indicates the presence of power supply.
2 3
Turn the board upside down so that the bottom side is facing you upwards. Place shorter pins of the header into the appropriate soldering pads.
Turn the board upward again. Make sure to align the headers so that they are perpendicular to the board, then solder the pins carefully.
3. Plugging the board in
Once you have soldered the headers your board is ready to be placed into the desired mikroBUS™ socket. Make sure to align the cut in the lower-right part of the board with the markings on the silkscreen at the mikroBUS™ socket. If all the pins are aligned
correctly, push the board all the way
into the socket.
4. Essential features
USB SPI click™ with its MCP2210 IC gives additional SPI serial communication via USB cable. The MCP2210 IC contains 256
Bytes of user EEPROM, 128 Byte buer to
handle data (64 byte transmit and 64-byte receive) and nine general purpose I/O pins. The board contains 12 MHz crystal oscillator which provides external clock waveform for MCP2210 IC as well as a LED diode which
indicates SPI trac.
click
www.mikroe.com
USB SPI click™ Manual
ver. 1.01a
0 100000 026618
Page 2
5. USB SPI click™ board schematic
6. SMD jumper
GP2 GP1 GP0 SCK SDO SDI
RST/EN
VCC3V3
AN RST CS SCK MISO MOSI +3.3V GND
MIKROBUS DEVICE CONN.
VCC5
1
2
3
PWM
INT
TX RX
SCL SDA +5V GND
C4
2.2uF U2
IN
OUT
GND
EN ADJ
AP7331-ADJ
VCC5
5
4
R5
287K
GP4 GP5
R7
39K
VCC
RST/EN GP0 GP1 GP2 LED SDO GP4
C5
2.2uF
R6 2K2
LD3 POWER
12MHz
C2 22pF
PMEG3010ER
VCC
E1
10uF C1
100nF
U1
1
VDD
2
OSC1
3
OSC2
4
RST
5
GP0
6
GP1
7
GP2
8
GP3
9
MOSI
10 11
C3 22pF
GP4
VCC3V3
X1
D2
VCC5
D1 PMEG3010ER
There is one zero-ohm SMD jumper J1 which is used to select whether 3.3V or 5V power supply is used. Jumper J1 is soldered in 3.3V position by default.
20
VSS
19 18 17 16 15 14 13 12
D_P RST/EN D_N
D_N D_P
SDI GP5 SCK
D+
D-
VUSB
GP8 GP7 GP6
MCP2210
MISO
GP5 SCK
R2 2K2
R1
1K
C6 100nF
FP1
FERRITE
1 2 3 4 5
CN2
VBUS D­D+ ID GND
USB MINIB
7. Code examples
Once you have done all the necessary prep­arations, it’s time to get your click™ board up and running. We have provided examples
C7
2.2uF
LED
R3
2K2
LD1
YELLOW
VCC
for mikroC™, mikroBasic™ and mikroPascal™ compilers on our Libstock website. Just download them and you are ready to start.
.com
J1
VCC5VCC3V3
VCC
8. Support
MikroElektronika oers free tech support (www.mikroe.com/support) until the end
of the product’s lifetime, so if something goes wrong, we’re ready and willing to help!
MikroElektronika assumes no responsibility or liability for any errors or inaccuracies that may appear in the present document.
Specication and information contained in the present schematic are subject to change at any time without notice. Copyright © 2014 MikroElektronika. All rights reserved.
Loading...