We have in the process of developing calculating X,Y,Z axis using MPU-6050 board with STM32F0 Controller. Currently, we read accelerometer values from an analog sensor using a function "adc0 = ADC_poll(n);" for each channel "n". These sensors give noisy data and we wish to replace them with a digital accelerometer / gyroscope, the MPU-6050.
This project requests the development of i2c interface code and a driver for the MPU-6050 will allow us to sample the accelerometer, gyroscope, and temperature from the device. The code must work with our current microcontroller configuration (60MHz clock, 60MHz peripheral bus, etc). We will be able to provide you with a device for testing for the people in Hyderabad, for others we can assist in testing any software you deliver. We do have JTAG, but do have UART-based debugging functionality on the device.
A successful project will deliver a drop-in module that allows us to use a compile-time flag to change configurations between the ADC-based accelerometer and the MPU-6050 device. When designing a driver, memory optimization is critical, as we have limited stack space in STM32F0. To complete the project with full release of funds, the code must successfully function in our existing software (which will be provided). There is sample code for STm32F4 i2c peripheral available, as well as demonstration code using the MPU6050 with Arduinos and mBed processors.
This task should not be difficult for a developer familiar with i2c, but we simply do not have time for it.
Following are the link for
STM32F4 with MPU-6050 http://stm32f4-discovery.com/2014/10/library-43-mpu-6050-6-axes-gyro-accelerometer-stm32f4/