Thanks for the feedback Myzhar!
In case other members find themselves in a similar issue, always look at the comment block directly in the code of the sensor API. It *should* always include a description when specific values are required.
In this case:
* @brief This API maps/un-maps data interrupts to that of interrupt pins.
* @param[in] int_pin : Interrupt pin selected.
* @param[in] data_int : Type of data interrupt to be mapped.
* @param[in] dev : Structure instance of bmi2_dev.
* data_int | Mask values
* BMI2_FFULL_INT | 0x01
* BMI2_FWM_INT | 0x02
* BMI2_DRDY_INT | 0x04
* BMI2_ERR_INT | 0x08
* @return Result of API execution status
* @retval BMI2_OK - Success.
* @retval BMI2_E_NULL_PTR - Error: Null pointer error
* @retval BMI2_E_COM_FAIL - Error: Communication fail
* @retval BMI2_E_INVALID_INT_PIN - Error: Invalid interrupt pin
int8_t bmi2_map_data_int(uint8_t data_int, enum bmi2_hw_int_pin int_pin, struct bmi2_dev *dev);
The BMI2_GYRO definition is actually 0x01, which is FIFO full interrupt in this context.
... View more
To be clear, a temperature during the production line higher than 40 may be acceptable depending on end customer requirements. This is as stated by Community Moderator, o_o, and the Bosch BMP38x Self-Test application note (page 7). Consider that the sensor temperature may be significantly higher than ambient due to heat generated by electronics, especially during testing when electronics may be deliberately stressed. You are also incorrect to state that the reason for bug3 is the printf line. There is no is issue with this line. The cause of bug 3 is unknown and the issue can no longer be replicated. I have already suggested that the bug report is ignored.
... View more