1) "ARM Cortex-M3 STM32F103 Á¤º¹" Ã¥ÀÇ Á¤¿ÀÇ¥
2) "OK-STM103"Å°Æ®ÀÇ C¾ð¾î ¿¹Á¦ ÆÄÀÏ
4) "ÀúÀÚ ³×À̹ö±îÆä"
¡Ú °ü·Ã ±³Àç ¹× Á¦Ç°
1) [±³Àç] STM32F103 Á¤º¹
2) [º¸µå] OK-STM103 Å°Æ® Á¾ÇÕ¼¼Æ®
3) [º¸µå] TFT-32A V1.0º¸µå(¿Ï¼ºÇ°)
4) [PCB] OK-STM103 V1.0 °øPCB
5) [PCB] OK-STM103 V1.0 °øPCB + CPU(STM32F103VET6ÀåÂø)
6) [´Ù¿î·Î´õ] ST-LINK/V2
7) [ÄÉÀ̺í] CAN Åë½Å ÄÉÀ̺í
¡Ú ¸ñ Â÷ ¡Ú
Á¦1Àå STM32F103VET6ÀÇ ±¸Á¶¿Í ±â´É |
1.1 ARM ¸¶ÀÌÅ©·ÎÇÁ·Î¼¼¼ÀÇ °³¿ä 11
1. ARM ¸¶ÀÌÅ©·ÎÇÁ·Î¼¼¼ÀÇ ¿ª»ç ¹× Ư¡ 11
[ÈÞ°Ô½Ç] ¸¶ÀÌÅ©·ÎÇÁ·Î¼¼¼¿Í ¸¶ÀÌÅ©·ÎÄÁÆ®·Ñ·¯ 21
[ÈÞ°Ô½Ç] CPU¿¡¼ ·¹Áö½ºÅÍ Á߽ɱ¸Á¶¿Í ÇϹöµå ±¸Á¶ 22
2. Cortex-M3 ¸¶ÀÌÅ©·ÎÄÁÆ®·Ñ·¯ÀÇ Æ¯Â¡°ú Á¾·ù 23
3. Cortex-M4 ¸¶ÀÌÅ©·ÎÄÁÆ®·Ñ·¯ÀÇ Æ¯Â¡°ú Á¾·ù 34
4. Cortex-M7 ¸¶ÀÌÅ©·ÎÄÁÆ®·Ñ·¯ÀÇ Æ¯Â¡°ú Á¾·ù 47
5. Cortex-M0 ¸¶ÀÌÅ©·ÎÄÁÆ®·Ñ·¯ÀÇ Æ¯Â¡°ú Á¾·ù 50
6. Cortex-M0+ ¸¶ÀÌÅ©·ÎÄÁÆ®·Ñ·¯ÀÇ Æ¯Â¡°ú Á¾·ù 58
1.2 STM32F103VET6ÀÇ ±âº» ±¸Á¶¿Í ±â´É 66
1. STM32F103VET6ÀÇ Æ¯Â¡ 66
2. STM32F103VET6ÀÇ ¿ÜºÎ ±¸Á¶ 68
3. STM32F103VET6ÀÇ ³»ºÎ ±¸Á¶ 73
[ÈÞ°Ô½Ç] EEPROM°ú Ç÷¡½Ã ¸Þ¸ð¸® 79
4. STM32F103VET6ÀÇ ¸Þ¸ð¸® ±¸Á¶ 80
[ÈÞ°Ô½Ç] I/O Á¦¾î ·¹Áö½ºÅÍÀÇ ºñÆ® ¼Ó¼º 89
1.3 STM32F103VET6ÀÇ ±âº» ½Ã½ºÅÛ Á¦¾î±â 91
1. Àü·Â°ü¸® Á¦¾î±â(PWR) 91
2. ¸®¼Â ¹× Ŭ·Ï Á¦¾î±â(RCC) 99
3. ½Ã½ºÅÛ Á¦¾î ºí·Ï(SCB) 114
4. ½Ã½ºÆ½ ŸÀ̸Ó(SysTick) 118
5. ÀÎÅÍ·´Æ® Á¦¾î±â(NVIC, EXTI) 121
6. DMA Á¦¾î±â(DMA) 132
7. µð¹ö±× Áö¿ø ÀåÄ¡(DBG) 143
Á¦2Àå STM32F103VET6ÀÇ ³»Àå I/O |
2.1 º´·Ä I/O Æ÷Æ®(GPIO) 149
1. GPIOÀÇ °³¿ä 149
2. GPIOÀÇ ±¸Á¶¿Í µ¿ÀÛ 153
3. GPIO °ü·Ã I/O Á¦¾î ·¹Áö½ºÅÍ 159
4. AFIOÀÇ ±¸Á¶¿Í µ¿ÀÛ 162
5. AFIO °ü·Ã I/O Á¦¾î ·¹Áö½ºÅÍ 167
2.2 A/D ÄÁ¹öÅÍ(ADC) 172
1. A/D ÄÁ¹öÅÍÀÇ °³¿ä 172
2. A/D ÄÁ¹öÅÍÀÇ ±¸Á¶¿Í µ¿ÀÛ 173
3. A/D ÄÁ¹öÅÍ °ü·Ã I/O Á¦¾î ·¹Áö½ºÅÍ 188
2.3 D/A ÄÁ¹öÅÍ(DAC) 196
1. D/A ÄÁ¹öÅÍÀÇ °³¿ä 196
2. D/A ÄÁ¹öÅÍÀÇ ±¸Á¶¿Í µ¿ÀÛ 197
3. D/A ÄÁ¹öÅÍ °ü·Ã I/O Á¦¾î ·¹Áö½ºÅÍ 202
2.4 ¿öÄ¡µ¶ ŸÀ̸Ó(IWDG, WWDG) 208
1. µ¶¸³ ¿öÄ¡µ¶ ŸÀ̸Ó(IWDG)ÀÇ ±¸Á¶¿Í µ¿ÀÛ 208
2. IWDG °ü·Ã I/O Á¦¾î ·¹Áö½ºÅÍ 210
3. À©µµ¿ì ¿öÄ¡µ¶ ŸÀ̸Ó(WWDG)ÀÇ ±¸Á¶¿Í µ¿ÀÛ 212
4. WWDG °ü·Ã I/O Á¦¾î ·¹Áö½ºÅÍ 214
2.5 °í¼º´É Á¦¾î ŸÀ̸Ó(TIM1/8) 216
1. STM32F103VET6 ŸÀ̸ÓÀÇ °³¿ä 216
2. ŸÀÌ¸Ó TIM1/8ÀÇ °³¿ä 217
3. ŸÀÌ¸Ó TIM1/8ÀÇ ±¸Á¶¿Í µ¿ÀÛ 217
4. ŸÀÌ¸Ó TIM1/8 °ü·Ã I/O Á¦¾î ·¹Áö½ºÅÍ 244
2.6 ¹ü¿ë ŸÀ̸Ó(TIM2/3/4/5) 261
1. ŸÀÌ¸Ó TIM2/3/4/5ÀÇ °³¿ä 261
2. ŸÀÌ¸Ó TIM2/3/4/5ÀÇ ±¸Á¶¿Í µ¿ÀÛ 261
3. ŸÀÌ¸Ó TIM2/3/4/5 °ü·Ã I/O Á¦¾î ·¹Áö½ºÅÍ 263
2.7 ±âº» ŸÀ̸Ó(TIM6/7) 277
1. ŸÀÌ¸Ó TIM6/7ÀÇ °³¿ä 277
2. ŸÀÌ¸Ó TIM6/7ÀÇ ±¸Á¶¿Í µ¿ÀÛ 277
3. ŸÀÌ¸Ó TIM6/7 °ü·Ã I/O Á¦¾î ·¹Áö½ºÅÍ 282
2.8 µ¿±â ¹× ºñµ¿±â Á÷·ÄÅë½Å Æ÷Æ®(USART) 285
1. USART Á÷·ÄÅë½Å Æ÷Æ®ÀÇ °³¿ä 285
2. USART Á÷·ÄÅë½Å Æ÷Æ®ÀÇ ±¸Á¶¿Í µ¿ÀÛ 286
3. USART Á÷·ÄÅë½Å Æ÷Æ® °ü·Ã I/O Á¦¾î ·¹Áö½ºÅÍ 298
4. RS-232C Á÷·ÄÅë½Å 303
[ÈÞ°Ô½Ç] ASCII ÄÚµå 309
2.9 µ¿±â½Ä Á÷·ÄÅë½Å Æ÷Æ®(SPI) 311
1. SPI Á÷·ÄÅë½ÅÀÇ °³¿ä 311
2. SPI Á÷·ÄÅë½Å Æ÷Æ®ÀÇ ±¸Á¶¿Í µ¿ÀÛ 314
3. SPI Á÷·ÄÅë½Å Æ÷Æ® °ü·Ã I/O Á¦¾î ·¹Áö½ºÅÍ 323
2.10 µ¿±â½Ä Á÷·ÄÅë½Å Æ÷Æ®(I2C) 328
1. I2C Á÷·ÄÅë½ÅÀÇ °³¿ä 328
2. I2C Á÷·ÄÅë½Å Æ÷Æ®ÀÇ ±¸Á¶¿Í µ¿ÀÛ 334
3. I2C Á÷·ÄÅë½Å Æ÷Æ® °ü·Ã I/O Á¦¾î ·¹Áö½ºÅÍ 348
2.11 ºñµ¿±â Á÷·ÄÅë½Å Æ÷Æ®(bxCAN) 354
1. CAN Á÷·ÄÅë½ÅÀÇ °³¿ä 354
2. bxCAN Á÷·ÄÅë½Å Æ÷Æ®ÀÇ ±¸Á¶¿Í µ¿ÀÛ 361
3. bxCAN Á÷·ÄÅë½Å Æ÷Æ® °ü·Ã I/O Á¦¾î ·¹Áö½ºÅÍ 378
Á¦3Àå OK-STM103 Å°Æ® ¹× °³¹ß Åø |
3.1 OK-STM103 Å°Æ®ÀÇ ±¸Á¶¿Í ±â´É 391
1. OK-STM103 Å°Æ®ÀÇ °³¿ä ¹× »ç¾ç 391
2. OK-STM103 Å°Æ®ÀÇ Çϵå¿þ¾î ±¸Á¶ 393
3. TFT-32A º¸µåÀÇ Çϵå¿þ¾î ±¸Á¶ 404
4. OK-STM103 Å°Æ®ÀÇ Á¶¸³ ¹× Å×½ºÆ® 410
5. RS-232C Åë½Å ÄÉÀ̺íÀÇ Á¦ÀÛ 415
3.2 Cortex-M¿ë ¿¡¹Ä·¹ÀÌÅÍ ST-LINK/V2 417
1. Çϵå¿þ¾î ¹× ¼ÒÇÁÆ®¿þ¾î °³¹ß Åø 417
2. ST-LINK/V2 ¿¡¹Ä·¹ÀÌÅÍ 422
3.3 IAR EWARM ÄÄÆÄÀÏ·¯ÀÇ ¼³Ä¡ ¹× »ç¿ë 431
1. IAR EWARM ÇÁ·Î±×·¥ÀÇ ¼³Ä¡ 431
2. ¿¹Á¦ ÇÁ·Î±×·¥ÀÇ ¼³Ä¡ 437
3. IAR EWARMÀÇ È¯°æ ¼³Á¤ 437
[ÈÞ°Ô½Ç] ÀÎÅÚ HEX ÆÄÀÏÀÇ Çü½Ä 450
4. IAR EWARMÀÇ ÁÖ¿ä ±â´É ¿ä¾à 451
5. ÁÖ¿ä ³»ÀåÇÔ¼ö ¹× Çì´õÆÄÀÏ 466
4.1 IAR EWARMÀ» »ç¿ëÇÑ C¾ð¾î ÇÁ·Î±×·¡¹Ö ±âÃÊ 499
4.2 ±âº»ÀûÀÎ C¾ð¾î ÇÁ·Î±×·¡¹Ö ±â¹ý 531
4.3 ÅؽºÆ®Çü LCD ¸ðµâ ÀÀ¿ë ÇÁ·Î±×·¥ 553
[ÈÞ°Ô½Ç] ÅؽºÆ® LCD ¸ðµâ°ú ±×·¡ÇÈÇü LCD ¸ðµâÀÇ Â÷ÀÌÁ¡ 570
4.4 Å°ÀÔ·Â ¹× ÀÎÅÍ·´Æ® ó¸® ÇÁ·Î±×·¥ 586
4.5 TFT-LCD ¸ðµâ ¿µ¹® ASCII Ãâ·Â ÇÁ·Î±×·¥ 601
4.6 TFT-LCD ¸ðµâ ÇÑ±Û Ãâ·Â ÇÁ·Î±×·¥ 657
4.7 TFT-LCD ¸ðµâ ±×·¡ÇÈ Ãâ·Â ÇÁ·Î±×·¥ 724
4.8 ÅÍÄ¡½ºÅ©¸° ÀÔ·Â ÇÁ·Î±×·¥ 738
4.9 SysTick ŸÀÌ¸Ó ÀÎÅÍ·´Æ® ÀÀ¿ë ÇÁ·Î±×·¥ 764
4.10 TV ¸®¸ðÄÁ ÀÀ¿ë ÇÁ·Î±×·¥ 780
4.11 ŸÀÌ¸Ó ÀÀ¿ë ÇÁ·Î±×·¥ 806
4.12 ŸÀ̸Ӹ¦ ÀÌ¿ëÇÑ PWM Á¦¾î ÇÁ·Î±×·¥ 814
4.13 A/D ÄÁ¹öÅÍ ÀÀ¿ë ÇÁ·Î±×·¥ 821
4.14 D/A ÄÁ¹öÅÍ ÀÀ¿ë ÇÁ·Î±×·¥ 846
4.15 RS-232C Á÷·ÄÅë½Å ÇÁ·Î±×·¥ 874
4.16 SPI ¹× I2C Á÷·ÄÅë½Å ÇÁ·Î±×·¥ 884
4.17 DS3234¸¦ ÀÌ¿ëÇÑ ½Ã°è ÇÁ·Î±×·¥ 898
4.18 TFT-LCD¸¦ ÀÌ¿ëÇÑ °ÔÀÓ ÇÁ·Î±×·¥ 953
4.19 SD Ä«µå¸¦ ÀÌ¿ëÇÑ ÀüÀÚ¾Ù¹ü ÇÁ·Î±×·¥ 996
4.20 MP3 Ç÷¹À̾î ÇÁ·Î±×·¥ 1034
4.21 CAN Á÷·ÄÅë½Å ÇÁ·Î±×·¥ 1075
Âü°í¹®Çå ¹× ÀúÀÚ¼Ò°³ 1096 |