nabeel1993raza / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

HMC5583 doesn't support default "high" i2c speed #408

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
APM1 hardware, firmware 2.5.3

What steps will reproduce the problem?
1. connect any HMC5583 compass (with pullups etc etc)
2. try to enable compass

"COMPASS INIT ERROR" message on CLI startup screen

Firmware enables high i2c speed by default and fails to initialise hmc5583 
chip. Can be fixed by i2c.setSpeed(false), on default i2c speed compass works 
good.

i am not sure if this problem only with my compass, mb pullup resistors are 
wrong.

Original issue reported on code.google.com by evgeny.s...@gmail.com on 19 Apr 2012 at 2:58

GoogleCodeExporter commented 8 years ago
mb possible to switch i2c to normal speed only for compass access and use high 
speed for other devices ?

Original comment by evgeny.s...@gmail.com on 19 Apr 2012 at 3:02

GoogleCodeExporter commented 8 years ago
1. check 3,3v hmc5883 power for pulses, if prsent put 100mF capacistor and 1kom 
between gnd and 3,3V
compass get small I and some LDO make pulses on output

2. change 200KOM resistor on PCA9306 to 0Om

Original comment by alexeyko...@gmail.com on 23 May 2012 at 1:28

GoogleCodeExporter commented 8 years ago
Closing all issues on the old issues list by marking them WontFix.

If this is still a valid issue please re-raise it on the new GitHub issues 
list: https://github.com/diydrones/ardupilot/issues

Thanks!

Original comment by rmackay...@gmail.com on 21 Jul 2013 at 2:14