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???
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???
https://github.com/sigurdnev/fw-nrfconnect-nrf/tree/master/samples/nrf9160/i2c_scanner
here is a sample for a I2C scanner
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
Seems to be the same as this:
https://devzone.nordicsemi.com/f/nordic-q-a/50098/error-message-i2c_nrfx_twim-error-195952641-occurred-for-message-0/199748
"NRFX_ERROR_DRV_TWI_ERR_ANACK". ///< TWI error: Address not acknowledged.
tks!!!the issue was solved.
tks!!!the issue was solved.