View previous topic :: View next topic |
Author |
Message |
jelectron
Joined: 16 Oct 2009 Posts: 3
|
I2c + RS232 in pic16f8XX |
Posted: Fri Oct 16, 2009 10:37 am |
|
|
Hi:
I write this post because I need your help with use I2C + USART in PIC16F8XX. My application is to store data from RS232 in a EEPROM 24LC256. Once the data is stored, I need after to read from EEPROM and take data from other USART port (for software)
If you can help me, very thank
Best Regards |
|
 |
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
|
|
Posted: Fri Oct 16, 2009 10:51 am |
|
|
So what is your question then?
-Ben _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
 |
jelectron
Joined: 16 Oct 2009 Posts: 3
|
|
Posted: Fri Oct 16, 2009 11:23 am |
|
|
I need a example of I2C + USART (RS232), where the data is stored in the EEPROM for I2C, because i dont know how make it.
If you can help me very thank |
|
 |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Oct 16, 2009 12:07 pm |
|
|
This CCS example file provides a simple interface to the eeprom
by using commands typed into a terminal window on your PC:
Quote: | c:\program files\picc\examples\ex_extee.c |
Edit the following line in this example file:
Change it to:
This is the driver for the 24LC256 eeprom:
Quote: | c:\program files\picc\drivers\24256.c |
|
|
 |
|