Ŵ JK(JK Electronics) ؼ , , ۼ Ǿ
JK(JK Electronics)
Դϴ. 㰡 ʰ , ϰų ϴ.



 

STM32 CORTEX-M3 3.2 LCD SILVER SNAKE ߺ ޴


 
* Update history

- 2013.7.3 : ʱ Release
  2013.7.3 S/W Ʈ


 
1. STM32 CORTEX-M3 3.2 LCD SILVER SNAKE ߺ Ұ
2. STM32 CORTEX-M3 3.2 LCD SILVER SNAKE ߺ
    2.1 ߺ H/W ȸε
    2.2 S/W
3. ⺻ ٿε ̵
    3.1 STM32 CORTEX-M3 3.2 LCD SILVER SNAKE ߺ ⺻
    3.2 α׷ ٿε ̵
4. S/W ׽Ʈ
    4.1 LED
    4.2 Timer
    4.3 RTC
    4.4 SD Memory(FAT32)
    4.5 USB( HID Mouse )
    4.6 LCD Display
    4.7 KEY Է ׽Ʈ
5. α׷ ̵
    5.1 Keil MDK 4.2x
    5.2 IAR Workbench 6.x
    5.3 RIDE7



 

1. STM32 CORTEX-M3 3.2 LCD SILVER SNAKE ߺ Ұ

STM32 Cortex-M3 32bit ARM ߺ STM32F103VCT6 MCU Ͽ
3.2ġ TFT ġ LCD ǿ ִ 72 MHz ӵ ϰ ֽϴ.



2. STM32 CORTEX-M3 3.2 LCD SILVER SNAKE ߺ

2.1 ߺ H/W ȸε

H/W ( STM32F10x Rabbit CPU Ͽϴ.)

stm32




* STM32 CORTEX-M3 3.2 LCD SILVER SNAKE ߺ ȸε ٿε

2.2 S/W

ST Micronics(http://www.st.com)翡 ϴ ⺻ STM32F10x_StdPeriph_Driver, STM32_USB-FS-Device_Driver
ؼ ۼǾϴ.
LED, Timer, RTC, USB,3.2 ġ LCD մϴ.
IAR Workbench, Keil MDK, Ride7 ҽ Ʈ ֽϴ.

(1) Ʈ 丮

prj EWARMv6
MDK-ARM
RIDE
IAR Embeded Workbench Version 6.x
RealView(Keil) MDK-ARM Version 4.2x
Raisonance's Ride7 Version 7.24.06.0251
lib STM32_USB-FS-Device_Lib_V3.4.0 ST's ǥ ̺귯
src   ڵ

(2) STM32 ǥ ̺귯 : STM32_USB-FS-Device_Driver_V3.4.0, STM32F10x_StdPeriph_Driver_V3.4.0
(3) Ʈ ҽ ٿε

- 2013.7.3 ҽ ٿε

3. ⺻ ٿε ̵

3.1 STM32 CORTEX-M3 3.2 LCD SILVER SNAKE ߺ ⺻

(1) CPU

CPU⿡ UARTŰ ϱ ؼ 4Pin ĿͰ ֽϴ.

- USB2Uart ٿδ for Rabbit ̿ؼ PC ø


stm32f103rbt6

- Ϲ USB2Serial ȯ ̺ ̿ؼ PC ø

Ϲ USB2Serial ȯ ̺ ̿ 쿡 Ʒ ׸ 4 CPU⿡ Ŀͷ ؼ
ϸ ˴ϴ.

stm32f103rbt6

(2) Bottom
Bottom 忡 USB to Serial Ʈ ̹ Ǿ ־ PC Mini USB̺ ̿ؼ Ͻø ˴ϴ.
USBƮ ؼ ޵ ֽϴ.

(3) PC USB to Serial ̹ ٿε ġ( â )

(4) ͹̳

PC ͹̳ ؼ Ʒ ޼ Ȯ ֽϴ.

stm32f103rbt6

CPU USER LED() ֽϴ.

3.2 α׷ ٿε ̵



(1) ø ̿ (â)
STM32F ø JTAG ٿδ USART0 Ʈ ̿ؼ α׷ ٿε ִ ISP մϴ.
Ե ٿε常 ϰ ڵ ϴ.

(2) H-JTAG ̿ (â)

Keil MDK, IAR Workbench H-JTAG ̿ ٿε

(3) ARM-JTAG ̿ (IAR Workbench), KEIL MDK

Keil MDK, IAR Workbench ARM-JTAG ̿ ٿε

(4) ST-Link ̿ (â)

Keil MDK, IAR Workbench ST-Link ̿ ٿε

(5) RLink ̿ (â)
RIDE7 RLink ̿ ٿε

(6) J-Link EDU ̿
IAR Workbench J-Link EDU ̿ ٿε (â)


4. S/W ׽Ʈ

4.1 LED

stm32f103rbt6

[1] User LED on : USER LED ϴ.
[2] User LED off : USER LED ϴ.

4.2 Timer

stm32f103rbt6

[1] TIM2 ticktime test : USER LED 1ʰ Դϴ.
[2] TIM2 blink stop : 1 Ÿ̸Ӱ ˴ϴ.

4.3 RTC

stm32f103rbt6

[1] RTC service start : RTC ͷƮ ޾Ƽ 1ʿ ѹ ð ǥ ְ ֽϴ.

stm32f103rbt6

[2] RTC service stop : RTC 񽺰 ˴ϴ.
ھ⿡ RTC ͸  ð ʽϴ.

4.4 SD Memory(FAT32)

FAT32 ý Ͽ SD޸𸮿 ֽϴ. MP3 Player ݵ ʿ Դϴ.
SD Memory ī带 ʽϴ. SD ޸ ī ,
̺κ ׽Ʈ Ϸ SD޸ ī带 ؼ Ʈ 帮 ϰڽϴ.
SD޸ ī PC FAT32 Ǿ ־ մϴ.
׽Ʈ Ϸ SD޸ ī ϴ.

- ù 2GB, 8GB Memory
- SanDisk 2GB, 8GB ޸


SD ޸ ׽Ʈ ؼ SD ޸𸮸 ߺ Ͽ մϴ.


stm32f103rbt6

[1] SD File List : SD޸ Ʈ ݴϴ.

stm32f103rbt6

[x] Exit SD test : ׽Ʈ ϰ ޴ ̵ մϴ.

4.5 USB( HID Mouse )

USB MiniƮ PC մϴ.

* USB ׽Ʈ ǻ
CAN ͷƮ USB ͷƮ Ұ մϴ.
USB ׽Ʈ ؼ ϴ ҽ hw_config.c void bsp_init_rcc(void) Լ Ʒ κ ּó ؾ մϴ.

RCC_APB1PeriphClockCmd(RCC_APB1Periph_CAN1, ENABLE);


[1] USB service start : USB 񽺰 Ǹ Ʒ ׸ ġڿ "HID ԰ 콺" ˴ϴ.

stm32f103rbt6

͹̳ο "L", "R", "U", "D" Էϸ PC 콺 Ŀ ̰ ˴ϴ.

stm32f103rbt6

[2] USB service stop : USB 񽺸 մϴ.

4.6 LCD Display

(1) ͹̳ "6" Էϸ LCD ɴϴ.

stm32f103rbt6

STM32 CORTEX-M3 3.2 LCD SILVER SNAKE ߺ 3.2 ġ ġ LCD FSMC ̽ ϰ ֽϴ.
׽Ʈ Ͻ LCD ´ ޴ ͹̳ο ø ϸ ˴ϴ. ȭ Ʒ Ͻñ ٶϴ.



4.7 KEY Է ׽Ʈ

STM32 CORTEX-M3 3.2 LCD SILVER SNAKE ߺ忡 3 User KEY ֽϴ.

stm32f103rbt6

[1] KEY service start(polling & exti)

stm32f103rbt6

[2] KEY service stop(polling & exti) : KEY Է 񽺸 մϴ.

5. α׷ ̵

5.1 Keil MDK 4.2x

α׷ Keil MDK Ϸ (â)

5.2 IAR Workbench 6.x

α׷ IAR Ϸ (â)

5.3 RIDE7

α׷ RIDE7 Ϸ (â)