standard 3 i2c erros with r1557 and i2c-gps

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
jaames74
Posts: 22
Joined: Tue Jun 12, 2012 5:56 pm

standard 3 i2c erros with r1557 and i2c-gps

Post by jaames74 »

hello,
an observation with i2cgps and latest dev:

after upgrading from stable 2.2 to r1557 i always get standard 3 i2c errors.
these 3 errors have to do with the gps, because if i recompile with i2c disabled, i dont get them anymore.
Besides, when i downgrade to 2.2 i dont get any errors, so something has to do with the code in r1557.

Some info about my setup:

Latest EOSBandi's I2C-GPS code (I2C_GPS_NAV_v2.2Beta1-r62)
Multiwii dev_r1557
Crius_SE main board
Flytron I2C_GPS-v2 board with binary 1.9V firmware for MT3329
Vbat,Buzzer,Pilotlamp,LCD enabled

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: standard 3 i2c erros with r1557 and i2c-gps

Post by copterrichie »

Not sure but maybe this will help: viewtopic.php?f=8&t=3921

justk1w1
Posts: 62
Joined: Fri Jun 29, 2012 2:31 pm

Re: standard 3 i2c erros with r1557 and i2c-gps

Post by justk1w1 »

the patch mentioned by Copterrichie is really only related to the use of the sonar on the I2C_GPS. I also have seen the 3 errors, but as the errors don't accumulate past the initial startup then I discarded it as an issue - I assumed these errors are a timing issue between when MWC is ready and trying to access the I2C bus and when the I2C_GPS is ready and available. have you tried resetting the MWC without resetting I2C_GPS and seeing if you still get the counts. Will try this tonight.

jaames74
Posts: 22
Joined: Tue Jun 12, 2012 5:56 pm

Re: standard 3 i2c erros with r1557 and i2c-gps

Post by jaames74 »

Sorry for the delayed reply,

copterrichie wrote:Not sure but maybe this will help: viewtopic.php?f=8&t=3921


thanks but as justk1w1 says below, this is related to the use of the sonar, doesn't it?? Besides i dont know how to apply this patch to the main code. :oops:


justk1w1 wrote:the patch mentioned by Copterrichie is really only related to the use of the sonar on the I2C_GPS. I also have seen the 3 errors, but as the errors don't accumulate past the initial startup then I discarded it as an issue - I assumed these errors are a timing issue between when MWC is ready and trying to access the I2C bus and when the I2C_GPS is ready and available. have you tried resetting the MWC without resetting I2C_GPS and seeing if you still get the counts.


i 've understand that it is not an issue, as it stays to 3 and happens only on the init period. Anyway i wrote this post just to make sure that i'm not the only one who came across this.
I will try the reset sequence you propose and will report back asaic. thanks!

Pat1300
Posts: 12
Joined: Fri Aug 03, 2012 11:31 am
Location: Wavre - BELGIUM

Re: standard 3 i2c erros with r1557 and i2c-gps

Post by Pat1300 »

Hi,
I also get, with a configuration using also i2c_gps_nav, 2 errors with MW 2.2.
Why 2 not 3 ? Are you using a sonar on i2c_gps_nav processor ?
Patrick

doughboy
Posts: 252
Joined: Tue Sep 04, 2012 7:20 am

Re: standard 3 i2c erros with r1557 and i2c-gps

Post by doughboy »

I don't have gps enabled and I see 3 i2c error.

Post Reply