lpcware

11C24: SystemInit() influences IOCON?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Hobbiest on Wed Jan 16 13:31:36 MST 2013
After digging out again my LPCXpresso (11C24) I started to adapt cr_startup_lpc11.c from http://www.lpcware.com/modules/pubdlcnt/pubdlcnt.php?file=http://www.lpcware.com/sites/default/files/LPC11xx-LPCXpresso-CMSIS-updateV1_01_0.zip&nid=8723
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.

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).

Outcomes