2013-07-25 07:06 PM
I have been trying to make a slave I2C device communicate with my STM32F0 board, with no success. Can anyone give me an example code to config, init and send and receive data through the I2C bus.
2016-03-10 04:15 AM
2016-06-11 07:58 AM
2016-06-11 08:02 AM
What is the i2c address of RTC
2016-06-11 08:12 AM
Let's try and think this through and supply enough detail in the question so people not inside your head can figure out what you're using?
Which RTC chip are you using? What does the Data Sheet for the RTC say? What specific STM32 part are you attempting to attach this too?2016-06-11 08:18 AM
The address of RTC in this code.
Sorry for the before post.Thanks in advance.2016-06-11 01:57 PM
The
http://datasheets.maximintegrated.com/en/ds/DS1307.pdf
specifies the address as 0x68, so in this context (0x68 << 1) for the high order 7-bits used by the STM32