MPU 6065 MicroArch + Timeline

Principle Engineer

@Vishal Jayakumar

Forced to Review

EFS Leads

Dragged Along

 

Uplifted

 

Objective

Add support for MPU 6050 Driver back into LOS

Due date

Mar 21, 2023

Key outcomes

Port MPU 6050 Driver into LOS

Status

DESIGN

 

 Problem Statement

  • There is currently code for using the MPU6050 that is not integrated in LOS

  • The code and header file needs to be added into the LOS Driver folder

  • Code has to be tested with the sensor to debug any issues

 Scope

Current Must Haves:

  • Move existing MPU 6065 code to LOS Drivers (still using HAL API) and debugging any issues

Current Must Haves:

  • Move existing MPU 6065 code to LOS Drivers (still using HAL API) and debugging any issues

Future Expansion:

  • Add functions in LOS Core to abstract away HAL API

Not in scope:

 

Tasks Break Down:

 Timeline

Estimated timeline is ~2 weeks, there is not too much code to write (since the existing MPU 6065 code will not be changed much). Since it’s my first task it might take me a bit longer to try and understand what’s going on.

 Implementation Details

  • Create a directory for MPU 6050 in LOS Driver with header and source file

  • Copy from the MPU 6050 branch the MPU 6050 specific code and place in new header and source files

  • Change include statements to include main.h (instead of directly including stm32 header files)

  • Edit config files in order to test with actual sensor