Question on I2C ACK (With EEPROM)

Started by Sanjiwani in LPC200012 years ago 2 replies
I2C

Hi Everyone, I am facing one problem in My Project. Should we read ACK (Acknowledgement) Signal from I2C? ...

Hi Everyone, I am facing one problem in My Project. Should we read ACK (Acknowledgement) Signal from I2C? Thanks In Advance.


Galvanic isolation of I2C

Started by Boris Kralik in LPC200011 years ago 9 replies
I2C

Hi. I need galvanics isolation of I2C bus.Speed maximum (400kHz).How to do it ? Thank you four your advice.

Hi. I need galvanics isolation of I2C bus.Speed maximum (400kHz).How to do it ? Thank you four your advice.


LPC2148_Demo package update

Started by jcwren in LPC200011 years ago

I've added a few more demos to the LPC2148 demo package: Interrupt driven I2C master transmit and receive Raw I2C support (manually...

I've added a few more demos to the LPC2148 demo package: Interrupt driven I2C master transmit and receive Raw I2C support (manually address devices for reading and writing) LM75 temperature sensor code fixed (registers writable as well as readable) 24XX I2C EEPROM support (24C1024, easily retargetted) RTC alarm and periodic output support Task sub-menu, displays memory map of ...


Isolated I2C problem

Started by recep erkan in LPC200010 years ago

We are working with LPC 2368 and we have an isolated I2C connection. We write datas with our codes it is working well. When we are using LPC2368...

We are working with LPC 2368 and we have an isolated I2C connection. We write datas with our codes it is working well. When we are using LPC2368 I2C attribute it isn't work We reduce communication speed minimum but it isn't work. When we cancelled electrical isolation it works well with 100 kHz. speed. After all of this tests we look scl and sda lines see that LPC23698 changing Sda line when ...


I2C reset??

Started by Martijn Broens in LPC20009 years ago 6 replies
I2C

Hi everybody, I'd like to implement a reset function for I2C but don;'t quite know how to. Did anybody already do this?? And is willing to...

Hi everybody, I'd like to implement a reset function for I2C but don;'t quite know how to. Did anybody already do this?? And is willing to share the info/code?? I'm using the lpc2468 but Im guessing this is equal for all system as this is most likle a protocol?? thanks martijn ------------------------------------


i2c bus

Started by biso192001 in LPC200010 years ago 1 reply
I2C

hello I have 2 programme i2c bus on an lpc2368 using c++ I dont know whre to start plis help.Thanks

hello I have 2 programme i2c bus on an lpc2368 using c++ I dont know whre to start plis help.Thanks


Are the I2C lines 5v tolerant?

Started by sivan_toledo in LPC200011 years ago 2 replies

The user manual states that the GPIO pins are 5v tolerant. Does this also mean that the LPC2000 (2119 in my case) can communicate with 5v I2C...

The user manual states that the GPIO pins are 5v tolerant. Does this also mean that the LPC2000 (2119 in my case) can communicate with 5v I2C devices directly without a level shifter?


firmware upgrade using I2C only

Started by niri...@gmail.com in LPC20009 years ago 4 replies

Hi, I would like to program the lpc2138 flash (on board) to a new firmware by using only the i2c. Can it be done? Should I use the IAR-EW...

Hi, I would like to program the lpc2138 flash (on board) to a new firmware by using only the i2c. Can it be done? Should I use the IAR-EW ?intel-extended? output? If so, can anyone please tell me if there are any specific settings I should take care of, and which address should I start programming from? Thank you. ------------------------------------


DMA with I2C LPC17xx

Started by ahmad alsaleem in LPC20006 years ago 1 reply
I2C

Hi, Is it possible to use DMA with I2C with low CPU overhead? Thanks, Ahmad ------------------------------------

Hi, Is it possible to use DMA with I2C with low CPU overhead? Thanks, Ahmad ------------------------------------


Simple I2C/SPI RTC

Started by James Dabbs in LPC200013 years ago 3 replies

I'm looking for a SPI or I2C real-time clock that only counts seconds. Just a low-power 32-bit counter. Is there such a thing, or do they all...

I'm looking for a SPI or I2C real-time clock that only counts seconds. Just a low-power 32-bit counter. Is there such a thing, or do they all have year, month, day of week, etc.? Thanks.


Reading data from the I2C bus

Started by ajellisuk in LPC200010 years ago
I2C

Hi I have written a function to read 4 bytes of data from an I2C which works well. However the function is specific to a given device, so I...

Hi I have written a function to read 4 bytes of data from an I2C which works well. However the function is specific to a given device, so I wrote a more generic function based on the one supplied in I2C Lib, but the function only seems to return 0x00FFFFFF. The code for the function that works is: unsigned long i2c_0_read(unsigned char slave) { unsigned long data; // i2c_...


want code for I2C(LPC2148)

Started by Sathiyan k in LPC20008 years ago 6 replies

myself sathiyan from india ? now i am trying to write code for I2C but is not at all working ,plz can any one send code for i2c i am testing...

myself sathiyan from india ? now i am trying to write code for I2C but is not at all working ,plz can any one send code for i2c i am testing with eeprom , once i am switched on the device some data stored in eeprom that data should display in LCD device LPC2148 -- Regards sathiyan k The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/


LPC2103 I2C1 Registers

Started by db_pdx in LPC200012 years ago 1 reply

Does anyone know the register locations for the 2nd I2C interface (I2C1) on the LPC2103? Philips says "use the LPC2106 data until the LPC2103...

Does anyone know the register locations for the 2nd I2C interface (I2C1) on the LPC2103? Philips says "use the LPC2106 data until the LPC2103 data is available," but the LPC2106 only has one I2C, so the 2nd I2C registers are not defined in the LPC210x.h header file.


LPC2148 Both I2C Connections

Started by nickdesantis54 in LPC20005 years ago 3 replies

Has anyone had any luck getting both I2C connections to work with the LPC2148? I've got I2C0 working fine now and I tried to set up I2C1 the...

Has anyone had any luck getting both I2C connections to work with the LPC2148? I've got I2C0 working fine now and I tried to set up I2C1 the same way (with the different pins of course) and I'm having some issues with it. I'm going to go try to analyze it with a scope but if anyone has any tips for that one I'd appreciate it. ------------------------------------


Problem with I2C code

Started by urjust2oocool in LPC200010 years ago

Hello guys.. I was trying to work with the i2c in LPC2468...fortunately it didnt turn out successfully.....could u jus help me out..... I...

Hello guys.. I was trying to work with the i2c in LPC2468...fortunately it didnt turn out successfully.....could u jus help me out..... I really dont understand why my doesnt execute further.../... I've marked the place where ma code aint working..... /******************************************************************** ****************************/ -> SAVE DATA IN EEPROM AT24C04 USING I2


LPC17xx I2C Monitor Mode

Started by grapevinetech in LPC20006 years ago 1 reply

I've been experimenting with I2C Monitor Mode on a LPC1769 based board using code derived from the LPC17xx code bundle and have encountered...

I've been experimenting with I2C Monitor Mode on a LPC1769 based board using code derived from the LPC17xx code bundle and have encountered problem with monitoring read transactions (pure writes seem fine). Performing a read from a PCF8563 RTC on another board, the following I2C events are reported EVT(Id, Time, I2STAT, I2CDAT, I2DATA_BUFFER) EVT(1,403713,0x60,0xA2,0xA2) // Write to dev...


I2C slave routines

Started by zvonkobharije in LPC200013 years ago 2 replies

hello does anyone know if there are some examples for I2C slave reciever/transmitter mode for LPC2138 (or any other LPC),...

hello does anyone know if there are some examples for I2C slave reciever/transmitter mode for LPC2138 (or any other LPC), preferrable in C? I've searched the net a lot, however I didn't find a thing. if anyone has an example (or at least something that r


I2C help

Started by cpexed in LPC200014 years ago 2 replies

I am trying to get a LPC2106 to talk to a PCF8574A chip which is 8 bit I/O expander. I cant seem to get any thing to happen when...

I am trying to get a LPC2106 to talk to a PCF8574A chip which is 8 bit I/O expander. I cant seem to get any thing to happen when using the I2C example posted in the files section here. Do I need external pull up resistors on the scl and sda lines? What initiates a trans


simulation of a I2C device

Started by cristina_sucholotiuc in LPC200012 years ago

Hy, I'm new with LPC2134 and i want to test my i2c program for LPC as master. I have installed MicroVision and GCC compiler; in the...

Hy, I'm new with LPC2134 and i want to test my i2c program for LPC as master. I have installed MicroVision and GCC compiler; in the debugger there is an option to simulate the slave device by creating a "SIGNAL" function, but I haven't succeded to use it despite the example in Help.. If anybody did this, I would really appreciate an exemple, in fact an entire project... to see if ...


I2C

Started by omkar vyas in LPC200012 years ago 1 reply

hello, i want to use I2C for serial memory and also for (cog chip on glass)LCD display can any one give me the folw chart( in detail please ) for...

hello, i want to use I2C for serial memory and also for (cog chip on glass)LCD display can any one give me the folw chart( in detail please ) for the same . and how to go about it! details: processor ::Lpc 2104 compiler GCC-GNU tool chain. Thanking you! omkar DDS,R&D,Pune! __________________________________________________ ------------------------ Yahoo! Groups Sponsor ----------...