<?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: LPC54113 Freertos in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625271#M52075</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215007"&gt;@hs2&lt;/a&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Now&amp;nbsp;Scheduler run only once.For continuous run task what to do ?.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2023 11:53:04 GMT</pubDate>
    <dc:creator>TDC1333</dc:creator>
    <dc:date>2023-03-30T11:53:04Z</dc:date>
    <item>
      <title>LPC54113 Freertos</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1624993#M52068</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am creating FreeRtos project For LED ON/OFF using LPC54113 MCU as per Demo Code reference .But Freertos&amp;nbsp;vTaskStartScheduler() not working?&lt;/P&gt;&lt;P&gt;Below are the code,&lt;/P&gt;&lt;P&gt;#include &amp;lt;stdio.h&amp;gt;&lt;BR /&gt;#include "board.h"&lt;BR /&gt;#include "peripherals.h"&lt;BR /&gt;#include "pin_mux.h"&lt;BR /&gt;#include "clock_config.h"&lt;BR /&gt;#include "LPC54113.h"&lt;BR /&gt;#include "fsl_debug_console.h"&lt;BR /&gt;#include "FreeRTOS.h"&lt;BR /&gt;//#include "queue.h"&lt;BR /&gt;#include "task.h"&lt;/P&gt;&lt;P&gt;void ECG_TASK(void *pvParameters);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/* TODO: insert other include files here. */&lt;/P&gt;&lt;P&gt;/* TODO: insert other definitions and declarations here. */&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* @brief Application entry point.&lt;BR /&gt;*/&lt;BR /&gt;int main(void) {&lt;/P&gt;&lt;P&gt;/* Init board hardware. */&lt;BR /&gt;BOARD_InitBootPins();&lt;BR /&gt;BOARD_InitBootClocks();&lt;BR /&gt;BOARD_InitBootPeripherals();&lt;/P&gt;&lt;P&gt;//#ifndef BOARD_INIT_DEBUG_CONSOLE_PERIPHERAL&lt;BR /&gt;// /* Init FSL debug console. */&lt;BR /&gt;// BOARD_InitDebugConsole();&lt;BR /&gt;//#endif&lt;BR /&gt;// GPIO_PinWrite(BOARD_INITPINS_SD1_GPIO,BOARD_INITPINS_SD1_PORT,BOARD_INITPINS_SD1_PIN,0U);&lt;BR /&gt;xTaskCreate(ECG_TASK, "ECG_task", configMINIMAL_STACK_SIZE, ((void *)0), 1, NULL);&lt;BR /&gt;vTaskStartScheduler();&lt;BR /&gt;&lt;BR /&gt;// GPIO_PinWrite(BOARD_INITPINS_SD1_GPIO,BOARD_INITPINS_SD1_PORT,BOARD_INITPINS_SD1_PIN,1U);&lt;BR /&gt;while(1);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;void ECG_TASK(void *pvParameters)&lt;BR /&gt;{&lt;BR /&gt;while (1)&lt;BR /&gt;{&lt;BR /&gt;GPIO_PinWrite(BOARD_INITPINS_SD1_GPIO,BOARD_INITPINS_SD1_PORT,BOARD_INITPINS_SD1_PIN,1U);&lt;/P&gt;&lt;P&gt;vTaskDelay(100);&lt;/P&gt;&lt;P&gt;GPIO_PinWrite(BOARD_INITPINS_SD1_GPIO,BOARD_INITPINS_SD1_PORT,BOARD_INITPINS_SD1_PIN,0U);&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;TDC&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 07:20:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1624993#M52068</guid>
      <dc:creator>TDC1333</dc:creator>
      <dc:date>2023-03-30T07:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54113 Freertos</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625129#M52070</link>
      <description>&lt;P&gt;You should check the return code of xTaskCreate if it was successful at all.&lt;BR /&gt;Then you could set a breakpoint on ECG_TASK function to see if it's hit (and the task was started by the scheduler)&lt;BR /&gt;Also I'd recommend to enable the debug features FreeRTOS provides like define configASSERT and enable stack checking.&lt;BR /&gt;See also &lt;A href="https://www.freertos.org/FAQ.html" target="_blank"&gt;https://www.freertos.org/FAQ.html&lt;/A&gt; for more useful hints.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 09:03:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625129#M52070</guid>
      <dc:creator>hs2</dc:creator>
      <dc:date>2023-03-30T09:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54113 Freertos</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625148#M52071</link>
      <description>&lt;P&gt;xTaskCreate return pdPASS .But&amp;nbsp;&lt;SPAN&gt;scheduler have not start,ECG_TASK function breakpoint not hit.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 09:19:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625148#M52071</guid>
      <dc:creator>TDC1333</dc:creator>
      <dc:date>2023-03-30T09:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54113 Freertos</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625208#M52073</link>
      <description>So something else isn't setup correctly. I think defining configASSERT could help to narrow down the issue.</description>
      <pubDate>Thu, 30 Mar 2023 10:22:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625208#M52073</guid>
      <dc:creator>hs2</dc:creator>
      <dc:date>2023-03-30T10:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54113 Freertos</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625245#M52074</link>
      <description>&lt;P&gt;did you step into the start scheduler routine to see what is not working? It could be that it run on an assert or into a fault condition. Let it run and then pause with the debugger to see where it is stuck.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 11:02:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625245#M52074</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2023-03-30T11:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54113 Freertos</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625271#M52075</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215007"&gt;@hs2&lt;/a&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Now&amp;nbsp;Scheduler run only once.For continuous run task what to do ?.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 11:53:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625271#M52075</guid>
      <dc:creator>TDC1333</dc:creator>
      <dc:date>2023-03-30T11:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54113 Freertos</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625275#M52076</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/17173"&gt;@ErichStyger&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Code stuck in&amp;nbsp;&lt;SPAN&gt;Scheduler routing&amp;nbsp;Problem solve.But,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now&amp;nbsp;Scheduler run only once.For continuous run task what to do ?.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 11:52:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625275#M52076</guid>
      <dc:creator>TDC1333</dc:creator>
      <dc:date>2023-03-30T11:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54113 Freertos</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625283#M52077</link>
      <description>Did you step through the complete task code ?&lt;BR /&gt;Or does it hang in vTaskDelay ?&lt;BR /&gt;Is FreeRTOS xTaskIncrementTick() invoked means the SysTick is running correctly ?</description>
      <pubDate>Thu, 30 Mar 2023 12:02:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54113-Freertos/m-p/1625283#M52077</guid>
      <dc:creator>hs2</dc:creator>
      <dc:date>2023-03-30T12:02:44Z</dc:date>
    </item>
  </channel>
</rss>

