Content originally posted in LPCWare by KalavathiPR on Tue Aug 04 20:45:21 MST 2015
Hi All,
Where should I connect A0, A1 & A2 of AT34C02 EEPROM to the LPC1769 board? (i.e., to which pins on LPC1769?)
I have connected pin no 8 of AT34C02 to J6.28 of LPC1769 (Vcc),
pin no 4 of AT34C02 to J6.54 of LPC1769(Gnd),
pin no 5 of AT34C02 to J6.25 of LPC1769(SDA),
pin no 6 of AT34C02 to J6.26 of LPC1769(SCL),
2 pull up resistors of 10k ohms from pin no 5 and 6 of AT34C02 to Vcc.
How to do hardware connections for IO Expansion?
I have changed only 2 lines from board.c file from the example source code, which is as follows:
#if 0
Chip_IOCON_PinMux(LPC_IOCON, 0, 19, IOCON_MODE_INACT, IOCON_FUNC2);
Chip_IOCON_PinMux(LPC_IOCON, 0, 20, IOCON_MODE_INACT, IOCON_FUNC2);
#endif
Chip_IOCON_PinMux(LPC_IOCON, 0, 19, IOCON_MODE_INACT, IOCON_FUNC3);
Chip_IOCON_PinMux(LPC_IOCON, 0, 20, IOCON_MODE_INACT, IOCON_FUNC3);
How to make it work?
Thanks,
KalavathiPR