This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

about the drive of sensor

when config 'CONFIG_BMA280=y' in 'prj.conf' file,but Solution 'build' not compiled,the code 'bma280.c' also not included in the project,why???

Parents Reply
  • Dear sir:

    This code execution results as below,consult with why?

    00> [00:00:00.000,000] <inf> i2c_nrfx_twim: Succeeded to initialized device: I2C_3
    00> *** Booting Zephyr OS build v2.1.99-ncs1-8-g745741f76d25 ***
    00> 
    00> Starting i2c scanner...
    00> 
    00> [00:00:00.500,762] <inf> i2c_nrfx_twim: i2c device config: 2
    00> Value of NRF_TWIM3_NS->PSEL.SCL: 31 
    00> 
    00> Value of NRF_TWIM3_NS->PSEL.SDA: 30 
    00> 
    00> Value of NRF_TWIM3_NS->FREQUENCY: 26738688 
    00> 
    00> 26738688 -> 100k
    00> 
    00> [00:00:00.501,434] <inf> i2c_nrfx_twim: i2c device transfer: 0,24
    00> [00:00:00.501,678] <inf> i2c_nrfx_twim: i2c device ret: 195887104
    00> [00:00:00.501,922] <err> i2c_nrfx_twim: Error 195952641 occurred for message 0
    00> error=251

Children
Related