<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735186#M29684</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav More,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your updated information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Your now project which use the keil DSP lib don't have the hard fault problem now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; But about the wrong execute time, it is determined by the lib and the core clock, LPC11U68 max frequency is 50Mhz, if you use the max core clock, this lib execution time also can't meet your demand, I think maybe you need to choose the chip with higher core clock or the M4 core which can support the hardware float instruction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 May 2018 09:23:43 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2018-05-31T09:23:43Z</dc:date>
    <item>
      <title>HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735177#M29675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to DSP functionality with respect to LPC CMSIS library. I hae implemented the small code in order to do real FFt on the hard coded samples. I refered the sample codes avaiable with LPC expresso library reagrding the CFFT function.&lt;/P&gt;&lt;P&gt;I have used following&amp;nbsp; initialization sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "arm/arm_math.h"&lt;BR /&gt;#include "math_helper.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;float32_t RealFFT_Input[128] = {&lt;/P&gt;&lt;P&gt;102, 97, 88, 74, 59, 43, 27, 9, -11, -35, -54, -69, -83, -92, -98, -101, -100, -95, -86, -73, -58, -41, -22, -5, 14, 31, 55,&lt;BR /&gt; 72, 85, 95, 100, 103, 102, 96, 87, 75, 60, 42, 28, 9, -11, -35, -54, -69,&lt;BR /&gt; -83, -92, -98, -101, -99, -95, -86, -73, -58, -40, -22, -5, 13, 31, 56, 72, 85, 94, 101,&lt;BR /&gt; 104, 102, 97, 88, 75, 60, 43, 28, 8, -11, -35, -54, -69, -82, -92, -98, -101, -100, -95,&lt;BR /&gt; -85, -73, -58, -41, -22, -5, 14, 32, 55, 72, 85, 95, 101, 103, 102, 96, 87, 75, 60, 43, 27,&lt;BR /&gt; 8, -12, -35, -54, -70, -82, -92, -98, -101, -100, -94, -86, -73, -58, -41, -22, -4, 14, 31, 56, 73, 85, 94,&lt;BR /&gt; 101, 104&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;float32_t RealFFT_Output[512];&lt;/P&gt;&lt;P&gt;float32_t RMSValue;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;main(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;arm_rfft_fast_instance_f32 rfft_Fast_instance;&lt;/P&gt;&lt;P&gt;arm_status status;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;fftlen&amp;nbsp; = 32&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;arm_rfft_fast_instance_f32 *rfft_Fast_instance_Ptr = &amp;amp;rfft_Fast_instance;&lt;/P&gt;&lt;P&gt;status = arm_rfft_fast_init_f32(rfft_Fast_instance_Ptr, fftlen );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(status == ARM_MATH_SUCCESS)&lt;BR /&gt; {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;arm_rms_f32(RealFFT_Input, Length, &amp;amp;RMSValue);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;arm_rfft_fast_f32(&amp;amp;rfft_Fast_instance, RealFFT_Input, RealFFT_Output, 0);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is getting compiled properly but when i put it ina debug mode i and getting the RMS value which is 71.213 some thing for 32 point RFFT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i debug this function&amp;nbsp;&lt;SPAN&gt;arm_rfft_fast_f32(&amp;amp;rfft_Fast_instance, RealFFT_Input, RealFFT_Output, 0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my program counter goes to&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;void HardFault_Handler(void)&lt;BR /&gt;{ &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;while(1) { }&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;please let me know the resaon for the same. also find my code attached for reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using LPCexpreso V8.2.2.650 and the latest DSP library of CMSIS. I am running this code in LPC11u68 controller,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also one more thing I want to know is the execution time of the DSP library used in CMSIS since it running in C code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there anyone who has checked for the timming with respect the the aboe mentioned code&amp;nbsp; for RMS and RFFT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please provide the solution since my application is very time critical and expected time is in uS.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 08:23:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735177#M29675</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2018-05-08T08:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735178#M29676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP LPC Product, I would like to provide service for you.&lt;BR /&gt;About your arm_rfft_fast_f32 question, I find there has a similar question in our community:&lt;BR /&gt;&lt;A class="jive-link-comment-small" href="https://community.nxp.com/thread/419769?commentID=759053#comment-759053"&gt;https://community.nxp.com/message/759053?commentID=759053#comment-759053&lt;/A&gt;&lt;BR /&gt;It says, it's the CMSIS DSP library bug, need to change the code at line 57 of file arm_bitreversal2.S&lt;BR /&gt;from: #define CODESECT .section text&lt;BR /&gt;to: #define CODESECT .section .text&lt;BR /&gt;(add . before text)&lt;BR /&gt;So, please try it on your side at first.&lt;BR /&gt;If you want to know the execution time, you can use the systick timer to test it.&lt;BR /&gt;If you still have question about it, please kindly let me know.&lt;BR /&gt;Please also tell me where you get the CMSIS package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 09:48:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735178#M29676</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-05-15T09:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735179#M29677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the above mentioned modification but still when i go for debugging it goes to Harddfault handler&lt;/P&gt;&lt;P&gt;__attribute__ ((section(".after_vectors")))&lt;BR /&gt;void HardFault_Handler(void)&lt;BR /&gt;{ while(1) { }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please fins attached code for your reference, Reest you to modify and check since i check it on my side. but this code is with out change. request you to please verify the change and let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 10:51:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735179#M29677</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2018-05-15T10:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735180#M29678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav More,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your updated information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I also test it on my side tody, yes, just modify that point can't solve your problem, maybe this method just useful to the LPC40XX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Because I also don't have any example about LPC11U68 DSP project on my side now, the arm_rfft_fast_f32 DSP lib to me also a "black box".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I have checked your CMSIS_DSPLIB_SRC, I find you have chose the cortex M4 core,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8363iB6DEB6046C8F7C6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and also use the LPC43xx chip, so I modify it to cortex M0, and LPC11U68, but code still enter the hard fault.&lt;/P&gt;&lt;P&gt;Now, could you tell me where you get this DSP lib? From the LPCXpresso IDE install path? \Examples\CMSIS_DSPLIB subdirectory (C:\nxp\LPCXpresso_8.2.2_650\lpcxpresso\Examples\CMSIS_DSPLIB\CMSIS_DSPLIB_Latest\CMSIS_DSPLIB_SRC)just like which is mentioned in this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/388987"&gt;CMSIS DSP Library Support&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please tell me the DSP lib source, if it is really from the IDE install path, I will check it with our according department, just want to know, whether there has some else we need to note, or some bug need to fix.&lt;/P&gt;&lt;P&gt;Waiting for your confirmation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 06:32:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735180#M29678</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-05-16T06:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735181#M29679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is with the IDE installation itself. I downloaded it from LPC Expresso but later on I found that it is there in the LPC expresso installation itself so I deleted it. The path for the DSP library is as follow, Which is imported.&lt;/P&gt;&lt;P&gt;C:\nxp\LPCXpresso_8.2.2_650\lpcxpresso\Examples\CMSIS_DSPLIB\CMSIS_DSPLIB_Latest\CMSIS_DSPLIB_SRC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alo provide the library for the the same and let us know whether to use LPC Expresso or MCU Expresso since no upgraded version of the LPC expresso is released yet after&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;LPCXpresso_8.2.2_650.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Also provide the latest libraries and the execution time which i have asked for the RFFT or all tranforms functions with respect to&amp;nbsp; the code. also chec with the reference doe whether the output generated is correct with respect to the DSP library and the timing for the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Execution time is very very critical for us in order to move forward considering LPC43xx and LPC11u68 controller. Your details reply will help me to expedite the development whihc is on hold&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 06:37:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735181#M29679</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2018-05-16T06:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735182#M29680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav More,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1. About the dsp LIB problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I already check it with our according department, and wait for the reply, please wait patiently.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2. About the code execution time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You need to test it by yourself, just as I have told you in your case(the same question as this post), you can use the systick to test the execution of the code.&lt;/P&gt;&lt;P&gt;Give you an test example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; systick_init();&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;cal_systick_read_overhead();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;systick_disable();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;//Logic operation with normal C&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;systick_init();&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;logic_op_demo_with_normalc();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;systick_disable();&lt;/P&gt;&lt;P&gt;void systick_init(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;SYST_CVR = 0x0;&amp;nbsp;&amp;nbsp; &amp;nbsp;//clear current timer value&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYST_RVR = 0x00FFFFFF;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYST_CSR = SysTick_CSR_CLKSOURCE_MASK | SysTick_CSR_ENABLE_MASK;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void systick_disable(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYST_CSR &amp;amp;= ~SysTick_CSR_ENABLE_MASK;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void cal_systick_read_overhead(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;uint32_t cnt_start_value;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t cnt_end_value;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;cnt_start_value = SYST_CVR;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cnt_end_value = SYST_CVR;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;overhead = cnt_start_value - cnt_end_value;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;#ifdef DEBUG_PRINT&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("systick start value: 0x%x\n\r", cnt_start_value);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("systick end value: 0x%x\n\r", cnt_end_value);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("systick current value read overhead: 0x%x\n\r", overhead);&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void logic_op_demo_with_normalc(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t cnt_start_value;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t cnt_end_value;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;uint32_t execution_cycle;&amp;nbsp;&amp;nbsp; &amp;nbsp;//actual execution cycle&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //configure PTA5 as GPIO &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTA_PCR5 = PORT_PCR_MUX(1);&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //configure PTA5 as output pin&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIOA_PDDR |= 0x20;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;cnt_start_value = SYST_CVR;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIOA_PDOR ^= 0x20;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;cnt_end_value = SYST_CVR;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;execution_cycle = cnt_start_value - cnt_end_value - overhead;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#ifdef DEBUG_PRINT&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("systick start value: 0x%x\n\r", cnt_start_value);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("systick end value: 0x%x\n\r", cnt_end_value);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("actual execution cycle for logic operation with normal C code: 0x%x\n\r", execution_cycle);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#endif&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 08:12:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735182#M29680</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-05-17T08:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735183#M29681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all you should note that the CMSIS-DSP library projects supplied with LPCXpresso IDE have not been updated for some considerable time and are based on quite old versions of the CMSIS-DSP sources. If you are serious about using CMSIS-DSP, then you probably want to download the current version of the CMSIS sources from arm :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://developer.arm.com/embedded/cmsis" title="https://developer.arm.com/embedded/cmsis"&gt;Embedded Software Development | Cortex Microcontroller Software Interface Standard – Arm Developer&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, that aside,&amp;nbsp;it looks like your initial issue is being triggered by an issue previously reported&amp;nbsp;on this forum (which I imagine is fixed in ARM's latest sources):&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/759028?commentID=759028#comment-759028" title="https://community.nxp.com/message/759028?commentID=759028#comment-759028"&gt;https://community.nxp.com/message/759028?commentID=759028#comment-759028&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To fix this, open up the CMSIS_DSPLIB_SRC project and navigate into&lt;/P&gt;&lt;P&gt;src -&amp;gt; dspcode -&amp;gt; TransformFunctions -&amp;gt; arm_bitreversal2.S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and change the following line:&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #931a68;"&gt;#define&lt;/SPAN&gt; CODESECT .section text&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;to:&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #931a68;"&gt;#define&lt;/SPAN&gt; CODESECT .section &lt;SPAN style="color: #ff0000;"&gt;.text&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, there is a further problem in this file in that it is trying to force the target CPU to be Cortex-M4 when building for GCC. To fix this, delete or comment out the following 2 lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;.cpu cortex-m4&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;.fpu softvfp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We also need to set a define in the assembler. This could be done on the command line, but the easiest way is to just add the following directly before the line "&lt;SPAN style="color: #931a68;"&gt;#if&lt;/SPAN&gt; defined(ARM_MATH_CM0) || defined(ARM_MATH_CM0PLUS)":&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;&lt;SPAN style="color: #931a68;"&gt;#define&lt;/SPAN&gt; ARM_MATH_CM0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now build the &lt;EM&gt;&lt;STRONG&gt;CMSIS_DSPLIB_CM0&lt;/STRONG&gt;&lt;/EM&gt; build configuration of the&amp;nbsp;&lt;SPAN&gt;CMSIS_DSPLIB_SRC project (this will take a while!).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You now also need to make a change to your code in the DSP_FFT_Prj project. Open the file&amp;nbsp;DSP_FFT_Prj.c, and move the following local variables out of main, so that they become globals.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #006141; margin: 0px; padding-left: 30px;"&gt;arm_cfft_radix4_instance_f32&lt;SPAN style="color: #000000;"&gt; &lt;SPAN class=""&gt; &lt;/SPAN&gt;cfft_instance;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #006141; margin: 0px; padding-left: 30px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;arm_rfft_instance_f32&lt;SPAN style="color: #000000;"&gt; &lt;SPAN class=""&gt; &lt;/SPAN&gt;rfft_instance;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;&lt;SPAN style="color: #006141;"&gt;arm_rfft_fast_instance_f32&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;rfft_Fast_instance;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then save&amp;nbsp;DSP_FFT_Prj.c,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;build the project and then debug, and this time you shouldn't see the hard fault.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MCUXpresso IDE Support&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 15:26:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735183#M29681</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-05-17T15:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735184#M29682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With respect to  the trailing mail, I have modified following  sections as per suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and change the following line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define CODESECT .section text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define CODESECT .section .text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define ARM_MATH_CM0PLUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Commented below two lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.cpu cortex-m4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.fpu softvfp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moved below mentioned local variables above main.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arm_cfft_radix4_instance_f32 cfft_instance;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arm_rfft_instance_f32 rfft_instance;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arm_rfft_fast_instance_f32 rfft_Fast_instance;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did the compilation as suggested below , but still the code is going to hard fault handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also it is showing Error after compiling  CMSIS_DSPLIB_SRC project&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached code for your reference.&lt;/P&gt;&lt;P&gt;Controller used is LPC11u68&lt;/P&gt;&lt;P&gt;Eval board used  : OM1 3058&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly check the same revert ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;&lt;P&gt;EDDG, L&amp;amp;T - E&amp;amp;A IC&lt;/P&gt;&lt;P&gt;Direct: +91-22-6705 4029&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 07:43:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735184#M29682</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2018-05-18T07:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735185#M29683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;AS per you inpur i have used the DSP library available with keil. i am using &lt;STRONG&gt;keil uV5&lt;/STRONG&gt; for testing the DSP&amp;nbsp; on &lt;STRONG&gt;LPC11u68JBD100&lt;/STRONG&gt; controller. I am using the GPIO togglin method to chec the xecution time of the DSP CMSIS library.&amp;nbsp; I have attached to code for your reference. I am appying FFT for 32 points by using&amp;nbsp; &lt;STRONG&gt;arm_rfft_fast_init_f32 and arm_rfft_fast_f32&lt;/STRONG&gt; fundtion since it is supporting fft length 32 as well. i have checked the output of the function and it is comming proper . But the time taken for the&lt;STRONG&gt; arm_rfft_fast_f32&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;function comes around &lt;STRONG&gt;760uS&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This I have checked the above mentioned controller with &lt;STRONG&gt;M0+ core&lt;/STRONG&gt; with &lt;STRONG&gt;48MHz&lt;/STRONG&gt; clock freq. I also checked the option of fast GPIO but it is not supported in&amp;nbsp;&lt;STRONG&gt;LPC11u68JBD100&lt;/STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;controller. This I have&amp;nbsp; confirmed with the controller user manual&amp;nbsp; &lt;STRONG&gt;UM10732&amp;nbsp;&lt;/STRONG&gt;and IO address file&amp;nbsp;&lt;STRONG&gt;LPC11U6x.h&lt;/STRONG&gt; generated by keil editor after selecting the controller while creating the project.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I have attached the my prohect for your reference. I am using &lt;STRONG&gt;Keil uV5.16a .&amp;nbsp;&lt;/STRONG&gt;please check the code anf referify the same and revert ASAP since the speed and performance of the controller is not upto the mark with respect to my requierment since the timing to calculate FFT for length is&amp;nbsp;&lt;STRONG&gt;760uS,&amp;nbsp;&lt;/STRONG&gt;which is not acceptable.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for youre reply since it is very urgent,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 07:58:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735185#M29683</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2018-05-28T07:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735186#M29684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav More,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your updated information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Your now project which use the keil DSP lib don't have the hard fault problem now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; But about the wrong execute time, it is determined by the lib and the core clock, LPC11U68 max frequency is 50Mhz, if you use the max core clock, this lib execution time also can't meet your demand, I think maybe you need to choose the chip with higher core clock or the M4 core which can support the hardware float instruction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 09:23:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735186#M29684</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-05-31T09:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735187#M29685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also checked with LPC4367 controller with M4 Code in LPC Expresso considering&amp;nbsp; your previous input regarding the change in the bitreversal.s file in the DSP source code. Now it does not go&amp;nbsp; in hardfalt handler.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked the same code with M4 Controller in 100Mhz speed i got the result . but it is not proper. expected results are&amp;nbsp;&lt;/P&gt;&lt;P&gt;as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="width: 379px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;Samples&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;Output&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;102&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;P&gt;233&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;97&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;1574.71588927697+&lt;/P&gt;&lt;P&gt;403.717759837946i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;88&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;-60.757285752327 -&lt;/P&gt;&lt;P&gt;32.8848134800045i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;74&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;-11.2946889898969+ 22.4692145659635i&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;59&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;-7.2426406871193&lt;/P&gt;&lt;P&gt;-13.0710678118655i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;43&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;17.9412551129291&lt;/P&gt;&lt;P&gt;-18.3472965264242i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;27&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;1.28938314305984&lt;/P&gt;&lt;P&gt;-10.9350442385122i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;9&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;-7.30748285305178&lt;/P&gt;&lt;P&gt;+5.63738343523862i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-11&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;P&gt;-3&lt;/P&gt;&lt;P&gt;-4i&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-35&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;4.64210702723309&lt;/P&gt;&lt;P&gt;-4.35798540098943i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-54&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;0.994888104401988&lt;/P&gt;&lt;P&gt;-3.13605436528891i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-69&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;-2.20949821140744&lt;/P&gt;&lt;P&gt;+5.99548402241127i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-83&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;1.24264068711928&lt;/P&gt;&lt;P&gt;-1.07106781186548i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-92&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;-2.73980859106423&lt;/P&gt;&lt;P&gt;-5.80532061540417i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-98&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;6.47301450486508&lt;/P&gt;&lt;P&gt;-1.08582360678129i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-101&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;2.25222722829517&lt;/P&gt;&lt;P&gt;+5.10507527151785i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-95&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;1&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-86&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;2.25222722829494&lt;/P&gt;&lt;P&gt;-5.10507527151665i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-73&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;6.47301450486512&lt;/P&gt;&lt;P&gt;+1.08582360678121i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-58&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;-2.73980859106432&lt;/P&gt;&lt;P&gt;+5.80532061540458i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-41&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;1.24264068711929&lt;/P&gt;&lt;P&gt;+1.07106781186547i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-22&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;-2.20949821140769&lt;/P&gt;&lt;P&gt;-5.99548402241079i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;-5&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;0.99488810440203&lt;/P&gt;&lt;P&gt;+3.13605436528886i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;14&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;4.64210702723248&lt;/P&gt;&lt;P&gt;+4.3579854009903i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;31&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;P&gt;-3&lt;/P&gt;&lt;P&gt;+4i&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;TD style="width: 64px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;55&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;-7.30748285305284&lt;/P&gt;&lt;P&gt;-5.63738343523798i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;72&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;1.28938314305993&lt;/P&gt;&lt;P&gt;+10.9350442385122i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;85&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;17.9412551129282&lt;/P&gt;&lt;P&gt;+18.3472965264248i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;95&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;-7.24264068711927&lt;/P&gt;&lt;P&gt;+13.0710678118655i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;100&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;-11.2946889898983&lt;/P&gt;&lt;P&gt;-22.469214565963i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;103&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;-60.7572857523269&lt;/P&gt;&lt;P&gt;+32.8848134800047i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 60px;"&gt;102&lt;/TD&gt;&lt;TD style="width: 25px;"&gt;&lt;/TD&gt;&lt;TD colspan="4" style="width: 256px;"&gt;&lt;P&gt;1574.71588927696&lt;/P&gt;&lt;P&gt;-403.717759837951i&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Only first vlues 233 and 1 is proper rest all are wrong. Which is correct when i checked with keils DSP library for LPC4367 M4 Core.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached code for your reference. I think there might me some changes required in the DSP library imported with&amp;nbsp;&lt;BR /&gt;LPC Expresso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the same then i think my problem is solved since with thw wrong output the timing is aroung 20uS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Request you to please check the code in expresso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 11:40:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735187#M29685</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2018-05-31T11:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735188#M29686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav More,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Could you also send me your LPC4367 KEIL DSP project, which can get the correct result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 09:01:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735188#M29686</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-06-05T09:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735189#M29687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached code for your reference. Kindly verify since was able to just check the output but not able to debug consistently. You can use this code to created&amp;nbsp; in your application tha verify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for reply.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 10:54:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735189#M29687</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2018-06-05T10:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735190#M29688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With respect to your earlier post :&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/475332#comment-1015904" title="https://community.nxp.com/thread/475332#comment-1015904"&gt;https://community.nxp.com/thread/475332#comment-1015904&lt;/A&gt;&amp;nbsp;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks to me like you didn't follow the instruction to rebuild the&amp;nbsp;&lt;STRONG&gt;CMSIS_DSPLIB_CM0&lt;/STRONG&gt; build configuration of the&amp;nbsp;CMSIS_DSPLIB_SRC project after making the required changes to it.&amp;nbsp;If you build the&amp;nbsp;&lt;STRONG&gt;CMSIS_DSPLIB_CM0&lt;/STRONG&gt; build configuration of the&amp;nbsp;&lt;SPAN&gt;CMSIS_DSPLIB_SRC project, then do a clean and build of your&amp;nbsp;DSP_FFT_Prj project, then you shouldn't see a &amp;nbsp;hard fault when the code runs (certainly I don't here).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Details of how to change the build configuration of a project in LPCXpresso IDE can be found in the FAQ :&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://community.nxp.com/thread/389032"&gt;How do I switch between Debug and Release builds?&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Or if you switch to the current MCUXpresso IDE v10.2 release, this info can be found in section 18.3, "How do I switch between Debug and Release builds" of the MCUXpresso IDE v10.2 User Guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[ Although these talk about changing between Debug and Release build configurations, the same information applies to other build configurations when these exist in a project, as they do with the CMSIS_DSPLIB_SRC project.]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MCUXpresso IDE Support&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 12:22:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735190#M29688</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-06-05T12:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735191#M29689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not recived any response from your side regarding the code which i have sent you for analysis for DSP functionality.&lt;/P&gt;&lt;P&gt;Kinldy provide the solution since i am not able to finalize the controller due to these issues and also let us know regarding the Keil compiler as to&amp;nbsp; how i can created muliticore product and compile and debug since in keil libraray it is working fine as the values are comming properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waitng for you reply ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Request you to please coordinate with Support team since i feel they are not in sync with oour conversation and issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 06:01:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735191#M29689</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2018-06-18T06:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735192#M29690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already done&amp;nbsp; all the changes suggested but still there is a proble which&amp;nbsp; i have already posted to kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having proble with the output of the FFT function in LPC expresso lDSP library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same when i use the keil DSP library it is generating proper output. Request you to please chec since i have already sent the code for both LPC expresso and Keils project .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinldy provide the the response ASAP it he on very higher priority since not able to finalixze the controller due to such issues.&lt;/P&gt;&lt;P&gt;Thanks .&lt;/P&gt;&lt;P&gt;Gaurav More.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 06:08:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735192#M29690</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2018-06-18T06:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735193#M29691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav More,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; So sorry for my later reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Now, I test your according code, and do a testing summarize:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have tested your &lt;A _jive_internal="true" href="https://community.nxp.com/servlet/JiveServlet/download/11497-475332-1021312-427654/LPC4367_DSP.zip"&gt;MDK LPC4367 DSP code &lt;/A&gt;on my LPCXpresso LPC43S67 board, I can debug it with CMSIS DAP, the result is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62010iE6D5E604EE27E9F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can find I can debug it with the CMSIS DAP debugger. I didn't meet any debug problem, so I think you can use our official lpc43s67 lpcxpresso board to test it.&lt;/P&gt;&lt;P&gt;This is the &lt;A _jive_internal="true" href="https://community.nxp.com/servlet/JiveServlet/download/11497-475332-1018519-427285/DSP_Code_280518.zip"&gt;LPC11U68 KEIL DSP project&lt;/A&gt; result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62016i25DEBA83EE72074B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I find these two chip result with KEIL DSP lib is the same, does these data are the correct data which you want?&lt;/P&gt;&lt;P&gt;This is the LPC43S67 DSP code with your &lt;A _jive_internal="true" href="https://community.nxp.com/servlet/JiveServlet/download/11497-475332-1020040-427457/FFT_Code.zip"&gt;LPCXpresso project&lt;/A&gt; result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62017iB6FD3D97A50F1FEE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Just as you said, yes, this project result is really not the same as the lpc11u68 and lpc4367 mdk dsp lib project.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So, please confirm again, the newest updated question is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. LPCXpresso DSP lib have problems in both lpc11u68 and lpc4367&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; LPC11U68 enter hardfault, lpc4367 can't get the correct Rfft result.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. MDK DSP lib can get the correct result with both lpc11u68 and lpc4367&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; But you are very care about the execution speed, the LPC11U68 is very slow, but the LPC4367 MDK dsp project can meet your demand.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Now, actually, the LPC4367 MDK DSP function already works on your side, but you need the MDK(keil) project about the multcore for the LPC43S67, is it correct?&lt;/P&gt;&lt;P&gt;If yes, please refer to our lpcopen code for lpc43xx mdk project, which can be downloaded from this link, I think you can add the MDK DSP lib to the official project.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/downloads/en/libraries/lpcopen_3_02_keil_iar_xpresso4337.zip" title="https://www.nxp.com/downloads/en/libraries/lpcopen_3_02_keil_iar_xpresso4337.zip"&gt;https://www.nxp.com/downloads/en/libraries/lpcopen_3_02_keil_iar_xpresso4337.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can refer to the official code, there already have the multicore project, and the according project already support the complie and debug project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;You can find the mdk project in folder:&amp;nbsp; lpcopen_3_02_keil_iar_xpresso4337\LPC43xx_18xx\prj_xpresso4337\keil, you can find some multi-project, that project already contains the peripheral lib, board lib and app project, you can select one project, and add your DSP lib to it.&lt;/P&gt;&lt;P&gt;Please try it on your side.&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="282977" data-username="lpcxpresso_support" href="https://community.nxp.com/people/lpcxpresso_support"&gt;LPCX presso support&lt;/A&gt; &lt;/SPAN&gt; is my colleague who I have mentioned and contact before, he is our LPCXpresso and MCUXPress IDE expert, if you still want to use the DSP lib in the LPCXpresso and MCUXpress IDE install path, he will help you about it.&lt;/P&gt;&lt;P&gt;If you want to use the MDK, I highly recommend you port the MDK DSP lib to our official lpcopen mdk project.&lt;/P&gt;&lt;P&gt;Any updated information on your side, please kindly let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 03:39:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735193#M29691</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-06-20T03:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735194#M29692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply. Considering your input and the link shared I will download the project for keil and verify the same from my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem regarding the debug of code or project in keil with DAP is that every time i have to wake upt the debug controller in order to detect in the keil editor. due to that I have to use the lpc expresso the wake up the debug controller and then it is detedted in leil and then i can download the project . but still i am not able to debug every time .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me check the debugging and then I will let you know the issue regarding the Keil project. Also you said that I can get the help from the support team for DSP library in LPC expresso from your support team. I rquest you to please resolve the issue of the DSP library in the project that you found issue in compilation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to port the DSP library in LPC expresso but not able to port since there are some limitation in ASM code of keil and LPC expresso compiler. The problem is with the code in birreversal.s file. Some initital line of code is not supported by LPC expresso compiler. Like that there are lot of issues which i need to check and revert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The hard fault handler issue is resolved in LPC Expresso library but output is not proper as ou know. Kindly let me know how can I get the help from the support team regarding the DSP library issue for LPC4367&amp;nbsp; in LPC Expresso.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also send the latest library modified and issue resolved one so that I can add it in ny LPC expresso project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for&amp;nbsp; your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 04:41:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735194#M29692</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2018-06-20T04:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735195#M29693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You don't need to download the code, because all that tested code is from your above post, I just test and summarize it, The linker is in the above post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You said: &lt;STRONG&gt;The problem regarding the debug of code or project in keil with DAP is that every time i have to wake upt the debug controller in order to detect in the keil editor.&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; Could you give me more details about it? Because I debug it, I didn't find the debug problem. Please give me some picture about the keil debug problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Yes, about the LPCXpresso DSP problem, actually, after I contact with our LPCXpress engineer from internal email, he already reply you in this post, now, we just need to @ him.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi, &amp;nbsp; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lpcxpresso_support"&gt;lpcxpresso_support&lt;/A&gt;‌&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We need the help about the LPC43XX DSP LIB LPCXpresso support, please check my summarize in &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" href="https://community.nxp.com/thread/475332#comment-1025974"&gt;Jun 19, 2018 8:39 PM&lt;/A&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You can find, when we use the MDK newest DSP lib with MDK IDE, the Rfft is correct, but when use the LPCXpresso install path's DSP lib, now, we don't have the hardfault, but have the result correct problem, could you help to check it? Or can you tell us, how to import the newest DSP lib to LPCXpressso IDE without problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 07:25:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735195#M29693</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-06-20T07:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler Error for arm_rfft_fast_f32 and Execution timing for the same is required</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735196#M29694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any updates regarding the details and the request raised for Support team regarding the DSP library available in LPC expresso. kindly resolve the same ASAP since it is very urgent to exepedite the developement. since it is very easy to debug and create the project in LPC expresso.&lt;/P&gt;&lt;P&gt;Awiating your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gaurav More&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 07:58:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler-Error-for-arm-rfft-fast-f32-and-Execution/m-p/735196#M29694</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2018-07-02T07:58:03Z</dc:date>
    </item>
  </channel>
</rss>

