kriswiner / EM7180_SENtral_sensor_hub

(Affordable) Ultimate Sensor Fusion Solution
https://www.tindie.com/products/onehorse/ultimate-sensor-fusion-solution/
96 stars 37 forks source link

USFS MPU9250 without barometer #67

Open mpava opened 4 years ago

mpava commented 4 years ago

Hi Kris,

Thanks for making the USFS board. It works really well, I am really impressed with the quaternion precision. I am designing a custom board which doesn't require a barometer, the core design is same as the USFS minus the barometer. I am using the config file from the USFS. All setup and parameter initialisation of EM7180 works fine up to the point when I want to read the quaternions. I get EventStatus == 2, SensorStatus == 0x80 and ErrorRegister == 0x28. I assume this is due to the missing barometer. The 0x28 error code doesn't seem to be documented in the PNI docs, so I am slightly guessing here.

Is the EM7180 firmware hardwired to look for the baro device and when it can't find it, it gets stuck? Do you know is there a way to disable byro reading in the algo or would you have a config file that doesn't need a byro? In pass-through mode, interacting with MPU9250 and the EEPROM works perfectly well without problems. I tried setting EM7180_BaroRate (0x58 register) to zero hoping to disable it that way without luck.

Any thoughts would be much appreciated.

thanks

Mike

kriswiner commented 4 years ago

Hi Mike,

The firmware for the commercial EM7180 (USFS) does indeed expect a barometer and if it is not accessible on the master I2C bus will throw an error flag and stop working. As far as I know, there is no way to disable this behavior with the given firmware. Of course, you could add the baro, or we could create a version of the firmware that doesn;t use the baro, but we would have to charge you for the custom firmware.

Kris

On Sun, Apr 19, 2020 at 9:01 AM mpava notifications@github.com wrote:

Hi Kris,

Thanks for making the USFS board. It works really well, I am really impressed with the quaternion precision. I am designing a custom board which doesn't require a barometer, the core design is same as the USFS minus the barometer. I am using the config file from the USFS. All setup and parameter initialisation of EM7180 works fine up to the point when I want to read the quaternions. I get EventStatus == 2, SensorStatus == 0x80 and ErrorRegister == 0x28. I assume this is due to the missing barometer. The 0x28 error code doesn't seem to be documented in the PNI docs, so I am slightly guessing here.

Is the EM7180 firmware hardwired to look for the baro device and when it can't find it, it gets stuck? Do you know is there a way to disable byro reading in the algo or would you have a config file that doesn't need a byro? In pass-through mode, interacting with MPU9250 and the EEPROM works perfectly well without problems. I tried setting EM7180_BaroRate (0x58 register) to zero hoping to disable it that way without luck.

Any thoughts would be much appreciated.

thanks

Mike

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/EM7180_SENtral_sensor_hub/issues/67, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKRXEJ2B47CEPHHGNC3RNMN4JANCNFSM4ML26FAQ .

mpava commented 4 years ago

Hi Kris

Thanks for your quick reply. I would really prefer running the circuit without the baro. I would be interested in the custom firmware. How can I contact you offline?

thanks

Mike

kriswiner commented 4 years ago

Send me an e-mail at tleracorp@gmail.com.

On Sun, Apr 19, 2020 at 11:58 AM mpava notifications@github.com wrote:

Hi Kris

Thanks for your quick reply. I would really prefer running the circuit without the baro. I would be interested in the custom firmware. How can I contact you offline?

thanks

Mike

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/EM7180_SENtral_sensor_hub/issues/67#issuecomment-616207413, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKV6Z2CZRKBTAZEAK7TRNNCWDANCNFSM4ML26FAQ .

mpava commented 4 years ago

thanks Kris. Email sent.