HELLO,
I Want to interface USB & ps2 keyboard with lpc2148. so,can anyone give me idea how to initialize & configure it? & from where to start my program?
Can lpc2148 work as master in i2c communication?
thank you.
"Can lpc2148 work as master in i2c communication?"
How much time have _you_ spent reading the user manual for the processor?
To implement I2C, you have to read the documentation. But if you read the documentation, you would then also know the answer to your question.
So, clearly, you first step needs to be to find out about USB interfacing!
There are 2 aspects to this:
1. Find out about USB in general There are many good books and sites to help you with this; eg, http://www.keil.com/books/usbbooks.asp http://www.lvr.com/usb.htm
2. Find out about the specific USB features on the lpc2148 For this, you will need to study the User Manual and other support materials from NXP. There are probably also 3rd-party materials available...