Transcript
STEVAL-CCM001V1 Digital photo frame demonstration board based on the STM32F103RB microcontroller Data Brief
Features ■
320 x 240 resolution TFT (2.4" diagonally) interfaced through SPI2
■
Micro SD card interfaced through SPI1
■
Mini USB type-B connector
■
On-board power supply for DPF
■
LED power indicator
■
Rechargeable battery circuit available
■
On-board JTAG connector for firmware upgrade and changes
■
Additional ESD protection device on USB
■
USB interface available for use of massstorage devices
■
Supports both 2-axis and 3-axis MEMS, used for iPhone-like picture orientation
■
Push-button switches for reset and user switching
■
Joystick control
) s ( ct
u d o
r P e
t e l o
STEVAL-CCM001V1
s b O
) (s
Description
t c u
d o r
P e
The STEVAL-CCM001V1 demonstration board is a standalone digital photo frame application designed using the STM32F103RB Cortex M3 microcontroller.
t e l o
s b O
The digital photo frame is used to display digital images in slideshow style. Unlike the static display of traditional photo frames, the images in the digital photo frame change automatically at regular intervals which are set by the user. The application is capable of managing JPEG decompression with the 20 KB of RAM in the STM32F103RB microprocessor. The FAT16 / FAT32 system library is used for reading JPEG images from the Micro SD card. The STEVAL-CCM001V1 can be powered by an external battery, as well as by a USB connector.
November 2008
Rev 1
For further information contact your local STMicroelectronics sales office.
1/5 www.st.com
5
Block diagram and schematics
1
STEVAL-CCM001V1
Block diagram and schematics Figure 1.
STEVAL-CCM001V1 system block diagram
) s ( ct
u d o
r P e
t e l o
) (s
t c u
d o r
P e
t e l o
s b O
2/5
s b O
100nF
C6
3V3
C2 10uF
1uF
C23
USB5V
C30 100nF
R29
2.9nF
C24
C8
Y2
32Khz
100nF
C9
0
5
R46 13k
1 2 3 4 5 6 7 8
R44 0 0
3V0A
R45
R42 DNM
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
2 3V3
1
C15
Y1 8 MHz
C22 1uF R40
1k
SW_C
C31 10uF
J4
20pF
C10
R47 R49 14k R48 3.5k 30k
9 10 11 12 13 14 15 16
R36 0
3
PB9_USER_SWITCH
BOOT0 MEMS_I2C1_SDA MEMS_I2C1_SCL
VBAT PC13_ANTI_TAMP PC14_OSC32_IN PC15_OSC32_OUT PD0_OSC_IN PD1_OSC_OUT nRST PC0 PC1 PC2 PC3 VSSA VDDA PA0_WKUP PA1 PA2
20pF
STM32F103RBT6
U1
U5 L6924D
8 7 6 5
10pF
C14
ST1 ST2
PC14_OSC32_IN PC15_OSC32_OUT OSC_IN OSC_OUT nRST MEMS_PC0_INT MEMS_PC1_INT
VBAT
VIN VO_PRG VIN_SNS VO_SNS ST2 V_OUT ST1 V_REF TPRG I_END GND V_PRE SD I_PRG TH USB5V I_PRE
LD1117D33TR
NC VOUT VOUT NC
REG_OUT
GND VOUT VOUT VIN
U8
C12 10pF
ST2 ST1
1 2 3 4
0
0
C3 100nF
BT1
100nF 100nF
C7
USB5V
GND
PC14_OSC32_IN
PC15_OSC32_OUT
100nF
C5
BATTERY
L1 10uH
+
1
2
R9
3V3
JTAG_PB4 JTAG_SWD_PB3
2
MSD_SPI1_nCS
NTC
1
3
BOOT0
JTAG_SWD_PA13 USB_DP_PA12 USB_DM_PA11 JOY_UP_PA10 JOY_DOWN_PA9 JOY_SEL_PA8 JOY_RIGHT_PC9 JOY_LEFT_PC8 LCD_RS LCD_nWR LCD_SPI2_MOSI LCD_SPI2_MISO LCD_SPI2_SCK LCD_SPI2_nCS
3V3
R13
2
1
0
3
6
5
4
100k R25
R23 100k 3V3
BOOT1
R24
100k
SW2
R14
3V3
100k
3V3
R18 10k
USB5V
R53 1M
R43 1k
VBAT1
3
4
3
J5
2
R26
100k
D3
1
SW_ON
SW_C
6
100nF
C26
4
2
10uH
BATT_OUT
16k
R50
D2 STPS3L60U
R39 18k
L2
C27
5
3
8
R52 R51 200k 2M
L6920D
SHDN
LBO
OUT
U6
R37 0
3
+ C28 STPS3L60U 1uF/10V 47uF/10V
D5
GND
REF
LBI
2
C32 47uF/10V
3V0
9 10 11 12 13 14 15 16
R31 1M
C16 4.7nF
R34 3V3 4.7k
MEMS_PC0_INT
3V3
3V3
conn3
COM
CD
USB_VCC USBDM USBDP ID USB_GND
USB CONN1
0
1 2 3 4 5
1 3 5 7 9 11 13 15 17 19
2 4 6 8 10 12 14 16 18 20
2
1 2 3 4 5 6 7
USB_DP
USB_DM
USB5V
NC GND VDD RESERVE GND RDY/INT NC
GND
MEMS_I2C1_SDA
MSD_CD_PA4 USB_DP USB_DM USB5V 3V3 MSD_SPI1_SCK MSD_SPI1_NCS GND
8 1
2
100k
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 JTAG_CONN
J1
I/O1
I/O2
GND
I/O2 USBLC6
NC RESERVE VDD RESERVE GND CK NC
MEMS_I2C1_SCL
21 3V3 20 19 18 17 16 15
U4
JTAG_SWD_PA14
JTAG_SWD_PA13
DBGACK
DBGRQ
nRST
JTAG_SWD_PB3
RTCK
100nF C21
R32 1.5k
3V3
3V3
3V3
22k
R30
1 2 3 4 5 6
3V3
3V0 GND 3V0 GND GND 3V0
1
R21
10k R22
10k
R3
10k
R8 10k
R11 0
R6 10k
R19 10k
R16 NOT USED
R4 10k
GND SDA 13 12 GND SDO 11 GND MEMS_PC1_INT 10 GND MEMS_PC0_INT INT2 9 INT1 8
MEMSLIS202DL MEMS_I2C1_SDA
MEMS_I2C1_SCL
U7
C17 15pF
USB_DP_PA12
C13 15pF
USB_DM_PA11
MEMS AND USB
GND
LIS3LV02DQ
4
6
R28 22k
USB5V
I/O1
U2
USB_DP_PU_PB11
3
2
1
C11
4.7nF
CONNECTORS
R5 10k
1
JTAG_SWD_PA15
JTAG_PB4
3V3
uSD,JTAG,TFT LCD.
R20
R81 100k
MSD_SPI1_nCS 2 MSD_SPI1_MOSI 3 5 MSD_SPI1_SCK 7 MSD_SPI1_MISO
MMC_CON
RSV RSV
CS DATA_IN SCLK DATA_OUT
R17 (DNM)
16-pin connector to mother board only for serial signal of colour LCD.
) s ( ct DAUGHTER BRD CONN
CON20AP
GND SW_ON SW_C USB_DP USB_DM USB5V 3V3 MSD_SPI1_MISO MSD_SPI1_MOSI GND
J3
R38 4.7k
MEMS_I2C1_SDA
9
10
R15 100k
R10
3V3
3V3 3V3
LCD_SPI2_nCS LCD_SPI2_SCK LCD_SPI2_MOSI LCD_RS LCD_nWR LCD_nRD LCD_SPI2_MISO nRST
SHELL SHELL SHELL SHELL
R82 510
100nF
C29
MEMS_I2C1_SCL
GND
6 7 8 9
MH7
MSD_CD_PA4
4.7uF
C33
MH6
LCD_CONNECTOR MH5
VDD VC I LCD_GND LCD_GND BL_VDD BL_CNTR BL_GND BL_GND
CONN2 1 2 3 4 5 6 7 8
NCS SCL SDI RS NWR NRD SDO NRST
u d o
4
6 5 2 1
STPS3L60U
STT3PF30L_6P
Q1
1
C1 100nF
C4 100nF
JOY_UP_PA10
JOY_RIGHT_PC9
JOY_SEL_PA8
JOY_DOWN_PA9
JOY_LEFT_PC8
R12 4.7k
3V3
sw1
U
R
E
D
7
MICROCONTROLLER AND SWITCHES
R27 1M OSC_OUT
VDD_2 VSS_2 PA13 PA12 PA11 PA10 PA9 PA8 PC9 PC8 PC7 PC6 PB15 PB14 PB13 PB12
POWER SECTION
R41 1nF 470k
C25
SW_ON
J2
BATT_OUT
OSC_IN
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
R1 100k
2
1
L
3
r P e
A
B
C
3V3
3V3
R7
JTAG_SWD_PA15 JTAG_SWD_PA14
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 VDD_3 VSS_3 PB9 PB8 BOOT0 PB7 PB6 PB5 PB4 PB3 PD2 PC12 PC11 PC10 PA15 PA14 PA3 VSS_4 VDD_4 PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2 PB10 PB11 VSS_1 VDD_1 17 18 3V3 19 MSD_CD_PA4 MSD_SPI1_SCK20 21 MSD_SPI1_MISO 22 MSD_SPI1_MOSI 23 24 25 26 27 BOOT1 28 29 USB_DP_PU_PB11 30 3V3 31 32
PB9_USER_SWITCH
JOYSTICK
nRST
SW5
12
4 VDD
R2 100k
+
VSS
4
7 LX
VSS 11
D
VBAT1
1 FB
VSS2
5
3V3
5 VBUS
6
28 27 26 25 24 23 22 NC NC NC NC NC NC NC NC SDO SDA VDD SCL CS NC
8 9 10 11 12 13 14
14 SCL
d o r t c u ) (s s b O t e l o
CS
s b O t e l o P e
3V3
A
B
C
D
Figure 2.
7
STEVAL-CCM001V1 Block diagram and schematics
Internal schematic diagrams
AM03272v1
3/5
Revision history
2
STEVAL-CCM001V1
Revision history Table 1.
Document revision history
Date
Revision
21-Nov-2008
1
Changes Initial release.
) s ( ct
u d o
r P e
t e l o
) (s
t c u
d o r
P e
t e l o
s b O
4/5
s b O
STEVAL-CCM001V1
) s ( ct
Please Read Carefully:
u d o
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice.
r P e
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
t e l o
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
) (s
s b O
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
t c u
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
d o r
P e
t e l o
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.
s b O
ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
© 2008 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com
5/5