Hello,
although several entries have been written in this forum on this topic, I am still struggelling in getting the ETS-sensor to run repeatedly on I2C3 on my KroozSD. The sensor simply states a constant zero-value after a power-up without an upload of the firmware. Straight after a firmware upload, I'm getting acceptable values in the message toolbox. Even applying the delay as suggested with up to 4 secs didn't solve my problem.
One thing I noted in the message tool: when everything works fine (just after the firmware upload), I got two "folders" in the telemetry section - the AIRSPEED and the ETS_AIRSPEED. However, after a subsequent power-up, the ETS_AIRSPEED don't appear anymore.
What am I doing wrong here?
The Wiki states a different parametrizing of the ETS, if not connected to the I2C0. Since the KroozSD has no I2C0, I selected the I2C3. Where is the reason for an adaptation of the scales and offsets if connected differently, and what values will I need to apply on the I2C3?
My complete firmware file is attached, but the ETS section looks as follows:
<modules>
<load name="airspeed_ets.xml">
<define name="AIRSPEED_ETS_I2C_DEV" value="i2c3"/>
<define name="AIRSPEED_ETS_START_DELAY" value="1"/>
<define name="USE_AIRSPEED_ETS" value="TRUE"/>
<define name="AIRSPEED_ETS_SCALE" value="1.8"/>
<define name="AIRSPEED_ETS_OFFSET" value="0"/>
<define name="AIRSPEED_ETS_SYNC_SEND"/>
</load>
....
</modules>
<firmware name="fixedwing">
<target name="ap" board="krooz_sd">
<configure name="FLASH_MODE" value="DFU"/>
</target>
<target name="sim" board="pc"/>
<define name="USE_I2C3"/>
<define name="USE_AIRSPEED"/>
....
</firmware>
Thanks for your help.