<?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>Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40271/timer-issue-with-hx711---stopped-by-vector-catch-error</link><description>Details: SDK v15.2.0 using HX711 sample code copy-pasted over twi_master_using_nrf_twi_mngr example. Windows 8.1, uploading to nRF52 DK. 
 I am having a hard time understanding this section of code. I read the timer section in the product specs v1.4,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Jan 2020 21:10:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40271/timer-issue-with-hx711---stopped-by-vector-catch-error" /><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/227162?ContentTypeID=1</link><pubDate>Wed, 01 Jan 2020 21:10:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:926f1fe9-655c-4bd6-8c53-515e101318b2</guid><dc:creator>MikeLemon</dc:creator><description>&lt;p&gt;Hii Vidar,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to run your example(and this issue is consistent across most example) using the nordic SDK15&lt;/p&gt;
&lt;p&gt;and it simply prints me this error saying it can&amp;#39;t find the file after literally opening the .emProject file in text editor and changing the directories &amp;quot;../../../../../../&amp;quot; to my SDK directory: &amp;quot;C:/Nrf_Env/nRF5_SDK_15&amp;quot; and there is the first error:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:/Nrf_Env/nRF5_SDK_15/components/libraries/log/src/nrf_log_backend_serial.c: No such file or directory&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;What am I doing wrong? how do you make such &amp;quot;project&amp;quot; compatible generally?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/204368?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2019 20:53:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b500ada0-39da-497e-8d27-10c1e8c65075</guid><dc:creator>JWCode</dc:creator><description>&lt;p&gt;Did you simply extract the zip file and run it? I am unable to get anything other than 0&amp;#39;s in my TX characteristic values. Help would be much appreciated&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/204361?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2019 19:33:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad19e222-2c62-4a56-baac-5d9bf948aea5</guid><dc:creator>JWCode</dc:creator><description>&lt;p&gt;I believe that is simply the weight sensor output. You need to calibrate the&amp;nbsp;scale to get useful values&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/203502?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2019 08:38:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddbea9fe-0c42-458e-9c06-c88c2d52095e</guid><dc:creator>Pepam</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;I tried this &lt;strong&gt;ble_app_uart_w_hx711&lt;/strong&gt;&amp;nbsp;example you provided, but when I start debuging I can see just this number&amp;nbsp;-8388608 in debug terminal. Please see attached screenshot. In hx711 chip is not the problem, I tried this hx711 on Arduino and it worked.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thank you for&amp;nbsp;your answer&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/hx711_5F00_issue.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/179309?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 20:55:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8ad5412-afdc-4b51-ad6a-85c7a1c2d0ee</guid><dc:creator>FiL0</dc:creator><description>&lt;p&gt;Hi Vidar, That did the trick! Thanks for the quick and helpful answer!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/179113?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 07:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57f21182-8e34-4166-8587-0c0befc0205e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m glad to hear that the sample code worked. The hx711 driver would need to be modified a bit to work together with the PWM library because they both&amp;nbsp;use TIMER-&amp;gt;PPI-&amp;gt;GPIOTE for generating the output signal. I.e., make sure they don&amp;#39;t share the same timer instance or gpiote&amp;nbsp;channels.&amp;nbsp;However, I would instead recommend you to use the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/hardware_driver_pwm"&gt;PWM driver&lt;/a&gt;&amp;nbsp;which uses the dedicated&amp;nbsp;PWM HW.&amp;nbsp;This should work fine with the hx&amp;nbsp;driver.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The library was initially made for the 51 series that didn&amp;#39;t have a PWM peripheral.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/179062?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 19:05:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3214d09-baed-4389-ac4d-1cd705fdd410</guid><dc:creator>FiL0</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for the code example. I tried it on my NRF52 dev kit and it worked no issues.&lt;/p&gt;
&lt;p&gt;However, Once I add the PWM library example, then it falls over. It just doesn&amp;#39;t want to run at all. I&amp;#39;ve debugged it, and the&amp;nbsp;gpiote_evt_handler is not called.&lt;/p&gt;
&lt;p&gt;Can you maybe help me through this issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/175700?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 13:58:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7efe1047-0bac-4880-9abc-e252dd2df6cc</guid><dc:creator>Germ&amp;#224;n</dc:creator><description>&lt;pre class="well" id="textOut"&gt;Thank you very much for answering Vidar Berg, I did what you asked with ble_app_uart_w_hx711 in my NRF52DK and it worked perfectly with nRF UART V2.0 for Android. The HX711 was sending but maybe I have a problem in the baud rate because they only see symbols question mark in black. 
In Windows7, via PuTTy I can not open port COM4, I guess that the code example is only for Ble. Now, if you could help me to use the code without Ble? Many thanks for your attention Vidar.&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/175615?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 12:19:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f76f924-f5ee-4481-be90-e9b22846e488</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You should start with the ble_app_uart_w_hx711 project I included the&amp;nbsp;accepted answer above.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/175613?ContentTypeID=1</link><pubDate>Tue, 12 Mar 2019 12:03:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc5b0987-c4f0-44f2-a136-2fdafab38e63</guid><dc:creator>Germ&amp;#224;n</dc:creator><description>&lt;pre class="well" id="textOut"&gt;Good morning Mbards, 
I need to read data hx711 in nrf52dk but I have no experience in programming. 
I have read your thread and tried to schedule my nrf52dk in the example twi_master_using_nrf_twi_mngr using SDK v15.2.0, hx711.h and hx711.c 
I would appreciate if you could show me all the main.c for the example in nrf52dk. 
Many thanks for your help. &lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/172316?ContentTypeID=1</link><pubDate>Thu, 21 Feb 2019 13:57:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92d93355-9957-4b9d-bceb-2ec976ebf329</guid><dc:creator>Eugene0469</dc:creator><description>&lt;p&gt;hello. I&amp;#39;ve&amp;nbsp;been powering the hx711 with the VDD pin, which I saw supplies about 3V on my board. I have then been using the hx711 to supply the excitation voltage to the load cell. I realised that this reduces the sensitivity&amp;nbsp;greatly. My question is if I was to externally excite the load cell,&amp;nbsp;with, say 5V, would it affect my readings with the nrf52840, given that i saw the absolute maximum Vi/o rating&amp;nbsp;is 3.9V?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/172086?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 11:32:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0786187a-8e34-4b01-a49d-30200db917e3</guid><dc:creator>MGK</dc:creator><description>&lt;p&gt;I am working with a nRF52840 DK with SES. The examples work fine on the board. Can i use the&amp;nbsp; SES project in the pca10056 folder of the ble_app_uart example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/171900?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 13:25:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1ec027e-c105-4af8-9bd2-7c41fba31efe</guid><dc:creator>Eugene0469</dc:creator><description>&lt;p&gt;Ok. Thank you very much for all the help you&amp;#39;ve&amp;nbsp;offered me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/171896?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 13:20:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f915327-e9db-47c5-ae5b-c9f3ee226d7d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Calibration is not included in this code unfortunately. You need to implement it in your app. E.g., implement BLE commands to set calibration points, do linear regression, and store the curve to flash.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/171895?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 13:16:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6b88ee1-af2e-4f3f-b856-f3a72cf3fbf4</guid><dc:creator>Eugene0469</dc:creator><description>&lt;p&gt;I&amp;#39;d like to ask, when I went through the hx711 code written for Arduino, there was the issue of calibrating the hx711. Maybe it has already been done in the program. If so, I kindly ask for your direction to that section of the program.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/171890?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 12:58:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6bf6833-0fb3-4d15-a491-8867c20ca7dc</guid><dc:creator>Eugene0469</dc:creator><description>&lt;p&gt;Thanks. I switched from the 5V pin to VDD pin and now I am getting the values&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/171867?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 11:50:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a1a92d8-9d7a-40d7-9287-7027cc917243</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You will exceed the &lt;a href="https://www.nordicsemi.com/DocLib/Content/Product_Spec/nRF52840/latest/abs_max_ratings?1080#abs_max_ratings"&gt;maximum rating&lt;/a&gt; for&amp;nbsp;I/O pin voltage on the chip if&amp;nbsp;you supply 5v, which may damage the chip. The digital logic should be equal to VDD.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/171852?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 10:34:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43e5abcc-ca25-433a-bd33-269cb9d0b21c</guid><dc:creator>Eugene0469</dc:creator><description>&lt;p&gt;I am using optimization level -o3and I am powering the hx711 through the 5V pin provided by the nrf52840&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/171827?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 09:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ed3cfac-a392-430e-9aad-c4eece54c6ac</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It shouldn&amp;#39;t be a problem to use pin 5 and 4 as long as they are not used for anything else in your code. Have you tried compiling with code optimization enabled? It may be necessary to read out the DOUT pin fast enough. Are you powering the hx711 through another GPIO?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/171819?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 09:07:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7f9d57e-8d35-4061-bc04-4d05d5240d65</guid><dc:creator>Eugene0469</dc:creator><description>&lt;p&gt;which pins of your nrf&amp;nbsp;dev kit did you use, cause I&amp;#39;m&amp;nbsp;using Arduino pin 5 and 4 and I only seem to be reading 0 values. any help would be greatly appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/171318?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 10:03:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:349f4cc2-b33f-4bd4-ba72-61846bd2b181</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, it should work with the nRF52840&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/171236?ContentTypeID=1</link><pubDate>Thu, 14 Feb 2019 20:18:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8eda4794-b49c-4fb5-b212-ab037e44377d</guid><dc:creator>MGK</dc:creator><description>&lt;p&gt;Hi, Do you know if the example will work with the nrf52840? Would like to implement the coded phy long range feature in my project which only is supported by the nrf52840.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/170814?ContentTypeID=1</link><pubDate>Wed, 13 Feb 2019 10:08:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7154f9e7-5169-4322-94ef-679b6f2deb25</guid><dc:creator>Eugene0469</dc:creator><description>&lt;p&gt;Sorry for the bother, but looking at the thingy SDK, I see that there is a specific way the thingy pins have been defined. So, when connecting the hx711 to the thingy, can I still use the pins defined in your code and am I supposed to change the pin configurations in the code that you&amp;#39;ve&amp;nbsp;provided.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/170765?ContentTypeID=1</link><pubDate>Wed, 13 Feb 2019 07:42:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf4f8afa-bb3a-49e8-b793-9985ae29d6bf</guid><dc:creator>Eugene0469</dc:creator><description>&lt;p&gt;Thanks. Will try it then get back to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue With HX711 - Stopped By Vector Catch Error</title><link>https://devzone.nordicsemi.com/thread/170708?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 16:29:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7422a8b-ab65-48bf-a794-4c7e196ae4d3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It should work with SDK 12, I just haven&amp;#39;t tried it. There may be some minor API differences.&lt;/p&gt;
&lt;p&gt;You are correct in that the thingy FW is based on SDK 12. However, if you are developing new FW you should consider using the latest SDK (currently 15.2)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>