<?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>How can I set fpu_interrupt_mode?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54582/how-can-i-set-fpu_interrupt_mode</link><description>Hi Devzone! 
 
 I&amp;#39;m planning to integrate fpu_fft with ble_app_uart, and did it. 
 I wanna use IRQ of fpu_fft but I can&amp;#39;t find where I should define fpu_interrupt_mode. 
 Where can I find it? 
 
 Best regards, 
 Baek</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Nov 2019 13:52:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54582/how-can-i-set-fpu_interrupt_mode" /><item><title>RE: How can I set fpu_interrupt_mode?</title><link>https://devzone.nordicsemi.com/thread/221583?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2019 13:52:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21b43195-5e94-449f-ab7c-48b716687bfa</guid><dc:creator>zester926</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Thank you so much!! now I can understand it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Always thanks a lot for detailed answers from Devzone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I set fpu_interrupt_mode?</title><link>https://devzone.nordicsemi.com/thread/221575?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2019 13:37:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db836990-f9ab-47df-ba92-3abe431c4ff6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;With the interrupt enabled the&amp;nbsp;&lt;span&gt;floating-point unit can generate an interrupt when one of several exceptions occur. The exceptions are underflow, overflow, divide by zero, invalid operation, input denormal, and inexact exception.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So in short,in interrupt mode you can be notified about exceptions that occur during &lt;span style="font-size:12px;"&gt;the&lt;/span&gt;&amp;nbsp;floating point operations. The alternative is to poll the&amp;nbsp;FPSCR register-&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Performance wise in terms&amp;nbsp;of the actual FPU operations it should be the same if you use the FPU interrupt or not.&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;Bjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I set fpu_interrupt_mode?</title><link>https://devzone.nordicsemi.com/thread/221231?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 08:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77a970d8-0659-49ed-ad07-ba24da7e34f8</guid><dc:creator>zester926</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Bj&amp;oslash;rn!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you a lot!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What is the difference between fpu_interrupt_mode and just fft?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there any good points when using interrupt_mode from a performance perspective?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&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;Baek&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I set fpu_interrupt_mode?</title><link>https://devzone.nordicsemi.com/thread/221167?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 19:12:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:619b010b-b01d-472a-abff-1d0d634d73cb</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Baek,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;in the&amp;nbsp;nRF5_SDK_16.0.0_684aa2c\examples\peripheral\fpu_fft\pca10040\s132_irq example we&amp;#39;re defining the&amp;nbsp;FPU_INTERRUPT_MODE in the Preprocessor Definitions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In SES, right-click the project, click Options, select the Common configuration in the drop-down menu in the upper right corner, then navigate to Code &amp;gt; Preprocessor &amp;gt; Preprocessor Definitions and add&amp;nbsp;FPU_INTERRUPT_MODE there.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>