STM32F0 I2C Example code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-07-25 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-03-10 4:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-06-11 7:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-06-11 8:02 AM
What is the i2c address of RTC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-06-11 8: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?Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-06-11 8:18 AM
The address of RTC in this code.
Sorry for the before post.Thanks in advance.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-06-11 1: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 STM32Up vote any posts that you find helpful, it shows what's working..

- « Previous
-
- 1
- 2
- Next »