STM32F4-M8266WIFI
所属分类:其他
开发工具:C/C++
文件大小:4307KB
下载次数:21
上传日期:2018-05-17 22:04:17
上 传 者:
一片嘎嘎叶
说明: stm32f4外扩esp8266wifi模块源代码
(Stm32f4 external expansion esp8266wifi module source code)
文件列表:
STM32F4-M8266WIFI\CORE\core_cm4.h (109142, 2017-02-07)
STM32F4-M8266WIFI\CORE\core_cm4_simd.h (22735, 2014-07-17)
STM32F4-M8266WIFI\CORE\core_cmFunc.h (17285, 2014-02-18)
STM32F4-M8266WIFI\CORE\core_cmInstr.h (20817, 2014-02-18)
STM32F4-M8266WIFI\CORE\startup_stm32f40_41xxx.s (29692, 2017-05-10)
STM32F4-M8266WIFI\FWLIB\inc\misc.h (6924, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_adc.h (32880, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_can.h (27318, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_crc.h (2416, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_cryp.h (14481, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_dac.h (14946, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_dbgmcu.h (4296, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_dcmi.h (12977, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_dma.h (28882, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_dma2d.h (19692, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_exti.h (8012, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_flash.h (24467, 2014-08-04)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_flash_ramfunc.h (3275, 2014-08-04)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_fmc.h (44924, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_fsmc.h (27181, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_gpio.h (23548, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_hash.h (10084, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_i2c.h (31939, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_iwdg.h (4323, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_ltdc.h (21191, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_pwr.h (7728, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_rcc.h (30063, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_rng.h (3958, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_rtc.h (40546, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_sai.h (25470, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_sdio.h (22777, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_spi.h (21178, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_syscfg.h (8974, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_tim.h (51689, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_usart.h (17935, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\inc\stm32f4xx_wwdg.h (3542, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\src\misc.c (11443, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\src\stm32f4xx_adc.c (69068, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\src\stm32f4xx_can.c (60150, 2014-08-01)
STM32F4-M8266WIFI\FWLIB\src\stm32f4xx_crc.c (3596, 2014-08-01)
... ...
Notes:
1. Please check brd_cfg.h for interconnection macros
2. Basic project architecture:
main() from main.c
{
1. UART, SPI, LED, Key initialization
2. M8266WIFI module Initialization
3. while(1)
{
switch(keypressed)
case KEY0_PRES:
M8266WIFI_Test();
other cases
}
}
M8266WIFI_Test() from test_m8266wifi.c
{
1. M8266WIFI_SPI_Interface_Communication_OK() -- check SPI communication OK
if failure, then
while(1) { led flash }
2. Macros of remote server/connection, including
- TCP or UDP
- remote ip, port,
- link_no, the channel used
- etc
YOU MAY UPDATED TO YOUR PARAMETERS
3. M8266WIFI_Config_Connection() to config connection with above macros
4. Macro "#if 0" or "#if 1" controlled tests
- #if 0 // Transmission Test: to test send data to remote constantly
- #if 0 // Reception Test: to test constant reception from remote
- #if 1 // Echo test: to test receive data from remote and then echo back to remote
YOU MAY USE THE TCP/UDP software as the remote for testing
}
AnyLinkin!
Link anytime, anywhere, and anyhow!
IoT@anylinkin.com
http://www.anylinkin.com
htpp://anylinkin.taobao.com
近期下载者:
相关文件:
收藏者: