deniah
Member level 4
- Joined
- Nov 28, 2005
- Messages
- 74
- Helped
- 6
- Reputation
- 12
- Reaction score
- 5
- Trophy points
- 1,288
- Location
- Montenegro
- Activity points
- 1,777
Hello to all
I need some help with my project. I need to transfer 16 kb of data to 24C128 thru PIC. MCU is 16F872. Eeprom is attached to pic on RC3 and RC4 and i'm using I2C library. PC-PIC communication should be with hardware USART.
I'm not quite clear how to do this. Do I need to enable interrupt on USART receive? How to send data from PC and proceed to the eeprom? Can data be send to PIC like a streem (all 16kb)? What if one byte is received but previous byte writing procedure is not finished? Can some data be lost during write eeprom procedure?
Thanks in advance
I need some help with my project. I need to transfer 16 kb of data to 24C128 thru PIC. MCU is 16F872. Eeprom is attached to pic on RC3 and RC4 and i'm using I2C library. PC-PIC communication should be with hardware USART.
I'm not quite clear how to do this. Do I need to enable interrupt on USART receive? How to send data from PC and proceed to the eeprom? Can data be send to PIC like a streem (all 16kb)? What if one byte is received but previous byte writing procedure is not finished? Can some data be lost during write eeprom procedure?
Thanks in advance