2014-10-29 12:06 AM
In some examples of using the STM32F103 board, it is used the I2C_Write() & I2C_Read()
functions. But in STM32F10x StdPeriph Library, this functions is not defined. Thanks Christian. #stm32f1032014-10-31 12:02 AM
Hi,
These functions do not exist in the library. You must write your write/read functions according to your application using following sequences of library functions:generate start,send address (7 bit),send data (or receive data)generate stop.You can find proper code that fit to your peripheral by a google search, at least available for other MCU's, then you can easily port them to STM32F10x.Best regards,2014-10-31 03:06 AM
Hi Christian,
The CPAL library (http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1743/PF258336
) offers fucntions ''CPAL_I2C_Write'' & ''CPAL_I2C_Read''. -Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-01-12 05:44 AM
is it possible to merge CPAL library with HAL library?