Description: I2C on the STM32' s fall, the official offered few tested routines and libraries, have different defects, can not make up: 1, query methods, in a continuous process of reading the data can not be interrupted 2, DMA similar to at the same level of DMA in the I2C to be the highest, or with 1.3, can not interrupt higher priority interrupt I2C, or with 1. For these reasons, but unfortunately the port line to simulate the I2C. (Only represent my personal views, please correct me) the attached project document has been tested and OUR for the past few years thanks to help, first open the applet
To Search:
File list (Check if you may need any files):
STM32模拟IIC\Simulation_IIC\include\fonts.h
............\..............\.......\lcd.h
............\..............\.......\main.h
............\..............\.......\stm32f10x_conf.h
............\..............\.......\stm32f10x_it.h
............\..............\project\cortexm3_macro.s
............\..............\.......\FSMC-LCD.Opt
............\..............\.......\FSMC-LCD_Opt.Bak
............\..............\.......\FSMC-LCD_STM3210E-EVAL.dep
............\..............\.......\FSMC-LCD_Uv2.Bak
............\..............\.......\STM32_IIC_STM32_IIC.dep
............\..............\.......\STM32_IIC_STM3210E-EVAL.dep
............\..............\.......\stm32f10x_vector.s
............\..............\.......\STM3210E-EVAL_FLASH.ini
............\..............\.......\STM32_IIC_Uv2.Bak
............\..............\.......\STM32_IIC.Uv2
............\..............\.......\STM32_IIC_Opt.Bak
............\..............\.......\STM32_IIC.Opt
............\..............\source\main.c
............\..............\......\lcd.c
............\..............\......\SetUsart.c
............\..............\......\stm32f10x_it.c
............\..............\......\I2C_Driver.c
............\..............\......\I2C_Driver.h
............\..............\project\Obj
............\..............\.......\Lis
............\..............\include
............\..............\project
............\..............\source
............\Simulation_IIC
STM32模拟IIC