Download User Manual

Transcript
A compact starter
kit with your favorite
microcontroller and two
mikroBUS™ sockets
To our valued customers
I want to express my thanks to you for being interested in our products and for
having confidence in MikroElektronika.
The primary aim of our company is to design and produce high quality electronic
products and to constantly improve the performance thereof in order to better
suit your needs.
Nebojsa Matic
General Manager
Table of Contents
Introduction to clicker 2 for FT90x
4
Key features
5
programmer
15
1. Power supply
7
mikroProg Suite software
16
2. FT900 microcontroller
9
4. Buttons and LEDs
9
5. Power management and battery charger 20
Key microcontroller features
3.2 Programming with mikroProg™
™
18
3. Programming the microcontroller
10
6. Oscillators
21
3.1 Programming with mikroBootloader
11
7. USB connection
23
step 1 – Connecting clicker 2
11
8. Pads
25
step 2 – Browsing for .HEX file
12
9. Pinout
26
step 3 – Selecting .HEX file
12
9.1 mikroBUS™ pinout
27
step 4 – Uploading .HEX file
13
10. click boards are plug and play!
28
step 5 – Finish upload
14
11. Dimensions
30
Page 3
™
Introduction to clicker 2 for FT90x
Clicker 2 for FT90x is a
compact dev. kit with two
mikroBUS™ sockets for click™
board connectivity. You can
use it to quickly build your
own gadgets with unique
functionalities and features.
It carries the FT900, a 32-bit
FT32 core microcontroller, two
indication LEDs, two general
purpose buttons, a reset
button, an on/off switch, a
li-polymer battery connector,
a USB Mini-B connector and
two mikroBUS™ socket. A
mikroProg connector and a
2x26 pinout for interfacing
with external electronics are
also provided. The mikroBUS™
connector consists of two
1x8 female headers with SPI,
I2C, UART, RST, PWM, Analog
and Interrupt lines as well as
3.3V, 5V and GND power lines.
Clicker 2 for FT90x board can
be powered over a USB cable.
power supply
via USB cable (5V DC)
board dimensions
60.4 x 81 mm (2.4 x 3.2 inch)
weight
26 g (0. 057 lbs)
Page 4
Key features
1
12
2
13
1 ON/OFF switch
3
2 Pads for connecting external ON/OFF switch
4
3 FT900Q
4 32.768 kHz crystal oscillator
5
5 12 mHz crystal oscillator
6
6
7
7
8
8
9
9
10
14
11
15
6 2x26 connection pads
7 mikroBUS™ sockets 1 and 2
8 Pushbuttons
9 Additional LEDs
10 LTC3586 USB power manager IC
11 Power and Charge indication LEDs
12 RESET button
13 USB mini-B connector
14 Li-Polymer battery connector
15 Programmer connector
Page 5
VCC-1.2V
VCC-1.2V
C13
C41
C39
C38
C5
100nF
100nF
4.7uF
100nF
10uF
100nF
VSYS
VCC-1.2V
VCC-3.3V
R36
10K
VCC-3.3V
VCC-3.3V
VCC-1.2V
ADC3-GPIO8
GPIO47_MB1_RST
GPIO28-MB1_CS
SPIM_SCK-GPIO27
SPIM_MISO-GPIO30
SPIM_MOSI-GPIO29
VSYS
3.3uH
FAULT
R20
10K
GATE
CHRG#
PROG
FB1
VIN1
SW1
SW2
VIN2
FB2
VIN4
EN1
EN2
31
30
29
28
27
26
25
24
23
22
21
20
L1
C22
22uF
LDO3V3
R23
1K69
LTC3586
L3
2.2uH
C31
22uF
19
18
17
16
15
14
13
VCC-USB
LDO3V3
C32
10uF
VSYS
VSYS
C19
C20
2.2uF
2.2uF
L2
2.2uH
C23
10pF
15K
VCC-5V VCC-5V VCC-5V
R27
16K9
5
2
4
1
PWR-EN
C18
VCC-3.3V VCC-3.3V
VCC-5V
C21
33pF
R22
105K
C24
300pF
VCC-5V
C29
C30
C27
C28
10pF
22uF
1uF
10nF
U1
R17
1K
100nF
R19
324K
R21
R26
88K7
3
PWR-EN
VCC-3.3V
VCC-5V
C25
100nF
VCC-USB
SWCD3
EN3
VOUT3
VOUT3
VIN3
VIN3
SWAB3
ILIM0
ILIM1
LDO3V3
CLPROG
NTC
VOUT4
VOUT4
SW4
MODE
FB4
FB3
VC3
VCC-USB
BAT
EN4
VOUT
VBUS
VBUS
SW
FAULT#
1
2
3
4
5
6
7
8
9
10
11
12
VSYS
32
33
34
35
36
37
38
U2
LTC3586-1
6
GPIO17
1
2
GPIO18-LD2
GPIO19-SD
3
GPIO20-SD
4
GPIO21-SD
5
GPIO22-SD
6
GPIO23-SD
7
GPIO24-SD
8
GPIO25-SD
9
GPIO26-SD
10
SPIM_SCK-GPIO27 R7 11
GPIO28-MB1_CS
12
SPIM_MOSI-GPIO29 R9 13
SPIM_MISO-GPIO30
14
GPIO31-SENSEL
15
16
GPIO33-MB2_CS
17
GPIO34-LD1
18
19
GPIO35-T2
20
SPIS0-SCK
SPIS0-SS
21
22
SPIS0-MOSI
SPIS0-MISO
23
GPIO40
24
25
GPIO17
GPIO18
GPIO19
GPIO20
GPIO21
GPIO22
GPIO23
GPIO24
GPIO25
GPIO26
GPIO27
GPIO28
GPIO29
GPIO30
GPIO31
GPIO32
GPIO33
GPIO34
GPIO35
GPIO36
GPIO37
GPIO38
GPIO39
GPIO40
GPIO41
VCC-3.3V
LD3
R8
470
HRREF
AGND
H_DP
H_DM
DRREF
D_DP
D_DM
VCC3V3
VCC1V2
XIO
XI/CLKIN
VCC3V3
VCC1V2
GPIO5
GPIO4
GPIO3
GPIO2
GPIO1
GPIO0
GPIO66
GPIO65
GPIO64
GPIO63
GPIO62
GPIO61
FTDI
FT900Q
TP
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
X1
32.768KHz
USB-D_P
USB-D_N
ADC1-GPIO6
GPIO5-MB2_RST
GPIO33-MB2_CS
SPIM_SCK-GPIO27
SPIM_MISO-GPIO30
SPIM_MOSI-GPIO29
SPIS0-SCK 1
SPIS0-MOSI 3
VPP 5
R32
7
9
C4
C3
10pF
RTC_X2
X2
X1
C6
12MHz
18pF
2
PWM
INT
RX
TX
SCL
SDA
5V
GND
CN3
2 SPIS0-SS
4 SPIS0-MISO
6
8 DBG
10 RESET#
100nF
X2
GPIO5-MB2_RST
GPIO4-MB2_INT
USB-DET
GPIO2-T3
GPIO1-MB1_INT
VCC-5V
AN
RST
CS
SCK
MISO
MOSI
3.3V
GND
VSYS
C2
10pF
RTC_X1
R30
R28
R29
1
VCC-3.3V
PWM1-GPIO57-MB1
GPIO1-MB1_INT
UART0_RX-GPIO49
UART0_TX-GPIO48
I2C0_SCL-GPIO44
I2C0_SDA-GPIO45
PWM
INT
RX
TX
SCL
SDA
5V
GND
PWM2-GPIO58-MB2
GPIO4-MB2_INT
UART0_RX-GPIO49
UART0_TX-GPIO48
I2C0_SCL-GPIO44
I2C0_SDA-GP IO45
HDR1
ADC7-GPIO12
ADC6-GPIO11
ADC5-GPIO10
ADC4-GPIO9
ADC2-GPIO7
ADC3-GPIO8
ADC1-GPIO6
GPIO16-INT-CAN
GPIO15-INT-CAN
GPIO14-INT-DAC
GPIO13-INT-DAC
GPIO19-SD
GPIO20-SD
GPIO21-SD
GPIO22-SD
GPIO23-SD
GPIO24-SD
GPIO25-SD
GPIO26-SD
SPIM_SCK-GPIO27
SPIM_MISO-GPIO30
SPIM_MOSI-GPIO29
10K
M1X26
RST
T1
VCC-BAT
C1
100nF
R1
R2
2K2
2K2
VCC-3.3V
R5
10K
clicker 2 for FT90x schematic
Page 6
VCC-3.3V
M1X26
R3
10K
R4
220
T2
RX
TX
SCL
SDA
VCC-3.3V
RESET#
FSRC
0Ω
INT
SCK
SDI
SDO
USB-DET
USB-D_N
USB-D_P
C26
R25
1M
DMP2305U
CN2
FP2
FERRITE
R24 100
M1
R11
1K
T3
VCC-3.3V
R6
10K
VCC-BAT
R10
1M
GPIO31-SENSEL
1
2
3
4
5
VBUS
DD+
ID
GND
10nF
USB MINIB
R12
4K7
R13
4K7
ADC2-GPIO7
C33
100nF
RESET#
PWM4-GPIO52
PWM5-GPIO53
PWM6-GPIO54
PWM7-GPIO55
PWM0-GPIO56
GPIO17
GPIO40
GPIO42
GPIO43
GPIO60-I2S
GPIO61-I2S
GPIO62-I2S
GPIO63-I2S
GPIO64-I2S
GPIO65-I2S
GPIO66-I2S
UART0_RX-GPIO49
UART0_TX-GPIO48
I2C0_SCL-GPIO44
I2C0_SDA-GPIO45
PWM
C7
18pF
GPIO66-I2S
GPIO65-I2S
GPIO64-I2S
GPIO63-I2S
GPIO62-I2S
GPIO61-I2S
0
HDR2
AN
VCC-3.3V
VCC-USB
R35
PWM0-GPIO56
PWM1-GPIO57-MB1
PWM2-GPIO58-MB2
GPIO60-I2S
3K3
DMP2305U
PWR-EN
SW1
JS202011AQN
PWM4-GPIO52
PWM5-GPIO53
PWM6-GPIO54
PWM7-GPIO55
1uF
DBG
UART0_TX-GPIO48
UART0_RX-GPIO49
GPIO50-STAT
C17
10nF
VPP
RESET#
C16
1uF
GPIO16
GPIO15
GPIO14
GPIO13
DAC_REFP
VCC3V3
AGND
GPIO12
GPIO11
GPIO10
GPIO9
GPIO8
GPIO7
GPIO6
NC
RTC_XI/RTC_CLKIN
RTC_XIO
TXON
TXOP
RXIN
RXIP
VCC3V3
RREFSET
VCC1V2
VCC3V3
C15
22uF
GPIO42
GPIO43
GPIO44
GPIO45
GPIO46
GPIO47
FSOURCE
VPP
RESETN
STESTRESTN
DEBUG
GPIO48
GPIO49
GPIO50
GPIO51
GPIO52
GPIO53
GPIO54
GPIO55
GND
VCC3V3
GPIO56
GPIO57
GPIO58
GPIO60
C14
10K
R18
M2
VCC-BAT
LDO3V3
R16
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
2K2
GPIO42
GPIO43
I2C0_SCL-GPIO44
I2C0_SDA-GPIO45
LDO3V3 VCC-3.3V VCC-3.3V VCC-3.3V LDO3V3
LD4B
RED
R15
GPIO47_MB1_RST
LDO3V3
GPIO50-STAT
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
C42
100nF
VCC-5V
AN
RST
CS
SCK
MISO
MOSI
3.3V
GND
GPIO18-LD2
VCC-1.2V
C10
100nF
GPIO2-T3
VCC-3.3V
GPIO35-T2
VCC-3.3V
C9
100nF
GPIO34-LD1
VCC-3.3V
C8
RTC_X1
RTC_X2
VCC-3.3V
CN1
BATT
CONN
10uF
ADC7-GPIO12
ADC6-GPIO11
ADC5-GPIO10
ADC4-GPIO9
ADC3-GPIO8
ADC2-GPIO7
ADC1-GPIO6
VCC-BAT
C36
GPIO16-INT-CAN
GPIO15-INT-CAN
GPIO14-INT-DAC
GPIO13-INT-DAC
VCC-BAT
R14
4K7
1. Power supply
USB power supply
Battery power supply
You can also power the board using a Li-Polymer battery, via
on-board battery connector. On-board battery charger circuit
enables you to charge the battery over USB connection. LED
diode (RED) will indicate when battery is charging. Charging
current is ~300mA and charging voltage is 4.2V DC.
Figure 1-2: Connecting
Li-Polymer battery
Figure 1-1:
Connecting USB power supply
You can supply power to the board with a Mini-B USB cable provided
in the package. On-board voltage regulators provide the appropriate
voltage levels to each component on the board. Power LED (GREEN)
will indicate the presence of power supply.
NOTE
click™ boards that use a 3.3V power supply can draw up to 750 mA of current, which is more current than a USB can supply (500 mA);
In those cases you would need to use the battery as the power supply, or the vsys pin on the side of the board.
Page 7
LDO3V3
R15
LDO3V3 VCC-3.3V VCC-3.3V VCC-3.3V LDO3V3
LD4B
RED
R16
2K2
GPIO50-STAT
10K
C15
C16
C17
22uF
1uF
10nF
1uF
3K3
VSYS
3.3uH
FAULT
R20
C22
10K
22uF
BAT
EN4
VOUT
VBUS
VBUS
SW
FAULT#
LDO3V3
R23
1K69
LTC3586
19
18
17
16
15
14
13
L3
2.2uH
VCC-USB
LDO3V3
C31
C32
22uF
10uF
C19
C20
2.2uF
2.2uF
3
5
2
4
1
VCC-BAT
1
3
5
7
9
PWR-EN
C18
CN3
2
4
6
8
10
2.2uH
C23
10pF
HDR1
15K
VCC-5V VCC-5V VCC-5V
R26
88K7
R27
16K9
VCC-5V
VCC-5V
C29
C30
C27
C28
10pF
22uF
1uF
10nF
M1
AN
R11
1K
C21
DMP2305U
33pF
PWM
R12
4K7
INT
R13
4K7
ADC2-GPIO7
R22
105K
C24
300pF
HDR2
VCC-BAT
R10
1M
VCC-3.3V VCC-3.3V
R19
324K
R21
CN1
BATT
CONN
10uF
VSYS
GPIO31-SENSEL
VCC-3.3V
L2
VCC-BAT
C36
100nF
PWR-EN
VCC-5V
C25
100nF
VCC-USB
SWCD3
EN3
VOUT3
VOUT3
VIN3
VIN3
SWAB3
ILIM0
ILIM1
LDO3V3
CLPROG
NTC
VOUT4
VOUT4
SW4
MODE
FB4
FB3
VC3
VCC-USB
L1
32
33
34
35
36
37
38
VSYS
6
VSYS
R17
1K
VCC-BAT
1
2
3
4
5
6
7
8
9
10
11
12
VSYS
U2
LTC3586-1
GATE
CHRG#
PROG
FB1
VIN1
SW1
SW2
VIN2
FB2
VIN4
EN1
EN2
31
30
29
28
27
26
25
24
23
22
21
20
DMP2305U
PWR-EN
SW1
JS202011AQN
R18
M2
VCC-BAT
LDO3V3
C14
C33
100nF
VCC-3.3V
CN2
FP2
FERRITE
LD3
R8
470
C26
1
2
3
4
5
VBUS
DD+
ID
GND
10nF
VSYS
Figure 1-3: Power supply schematic
Page 8
R14
4K7
USB MINIB
VCC-3.3V
VCC-3.3V
2. FT900 microcontroller
The FT90x clicker development tool comes with the
FT900Q microcontroller. This 32-bit FT32 Core high
performance microcontroller executes instructions
from Shadow RAM, achieving true zero wait states at
up to 100mHz, resulting in 310 DMIPS of performance.
UART 0
/1
Key microcontroller features
10-bit
DAC 0/1
∫ 310 DMIPS/ 100mHz, 32-bit FT32 Core
One-Wir
e
Debug
I/F
SD Host
SPI Mast
er
∫ 64kb Data memory
CAN 0/1
∫ 67 I/O pins
∫ SPI, I2C, I2S, A/D, UART, Eternet, DAC, CAN, SD
SPI 0/1
Slave(s
)
EFUSE
PWM/P
CM
∫ 16-bit, 32-bit Digital Timers
∫ Camera parallel interface
∫ RTCC, one wire debugger, etc.
Page 9
Etherne
t
I2S Mast
er
/Slave
USB Ho
st
BCD
Interrup
t
10-bit
ADC 1/7
System
32-Bit
I/O Bus
∫ 256kB Flash memory
∫ 256kB Shadow program memory
Timers/
Watchd
og
¬ 256kB
¬ Contro Flash memor
y
¬ Debug l Logic
¬ 256kB ger Core with
Se
Pr
curity
og
ram SR
¬ 64kb
AM
D
¬ FT32 ata memory
Core
I2C Mast
e
/Slave(s r
)
USB
periphe
ral
BCD
RTC
Camera
3. Programming the microcontroller
Figure 3-1:
FT900Q
microcontroller
The microcontroller can be programmed in three ways:
1 Using USB HID mikroBootloader,
2 Using external mikroProg™ for FT90x programmer
Page 10
3.1 Programming with mikroBootloader
You can program the microcontroller with a
bootloader which is preprogrammed by default.
To transfer .hex file from a PC to MCU you need
bootloader software (mikroBootloader USB HID)
which can be downloaded from:
step 1 – Connecting clicker 2 for FT90x
1
www.mikroe.com/downloads/get/2230/
clicker_2_ft90x_bootloader.zip
After the mikroBootloader software is downloaded,
unzip it to desired location and start it.
clicker_2_ft90x_bootloader.zip
WinRAR ZIP archive
clicker_2_ft90x_bootloader
File folder
Software
File folder
mikroBootloader USB HID.exe
Bootloader tool for mikroElektron...
mikroElektronika
Firmware
File folder
Figure 3-2: USB HID mikroBootloader window
1
Clicker 2 FT90x USB HID Bootloader
v1.300.hex
HEX File
To start, connect the USB cable, or if already connected press the Reset button
on your clicker 2 for FT90x. Click the Connect button within 5s to enter the
bootloader mode, otherwise existing microcontroller program will execute.
Page 11
step 2 – Browsing for .HEX file
step 3 – Selecting .HEX file
1
2
1
Figure 3-4: Selecting HEX
Figure 3-3: Browse for HEX
1 Click the Browse for HEX button and from a pop-up
window (Figure 3.4) choose the .HEX file which will be
uploaded to MCU memory.
1 Select .HEX file using open dialog window.
2 Click the Open button.
Page 12
step 4 – Uploading .HEX file
1
1
Figure 3-5: Begin uploading
Figure 3-6: Progress bar
1 To start .HEX file bootloading click the
1 Progress bar enables you to monitor .HEX file uploading.
Begin uploading button.
Page 13
step 5 – Finish upload
1
Figure 3-7: Restarting MCU
Figure 3-8: mikroBootloader ready for next job
1 Click OK button after the uploading process is finished.
2 Press Reset button on clicker 2 for FT90x board and wait
for 5 seconds. Your program will run automatically.
Page 14
3.2 Programming with mikroProg™
programmer
The microcontroller can be
programmed with external
mikroProg™ for FT90x
programmer and mikroProg
Suite™ for FT90x® software.
The external programmer is
connected to the development
system via 2x5 connector
Figure 3-9. mikroProg™ is a
fast USB 2.0 programmer with
hardware debugger support.
It supports all FT90x devices
in a single programmer.
Outstanding performance,
easy operation and elegant
design are its key features.
Figure 3-8:
mikroProg™ connector
Page 15
mikroProg Suite™ for FT90x software
A standalone programming software utility called mikroProg Suite™ for FT90x is available as an
alternative to programming the MCU directly from the FT90x compiler. This software is used for
programming of all supported FT90x microcontrollers. The software has an intuitive interface and
SingleClick™ programming technology. To begin, first locate the installation archive on our web site:
www.mikroe.com/downloads/get/2215/mikroprog_suite_ft90x_v100.zip
After downloading, extract the package and double click the executable setup file, to start the installation.
Quick guide
1
Click the Detect MCU button in order to recognize the device ID.
2
Click the Read button to read the entire microcontroller memory.
You can click the Save button to save it to the target HEX file.
3
If you want to write the HEX file into the microcontroller, first
make sure to load the target HEX file using the Load button. Then
click the Write button to begin programming.
4
Click the Erase button to clear the microcontroller memory.
Page 16
Figure 3-10:
mikroProg Suite™ for
FT90x window
VCC-3.3V
RTC_X1
RTC_X2
VCC-3.3V
VCC-3.3V
C42
100nF
VCC-3.3V
C10
C13
100nF
100nF
VCC-1.2V
VCC-1.2V
C41
C39
4.7uF
100nF
VCC-1.2V
VCC-1.2V
C38
C5
10uF
100nF
SPIS0-SCK
SPIS0-SS
SPIS0-MOSI
SPIS0-MISO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
GPIO17
GPIO18
GPIO19
GPIO20
GPIO21
GPIO22
GPIO23
GPIO24
GPIO25
GPIO26
GPIO27
GPIO28
GPIO29
GPIO30
GPIO31
GPIO32
GPIO33
GPIO34
GPIO35
GPIO36
GPIO37
GPIO38
GPIO39
GPIO40
GPIO41
VSYS
100nF
CN3
2
4
6
8
10
SPIS0-SS
SPIS0-MISO
DBG
RESET#
R35
10K
FTDI
FT900Q
HRREF
AGND
H_DP
H_DM
DRREF
D_DP
D_DM
VCC3V3
VCC1V2
XIO
XI/CLKIN
VCC3V3
VCC1V2
GPIO5
GPIO4
GPIO3
GPIO2
GPIO1
GPIO0
GPIO66
GPIO65
GPIO64
GPIO63
GPIO62
GPIO61
TP
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
C2
10pF
RTC_X1
X1
32.768KHz
R30
R28
R29
USB-D_P
USB-D_N
C3
10pF
RTC_X2
X2
X1
X2
C6
12MHz
18pF
C7
18pF
0
FSRC
0Ω
VPP
RESET#
SPIS0-SCK 1
SPIS0-MOSI 3
VPP 5
R32
7
9
C4
VCC-1.2V
U1
DBG
VCC-3.3V
VCC-3.3V
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
R36
10K
GPIO16
GPIO15
GPIO14
GPIO13
DAC_REFP
VCC3V3
AGND
GPIO12
GPIO11
GPIO10
GPIO9
GPIO8
GPIO7
GPIO6
NC
RTC_XI/RTC_CLKIN
RTC_XIO
TXON
TXOP
RXIN
RXIP
VCC3V3
RREFSET
VCC1V2
VCC3V3
100nF
GPIO42
GPIO43
GPIO44
GPIO45
GPIO46
GPIO47
FSOURCE
VPP
RESETN
STESTRESTN
DEBUG
GPIO48
GPIO49
GPIO50
GPIO51
GPIO52
GPIO53
GPIO54
GPIO55
GND
VCC3V3
GPIO56
GPIO57
GPIO58
GPIO60
C9
100nF
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
C8
Figure 3-13: mikroProg™ connection schematic
Page 17
NOTE
Before attaching
the programming
connector, you
have to solder
the provided 2x5
male header to the
connection pads.
4. Buttons and LEDs
The board also contains a 1 reset
button and a pair of 2 buttons and 3
LEDs, as well as an ON/OFF switch.
The Reset button is used to
manually reset the
microcontroller — it
generates a low
voltage level on the
microcontroller’s reset
pin. LEDs can be used for visual
indication of the logic state on
two pins (P34 and P18). An active
LED indicates that a logic high (1) is
present on the pin. Pressing any of the two
buttons can change the logic state of the
microcontroller pins (P35 and P2) from
logic high (1) to logic low (0). In addition to
the onboard ON/OFF switch, two pins allow
you to connect your own external switch
(located beneath the switch).
3
Figure 4-1:
Two LEDs, two buttons
and a reset button
Page 18
2
1
C8
C9
100nF
100nF
VCC-3.3V
VCC-3.3V
VCC-3.3V
R3
10K
VCC-1.2V
R36
10K
R4
RESET#
RST
220
T1
C1
C42
100nF
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
100nF
C41
C39
4.7uF
100nF
VCC-1.2V
VCC-1.2V
C38
C5
10uF
100nF
GPIO34-LD1
GPIO35-T2
R35
10K
FTDI
FT900Q
HRREF
AGND
H_DP
H_DM
DRREF
D_DP
D_DM
VCC3V3
VCC1V2
XIO
XI/CLKIN
VCC3V3
VCC1V2
GPIO5
GPIO4
GPIO3
GPIO2
GPIO1
GPIO0
GPIO66
GPIO65
GPIO64
GPIO63
GPIO62
GPIO61
TP
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
C2
10pF
RTC_X1
X1
32.768KHz
R30
C3
10pF
RTC_X2
X2
X1
X2
C6
12MHz
18pF
GPIO2-T3
C7
18pF
R1
R2
2K2
0
2K2
T2
VCC-3.3V
R5
10K
FSRC
0Ω
Figure 4-2: Other modules connection schematic
Page 19
T3
VCC-3.3V
R6
10K
GPIO2-T3
VCC-1.2V
GPIO17
GPIO18
GPIO19
GPIO20
GPIO21
GPIO22
GPIO23
GPIO24
GPIO25
GPIO26
GPIO27
GPIO28
GPIO29
GPIO30
GPIO31
GPIO32
GPIO33
GPIO34
GPIO35
GPIO36
GPIO37
GPIO38
GPIO39
GPIO40
GPIO41
GPIO35-T2
VCC-1.2V
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
GPIO18-LD2
GPIO34-LD1
100nF
RESET#
C13
100nF
GPIO16
GPIO15
GPIO14
GPIO13
DAC_REFP
VCC3V3
AGND
GPIO12
GPIO11
GPIO10
GPIO9
GPIO8
GPIO7
GPIO6
NC
RTC_XI/RTC_CLKIN
RTC_XIO
TXON
TXOP
RXIN
RXIP
VCC3V3
RREFSET
VCC1V2
VCC3V3
C10
U1
GPIO42
GPIO43
GPIO44
GPIO45
GPIO46
GPIO47
FSOURCE
VPP
RESETN
STESTRESTN
DEBUG
GPIO48
GPIO49
GPIO50
GPIO51
GPIO52
GPIO53
GPIO54
GPIO55
GND
VCC3V3
GPIO56
GPIO57
GPIO58
GPIO60
VCC-3.3V
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
VCC-3.3V
GPIO18-LD2
VCC-3.3V
RTC_X1
RTC_X2
VCC-3.3V
5. Power management and battery charger
Clicker 2 for FT90x features LTC®3586, a
highly integrated power management and
battery charger IC that includes a current
limited switching PowerPath manager.
LTC®3586 also enables battery charging
over a USB connection.
Figure 5-2: power
management and
battery charger IC
Page 20
6. Oscillators
Two onboard oscillators act as external
sources for FT90x’s two system clocks. A
12 MHz oscillator provides a reference
frequency output to the clock multiplier
PLL. A a 32.768kHz oscilator provides a
clock for the internal RTCC.
Figure 6-1:
32.768 kHz crystal
oscillator module
(X2)
Figure 6-2:
12MHz crystal
oscillator module
(X1)
Page 21
C2
10pF
RTC_X1
VCC-3.3V
VCC-3.3V
C8
C9
100nF
100nF
X1
32.768KHz
VCC-3.3V
VCC-3.3V
C3
10pF
RTC_X2
R36
10K
VCC-1.2V
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
C42
100nF
100nF
100nF
VCC-1.2V
VCC-1.2V
C41
C39
4.7uF
100nF
VCC-1.2V
VCC-1.2V
C38
C5
10uF
100nF
U1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
R35
10K
GPIO17
GPIO18
GPIO19
GPIO20
GPIO21
GPIO22
GPIO23
GPIO24
GPIO25
GPIO26
GPIO27
GPIO28
GPIO29
GPIO30
GPIO31
GPIO32
GPIO33
GPIO34
GPIO35
GPIO36
GPIO37
GPIO38
GPIO39
GPIO40
GPIO41
GPIO16
GPIO15
GPIO14
GPIO13
DAC_REFP
VCC3V3
AGND
GPIO12
GPIO11
GPIO10
GPIO9
GPIO8
GPIO7
GPIO6
NC
RTC_XI/RTC_CLKIN
RTC_XIO
TXON
TXOP
RXIN
RXIP
VCC3V3
RREFSET
VCC1V2
VCC3V3
C13
FTDI
FT900Q
HRREF
AGND
H_DP
H_DM
DRREF
D_DP
D_DM
VCC3V3
VCC1V2
XIO
XI/CLKIN
VCC3V3
VCC1V2
GPIO5
GPIO4
GPIO3
GPIO2
GPIO1
GPIO0
GPIO66
GPIO65
GPIO64
GPIO63
GPIO62
GPIO61
GPIO42
GPIO43
GPIO44
GPIO45
GPIO46
GPIO47
FSOURCE
VPP
RESETN
STESTRESTN
DEBUG
GPIO48
GPIO49
GPIO50
GPIO51
GPIO52
GPIO53
GPIO54
GPIO55
GND
VCC3V3
GPIO56
GPIO57
GPIO58
GPIO60
VCC-3.3V
C10
TP
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
VCC-3.3V
FSRC
0Ω
Figure 6-3: Crystal oscillator schematic
Page 22
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
0
R30
X2
X1
X2
C6
12MHz
18pF
C7
18pF
7. USB connection
FT90x microcontrollers has an integrated USB module, which
enables you to implement USB communication functionality to
your clicker 2 board. Connection with target USB host is done
over a Mini-B USB connector which is positioned next to the
battery connector.
Figure 7-1:
Connecting USB
cable to clicker 2
Page 23
C2
10pF
RTC_X1
X1
32.768KHz
VCC-3.3V
VCC-3.3V
VCC-3.3V
C3
10pF
RTC_X2
R36
10K
VCC-1.2V
VCC-3.3V
C8
C9
100nF
100nF
C42
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
100nF
VCC-3.3V
VCC-3.3V
C10
C13
100nF
100nF
R35
10K
FTDI
FT900Q
HRREF
AGND
H_DP
H_DM
DRREF
D_DP
D_DM
VCC3V3
VCC1V2
XIO
XI/CLKIN
VCC3V3
VCC1V2
GPIO5
GPIO4
GPIO3
GPIO2
GPIO1
GPIO0
GPIO66
GPIO65
GPIO64
GPIO63
GPIO62
GPIO61
GPIO42
GPIO43
GPIO44
GPIO45
GPIO46
GPIO47
FSOURCE
VPP
RESETN
STESTRESTN
DEBUG
GPIO48
GPIO49
GPIO50
GPIO51
GPIO52
GPIO53
GPIO54
GPIO55
GND
VCC3V3
GPIO56
GPIO57
GPIO58
GPIO60
GPIO17
GPIO18
GPIO19
GPIO20
GPIO21
GPIO22
GPIO23
GPIO24
GPIO25
GPIO26
GPIO27
GPIO28
GPIO29
GPIO30
GPIO31
GPIO32
GPIO33
GPIO34
GPIO35
GPIO36
GPIO37
GPIO38
GPIO39
GPIO40
GPIO41
TP
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
0
R30
R28
R29
VCC-1.2V
VCC-1.2V
C41
C39
4.7uF
100nF
USB-D_P
USB-D_N
X2
X1
X2
VCC-1.2V
12MHz
USB-DET
C7
C38
C5
18pF
18pF
10uF
100nF
VCC-USB
USB-DET
USB-D_N
USB-D_P
CN2
FP2
FERRITE
R24 100
C26
R25
1M
FSRC
0Ω
Figure 7-2: USB module connection schematic
Page 24
VCC-1.2V
C6
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
GPIO16
GPIO15
GPIO14
GPIO13
DAC_REFP
VCC3V3
AGND
GPIO12
GPIO11
GPIO10
GPIO9
GPIO8
GPIO7
GPIO6
NC
RTC_XI/RTC_CLKIN
RTC_XIO
TXON
TXOP
RXIN
RXIP
VCC3V3
RREFSET
VCC1V2
VCC3V3
U1
1
2
3
4
5
VBUS
DD+
ID
GND
10nF
USB MINIB
VCC-3.3V
HDR1
HDR2
PWM
FT900Q
TP
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
C2
10pF
RTC_X1
X1
32.768KHz
R30
R28
R29
C3
10pF
RTC_X2
USB-D_P
USB-D_N
X2
X1
GPIO5-MB2_RST
GPIO4-MB2_INT
USB-DET
GPIO2-T3
GPIO1-MB1_INT
RX
TX
SCL
SDA
X2
C6
12MHz
18pF
RESET#
PWM4-GPIO52
PWM5-GPIO53
PWM6-GPIO54
PWM7-GPIO55
PWM0-GPIO56
GPIO17
GPIO40
GPIO42
GPIO43
GPIO60-I2S
GPIO61-I2S
GPIO62-I2S
GPIO63-I2S
GPIO64-I2S
GPIO65-I2S
GPIO66-I2S
UART0_RX-GPIO49
UART0_TX-GPIO48
I2C0_SCL-GPIO44
I2C0_SDA-GPIO45
VCC-3.3V
C7
18pF
GPIO66-I2S
GPIO65-I2S
GPIO64-I2S
GPIO63-I2S
GPIO62-I2S
GPIO61-I2S
VCC-3.3V
0
VCC-3.3V
VCC-3.3V
C8
C9
C10
100nF
100nF
100nF
PWM0-GPIO56
PWM1-GPIO57-MB1
PWM2-GPIO58-MB2
GPIO60-I2S
PWM4-GPIO52
PWM5-GPIO53
PWM6-GPIO54
PWM7-GPIO55
DBG
UART0_TX-GPIO48
UART0_RX-GPIO49
GPIO50-STAT
0Ω
VPP
RESET#
FSRC
GPIO47_MB1_RST
10K
FTDI
HRREF
AGND
H_DP
H_DM
DRREF
D_DP
D_DM
VCC3V3
VCC1V2
XIO
XI/CLKIN
VCC3V3
VCC1V2
GPIO5
GPIO4
GPIO3
GPIO2
GPIO1
GPIO0
GPIO66
GPIO65
GPIO64
GPIO63
GPIO62
GPIO61
GPIO42
GPIO43
GPIO44
GPIO45
GPIO46
GPIO47
FSOURCE
VPP
RESETN
STESTRESTN
DEBUG
GPIO48
GPIO49
GPIO50
GPIO51
GPIO52
GPIO53
GPIO54
GPIO55
GND
VCC3V3
GPIO56
GPIO57
GPIO58
GPIO60
GPIO17
GPIO18
GPIO19
GPIO20
GPIO21
GPIO22
GPIO23
GPIO24
GPIO25
GPIO26
GPIO27
GPIO28
GPIO29
GPIO30
GPIO31
GPIO32
GPIO33
GPIO34
GPIO35
GPIO36
GPIO37
GPIO38
GPIO39
GPIO40
GPIO41
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
SCK
SDI
SDO
GPIO17
1
GPIO18-LD2
2
GPIO19-SD
3
GPIO20-SD
4
GPIO21-SD
5
GPIO22-SD
6
GPIO23-SD
7
GPIO24-SD
8
GPIO25-SD
9
GPIO26-SD
10
SPIM_SCK-GPIO27 R7 11
GPIO28-MB1_CS
12
SPIM_MOSI-GPIO29 R9 13
SPIM_MISO-GPIO30
14
GPIO31-SENSEL
15
16
GPIO33-MB2_CS
17
GPIO34-LD1
18
19
GPIO35-T2
SPIS0-SCK
20
SPIS0-SS
21
22
SPIS0-MOSI
SPIS0-MISO
23
GPIO40
24
25
GPIO16
GPIO15
GPIO14
GPIO13
DAC_REFP
VCC3V3
AGND
GPIO12
GPIO11
GPIO10
GPIO9
GPIO8
GPIO7
GPIO6
NC
RTC_XI/RTC_CLKIN
RTC_XIO
TXON
TXOP
RXIN
RXIP
VCC3V3
RREFSET
VCC1V2
VCC3V3
U1
INT
R35
Pads HDR2
VCC-1.2V
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
AN
VCC-3.3V
C42
100nF
GPIO42
GPIO43
I2C0_SCL-GPIO44
I2C0_SDA-GPIO45
VCC-3.3V
R36
10K
RTC_X1
RTC_X2
GPIO16-INT-CAN
GPIO15-INT-CAN
GPIO14-INT-DAC
GPIO13-INT-DAC
VSYS
ADC7-GPIO12
ADC6-GPIO11
ADC5-GPIO10
ADC4-GPIO9
ADC2-GPIO7
ADC3-GPIO8
ADC1-GPIO6
GPIO16-INT-CAN
GPIO15-INT-CAN
GPIO14-INT-DAC
GPIO13-INT-DAC
GPIO19-SD
GPIO20-SD
GPIO21-SD
GPIO22-SD
GPIO23-SD
GPIO24-SD
GPIO25-SD
GPIO26-SD
SPIM_SCK-GPIO27
SPIM_MISO-GPIO30
SPIM_MOSI-GPIO29
ADC7-GPIO12
ADC6-GPIO11
ADC5-GPIO10
ADC4-GPIO9
ADC3-GPIO8
ADC2-GPIO7
ADC1-GPIO6
8. Pads
Figure 8-1: Connecting pads schematic
VCC-3.3V
VCC-1.2V
VCC-1.2V
VCC-1.2V
C13
C41
C39
C38
C5
100nF
4.7uF
100nF
10uF
VCC-1.2V
100nF
Pads HDR1
Most microcontroller pins are available for further connectivity via two 1x26 rows of connection
pads on both sides of the clicker 2 for FT90x board. They are designed to match additional shields,
such as Battery Boost shield, Gaming, PROTO shield and others.
Page 25
VSYS
GND
P12
P11
P10
P9
P7
P8
P6
P16
P15
P14
P13
P19
P20
P21
P22
P23
P24
P25
P26
P27
P30
P29
3.3V
GND
RST
GND
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
VSYS - System power supply
GND - Reference Ground
3.3V - 3.3V power supply
RST - Reset pin
√
√
√
√
√
√
√
√
√
√
√
√
√
√
P52
P52
P54
P55
P56
P17
P40
P42
P43
P60
P61
P62
P63
P64
P65
P66
P49
P48
P44
P45
3.3V
GND
Page 26
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
GPIO
SD card lines
DAC
CAN
PWM lines
I2S Lines
UART lines
I2C Lines
Analog Lines
Interrupt Lines
SPI Lines
GPIO
SD card lines
DAC
CAN
PWM lines
UART lines
I2C 0
I2S Lines
Analog Lines
Interrupt Lines
SPI Lines
9. Pinout
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
√
9.1 mikroBUS™ pinouts
Having two mikroBUS™ sockets and an additional connection pad, clicker 2 for FT90x utilizes all of the FT90x’s I/Os. Single UART, I2C, and
SPI lines are shared between two mikroBUS™ sockets but are also available from the two 1x26 connection pads on the edges of the board.
SPIM
Lines
Figure 9-1:
mikroBUS™ individual
and shared lines
SPIM
Lines
SCK
MISO
MOSI
SCK
MISO
MOSI
P27
P30
P29
P49
P48
P44
P45
P27
P30
P29
P49
P48
P44
P45
Page 27
RX
UARTØ Lines
TX
SCL
I2CØ Lines
SDA
RX
UARTØ Lines
TX
SCL
I2CØ Lines
SDA
10. click™ boards are plug and play!
Up to now, MikroElektronika has released
more than a 100 mikroBUS™ compatible
click™ boards. On the average, one click
board is released per week. It is our
intention to provide you with as many addon boards as possible, so you will be able
to expand your development board with
additional functionality. Each board comes
with a set of working example code. Please
visit the click™ boards webpage for the
complete list of currently available boards:
Figure 10-1:
clicker 2 for FT90x driving
click™ boards
www.mikroe.com/click
Page 28
RFid click™
Relay click™
8x8 click™
FM click™
Bluetooth2 click™
Thunder click™
USB SPI click™
BarGraph click™
7seg click™
THERMO click™
Gyro click™
EEPROM click™
LightHz click™
Pressure click™
Page 29
11. Dimensions
Page 30
XDISCLAIMER
All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any
other copyright material. No part of this manual, including product and software described herein, may be reproduced, stored in a retrieval system, translated or
transmitted in any form or by any means, without the prior written permission of MikroElektronika. The manual PDF edition can be printed for private or local use,
but not for distribution. Any modification of this manual is prohibited. MikroElektronika provides this manual ‘as is’ without warranty of any kind, either expressed or
implied, including, but not limited to, the implied warranties or conditions of merchantability or fitness for a particular purpose. MikroElektronika shall assume no
responsibility or liability for any errors, omissions and inaccuracies that may appear in this manual. In no event shall MikroElektronika, its directors, officers, employees
or distributors be liable for any indirect, specific, incidental or consequential damages (including damages for loss of business profits and business information,
business interruption or any other pecuniary loss) arising out of the use of this manual or product, even if MikroElektronika has been advised of the possibility of such
damages. MikroElektronika reserves the right to change information contained in this manual at any time without prior notice, if necessary.
HIGH RISK ACTIVITIES
The products of MikroElektronika are not fault – tolerant nor designed, manufactured or intended for use or resale as on – line control equipment in hazardous
environments requiring fail – safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control,
direct life support machines or weapons systems in which the failure of Software could lead directly to death, personal injury or severe physical or environmental
damage (‘High Risk Activities’). MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities.
TRADEMARKS
The MikroElektronika name and logo, mikroC™, mikroBasic™, mikroPascal™, Visual TFT™, Visual GLCD™, mikroProg™, Ready™, MINI™, mikroBUS™, EasyPIC™, EasyAVR™,
Easy8051™, click™ boards and mikromedia™ are trademarks of MikroElektronika. All other trademarks mentioned herein are property of their respective companies.
All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies, and are only
used for identification or explanation and to the owners’ benefit, with no intent to infringe.
The FTDI Chip® and Windows® logos and product names are trademarks of FTDI Chip and Microsoft® in the U.S.A. and other countries.
Copyright © 2015 MikroElektronika. All Rights Reserved.
Page 31
∫ If you want to learn more about our products, please visit
our website at www.mikroe.com
∫ If you are experiencing some problems with any of our
products or just need additional information, please place
your ticket at www.mikroe.com/support
∫ If you have any questions, comments or business proposals,
do not hesitate to contact us at [email protected]
Clicker 2 for FT90x manual
ver 1.01a
0100000072615
Designed by
MikroElektronika Ltd.