Re: what is the reason? -93lc66 EEPROM write problem- PIC16f
Thanks for your reply. I have tried the codes in this application note. In 16bit mode, data has been wrote to EEPROM correctly.
I am comparing this codes with mine. My codes for 8 bit. First, I had a suspicion about this EEPROM support which mode. I tested the eeprom in 8 bit and 16 bit modes with a programmer to see which modes supported for EEPROM. I saw both modes supported for EEPROM.
Then, I had another suspicion about time flowing differences between my codes and the codes that in this application note. I changed some small differances. After that, the flows be same.But it didn't work. Then I think, write time delay not enough in my codes. I make it up(10ms). But It didn't work again. I think, the times between CLK and DI datas are not enough. I changed it. I didn't work.
Shotly, It DOES NOT WORK now. I will try a few think. The situation is here. But, I am sure, I will success...
Thanks for your replay again.