STM32F4 - Discovery Kit
에서 NET Micro Framework
사용시
각종 포트와 연결된 핀정보
GPIO / PWM / SPI 등등 -- 맨 아래 참조
Discovery kit for STM32F407-DM00039084.pdf
- [PDF]
User manual - STMicroelectronics
www.st.com/st-web-ui/.../DM00039084.pdf이 페이지 번역하기2011. 9. 27. - The STM32F4DISCOVERY helps you to discover the STM32F407 ...Development toolchain supporting the STM32F4DISCOVERY . . . . . . . . . 6.
아래 패키지에서 다음 헤더화일 참조
Solutions\Discovery4\platform_selector.h
질문 답변에 나온 것이나 디스커버리 보드와 맞지 않음
http://singularengineer.com/stm32f4-discovery-board-running-net-microframework/
============================================
Discovery kit for STM32F407 에 맞는 핀 정보
=====================================
#define TOTAL_GPIO_PORT 5 // PA - PE
#define INSTRUMENTATION_H_GPIO_PIN GPIO_PIN_NONE
#define TOTAL_USART_PORT 6
#define USART_DEFAULT_PORT COM3
#define USART_DEFAULT_BAUDRATE 115200
#define DEBUG_TEXT_PORT USB1
#define STDIO USB1
#define DEBUGGER_PORT USB1
#define MESSAGING_PORT USB1
#define TOTAL_USB_CONTROLLER 2
#define USB_MAX_QUEUES 6 // 6 endpoints (EP0 + 5)
#define TOTAL_SOCK_PORT 0
// Pin Configuration
#define STM32F4_ADC 1
#define STM32F4_AD_CHANNELS {1,2,3,8,9,14,15} // PA1,PA2,PA3,PB0,PB1,PC4,PC5
#define STM32F4_PWM_TIMER {4,4,4,4,1,1,1,1}
#define STM32F4_PWM_CHNL {0,1,2,3,0,1,2,3}
#define STM32F4_PWM_PINS {60,61,62,63,73,75,77,78} // D12-D15,E9,E11,E13,E14
#define STM32F4_SPI_SCLK_PINS {5, 29, 42} // PA5, PB13, PC10
#define STM32F4_SPI_MISO_PINS {6, 30, 43} // PA6, PB14, PC11
#define STM32F4_SPI_MOSI_PINS {7, 31, 44} // PA7, PB15, PC12
#define STM32F4_I2C_PORT 1
#define STM32F4_I2C_SCL_PIN 22 // PB6
#define STM32F4_I2C_SDA_PIN 25 // PB9
#define STM32F4_UART_RXD_PINS {10, 3, 57, 43, 50, 39} // A10, A3, D9, C11, D2, C7
#define STM32F4_UART_TXD_PINS { 9, 2, 56, 42, 44, 38} // A9, A2, D8, C10, C12, C6
#define STM32F4_UART_CTS_PINS {11, 51, 59} // A11, D3, D11
#define STM32F4_UART_RTS_PINS {12, 1, 60} // A12, A1, D12