Hello Alice_Yang,
first thank you for your answer.
the problem is not the I2C Bus but only these pins in GPIO mode:
Today i have test this on a new LPCXpresso1769 Board Revision D 2015 OM13085
The controller is labled:
LPC1769FBD100
SAS558.1 01
ZSD1524A
the same problem: the internal pulldowns in GPIO mode dont work on P0.19 and P0.20
My tests:
After power on the Board, all inputs are configured as input as default and the cpu clocks with the internal RC at 4MHz
The first main code has only a loop:
int main(void)
{
while (1) ; // loop forever
}
to simplyfy the test i uses 3 Pins of the Board, because they are direkt side by side on the LPCXpresso board:
these pins are:
P0.20 // at this pin there is a problem
P0.19 // at this pin there is a problem
P4.29 // no problem, only to compare the behavier

if you measure the voltage level you see, that
P0.19 = near VCC 3,3V
P0.20 = near VCC 3,3V
P4.29 = ca. 2,3V (internal pullup is a current source)
now i enable the pulldowns of the P4.29 and for P0.19 and P0.20:

and see the following voltages:
P0.19 = 3,0V // that is not correct
P0.20 = 3,0V // that is not correct
P4.29 = 0,1 Volt // okay
next test, i have connected external pulldowns and found that you need a lot of current to pulldown these two pins.
to minimize an error of any header file or so, i give you the complete code here
you can copy and paste it in your main loop. you dont need any other files
#define PINMODE1 *(volatile unsigned int*) 0x4002C044 // Pinmode for the P0.19 and P0.20
#define PINMODE9 *(volatile unsigned int*) 0x4002C064 // Pinmode for the P4.29 pin BIT 26 and 27
int main(void)
{
PINMODE9 = (3 << 26); // enable pull down for P4.29
PINMODE1 = (3 << 6) // enable pull down for P0.19
| (3 << 8); // enable pull down for P0.20
while (1) ; // loop forever
}
Bernd
next i set the portmode to "Pin has neither pull-up nor pull-down resistor enabled" value 0x02
the pins goes high and have problems to pull it low with external resistor.
with external 10 K pulldown the level is 2,465V
with external 1K pulldown the level is 0,760V
Info: All measures are done with a high impedance >10 GOhm Multimeter DM3068 Rigol