<?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>Trouble with Sensor Trigger Function in Zephyr Project on xiao ble nrf52840 board using nrf connect sdk with vscode for i2c communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110009/trouble-with-sensor-trigger-function-in-zephyr-project-on-xiao-ble-nrf52840-board-using-nrf-connect-sdk-with-vscode-for-i2c-communication</link><description>I&amp;#39;m encountering issues with setting up the sensor trigger function in my Zephyr project on i2c communication. I&amp;#39;ve implemented a code snippet to interface with an ST LPS22HB pressure sensor using Zephyr RTOS on nrf connect sdk with vscode for i2c communication</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Apr 2024 10:55:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110009/trouble-with-sensor-trigger-function-in-zephyr-project-on-xiao-ble-nrf52840-board-using-nrf-connect-sdk-with-vscode-for-i2c-communication" /><item><title>RE: Trouble with Sensor Trigger Function in Zephyr Project on xiao ble nrf52840 board using nrf connect sdk with vscode for i2c communication</title><link>https://devzone.nordicsemi.com/thread/477512?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 10:55:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a91f921-c639-4fbe-87e7-bef92f0c80e0</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Found this PR that is relevant to your wanted functionality:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/69158"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/69158&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble with Sensor Trigger Function in Zephyr Project on xiao ble nrf52840 board using nrf connect sdk with vscode for i2c communication</title><link>https://devzone.nordicsemi.com/thread/477508?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 10:34:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6177a4a4-b28d-4fb5-bda1-2422927b42a1</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-88 = ENOSYS:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.5.99-ncs1/lib/libc/minimal/include/errno.h#L83"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.5.99-ncs1/lib/libc/minimal/include/errno.h#L83&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This means that the functionality requested is not implemented.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It seems that the sensor code lacks support for an interrupt trigger:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/sensor/lps22hb/lps22hb.c"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/sensor/lps22hb/lps22hb.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would recommend that you register an issue with&amp;nbsp;upstream zephyr:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues"&gt;https://github.com/zephyrproject-rtos/zephyr/issues&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>