Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

MPU6050 problem, how to get factory defaults ?

Status
Not open for further replies.

abimann

Member level 4
Joined
Jun 21, 2016
Messages
77
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
673
cannot find how to get MPU6050 factory defaults, might be someone do it ? When I use MPU6050 with Arduino, Arduino change something and after cannot use in FPGA.. But when i have new MPU6050 and use in FPGA it can work with following registers:

Code:
add & "0" & "00011001" & "00010101";--(0x19) MPU6050_RA_SMPLRT_DIV, 15);
add & "0" & "00011010" & "00000110";--(0x1A)--(0b00000011)
add & "0" & "00011011" & "00001000";--(0x1b)--(0b00001000);//Disable gyro self tests, scale of 500 degrees/s
add & "0" & "00011100" & "00011000";--(0x1c)--(0b00000000); Disable accel self tests, scale of +-16g, no DHPF RA_ACCEL_CONFIG, 0x18);		

add & "0" & "01101011" & "00000010";--(0x6B)--(0b00000010); 
add & "0" & "01101100" & "00000000";--(0x6C)--(0b00000000); 
add & "0" & "01000000" & "00000000";--(0x6A)--(0b00000000); 
add & "0" & "00100011" & "11111000";--(0x23)--(0b00000000);-- 100011
								 
add  & "1" & "00111011"   & "00000000";--59
add  & "1" & "00111101" & "00000000";--61                         
add  & "1" & "00111111" & "00000000";--63
add - device address, i reset device in (0x6A), but cannot help
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top