ÀÌ ¸Å´º¾óÀº JKÀüÀÚ(JK Electronics) ¿¡ ÀÇÇؼ­ ¹ø¿ª, ¼öÁ¤, ÀÛ¼º µÇ¾ú°í ¼ÒÀ¯±Ç ¶ÇÇÑ
JKÀüÀÚ(JK Electronics)
ÀÇ °ÍÀÔ´Ï´Ù. ¼ÒÀ¯±ÇÀÚÀÇ Çã°¡¸¦ ¹ÞÁö ¾Ê°í ¹«´ÜÀ¸·Î ¼öÁ¤, »èÁ¦Çϰųª ¹èÆ÷ ÇÒ ¼ö ¾ø½À´Ï´Ù.

 

 

Cortex-M4 STM32F407IGT6 ¿µ»óó¸® °³¹ßº¸µå ¸Þ´º¾ó


 
* Update history

- 2012.4.25 : Ãʱâ Release


 
* Cortex-M4 STM32F407IGT6 ¿µ»óó¸® °³¹ßº¸µå
1. Cortex-M4 STM32F407IGT6 ¿µ»óó¸® °³¹ßº¸µå ¼Ò°³

2. Cortex-M4 STM32F407IGT6 ¿µ»óó¸® °³¹ßº¸µå »ç¾ç
2.1 CPUº¸µåÀÇ H/W ±¸¼º ¹× ȸ·Îµµ
2.2 Bottom º¸µåÀÇ H/W ±¸¼º ¹× ȸ·Îµµ
2.3 Á¦°ø S/W »ç¾ç

3. ±âº» »ç¿ë¹æ¹ý ¹× ´Ù¿î·Îµå °¡À̵å
3.1 °³¹ßº¸µå ±âº»»ç¿ë ¹æ¹ý
3.2 ÇÁ·Î±×·¥ ´Ù¿î·Îµå °¡À̵å
3.3 °³¹ßº¸µå ½ºÀ§Ä¡, Á¡ÆÛ ¼³¸í

4. S/W Å×½ºÆ® ¹æ¹ý
4.1 LED On/Off Å×½ºÆ®
4.2 LCD, ADC, UART3 Å×½ºÆ®
4.3 4Phase Stepper motor simulation
4.4 ÀÓº£µðµå GUI ¶óÀ̺귯¸® Å×½ºÆ®
4.5 CAN Åë½Å Å×½ºÆ®
4.6 Flash ÆÄÀÏ ½Ã½ºÅÛ Å×½ºÆ® on SD Memory
4.7 Flash ÆÄÀÏ ½Ã½ºÅÛ Å×½ºÆ® on NAND Flash
4.8 USB Mass Storage with internal RAM
4.9 USB HID
4.10 USB Mass Storage with SD Memory
4.11 USB Mass Storage with NAND Flash
4.12 USB HOST HID Å°º¸µå
4.13 USB HOST Storage

* ¿¹Á¦ 4.3 ~ 4.24 ±îÁö´Â KEIL RL-ARM ¶óÀ̺귯¸®°¡ ÇÊ¿ä ÇÕ´Ï´Ù.

4.14 HTTP Server
4.15 HTTP Server with File upload
4.16 Telnet Server
4.17 DNS
4.18 FTP Server
4.19 SNMP
4.20 SMTP Client
4.21 LED switch with TCP/UDP Network
4.22 BSD Network
4.23 TCP/UDP LED Client
4.24 BSD Client

* ¿¹Á¦ 4.14 ~ 4.24 ±îÁö´Â KEIL RL-ARM ¶óÀ̺귯¸®°¡ ÇÊ¿ä ÇÕ´Ï´Ù.

4.25 HTTP Server
4.26 TFTP Server
4.27 TCP Echo Server
4.28 UDP Echo Server
4.29 TCP Echo client
4.30 UDP Echo client

* ¿¹Á¦ 4.25 ~ 4.30 ±îÁö´Â KEIL RL-ARM ¶óÀ̺귯¸®°¡ ÇÊ¿ä ¾ø½À´Ï´Ù.

4.31 HTTP Server
4.32 HTTP Server with socket library
4.33 Echo Server

* ¿¹Á¦ 4.31 ~ 4.33 ±îÁö FreeRTOS¸¦ ÀÌ¿ëÇÑ ¿¹Á¦ ÀÔ´Ï´Ù.


4.34 OV9655 Camera Preview

* ¿¹Á¦ 4.34´Â RL-ARM ¶óÀ̺귯¸®°¡ ÇÊ¿äÇÑ ¿¹Á¦ ÀÔ´Ï´Ù.

5. ÇÁ·Î±×·¡¹Ö °¡À̵å
5.1 Keil MDK 4.2x ÀÌ»ó

* ST Microelectronics Document
1. STM32F4 Datasheet
2. STM32F4 Referenc manual



   
  1. Cortex-M4 STM32F407IGT6 ¿µ»óó¸® °³¹ßº¸µå ¼Ò°³
Cortex-M4 STM32F407IGT6 ¿µ»óó¸® °³¹ßº¸µå´Â ÃÖ´ë 168MHz Ŭ·° À¸·Î µ¿ÀÛ ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¶ÇÇÑ ÀÌ Á¦Ç°¿¡´Â ¿µ»ó󸮸¦ À§ÇÏ¿© OV9655 130¸¸ È­¼Ò Ä«¸Þ¶ó¸¦ ±âº»À¸·Î Á¦°øÇÏ°í ÀÖ°í ¿µ»óó¸® ¹öÆÛ¸¦ À§Çؼ­ CPU¸ðµâ¿¡ SRAM°ú NAND Ç÷¡½Ã¸¦ ³»ÀåÇÏ°í ÀÖ¾î °í¼º´É ¿µ»ó󸮸¦ À§ÇÑ ÁÁÀº Á¶°ÇÀ» °®Ãß°í ÀÖ½À´Ï´Ù.

2. Cortex-M4 STM32F407IGT6 ¿µ»óó¸® °³¹ßº¸µå »ç¾ç
2.1 CPUº¸µåÀÇ H/W ±¸¼º ¹× ȸ·Îµµ

(1) CPU ¸ðµâ H/W ±¸¼º

cortex-m4

(2) CPU ¸ðµâ H/W ÇÉ ¹èÄ¡µµ

VCC5 3.3V GND PG3 PG4 PG1 PF14 PF12 H-D+ PA0 PC4 PH7 PH2 PA1 PC3 PC1 PG11 PG14 PA8 PB14 PF10 PF7 PF5 PF3 PC13 PI9 PG9 GND
VCC5 3.3V GND VBUS_F VBUS_H PG0 PF13 PF15 H-D- H-ID PA7 PH6 PH3 PA2 PC5 PC2 RESET PG13 PB8 PI10 PF9 PF6 PF4 PG9 PF1 PF11 GND GND
                    GND GND
JP2                                         PE6 VBAT
                                                PE4 PE5
                    PE2 PE3
                            PH5 PD3
                            PE1 PE0
                            PB7 PB5
                        JTAG PG15 PB13
                        3.3V 3.3V PD7 PD6
                        TRST RESET PB4 PA4
                        TDI TDO PA15 PB3
                        TMS RTCK PA13 PA14
                        TCK GND PI3 PI2
                            PI1 PI0
                            PJ15 PA8
JP3                     JP4 PC7 PC6
                    GND GND
PD15 PD1 PE8 PE10 PE12 PE14 PD8 PD10 PD5 PF0 PG12 PF8 PD13 PD11 PH11 PH9 PA6 PB6 PI6 PA10 PA12 PI5 PC8 PC11 PH13 PD2 GND PG8
PD14 PD0 PE7 PE9 PE11 PE13 PE15 PD9 PG10 PD4 PI8 PG2 PG5 PD12 PH12 PH10 PH8 PB9 PI7 PA9 PA11 PH14 PI4 PC10 PC9 PC12 GND PG7

(3) CPU¸ðµâ ȸ·Îµµ ´Ù¿î·Îµå

2.2 Bottom º¸µåÀÇ H/W ±¸¼º ¹× ȸ·Îµµ

(1) Bottom º¸µåÀÇ H/W ±¸¼º

cortex-m4

(2) Bottom º¸µå ȸ·Îµµ ´Ù¿î·Îµå

2.3 Ä«¸Þ¶ó º¸µåÀÇ H/W ±¸¼º ¹× ȸ·Îµµ

(1) OV9655 1.3M CMOS Camera º¸µåÀÇ H/W ±¸¼º

cortex-m4

(2) Ä«¸Þ¶ó ¸ðµâ ȸ·Îµµ ´Ù¿î·Îµå
(3) Ä«¸Þ¶ó ¸ðµâ µ¥ÀÌÅͽÃÆ® ´Ù¿î·Îµå

2.4 Á¦°ø S/W »ç¾ç

±âº»ÀûÀ¸·Î LED, Timer, RTC, USB, Camera, LCD, Ethernet, CAN, UART, Audio µî »ùÇà ¿¹Á¦¸¦ Á¦°ø ÇÕ´Ï´Ù. Keil MDK 4.2 ¿¡¼­ ÄÄÆÄÀÏÇÏ°í Å×½ºÆ® ÇÏ¿´½À´Ï´Ù.
EWARM 6.2, RIDE7 ¿¹Á¦ ÇÁ·ÎÁ§Æ® ÆÄÀϵ鵵 ¾÷µ¥ÀÌÆ®ÇÏ¿© Á¦°øÇÒ ¿¹Á¤ ÀÔ´Ï´Ù.

(1) ¼ÒÇÁÆ®¿þ¾î µð·ºÅ丮

±âº»ÀûÀ¸·Î Examples Æú´õ¾È¿¡ ¿¹Á¦ ¼Ò½ºµéÀÌ ÀÖ½À´Ï´Ù. °¢ ¿¹Á¦ ¼Ò½ºµéÀÇ ±¸Á¶´Â ¾Æ·¡Ç¥¿Í °°½À´Ï´Ù.

Basic Blinky
Blinky_ADC
RTX_Blinky
Demo
CAN
LED, UART, LCD, Touch, Button
CAN Self Å×½ºÆ® µî ±âº» Å×½ºÆ®
emWin GUIDemo
Template
Template_RTX
ÀÓº£µðµå GUI ¶óÀ̺귯¸® ¿¹Á¦
KEIL RL-ARM ¶óÀ̼¾½º ÇÊ¿ä
FlashFS NAND_File
SD_File
 
USB Device
Host
HID
Memory
HID_Kbd
... ¿Ü 3Á¾
Ethernet Http_demo
LEDClient
FTP_demo
... ¿Ü 9Á¾
 
STM32F4x7_ETH_LwIP_V1.0.0
STM32F4xx_DSP_StdPeriph_Lib_V1.0.0
STM32F4xx_USART_IAP_V1.0.0
Camera, ±âº» ¿¹Á¦µé
PC_based HID_Client
LEDSwitch
SNMPTest
sokit
TCPUDPDbg
Ethernet, USB Å×½ºÆ®¿ë PC¿ë Ŭ¶óÀ̾ðÆ®
VC++ ¼Ò½º¿Í ½ÇÇàÆÄÀÏ ÇÔ²² Á¦°ø ÇÕ´Ï´Ù.

(2) ¼ÒÇÁÆ®¿þ¾î ¼Ò½º ´Ù¿î·Îµå

- 2012.4.27 S/W ¾÷µ¥ÀÌÆ®
- ¼Ò½ºÀÇ ¿ë·®ÀÌ ³Ê¹« Å« °ü°è·Î °³¹ßº¸µå¿Í ÇÔ²² CD ¹Ìµð¾î·Î Á¦°ø ÇÏ°í ÀÖ½À´Ï´Ù.


3. ±âº» »ç¿ë¹æ¹ý ¹× ´Ù¿î·Îµå °¡À̵å
3.1 °³¹ßº¸µå ±âº»»ç¿ë ¹æ¹ý
(1) Àü¿ø °ø±Þ
°³¹ßº¸µå¿¡ Àü¿øÀ» °ø±ÞÇϱâ À§ÇÑ ¹æ¹ýÀº 3°¡Áö°¡ ÀÖ½À´Ï´Ù.

- J17 ¿¡ 5V DC Adapter¸¦ ¿¬°á
- J18 USB OTG Æ÷Æ®¿¡ Mini USB ÄÉÀ̺íÀ» ¿¬°á
- J19 USB Device Æ÷Æ®¿¡ Mini USB ÄÉÀ̺íÀ» ¿¬°á

(2) °³¹ßº¸µå¿Í PC ÀÇ UART ¿¬°á

- ÇÏÀÌÆÛ Å͹̳Π¼³Á¤


3.2 ÇÁ·Î±×·¥ ´Ù¿î·Îµå °¡À̵å

(1) ½Ã¸®¾ó Åë½ÅÀ» ÀÌ¿ëÇÑ ¹æ¹ý(»õâ)
STM32F ½Ã¸®Áî¿¡´Â JTAG ´Ù¿î·Î´õ°¡ ¾øÀÌ USART3 Æ÷Æ®¸¦ ÀÌ¿ëÇؼ­ ÇÁ·Î±×·¥À» ´Ù¿î·Îµå ÇÒ ¼ö ÀÖ´Â ISP±â´ÉÀ» Á¦°ø ÇÕ´Ï´Ù.
°¡Àå ºñ¿ëÀÌ Àû°Ôµå´Â ÀåÁ¡ÀÌ ÀÖÁö¸¸ ´Ù¿î·Îµå¸¸ °¡´ÉÇÏ°í ÄÚµå µð¹ö±ëÀº ÇÒ ¼ö ¾ø½À´Ï´Ù.

(2) ARM-JTAG À» ÀÌ¿ëÇÑ ¹æ¹ý(»õâ)

Keil MDK, IAR Workbench ¿¡¼­ ARM-JTAG¸¦ ÀÌ¿ëÇÑ ´Ù¿î·Îµå ¹æ¹ý°ú µð¹ö±ë ¹æ¹ý

3.3 °³¹ßº¸µå ½ºÀ§Ä¡, Á¡ÆÛ ¼³¸í

(1) Audio

PDN_HPx[1:0] J1 Stereo Out
00 Open Mute
Short Unmute
01 Open Unmute
Short Mute
10 Ignore Unmute
11 Ignore Mute


(2) CAN

Name JP7 CAN µ¿ÀÛ
JP7 1 ¡Ü¡Ü 2 : Open
3 ¡Ü¡Ü 4 : Open
Open »óÅ¿¡¼­´Â USB ÇÉÀ¸·Î »ç¿ë µË´Ï´Ù.
1 ¡Ü¡Ü 2 : Short
3 ¡Ü¡Ü 4 : Short
CANÀ» »ç¿ëÇϱâ ÀÌÇؼ­´Â JP7 À» Short ½ÃÄÑ¾ß ÇÕ´Ï´Ù.


(3) Ethernet

Name JP7 CAN µ¿ÀÛ
SW1 1 2 3
¡Ü¡Ü¡Ü : 1, 2 Short
Enable RMII mode
1 2 3
¡Ü¡Ü¡Ü : 2, 3 Short
Enable MII mode (default configuration)
SW2 1 2 3
¡Ü¡Ü¡Ü : 1, 2 Short
Only to provide the 25MHz external crystal for the PHY in MII mode
1 2 3
¡Ü¡Ü¡Ü : 2, 3 Short
In MII mode, 25MHz or RMII mode, the PA8 pin corresponding to the MCO to provide the 50MHz clock to the PHY (default configuration)
JP4 1 ¡Ü¡Ü 2 : Open Enable MII mode.
1 ¡Ü¡Ü 2 : Short Enable RMII mode
JP5 1 ¡Ü¡Ü 2 : Open RMII mode MCO connected to PA1 pin corresponding RMII_REF_CLK
1 ¡Ü¡Ü 2 : Short Default do not take short-circuit cap


- Note: PB14 can be set to 0 so that the network PHY into power down mode.

4. S/W Å×½ºÆ® ¹æ¹ý
* S/W Å×½ºÆ®½Ã ¹Ýµå½Ã CPU¸ðµâÀÇ ISP Mode Á¡ÆÛ¸¦ ¾Æ·¡¿Í °°ÀÌ Normal ·Î ¼³Á¤ÇÏ°í Å×½ºÆ®¸¦ ÇØ¾ß ÇÕ´Ï´Ù.

* ISP¸ðµå¿Í ÀÏ¹Ý ºÎÆà ¸ðµåÀÇ SW1, SW2 Á¡ÆÛ ¼¼Æà ¹æ¹ý

stm32f407igt6

4.1 LED On/Off Å×½ºÆ®
(1) /Examples/Basic/Blinky µð·ºÅ丮
(2) SysTick_Handler ¸¦ ÀÌ¿ëÇؼ­ LED1À» ¹Ýº¹ÀûÀ¸·Î On/Off ÇÕ´Ï´Ù.

stm32f407igt6

4.2 LCD, ADC, UART3 Å×½ºÆ®

(1) /Examples/Basic/Blinky_ADC µð·ºÅ丮
(2) SysTick_Handler ¸¦ ÀÌ¿ëÇؼ­ LED1À» ¹Ýº¹ÀûÀ¸·Î On/Off ÇÕ´Ï´Ù.

stm32f407igt6

(3) PF9 Æ÷Æ®¸¦ ÀÌ¿ëÇؼ­ Bottom °³¹ßº¸µå¿¡ ÀÖ´Â °¡º¯ÀúÇ×ÀÇ °ªÀ» ADC·Î Àоù LCD È­¸é°ú UART3(115200bps) ¸¦ ÅëÇؼ­ Ãâ·Â ÇÕ´Ï´Ù.

stm32f407igt6stm32f407igt6

* UART3 »ç¿ë½Ã ÁÖÀÇ Á¡

¹Ýµå½Ã SW3, SW4 ¸¦ ¾Æ·¡ ±×¸²°ú °°ÀÌ UART3ÂÊÀ¸·Î Á¡ÆÛ¸¦ Short ½ÃÄÑ¾ß UART3 Åë½ÅÀ» ÇÒ ¼ö ÀÖ½À´Ï´Ù.

stm32f407igt6


4.3 4Phase Stepper motor simulation

(1) /Examples/Basic/RTX_Blinky µð·ºÅ丮
(2) LCDÈ­¸é»ó¿¡ 4Phase Stepper motor µ¿ÀÛÀ» ½Ã¹Ä·¹ÀÌ¼Ç ÇÕ´Ï´Ù.

stm32f407igt6

4.4 ÀÓº£µðµå GUI ¶óÀ̺귯¸® Å×½ºÆ®

(1) /Examples/emWin/Template, Template_RTX, GUIDemo µð·ºÅ丮
(2) LCDÈ­¸é»ó¿¡ emWin ¶óÀ̺귯¸®¸¦ ÀÌ¿ëÇÑ GUI È­¸éÀ» Display ÇÕ´Ï´Ù.
(3) KEILȯ°æ¿¡¼­ ÄÄÆÄÀϽà RL-ARM º°µµÀÇ ¶óÀ̼¾½º°¡ ÇÊ¿ä ÇÏ°í, EWARM, RIDE7 ¿¡¼­´Â ÄÄÆÄÀÏÀÌ µÇÁö ¾Ê½À´Ï´Ù.

stm32f407igt6 stm32f407igt6

4.5 CAN Åë½Å Å×½ºÆ®
(1) /Examples/Basic/CAN
(2) CANÀÇ self-test mode¸¦ ÀÌ¿ëÇؼ­ Send data¿Í Receive data ¸¦ LCD¿¡ Display Çϸ鼭 PF9ÀÇ ADC Value °ªµµ °°ÀÌ Display ÇÕ´Ï´Ù.

stm32f407igt6

4.6 Flash ÆÄÀÏ ½Ã½ºÅÛ Å×½ºÆ® on SD Memory
4.7 Flash ÆÄÀÏ ½Ã½ºÅÛ Å×½ºÆ® on NAND Flash
4.8 USB Mass Storage
4.9 USB HID
4.10 USB Mass Storage with SD Memory
4.11 USB Mass Storage with NAND Flash
4.12 USB HOST HID Å°º¸µå
4.13 USB HOST Storage

- USB °ü·Ã ¿¹Á¦ ÀÚ¼¼È÷ º¸±â(»õâ)

4.14 HTTP Server
4.15 HTTP Server with File upload
4.16 Telnet Server
4.17 DNS
4.18 FTP Server
4.19 SNMP
4.20 SMTP Client
4.21 LED switch with TCP/UDP Network
4.22 BSD Network
4.23 TCP/UDP LED Client
4.24 BSD Client
4.25 HTTP Server
4.26 TFTP Server
4.27 TCP Echo Server
4.28 UDP Echo Server
4.29 TCP Echo client
4.30 UDP Echo client
4.31 HTTP Server
4.32 HTTP Server with socket library
4.33 Echo Server

- ³×Æ®¿öÅ© °ü·Ã ¿¹Á¦ ÀÚ¼¼È÷ º¸±â(»õâ)

4.34 OV9655 Camera Preview
(1) /Examples/STM32F4xx_DSP_StdPeriph_Lib_V1.0.0/Project/Camera/MDK-ARM
(2) Ä«¸Þ¶ó ¾îÇø®ÄÉÀ̼ÇÀ» ½ÇÇà ½ÃÅ°¸é QVGA(320*240) »çÀÌÁî·Î LCD Preview °¡ ½ÇÇà µË´Ï´Ù.
(3) High contrast ¿µ¿ª¿¡¼­ ÀϺΠgreen pixel ÀÌ ³ªÅ¸³¯ ¼ö ÀÖ½À´Ï´Ù. Ä«¸Þ¶ó ¼¾¼­ ÁÖÀ§ÀÇ Á¶µµ¸¦ ³Ê¹« ¹àÁö ¾Êµµ·Ï Çؼ­ Å×½ºÆ® ÇϽñ⠹ٶø´Ï´Ù.
(4) DMA¿Í CameraÀü¿ë ÀÎÅÍÆäÀ̽º¸¦ »ç¿ëÇؼ­ ¼Óµµ´Â 30fps ÀÌ»óÀÌ ³ª¿À´Â°Í °°½À´Ï´Ù.

5. ÇÁ·Î±×·¡¹Ö °¡À̵å

Cortex-M4 Äھ Áö¿øÇÏ´Â ÄÄÆÄÀÏ·¯·Î´Â KEIL MDK 4.2 ÀÌ»ó, EWARM 6.2 ÀÌ»ó, RIDE7 µîÀÌ ÀÖ½À´Ï´Ù. ¾Õ¿¡¼­ ³ª¿­ÇÑ ÄÄÆÄÀÏ·¯ÀÇ ÀÌÀü ¹öÁ¯¿¡¼­´Â Cortex-M4 Äھ Áö¿øÇÏÁö ¾Ê½À´Ï´Ù.

5.1 Keil MDK 4.2x

ÇÁ·Î±×·¥ °³¹ßÀ» À§ÇÑ Keil MDK ÄÄÆÄÀÏ·¯ ¼³Á¤ ¹æ¹ý°ú ÄÄÆÄÀÏ(»õâ)