<?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 LPC55S69 Systick Interrupt - A Beginner Question in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Systick-Interrupt-A-Beginner-Question/m-p/1391552#M47475</link>
    <description>&lt;P&gt;I am still quite a beginner in regards to LPC and MCUXpresso...&lt;BR /&gt;Currently I try to learn to work with a LPC55S69.&lt;/P&gt;&lt;P&gt;Where / How do I set up a Systick interrupt?&lt;BR /&gt;I have defined a handler, but it is never called. In the Clock Tool I have configured Core 0 Systick Clock to 1 MHz.&lt;/P&gt;&lt;BLOCKQUOTE&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 "LPC55S69_cm33_core0.h"&lt;BR /&gt;#include "fsl_debug_console.h"&lt;BR /&gt;/* TODO: insert other include files here. */&lt;BR /&gt;#include "fsl_gpio.h"&lt;BR /&gt;/* TODO: insert other definitions and declarations here. */&lt;BR /&gt;volatile uint32_t g_systickCounter = 1000000;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* @brief Application entry point.&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;void SysTick_Handler(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (g_systickCounter != 0U)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;int main(void) {&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Thu, 23 Dec 2021 23:58:29 GMT</pubDate>
    <dc:creator>ChrisLei</dc:creator>
    <dc:date>2021-12-23T23:58:29Z</dc:date>
    <item>
      <title>LPC55S69 Systick Interrupt - A Beginner Question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Systick-Interrupt-A-Beginner-Question/m-p/1391552#M47475</link>
      <description>&lt;P&gt;I am still quite a beginner in regards to LPC and MCUXpresso...&lt;BR /&gt;Currently I try to learn to work with a LPC55S69.&lt;/P&gt;&lt;P&gt;Where / How do I set up a Systick interrupt?&lt;BR /&gt;I have defined a handler, but it is never called. In the Clock Tool I have configured Core 0 Systick Clock to 1 MHz.&lt;/P&gt;&lt;BLOCKQUOTE&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 "LPC55S69_cm33_core0.h"&lt;BR /&gt;#include "fsl_debug_console.h"&lt;BR /&gt;/* TODO: insert other include files here. */&lt;BR /&gt;#include "fsl_gpio.h"&lt;BR /&gt;/* TODO: insert other definitions and declarations here. */&lt;BR /&gt;volatile uint32_t g_systickCounter = 1000000;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* @brief Application entry point.&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;void SysTick_Handler(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (g_systickCounter != 0U)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;int main(void) {&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 23 Dec 2021 23:58:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Systick-Interrupt-A-Beginner-Question/m-p/1391552#M47475</guid>
      <dc:creator>ChrisLei</dc:creator>
      <dc:date>2021-12-23T23:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 Systick Interrupt - A Beginner Question</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Systick-Interrupt-A-Beginner-Question/m-p/1391575#M47476</link>
      <description>&lt;P&gt;Hi, Christoph,&lt;/P&gt;
&lt;P&gt;As the following figure, you have to insert the (2) line if (SysTick_Config(SystemCoreClock / 1000U)), the line configures the interrupt cycle time and enable the interrupt.&lt;/P&gt;
&lt;P&gt;The void SysTick_Handler(void) is defined in the startup_lpc55s69_cm33_core0.c&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1640309504460.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/166152i18B60D3D52797EF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1640309504460.png" alt="xiangjun_rong_0-1640309504460.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2021 01:35:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Systick-Interrupt-A-Beginner-Question/m-p/1391575#M47476</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-12-24T01:35:34Z</dc:date>
    </item>
  </channel>
</rss>

