<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nrf9160DK + BME280</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54934/nrf9160dk-bme280</link><description>Hi 
 I start in programming on nrf9160 DK with a sensor BME280. I followed the tutorial &amp;quot;getting started part 2&amp;quot; (https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-connect-sdk-tutorial---part-2#h79sk0f70607qwcyitkx2xn61bmh9mo</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Oct 2020 12:13:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54934/nrf9160dk-bme280" /><item><title>RE: Nrf9160DK + BME280</title><link>https://devzone.nordicsemi.com/thread/277792?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 12:13:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee6db318-78fb-4d3b-bf09-4bad13fb642b</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;I see your other ticket has been assigned to one of my colleagues, so you should get an answer by the end of today (Norway-time).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160DK + BME280</title><link>https://devzone.nordicsemi.com/thread/277768?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 10:04:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dd29747-5e73-490e-beca-11a79933a951</guid><dc:creator>sanjay kumar</dc:creator><description>&lt;p&gt;I already opened a new ticket for it but no reply till yet&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160DK + BME280</title><link>https://devzone.nordicsemi.com/thread/277765?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 09:43:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c69360e7-8fe4-4151-a232-3a058dedf3ba</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/sanjay-kumar"&gt;sanjay kumar&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Could you open a new ticket, where you describe what you are trying to do, which SDK version you are using, the error you get, and what you have tried to solve it?&lt;/p&gt;
&lt;p&gt;While the error you get might be the same as in this case, a lot has happened in this past year, so your problem might not have the same cause.&lt;/p&gt;
&lt;p&gt;It is therefore not really possible to help you without more information.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160DK + BME280</title><link>https://devzone.nordicsemi.com/thread/277755?ContentTypeID=1</link><pubDate>Fri, 30 Oct 2020 09:13:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d4b853b-1c5a-4225-a1a4-33ef94e765ba</guid><dc:creator>sanjay kumar</dc:creator><description>&lt;p&gt;I have also the same problem, device is not found&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160DK + BME280</title><link>https://devzone.nordicsemi.com/thread/222560?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2019 09:48:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:708cce31-425c-4bb0-9386-802882f5afb0</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Are you building your application as secure (board name nrf9160_pca10090) or non-secure (board name nrf9160_pca10090&lt;strong&gt;ns&lt;/strong&gt;)?&lt;/p&gt;
&lt;p&gt;If you are building the application as non-secure, you must also add your changes to the overlay file in ncs/nrf/samples/nrf9160/spm (note that the overlay file must be for the secure variant of the board, i.e. nrf9160_pca10090.overlay).&lt;/p&gt;
&lt;p&gt;Also, if you are using Segger Embedded Studio, you should load the project again after changing overlay files, CMake files, or configuration files to make sure that your changes are taking effect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160DK + BME280</title><link>https://devzone.nordicsemi.com/thread/222447?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 17:18:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64610b05-4061-40fd-831c-f3bfe1544ebc</guid><dc:creator>Funyc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;div class="row bs-border-top"&gt;
&lt;div class="col-xs-8"&gt;&lt;span id="spnManufacturerPartNumber"&gt;I am using the BME280 Shuttle Board. I connected the pin P0.12 (nrf9160) with the pin 17 (Bme280 shuttle board) and the pin P0.11 and the pin P0.11 (nrf9160) with the pin 18&amp;nbsp;&lt;span&gt;(Bme280 shuttle board). Naturally the Vdd (nrf9160) with the pin 1 (Bme280 shuttle board) and the GND (nrf9160) with the pin 3 (Bme280 shuttle board)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="col-xs-8"&gt;&lt;span id="spnManufacturerPartNumber"&gt;&lt;span&gt;I used the oscilloscope but&amp;nbsp;I did not see anything&amp;nbsp;on the pins P0.12 and P0.11.&lt;br /&gt;Is nrf9160 well programmed?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="row bs-border-top"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160DK + BME280</title><link>https://devzone.nordicsemi.com/thread/222419?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 15:11:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:157591c5-039f-4725-a4c6-bdfcb43155bd</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The reason why the application is not able to &amp;quot;find&amp;quot; the device might be that the nRF91 is not able to communicate with the sensor.&lt;/p&gt;
&lt;p&gt;Is it connected to the correct pins?&lt;/p&gt;
&lt;p&gt;Have you used a logic analyzer or oscilloscope to verify that the communication between the nRF91 and the sensor looks fine?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf9160DK + BME280</title><link>https://devzone.nordicsemi.com/thread/222303?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 10:47:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1f757ca-3a50-41aa-9742-38cef571a808</guid><dc:creator>Funyc</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.13.1)
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
project(bme280)

FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;this is the CMakeLists.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c2 {
    status = &amp;quot;ok&amp;quot;;
    sda-pin = &amp;lt;12&amp;gt;;
    scl-pin = &amp;lt;11&amp;gt;;
    
    bme280@76 {
        compatible = &amp;quot;bosch,bme280&amp;quot;;
        reg = &amp;lt;0x76&amp;gt;;
        label = &amp;quot;BME280&amp;quot;;
    };
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;nrf9160_pca10090.overlay&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_STDOUT_CONSOLE=y
CONFIG_I2C_2=y
CONFIG_SENSOR=y
CONFIG_BME280=y
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;prj.conf&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2012-2014 Wind River Systems, Inc.
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#include &amp;lt;zephyr.h&amp;gt;
#include &amp;lt;device.h&amp;gt;
#include &amp;lt;drivers/sensor.h&amp;gt;

void main(void)
{
	struct device *dev = device_get_binding(&amp;quot;BME280&amp;quot;);

	if (dev == NULL) {
		printk(&amp;quot;Could not get BME280 device\n&amp;quot;);
		return;
	}

	printk(&amp;quot;dev %p name %s\n&amp;quot;, dev, dev-&amp;gt;config-&amp;gt;name);

	while (1) {
		struct sensor_value temp, press, humidity;

		sensor_sample_fetch(dev);
		sensor_channel_get(dev, SENSOR_CHAN_AMBIENT_TEMP, &amp;amp;temp);
		sensor_channel_get(dev, SENSOR_CHAN_PRESS, &amp;amp;press);
		sensor_channel_get(dev, SENSOR_CHAN_HUMIDITY, &amp;amp;humidity);

		printk(&amp;quot;temp: %d.%06d; press: %d.%06d; humidity: %d.%06d\n&amp;quot;,
		      temp.val1, temp.val2, press.val1, press.val2,
		      humidity.val1, humidity.val2);

		k_sleep(K_MSEC(1000));
	}
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;main.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>