<?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>LPCXpresso IDE中的主题 beginer</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/beginer/m-p/574485#M21873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jackzq on Fri May 31 10:49:54 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just start to work the project using Micro LPC1114. Everything is new to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The first project I start is systick of Micro LPC1114.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;During I debugged the code; I have one question I could not figure out as follow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[B][COLOR=#7f0055][FONT=Courier New]int[/FONT][/COLOR][/B][COLOR=black][FONT=Courier New] [B]main[/B] ([/FONT][/COLOR][B][COLOR=#7f0055][FONT=Courier New]void[/FONT][/COLOR][/B][COLOR=black][FONT=Courier New]) {[/FONT][/COLOR][FONT=Courier New][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New] [/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[COLOR=black][FONT=Courier New]&amp;nbsp; [/FONT][/COLOR][COLOR=#3f7f5f][FONT=Courier New]/* Called for system library in core_cmx.h(x=0 or 3). */[/FONT][/COLOR][FONT=Courier New][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[COLOR=black][FONT=Courier New]&amp;nbsp; SysTick_Config( SysTick-&amp;gt;[/FONT][/COLOR][COLOR=#0000c0][FONT=Courier New]CALIB[/FONT][/COLOR][COLOR=black][FONT=Courier New] + 1 );[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[COLOR=black][FONT=Courier New] [/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[COLOR=black][FONT=Courier New]Druring debug, I found that SysTick-&amp;gt;[/FONT][/COLOR][COLOR=#0000c0][FONT=Courier New]CALIB[/FONT][/COLOR][COLOR=#0000c0][FONT=Courier New] [/FONT][/COLOR][FONT=Courier New]is 479999[COLOR=#0000c0]. [/COLOR]But I want to know where [COLOR=black]SysTick-&amp;gt;[/COLOR][COLOR=#0000c0]CALIB[/COLOR][COLOR=#0000c0] [/COLOR]was assigned to 479999 and how it is assigned ? [/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New] [/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New]Thank you,[/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New] [/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New]Jack [/FONT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:33:22 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:33:22Z</dc:date>
    <item>
      <title>beginer</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/beginer/m-p/574485#M21873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jackzq on Fri May 31 10:49:54 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just start to work the project using Micro LPC1114. Everything is new to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The first project I start is systick of Micro LPC1114.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;During I debugged the code; I have one question I could not figure out as follow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[B][COLOR=#7f0055][FONT=Courier New]int[/FONT][/COLOR][/B][COLOR=black][FONT=Courier New] [B]main[/B] ([/FONT][/COLOR][B][COLOR=#7f0055][FONT=Courier New]void[/FONT][/COLOR][/B][COLOR=black][FONT=Courier New]) {[/FONT][/COLOR][FONT=Courier New][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New] [/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[COLOR=black][FONT=Courier New]&amp;nbsp; [/FONT][/COLOR][COLOR=#3f7f5f][FONT=Courier New]/* Called for system library in core_cmx.h(x=0 or 3). */[/FONT][/COLOR][FONT=Courier New][/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[COLOR=black][FONT=Courier New]&amp;nbsp; SysTick_Config( SysTick-&amp;gt;[/FONT][/COLOR][COLOR=#0000c0][FONT=Courier New]CALIB[/FONT][/COLOR][COLOR=black][FONT=Courier New] + 1 );[/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[COLOR=black][FONT=Courier New] [/FONT][/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[COLOR=black][FONT=Courier New]Druring debug, I found that SysTick-&amp;gt;[/FONT][/COLOR][COLOR=#0000c0][FONT=Courier New]CALIB[/FONT][/COLOR][COLOR=#0000c0][FONT=Courier New] [/FONT][/COLOR][FONT=Courier New]is 479999[COLOR=#0000c0]. [/COLOR]But I want to know where [COLOR=black]SysTick-&amp;gt;[/COLOR][COLOR=#0000c0]CALIB[/COLOR][COLOR=#0000c0] [/COLOR]was assigned to 479999 and how it is assigned ? [/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New] [/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New]Thank you,[/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New] [/FONT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New]Jack [/FONT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:33:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/beginer/m-p/574485#M21873</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: beginer</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/beginer/m-p/574486#M21874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Fri May 31 14:35:32 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Tahoma][SIZE=2][COLOR=black]SysTick-&amp;gt;[/COLOR][/SIZE][/FONT][FONT=Tahoma][SIZE=2][COLOR=#0000c0]CALIB[/COLOR][/SIZE][/FONT][FONT=Tahoma][SIZE=2][COLOR=black] is 'constructed' in a CMSIS header file (for your particular MCU)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to 'point to' an on-chip hardware register. [Part of the hardware systick timer.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At reset, this register is initialised to a number to get 10 millisecond ticks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is where the [/COLOR][/SIZE][/FONT][FONT=Tahoma][SIZE=2]479999 comes[/SIZE][/FONT][FONT=Tahoma][SIZE=2] from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps you need to do background reading (of the user manual for the device)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and then look at the CMSIS files until you can understand what is going on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The user manuals are setup so you can read the first few chapters, and skip most&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of the on-chip peripherals until you actually want to use them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Read Intro, Memory, System Control/Clocks first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then Pin configuration, then NVIC (interrupts), then any peripherals you need&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. 'SysTick'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It will take a while (and several readings), but (if you want to progress with Cortex MCU's) it will be well worth it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Mike&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE][/FONT][FONT=Tahoma][SIZE=2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE][/FONT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:33:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/beginer/m-p/574486#M21874</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:33:23Z</dc:date>
    </item>
  </channel>
</rss>

