<?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: 11C24: SystemInit() influences IOCON? in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/11C24-SystemInit-influences-IOCON/m-p/530779#M2163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_USA on Wed Jan 16 15:48:27 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SystemInit() configures SYSAHBCLKCTRL and turns on some peripherals that are not enabled by default out of reset, such as IOCON.&amp;nbsp; Maybe this is causing the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Dave @ NXP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:44:47 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:44:47Z</dc:date>
    <item>
      <title>11C24: SystemInit() influences IOCON?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/11C24-SystemInit-influences-IOCON/m-p/530778#M2162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Hobbiest on Wed Jan 16 13:31:36 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;After digging out again my LPCXpresso (11C24) I started to adapt cr_startup_lpc11.c from &lt;/SPAN&gt;&lt;A href="http://"&gt;http://www.lpcware.com/modules/pubdlcnt/pubdlcnt.php?file=http://www.lpcware.com/sites/default/files/LPC11xx-LPCXpresso-CMSIS-updateV1_01_0.zip&amp;amp;nid=8723&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Because I just need the reset configuration (IRC with 12 MHz, no PLL, no WDT, SSP) I just commented out SystemInit() in system_LPC11xx.c.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a result IOCON now have all pullups disabled:confused: (0x0 instead of 0xd). I can't see any relationship between changing the reset values of IOCON and not to call SystemInit() during startup. Can please anyone open my eyes? I use LPCXpresso v5.0.14 [Build 1063] [2012-12-19] on Kubuntu 12.04 (64 bit).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:44:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/11C24-SystemInit-influences-IOCON/m-p/530778#M2162</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: 11C24: SystemInit() influences IOCON?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/11C24-SystemInit-influences-IOCON/m-p/530779#M2163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_USA on Wed Jan 16 15:48:27 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SystemInit() configures SYSAHBCLKCTRL and turns on some peripherals that are not enabled by default out of reset, such as IOCON.&amp;nbsp; Maybe this is causing the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Dave @ NXP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:44:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/11C24-SystemInit-influences-IOCON/m-p/530779#M2163</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: 11C24: SystemInit() influences IOCON?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/11C24-SystemInit-influences-IOCON/m-p/530780#M2164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Hobbiest on Thu Jan 17 13:11:40 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your reply. You are right. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because I didn't need to change anything in IOCON I did't clock it in SYSAHBCLKCTRL. But then later during exploration of the registers and their values I read out IOCON. But reading an unclocked register isn't very clever:(. After the line writing 0x0001005F to SYSHABCLKCTRL in main() IOCON displays the correct values. But the reset values are still active at the pins before that line of code (checked with DMM). So all is fine now for me:).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Offtopic: If Code Red is out there: In the debug peripheral window the 32 bit timers should be named TMR32x in accordance to the 16 bit timers TMR16x (and not just TIMERx).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:44:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/11C24-SystemInit-influences-IOCON/m-p/530780#M2164</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:44:48Z</dc:date>
    </item>
  </channel>
</rss>

