<?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>Error 0x0BAE0001 after PM_DEVICE_ACTION_RESUME</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85898/error-0x0bae0001-after-pm_device_action_resume</link><description>Hi, 
 I&amp;#39;m currently using nRF Connect SDK v1.9.0 and developing on a nRF52832 onto a custom board. I&amp;#39;m using a BMI090L from Bosch connected over i2c. 
 I&amp;#39;m trying to suspend the i2c device after shutting down the gyro using the following code: 
 
 Then</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Apr 2022 13:13:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85898/error-0x0bae0001-after-pm_device_action_resume" /><item><title>RE: Error 0x0BAE0001 after PM_DEVICE_ACTION_RESUME</title><link>https://devzone.nordicsemi.com/thread/361248?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2022 13:13:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5784d1e9-e70c-4d6f-b023-c54882f3d4d3</guid><dc:creator>Alexandre Desgagne</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We currently not having external pull-ups on our board and I think we never encountered this kind of issue because we never uninit the i2c. I will add a note to add it for the next board revision.&lt;/p&gt;
&lt;p&gt;For now, I don&amp;#39;t have any problem about not using this function pm_device_action_run(i2c_dev, PM_DEVICE_ACTION_SUSPEND);&lt;/p&gt;
&lt;p&gt;I also think the lack of pull-ups resistors may be the cause of this issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Alexandre&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 0x0BAE0001 after PM_DEVICE_ACTION_RESUME</title><link>https://devzone.nordicsemi.com/thread/361239?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2022 12:59:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d81dbafc-6f1e-4963-b68a-9a453298410a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you use external pull-resistors? If not, could you try to add 10k pull-ups and see if this has any effect on the scenario?&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: Error 0x0BAE0001 after PM_DEVICE_ACTION_RESUME</title><link>https://devzone.nordicsemi.com/thread/361219?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2022 12:10:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af364d09-96c9-4a33-bb94-e9cdc03e82e8</guid><dc:creator>Alexandre Desgagne</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I checked and there&amp;#39;s already a wait as per the electrical specifications. I&amp;#39;m using the bmi090l driver: &lt;a href="https://github.com/BoschSensortec/BMI090L-Sensor-API"&gt;https://github.com/BoschSensortec/BMI090L-Sensor-API&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;I continued my examinations and I think the issue may comes from hardware side. The gyroscope answers a &amp;quot;NACK&amp;quot; when I try to wake it up only if uninit the i2c bus using this: pm_device_action_run(i2c_dev, PM_DEVICE_ACTION_SUSPEND); When I remove this instruction, It works properly. I suspect that the bmi090l has a strange behavior when I uninit i2c.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Alexandre&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error 0x0BAE0001 after PM_DEVICE_ACTION_RESUME</title><link>https://devzone.nordicsemi.com/thread/358644?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2022 12:30:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baf49f2f-9a75-4ccf-b350-1c5de6785859</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When placing the external sensor in suspend, it usually has a power up time. This seems to be 1 ms&amp;nbsp;on the accelerometer, but it is much higher on the gyro.&amp;nbsp;Could you try waiting as per the electrical specifications on this sensor before&amp;nbsp;fetching the sample?&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: Error 0x0BAE0001 after PM_DEVICE_ACTION_RESUME</title><link>https://devzone.nordicsemi.com/thread/358505?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 20:56:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdf29ea7-e627-498d-81a7-51231714bd91</guid><dc:creator>Alexandre Desgagne</dc:creator><description>[quote userid="109437" url="~/f/nordic-q-a/85898/error-0x0bae0001-after-pm_device_action_resume"]I&amp;#39;m using a BMI090L[/quote]
&lt;p&gt;I also know that gyroscope and accelerometer both use different addresses. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>