Change clock rate I2C
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-01-18 3:13 AM
Posted on January 18, 2012 at 12:13
How I can change clock rate for I2C bus? I need to get work wii motion plus. Code from arduino:
TWBR = ((16000000L / 400000L) - 16) / 2; // change the I2C clock rate
How I can do this in stm32?I'm use stm32f103vet6. #i2c #bus #rate #arduino #clock
Labels:
- Labels:
-
I2C
-
RCC
-
STM32duino
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-01-18 3:41 AM
Posted on January 18, 2012 at 12:41
I2C_InitStructure.I2C_ClockSpeed = xxx;
in your Init function.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-01-18 5:28 AM
Posted on January 18, 2012 at 14:28
Oh..thanks!
I
was not looking
to the right place
