<?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>Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41335/trying-to-drive-imu-via-gpio</link><description>Hi, 
 I am try to try an IMU sensor (mpu60x0) via GPIO but it&amp;#39;s giving me 0.6 Volts at output. I have configured the GPIO for High Drive (GPIO_PIN_CNF_DRIVE_H0H1) 
 Also I am using Pin 10 so I have used CONFIG_NFCT_PINS_AS_GPIOS in defines. 
 Any solutions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Dec 2018 05:00:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41335/trying-to-drive-imu-via-gpio" /><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/161329?ContentTypeID=1</link><pubDate>Wed, 12 Dec 2018 05:00:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a13c1bdb-d567-402f-a1c8-1df82887643e</guid><dc:creator>ahmdm</dc:creator><description>&lt;p&gt;I wanted to turn it on only when i needed it in order to save battery. neverthless, I guess I&amp;#39;ll use a mosfet to control it&amp;#39;s power. that seems to me a more feasible solution.&lt;/p&gt;
&lt;p&gt;Thanks for your support. I really appreciate it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/161198?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 13:00:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc3ec247-7cd2-4d28-9caf-4ade289c6f93</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The specifications give a range from 6 mA (min) to 14 mA (max) with a typical value of 9 mA. It could be that the chip is not able to source 9 mA drawn by the IMU.&amp;nbsp;&lt;/p&gt;
&lt;table border="1" cellpadding="4" cellspacing="0" frame="border" rules="all" summary=""&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d10939623e73344" rowspan="1" valign="top" width="12.82051282051282%"&gt;I&lt;sub&gt;OH,HDH&lt;/sub&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d10939623e73347" rowspan="1" valign="top" width="38.46153846153847%"&gt;
&lt;p&gt;Current at VDD-0.4 V, output set high, high drive, VDD &amp;gt;= 2.7 V&lt;/p&gt;
&lt;/td&gt;
&lt;td colspan="1" headers="d10939623e73360" rowspan="1" valign="top" width="6.41025641025641%"&gt;&lt;span&gt;6&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d10939623e73363" rowspan="1" valign="top" width="6.41025641025641%"&gt;&lt;span&gt;9&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d10939623e73366" rowspan="1" valign="top" width="6.41025641025641%"&gt;&lt;span&gt;14&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d10939623e73369" rowspan="1" valign="top" width="3.8461538461538463%"&gt;mA&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Is there any reason that you can&amp;#39;t power the IMU directly from VDD?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/161197?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 13:00:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55e1d6ad-c773-48cd-ab5a-b58a595b7858</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The specifications give a range from 6 mA (min) to 14 mA (max) with a typical value of 9 mA. It could be that the chip is not able to source 9 mA drawn by the IMU.&amp;nbsp;&lt;/p&gt;
&lt;table border="1" cellpadding="4" cellspacing="0" frame="border" rules="all" summary=""&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td colspan="1" headers="d10939623e73344" rowspan="1" valign="top" width="12.82051282051282%"&gt;I&lt;sub&gt;OH,HDH&lt;/sub&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d10939623e73347" rowspan="1" valign="top" width="38.46153846153847%"&gt;
&lt;p&gt;Current at VDD-0.4 V, output set high, high drive, VDD &amp;gt;= 2.7 V&lt;/p&gt;
&lt;/td&gt;
&lt;td colspan="1" headers="d10939623e73360" rowspan="1" valign="top" width="6.41025641025641%"&gt;&lt;span&gt;6&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d10939623e73363" rowspan="1" valign="top" width="6.41025641025641%"&gt;&lt;span&gt;9&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d10939623e73366" rowspan="1" valign="top" width="6.41025641025641%"&gt;&lt;span&gt;14&lt;/span&gt;&lt;/td&gt;
&lt;td colspan="1" headers="d10939623e73369" rowspan="1" valign="top" width="3.8461538461538463%"&gt;mA&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Is there any reason that you can&amp;#39;t power the IMU directly from VDD?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/161164?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 10:33:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca6abc41-8dd9-438f-b1db-cfd0aaf4b3a7</guid><dc:creator>ahmdm</dc:creator><description>&lt;p&gt;I tested the current and it draws 9mA max.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tested pin 13 same result.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/161160?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 10:26:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:594cb5ac-ab37-4e27-9738-3488be477557</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;How much current does the IMU draw? The GPIOs should be able to sink/source up to 15 mA in high drive mode. Have you tried other GPIOs than P0.10?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/161134?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 08:46:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d22ea7c0-5546-4b8d-b09d-2a2a982d27fa</guid><dc:creator>ahmdm</dc:creator><description>&lt;p&gt;Okay so the thing is that I am now trying it on my nrf52DK pca10040. I have shorted the r27/r28 resistors. The situation is that as soon as I turn it on the led on the IMU,keeps toggling. Is it that the GPIO is not supplying enough current or some other issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/161109?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 04:30:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7b77afe-2579-4783-9851-a1e2b023bbe0</guid><dc:creator>ahmdm</dc:creator><description>&lt;p&gt;It is returning&amp;nbsp;0x1000120C: FFFFFFFE&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/161002?ContentTypeID=1</link><pubDate>Mon, 10 Dec 2018 13:26:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34b7dd30-f3c2-44b3-b262-a69d3d1eab20</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Just to be sure, can you read the UICR register using nrfjprog (nrfjprog --memrd 0x1000120c)? This should return&amp;nbsp;0x1000120C: FFFFFFFE if the GPIOs are correctly configured.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/160990?ContentTypeID=1</link><pubDate>Mon, 10 Dec 2018 13:05:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e36221d-d16d-42ce-a689-762a0058e703</guid><dc:creator>ahmdm</dc:creator><description>&lt;p&gt;Defined it in both.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Although I am suspecting the ic might not be soldered properly. Bot sure though still .&lt;/p&gt;
&lt;p&gt;Any thing else I could check?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/160964?ContentTypeID=1</link><pubDate>Mon, 10 Dec 2018 12:12:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50d0cd19-2957-4473-bcaa-0fefad26dea2</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you only define it in Asm, or C/C++ tab as well? The config is applied in system_nrf52.c. If it is only defined in Asm, the change will not take effect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/160941?ContentTypeID=1</link><pubDate>Mon, 10 Dec 2018 10:51:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c288b256-8def-4689-a37e-4f2ab3d2acc7</guid><dc:creator>ahmdm</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0726.Capture.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;I have defined it like this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/160890?ContentTypeID=1</link><pubDate>Mon, 10 Dec 2018 08:59:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3aaac068-e653-48b9-b062-8cede3044e48</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Where did you define&amp;nbsp;&lt;span&gt;CONFIG_NFCT_PINS_AS_GPIOS? This should be configured in the project&amp;#39;s preprocessor symbols to be affective.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/160874?ContentTypeID=1</link><pubDate>Mon, 10 Dec 2018 07:19:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb378931-63a7-4915-b61e-03d4da05a299</guid><dc:creator>ahmdm</dc:creator><description>&lt;p&gt;I have tested the following:&lt;/p&gt;
&lt;p&gt;tested other gpio pins that are not NFCT pins and they are working as programmed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Tested pins 9 and 10 and they are giving me a voltages from 0-0.4V when set without the IMU connected&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t understand what might be the issue here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/160834?ContentTypeID=1</link><pubDate>Sat, 08 Dec 2018 12:46:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bacab91-baf5-4308-afdb-b9907f509753</guid><dc:creator>ahmdm</dc:creator><description>&lt;p&gt;I&amp;#39;ll test all this l, try to narrow it down and get back to you .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/160771?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 14:39:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3089066-b35b-43d4-9a48-390654ab7dc7</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;What is the pin voltage if you have not connected the IMU? Are you able to control the GPIO from your code (set it high/low) if there is nothing connected? Have you tried other pins that is not used for other peripherals (like the NFCT antenna)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/160703?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 10:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ce3ca20-5adb-4923-8bd5-cc732d552146</guid><dc:creator>ahmdm</dc:creator><description>&lt;p&gt;yes I am testing it on a custom board. The board is powered via a 3.3v regulator (AP2112k) that is connected to a LiPo battery.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/160696?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 10:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e6bc07f-cdd6-47f1-950c-3f5a3f659aec</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="ahmedm"]I plan to drive it on a custom board[/quote]
&lt;p&gt;&amp;nbsp;&lt;strong&gt;&lt;/strong&gt;Are you testing it on a custom board&amp;nbsp;&lt;em&gt;now&lt;/em&gt;? What is the supply voltage of the board you are connecting the IMU to?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/160694?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 09:51:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03372948-6b27-4b23-92fb-5b0ea429cec1</guid><dc:creator>ahmdm</dc:creator><description>&lt;p&gt;Yes .I want to drive the Vdd of the IMU . Required VOLTAGE IS 3.3V&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I plan to drive it on a custom board . When I check with a meter it&amp;#39;s alternating between 0 and around 0.45V&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying To Drive IMU via GPIO</title><link>https://devzone.nordicsemi.com/thread/160691?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 09:43:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c83ccd19-4e61-49d0-88f6-af1203ec7260</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you mean that you want to drive VDD of the IMU from the GPIO?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What is the supply voltage?&lt;/li&gt;
&lt;li&gt;Is this on a nRF52-DK or on a custom board?&lt;/li&gt;
&lt;li&gt;What is the voltage of the pin if it is not connected to the IMU?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>