HAL and I2c problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-01-16 3:42 AM
I connect mpu6050 to i2c3 and make a project with stm32cube and enable i2c3.
but cant detect sensor. for(i=0 ; i<255 ; i++) { test = HAL_I2C_IsDeviceReady(&hi2c3,i,10,100); if(test == HAL_OK) break; } return always HAL_BUSY my board is stm32f4discovery #i-can''t-help-you-with-that- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-01-16 7:56 AM
please answer me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-01-16 10:58 AM
please answer me
Do you think you've provided enough circuit or software details for anyone to replicate your experiment?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
‎2015-01-17 3:22 AM
my answer is why when i want to read or write from i2c bus , all HAL_I2c_... function return me HAL_BUSY.
I enable I2c 3 in stm32f4cube and make project in keil. I connect SDA and SCL pin to MPU6050 sensor. I test this hardware with another program an it work property. My problem in HAL_DRIVER- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-01-18 11:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-01-19 1:01 AM
Hi! Try to add some delay between your cycles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-01-19 1:05 AM
It is from function ''HAL_I2C_IsDeviceReady'' description:
This function is used with Memory devices.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-01-19 1:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-01-19 10:01 PM
Please Help me Clive1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-01-20 12:08 PM
