lpcware

LPC11U23 : problem setting TMS_PIO0_12

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Dino on Wed Aug 29 02:01:16 MST 2012
Hi,
I have this very strange problem . If I try to configure the port PO0_12 as an output port setting the register
LPC_IOCON->TMS_PIO0_12 &= ~0x07;
LPC_IOCON->TMS_PIO0_12 |= 0x01; /* PIO 0_12 */
during the run time the program stops to work and a message appear :

No souce available for ""
View Disassembly

If I remove only these 2 lines the program works without problem .

Thanks

Outcomes