<?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>Device tree setting problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109666/device-tree-setting-problem</link><description>Hi 
 　　Ｉam use nRF7002-DK, SDK v2.5.2, I try to set high seed SPI as master and connect with BMP280 sensor,I generate overay file for spi4 connect BMP280 sensor,for this resource in nrf5340_cpuapp_common.dts connect mx25r64 NOR flash first, as below picture</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Apr 2024 13:35:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109666/device-tree-setting-problem" /><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/478800?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2024 13:35:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc9e0925-8ecd-4a24-8f51-ffb4bdab0dda</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Tina&lt;/p&gt;
&lt;p&gt;You should be able to use any similar SPI driver as a template for your new one and look at how SPIOP is set up in other SPI sensors. I&amp;#39;m not intimately familiar with this specific device, but this define looks okay. Some trial and error must be expected when creating a new sensor for a project from scratch though. Please give it a shot and let me know if you run into any specific issues.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/478490?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 08:55:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ad49248-99a7-4fdd-9931-728021f9c5da</guid><dc:creator>yithwe</dc:creator><description>&lt;p&gt;Hi Simonr&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thanks for your reply, now I use upper ticket you provide,&amp;nbsp;connect&amp;nbsp;new sensor, for this how can I know the defult setting for SPI mode or SPI_MODE_CPOL and&amp;nbsp;SPI_MODE_CPHA value?&amp;nbsp;how can&amp;nbsp;I&amp;nbsp; config for SPI mode as 3?&lt;/p&gt;
&lt;p&gt;can I set as below?&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;SPIOP&lt;/span&gt;&lt;span&gt; &amp;nbsp; &lt;/span&gt;&lt;span&gt;SPI_WORD_SET&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;8&lt;/span&gt;&lt;span&gt;) &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;SPI_TRANSFER_MSB&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;SPI_MODE_CPOL&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;SPI_MODE_CPHA&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Tina&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/478461?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 07:37:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16db9bd5-6c18-40e5-9fd8-b8475a053fef</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Tina&lt;/p&gt;
&lt;p&gt;Please check out&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/98363/sensor-api-in-zephyr-adding-new-sensor-howto-on-the-example-lsm6ds33"&gt; the answer from Raoul in this ticket &lt;/a&gt;on how to add a new sensor to a sample project.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/478229?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 08:35:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ef44b8f-d430-4d0f-96c8-fcb1f3efcb5c</guid><dc:creator>yithwe</dc:creator><description>&lt;p&gt;Hi Simonr&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for your suggestion, For new sensor or other board how to create for *.yaml file? do you have any training course for this parts?&lt;/p&gt;
&lt;p&gt;If I want to create for ST-F412ZG board&amp;#39;s *.yaml, what details I need to precaution?&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Tina&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/478215?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 08:02:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:827ab71a-abb3-49f5-96f6-8f962630bfa8</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure I understand the question here, the default settings for the secure and non-secure builds should be the same in terms on pin configs. To see all pin configs I would recommend opening the nRF DeviceTree extension in VS Code to get a visual editor showing you what every pin is configured as.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/477974?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 08:35:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98287cbe-d59c-4596-b403-c48d35821787</guid><dc:creator>yithwe</dc:creator><description>&lt;p&gt;Hi Simonr&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thanks for your reply, another question is where can I get the all SPI4 gpio pin default setting detail and on the vscode &amp;quot;Edit Build Confirguration&amp;quot; for board nrf7002_nrf5340_cpuapp_ns detail?As below picture.I want to config CPOL and CPHA for SPI4, need some reference.Others I want to compare for difference between&amp;nbsp; board selection for&amp;nbsp;&lt;span&gt;nrf7002_nrf5340_cpuapp &amp;amp;&amp;nbsp;nrf7002_nrf5340_cpuapp_ns.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1712737277584v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1712737362946v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Tina&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/477935?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 06:36:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c55227a1-6a5c-47cf-9e3d-65fdc0208341</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;If you don&amp;#39;t see any activity on P0.08 specifically I would double check that SB11 on the DK is properly shorted, as I don&amp;#39;t see what the problem should be if you otherwise follow the SPI lesson on the DevAcademy.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/477687?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2024 01:10:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:647a33bc-4655-4927-944d-991afd70aa4a</guid><dc:creator>yithwe</dc:creator><description>&lt;p&gt;Hi Simonr&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style="color:#0000ff;font-size:inherit;"&gt;&lt;em&gt;wasn&amp;#39;t the point to have the SPI4 at a higher frequency than the standard SPI speed?&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Now is testing with&amp;nbsp;ST:LIS2HH12 sensor connection and transmit/recieve , for this sensor the max frequency is 8MHz, but we will try to use high speed with other device connection in future, so need to testing spi4&amp;nbsp;with low frequency temporary.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;&lt;em&gt;For the picture I meant a photo of the physical connection so I could make sure it looks like it&amp;#39;s connected correctly.&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Connection is correct, but the pin function is not work correctly.For P0.08(SCK) no any waveforms when the activity is start, but the (CS)P0.11 has waveforms&amp;nbsp;by use oscilloscope and logic analyzer.So the result of read/write byte for sensor is no any values as upper, What configuration or detail did I miss for this case?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Tina&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/477606?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 13:55:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:feb394b6-a075-4650-adb4-9164789d78e3</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I see you&amp;#39;ve set the SPI max frequency to 8MHz here, wasn&amp;#39;t the point to have the SPI4 at a higher frequency than the standard SPI speed? That being said I don&amp;#39;t see a specific issue with this overlay file. For the picture I meant a photo of the physical connection so I could make sure it looks like it&amp;#39;s connected correctly.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/477396?ContentTypeID=1</link><pubDate>Sat, 06 Apr 2024 06:25:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24b4660b-0f70-4c9c-b420-530a92cd8b70</guid><dc:creator>yithwe</dc:creator><description>&lt;p&gt;Hi Simonr&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attached file is for my overlay file, and chip visual picture, Thanks.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2570.nrf7002dk_5F00_nrf5340_5F00_cpuapp.overlay"&gt;devzone.nordicsemi.com/.../2570.nrf7002dk_5F00_nrf5340_5F00_cpuapp.overlay&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1712384714688v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Tina&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/477012?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 06:48:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52bb78eb-245f-4169-939f-66eae7db7f79</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;How have you added the SPI pins you&amp;#39;re using in your overlay file? You should use pins&amp;nbsp;&lt;span&gt;(P0.08-P0.12) to take advantage of the SPIM4 instance, and that needs to be reflected in your overlay file as explained in steps 2.1 and 2.2 of the Academy course you&amp;#39;re referring to. Also, please show me a picture of how you have connected the BMP sensor to your nRF7002DK exactly, as something isn&amp;#39;t set up correctly if you&amp;#39;re not able to write the addresses correctly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/476743?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 07:05:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8acf609-5f7b-4f86-9801-37feddec5f58</guid><dc:creator>yithwe</dc:creator><description>&lt;p&gt;Hi Simonr&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For this log,I really to write value to register as below.but when write to registers no any error message for write fail info.sometime registers value is &amp;quot;Zero&amp;quot; when I was solid connection the board and sensor.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:200%;"&gt;Define register&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;CTRL3&lt;/span&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;0x22&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;CTRL4&lt;/span&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;0x23&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;CTRL5&lt;/span&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;0x24&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;CTRL6&lt;/span&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;0x25&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;CTRL7&lt;/span&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;0x26&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span style="font-size:200%;"&gt;Write function&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;static int lis_write_reg(uint8_t reg, uint8_t value)&lt;br /&gt;{&lt;br /&gt; int err;&lt;/p&gt;
&lt;p&gt;/* STEP 5.1 - declare a tx buffer having register address and data */&lt;br /&gt; uint8_t tx_buf[] = {(reg &amp;amp; 0x7F), value}; &lt;br /&gt; struct spi_buf tx_spi_buf = {.buf = tx_buf, .len = sizeof(tx_buf)};&lt;br /&gt; struct spi_buf_set tx_spi_buf_set = {.buffers = &amp;amp;tx_spi_buf, .count = 1};&lt;br /&gt; /* STEP 5.2 - call the spi_write_dt function with SPISPEC to write buffers */&lt;br /&gt; err = spi_write_dt(&amp;amp;spispec, &amp;amp;tx_spi_buf_set);&lt;br /&gt; if (err &amp;lt; 0) {&lt;br /&gt; LOG_ERR(&amp;quot;spi_write_dt() failed, err %d&amp;quot;, err);&lt;br /&gt; return err;&lt;br /&gt; }&lt;br /&gt; LOG_ERR(&amp;quot;spi_write_dt() SUCCESS, err %d&amp;quot;, err);&lt;br /&gt; return 0;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:200%;"&gt;In main&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;lis_write_reg&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;CTRL3&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;0x9F&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;lis_write_reg&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;CTRL4&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;0x9F&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;lis_write_reg&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;CTRL7&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;0x9F&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size:200%;"&gt;Log for solid connection the board and sensor&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size:inherit;"&gt;*** Booting nRF Connect SDK v2.5.2 ***&lt;br /&gt;[00:00:00.250,366] &amp;lt;inf&amp;gt; Lesson5_Exercise1: -------------------------------------------------------------&lt;br /&gt;[00:00:00.250,366] &amp;lt;inf&amp;gt; Lesson5_Exercise1: lis_read_calibrationdata: Reading from calibration registers:&lt;br /&gt;[00:00:00.250,396] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x0b] 2 Bytes read: Param T1 = 0&lt;br /&gt;[00:00:00.300,842] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x0f] = 0x00&lt;br /&gt;[00:00:00.321,044] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x1e] = 0x00&lt;br /&gt;[00:00:00.341,217] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x1f] = 0x00&lt;br /&gt;[00:00:00.361,389] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x20] = 0x00&lt;br /&gt;[00:00:00.381,591] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x21] = 0x00&lt;br /&gt;[00:00:00.401,763] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x22] = 0x00&lt;br /&gt;[00:00:00.421,936] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x23] = 0x00&lt;br /&gt;[00:00:00.442,108] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x24] = 0x00&lt;br /&gt;[00:00:00.462,310] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x25] = 0x00&lt;br /&gt;[00:00:00.482,482] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x26] = 0x00&lt;br /&gt;[00:00:00.502,655] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x27] = 0x00&lt;br /&gt;[00:00:00.522,827] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x28] = 0x00&lt;br /&gt;[00:00:00.543,029] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x26] = 0x00&lt;br /&gt;[00:00:00.563,201] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x27] = 0x00&lt;br /&gt;[00:00:00.583,404] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x28] = 0x00&lt;br /&gt;[00:00:00.603,546] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x29] = 0x00&lt;br /&gt;[00:00:00.623,748] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x2a] = 0x00&lt;br /&gt;[00:00:00.643,920] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x2b] = 0x00&lt;br /&gt;[00:00:00.664,093] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x2c] = 0x00&lt;br /&gt;[00:00:00.684,265] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x2d] = 0x00&lt;br /&gt;[00:00:00.704,467] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x2e] = 0x00&lt;br /&gt;[00:00:00.724,548] &amp;lt;inf&amp;gt; Lesson5_Exercise1: -------------------------------------------------------------&lt;br /&gt;[00:00:00.724,578] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Continuously read sensor samples, compensate, and display&lt;br /&gt;[00:00:00.724,639] &amp;lt;inf&amp;gt; Lesson5_Exercise1: uncomp = 0 C&lt;br /&gt;[00:00:01.724,761] &amp;lt;inf&amp;gt; Lesson5_Exercise1: uncomp = 0 C&lt;br /&gt;[00:00:02.724,884] &amp;lt;inf&amp;gt; Lesson5_Exercise1: uncomp = 0 C&lt;br /&gt;[00:00:03.725,097] &amp;lt;inf&amp;gt; Lesson5_Exercise1: uncomp = 0 C&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size:inherit;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Tina&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/476731?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 06:30:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef69dd80-243a-4073-87e4-54a65945f4c7</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It seems like the registers you&amp;#39;re reading are empty, so if nothing is written to these registers, what you&amp;#39;re seeing is perfectly normal. What are you writing to the sensor exactly?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/476650?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2024 14:42:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ce2a34d-119d-4596-87f4-acd3567a667b</guid><dc:creator>yithwe</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Ｉshort SB11-SB14 and I use&amp;nbsp;&lt;a id="" href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-5-serial-peripheral-interface-spi/topic/exercise-1-10/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-5-serial-peripheral-interface-spi/topic/exercise-1-10/&lt;/a&gt;&amp;nbsp;sample code :Interfacing with a sensor over SPI, for connect ST:LIS2HH12 sensor, after I write register and print the registers in main, the result is as below, isn&amp;#39;t normal?&lt;/p&gt;
&lt;p&gt;[00:00:00.300,811] &amp;lt;inf&amp;gt; Lesson5_Exercise1: bmp_print_registers: Reading all BME280 registers (one by one)&lt;br /&gt;[00:00:00.300,872] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x0f] = 0xff&lt;br /&gt;[00:00:00.321,044] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x1e] = 0xff&lt;br /&gt;[00:00:00.341,186] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x1f] = 0xff&lt;br /&gt;[00:00:00.361,328] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x20] = 0xff&lt;br /&gt;[00:00:00.381,469] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x21] = 0xff&lt;br /&gt;[00:00:00.401,611] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x22] = 0xff&lt;br /&gt;[00:00:00.421,752] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x23] = 0xff&lt;br /&gt;[00:00:00.441,894] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x24] = 0xff&lt;br /&gt;[00:00:00.462,036] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x25] = 0xff&lt;br /&gt;[00:00:00.482,177] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x26] = 0xff&lt;br /&gt;[00:00:00.502,349] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x27] = 0xff&lt;br /&gt;[00:00:00.522,491] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x28] = 0xff&lt;br /&gt;[00:00:00.542,633] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x26] = 0xff&lt;br /&gt;[00:00:00.562,774] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x27] = 0xff&lt;br /&gt;[00:00:00.582,916] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x28] = 0xff&lt;br /&gt;[00:00:00.603,057] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x29] = 0xff&lt;br /&gt;[00:00:00.623,199] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x2a] = 0xff&lt;br /&gt;[00:00:00.643,341] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x2b] = 0x00&lt;br /&gt;[00:00:00.663,482] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x2c] = 0x00&lt;br /&gt;[00:00:00.683,624] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x2d] = 0x00&lt;br /&gt;[00:00:00.703,796] &amp;lt;inf&amp;gt; Lesson5_Exercise1: Reg[0x2e] = 0x00&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Tina&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/476065?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 08:39:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:333d101e-0b1a-4dcf-90f1-96798c38ceb0</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Note that there are some specific pins dedicated for high-speed SPI4 (P0.08-P0.12). By default, these are connected to the Flash memory on the nRF7002DK, so you will need to short SB11-SB14 to have these pins available for your sensor when using the DK. Note that this will leave the MX25 disconnected though so it won&amp;#39;t be usable unless you get inventive with soldering it onto some other pins on the DK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/475950?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 13:59:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1836af48-5178-4f64-92df-ed98fd20fa3c</guid><dc:creator>yithwe</dc:creator><description>&lt;p&gt;Hi Simonr&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thanks for your reply, I need high speed spi4 for my sensor,I try to move Mx25 to spi3, isn&amp;#39;t need any&amp;nbsp;precaution?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Best Reagrds&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Tina&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device tree setting problem</title><link>https://devzone.nordicsemi.com/thread/475924?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 13:09:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26404c76-899c-4d75-8e90-dc9f25f83677</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Tina&lt;/p&gt;
&lt;p&gt;Yes, it&amp;#39;s possible to switch the SPI instance the MX25 uses if you&amp;#39;d like. But is there a specific reason you want the SPI4 instance&amp;nbsp;for the&amp;nbsp;&lt;span&gt;BMP280&amp;nbsp;sensor? The app core has 5 SPI instances available (SPI0-SPI4) and either of these can be used for the BMP280. If you run both on the same instance, they won&amp;#39;t be able to operate at the speed you&amp;#39;d like, so I&amp;#39;d strongly recommend moving either the MX25 or the BMP280 to its own SPI instance.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>