--- title: STM32F429 toc: no categories: ARM, STM32, stm32f4, embedded ... 說明 ------ 國立成功大學資訊工程系/所自 2012 年,開設一系列`嵌入式系統相關課程`_,選定 STM32 硬體作為教材,過程中師生共同撰寫技術文件、範例程式碼、工具程式、作業系統核心,以及具體而微的專案,這些都以開放內容、開放原始碼的形式釋出,一方面希望社會各界能夠給予批評指教,另一方面也希望讓學生們日後有更多的選擇機會。 技術文件 ------------- 硬體週邊介紹和驅動方式: `GPIO`_, `USART`_, `ADC`_, `RTC`_, `PWM`_, `USB`_, `SPI`_, `I2C`_, `Flash`_, `SDIO`_, `CAN`_ STM32F429 Discovery 開發板 -------------------------- .. image:: /embedded/STM32F429I-DISCO.jpg * 官方訓練教材: `STM32F429 CombinedModules`_ (必讀!) * STM32F429ZIT6 microcontroller featuring 2 MB of Flash memory, 256 KB of RAM in an LQFP144 package * On-board ST-LINK/V2 with selection mode switch to use the kit as a standalone * ST-LINK/V2 (with SWD connector for programming and debugging) * Board power supply: through the `USB`_ bus or from an external 3 V or 5 V supply voltage * 2.4" QVGA TFT LCD * SDRAM 64 Mbits * L3GD20, ST MEMS motion sensor, 3-axis digital output gyroscope * Six LEDs: - LD1 (red/green) for USB communication - LD2 (red) for 3.3 V power-on - Two user LEDs:LD3 (green), LD4 (red) - Two USB OTG LEDs:LD5 (green) VBUS and LD6 (red) OC (over-current) * Two pushbuttons (user and reset) * USB OTG with micro-AB connector * Extension header for LQFP144 I/Os for a quick connection to the prototyping board and an easy probing 硬體腳位配置 ------------- * 請先閱讀 `General-purpose Input/Output (GPIO)`_ - `GPIO 腳位定義`_ * 前視圖: .. image:: /embedded/STM32F429I-DISCO-top.jpg * 後視圖: .. image:: /embedded/STM32F429I-DISCO-bottom.jpg 高度整合開發工具: STM32Cube --------------------------- * `意法半導體推 STM32Cube 新軟體平台`_ * `Product overview - STM32Cube making STM32 development easier`_ (介紹影片) .. image:: /embedded/stm32cubef4.jpg * `STM32CubeF4`_ Key Features - Consistent and complete embedded software offer that frees the user from dependency issues - Maximized portability between all STM32 series supported by STM32Cube - Hundreds of examples for easy understanding - High quality HAL using CodeSonar® static analysis tool - STM32F4-specific middleware including USB Host and Device and TCP/IP stack - Free user-friendly license terms 軟體支援 -------- * `GNU/Linux 端開發環境設定`_ * 作業系統移植 - `FreeRTOS`_ - `ChibiOS/RT`_ - `nuttx`_ - `uClinux`_ - `rtenv-plus`_ - `F9 microkernel`_ 具體而微的高整合開放原始碼專案 ---------------------------------------------- * 由歷屆修課學生貢獻的期末專題,完整程式碼以開放原始碼授權釋出 * `從無到有打造的四軸飛行器`_: 含硬體設計、韌體程式碼,以及對應的地面站軟體 * `從訊號處理到作業系統核心都自行開發的電吉他調音器`_: 採用自行開發的 `rtenv+`_ 作業系統核心,驅動 DSP, ADC, Touchscreen 等週邊 * `土製 3G 手機`_: 使用 `FreeRTOS`_ 搭配自行開發的使用者觸碰螢幕界面,得以透過 3G 模組撥打接聽電話 * `自動演奏吉他的機器人`_ * `可用毛筆寫春聯的機器`_