stm32f4 i2c problem

2019-04-03 Thread 787562067
HI, i have tried some days to know stm32 i2c, almost make it , but i still can not read the data correctly i think this is the right method, but dont know where i go wrong. please reply me //add i2c pin config in io.h #define STM32F4_PIN_I2C(port, idx, altfunc) \ { \ { \ .pin_fir

stm32f4 i2c

2019-03-21 Thread 787562067
Hi, ALL! i have two questions: 1, After RTEMS_BSPOPTS_SET([STM32F4_ENABLE_I2C1],[*],[1]) enable i2c1 then what i need to do? 2, how to write the app code, is there an example? Thanks in advance!___ users mailing list users@rtems.org http://lists.rtems.