GPIO0 problems on LPC1758

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by raimond on Mon Mar 08 01:34:00 MST 2010

I have a problem with pins P0.16, P0.22 which I use as chip selects for SSP0. It's very weird because they don't function as GPIO at all, at least not as outputs.

The last thing that I done was:

LPC_GPIO0->FIODIR2 = 0x41;

The LCD printing is 0x00 !

So I can't set the pins as outputs!

The corresponding MASK is 0, the functions are 00 (GPIO), everything seems to be OK :confused:

I checked the errata sheet, no luck.

Any help would be appreciated,