Git Product home page Git Product logo

bmp388's People

Contributors

libdriver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bmp388's Issues

iic test errors

Hello,

I am trying to use this library with raspberry 4 and a bmp390. The addresses of bmp388 and bmp390 are the same (with some exception that I've already fixed). When I send this command:
./bmp388 -t reg -iic -a 1
we can see in the log, some values are correct but others print an error.
Do you know what the problem might be?

bmp388: chip is Bosch BMP388.
bmp388: manufacturer is Bosch.
bmp388: interface is IIC SPI.
bmp388: driver version is 2.0.
bmp388: min supply voltage is 1.6V.
bmp388: max supply voltage is 3.6V.
bmp388: max current is 0.80mA.
bmp388: max temperature is 85.0C.
bmp388: min temperature is -40.0C.
bmp388: start register test.
bmp388: bmp388_set_interface/bmp388_get_interface test.
bmp388: set interface iic.
bmp388: check interface ok.
bmp388: set interface spi.
bmp388: check interface ok.
bmp388: bmp388_set_addr_pin/bmp388_get_addr_pin test.
bmp388: set addr pin low.
bmp388: check addr pin ok.
bmp388: set addr pin high.
bmp388: check addr pin ok.
bmp388: bmp388_set_fifo_watermark/bmp388_get_fifo_watermark test.
bmp388: set fifo watermark 359.
bmp388: check fifo watermark error.
bmp388: bmp388_set_fifo/bmp388_get_fifo test.
bmp388: set fifo enable.
bmp388: check fifo error.
bmp388: set fifo disable.
bmp388: check fifo ok.
bmp388: bmp388_set_fifo_stop_on_full/bmp388_get_fifo_stop_on_full test.
bmp388: set fifo stop on full enable.
bmp388: check fifo stop on full error.
bmp388: set fifo stop on full disable.
bmp388: check fifo stop on full ok.
bmp388: bmp388_set_fifo_sensortime_on/bmp388_get_fifo_sensortime_on test.
bmp388: set fifo sensortime on enable.
bmp388: check fifo sensortime on error.
bmp388: set fifo sensortime on disable.
bmp388: check fifo sensortime on ok.
bmp388: bmp388_set_fifo_pressure_on/bmp388_get_fifo_pressure_on test.
bmp388: set fifo pressure on enable.
bmp388: check fifo pressure on error.
bmp388: set fifo pressure on disable.
bmp388: check fifo pressure on ok.
bmp388: bmp388_set_fifo_temperature_on/bmp388_get_fifo_temperature_on test.
bmp388: set fifo temperature on enable.
bmp388: check fifo temperature on error.
bmp388: set fifo temperature on disable.
bmp388: check fifo temperature on ok.
bmp388: bmp388_set_fifo_subsampling/bmp388_get_fifo_subsampling test.
bmp388: set fifo subsampling 4.
bmp388: check fifo subsampling on error.
bmp388: bmp388_set_fifo_data_source/bmp388_get_fifo_data_source test.
bmp388: set fifo data source unfiltered.
bmp388: check fifo data source ok.
bmp388: set fifo data source filtered.
bmp388: check fifo data source error.
bmp388: bmp388_set_interrupt_pin_type/bmp388_get_interrupt_pin_type test.
bmp388: set interrupt pin type push pull.
bmp388: check interrupt pin type ok.
bmp388: set interrupt pin type open drain.
bmp388: check interrupt pin type error.
bmp388: bmp388_set_interrupt_active_level/bmp388_get_interrupt_active_level test.
bmp388: set interrupt active level lower.
bmp388: check interrupt active level ok.
bmp388: set interrupt active level higher.
bmp388: check interrupt active level error.
bmp388: bmp388_set_latch_interrupt_pin_and_interrupt_status/bmp388_get_latch_interrupt_pin_and_interrupt_status test.
bmp388: set latch interrupt pin and interrupt status enable.
bmp388: check latch interrupt pin and interrupt status error.
bmp388: set latch interrupt pin and interrupt status disable.
bmp388: check latch interrupt pin and interrupt status ok.
bmp388: bmp388_set_interrupt_fifo_watermark/bmp388_get_interrupt_fifo_watermark test.
bmp388: set interrupt fifo watermark enable.
bmp388: check interrupt fifo watermark error.
bmp388: set interrupt fifo watermark disable.
bmp388: check interrupt fifo watermark ok.
bmp388: bmp388_set_interrupt_fifo_full/bmp388_get_interrupt_fifo_full test.
bmp388: set interrupt fifo full enable.
bmp388: check interrupt fifo full error.
bmp388: set interrupt fifo full disable.
bmp388: check interrupt fifo full ok.
bmp388: bmp388_set_interrupt_data_ready/bmp388_get_interrupt_fifo_data_ready test.
bmp388: set interrupt data ready enable.
bmp388: check interrupt data ready error.
bmp388: set interrupt data ready disable.
bmp388: check interrupt data ready ok.
bmp388: bmp388_set_spi_wire/bmp388_get_spi_wire test.
bmp388: set spi 4 wire.
bmp388: check spi wire ok.
bmp388: set spi 3 wire.
bmp388: check spi wire error.
bmp388: bmp388_set_iic_watchdog_timer/bmp388_get_iic_watchdog_timer test.
bmp388: set iic watchdog timer enable.
bmp388: check iic watchdog timer error.
bmp388: set iic watchdog timer disable.
bmp388: check iic watchdog timer ok.
bmp388: bmp388_set_iic_watchdog_period/bmp388_get_iic_watchdog_period test.
bmp388: set iic watchdog period 1.25ms.
bmp388: check iic watchdog period ok.
bmp388: set iic watchdog period 40ms.
bmp388: check iic watchdog period error.
bmp388: bmp388_set_pressure/bmp388_get_pressure test.
bmp388: set pressure disable.
bmp388: check pressure ok.
bmp388: set pressure enable.
bmp388: check pressure error.
bmp388: bmp388_set_temperature/bmp388_get_temperature test.
bmp388: set temperature disable.
bmp388: check temperature ok.
bmp388: set temperature enable.
bmp388: check temperature error.
bmp388: bmp388_set_mode/bmp388_get_mode test.
bmp388: set mode sleep.
bmp388: check mode ok.
bmp388: set mode normal mode.
bmp388: check mode error.
bmp388: set mode forced mode.
bmp388: check mode error.
bmp388: bmp388_set_pressure_oversampling/bmp388_get_pressure_oversampling test.
bmp388: set pressure oversampling x1.
bmp388: check pressure oversampling ok.
bmp388: set pressure oversampling x2.
bmp388: check pressure oversampling error.
bmp388: set pressure oversampling x4.
bmp388: check pressure oversampling error.
bmp388: set pressure oversampling x8.
bmp388: check pressure oversampling error.
bmp388: set pressure oversampling x16.
bmp388: check pressure oversampling error.
bmp388: set pressure oversampling x32.
bmp388: check pressure oversampling error.
bmp388: bmp388_set_temperature_oversampling/bmp388_get_temperature_oversampling test.
bmp388: set temperature oversampling x1.
bmp388: check temperature oversampling ok.
bmp388: set temperature oversampling x2.
bmp388: check temperature oversampling error.
bmp388: set temperature oversampling x4.
bmp388: check temperature oversampling error.
bmp388: set temperature oversampling x8.
bmp388: check temperature oversampling error.
bmp388: set temperature oversampling x16.
bmp388: check temperature oversampling error.
bmp388: set temperature oversampling x32.
bmp388: check temperature oversampling error.
bmp388: bmp388_set_odr/bmp388_get_odr test.
bmp388: set odr 200Hz.
bmp388: check odr ok.
bmp388: set odr 100Hz.
bmp388: check odr error.
bmp388: set odr 50Hz.
bmp388: check odr error.
bmp388: set odr 25Hz.
bmp388: check odr error.
bmp388: set odr 12.5Hz.
bmp388: check odr error.
bmp388: set odr 6.25Hz.
bmp388: check odr error.
bmp388: set odr 3.1Hz.
bmp388: check odr error.
bmp388: set odr 1.5Hz.
bmp388: check odr error.
bmp388: set odr 0.78Hz.
bmp388: check odr error.
bmp388: set odr 0.39Hz.
bmp388: check odr error.
bmp388: set odr 0.2Hz.
bmp388: check odr error.
bmp388: set odr 0.1Hz.
bmp388: check odr error.
bmp388: set odr 0.05Hz.
bmp388: check odr error.
bmp388: set odr 0.02Hz.
bmp388: check odr error.
bmp388: set odr 0.01Hz.
bmp388: check odr error.
bmp388: set odr 0.006Hz.
bmp388: check odr error.
bmp388: set odr 0.003Hz.
bmp388: check odr error.
bmp388: set odr 0.0015Hz.
bmp388: check odr error.
bmp388: bmp388_set_filter_coefficient/bmp388_get_filter_coefficient test.
bmp388: set filter coefficient 0.
bmp388: check filter coefficient ok.
bmp388: set filter coefficient 1.
bmp388: check filter coefficient error.
bmp388: set filter coefficient 3.
bmp388: check filter coefficient error.
bmp388: set filter coefficient 7.
bmp388: check filter coefficient error.
bmp388: set filter coefficient 15.
bmp388: check filter coefficient error.
bmp388: set filter coefficient 31.
bmp388: check filter coefficient error.
bmp388: set filter coefficient 63.
bmp388: check filter coefficient error.
bmp388: set filter coefficient 127.
bmp388: check filter coefficient error.
bmp388: bmp388_get_error.
bmp388: err is 0x00.
bmp388: bmp388_get_status.
bmp388: status is 0x00.
bmp388: bmp388_get_sensortime.
bmp388: sensortime is 0x000000.
bmp388: bmp388_get_event.
bmp388: event is none.
bmp388: bmp388_get_interrupt_status.
bmp388: interrupt status is 0x00.
bmp388: bmp388_get_fifo_length.
bmp388: get fifo length is 0x0000.
bmp388: bmp388_get_fifo_data.
bmp388: get fifo data is 0x0000.
bmp388: bmp388_flush_fifo.
bmp388: flush fifo ok.
bmp388: bmp388_extmode_en_middle.
bmp388: extmode en middle ok.
bmp388: bmp388_softreset.
bmp388: softreset ok.
bmp388: finish register test.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.