Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] 24LC256 EEPROM not working with external oscillator with 16 PLL

Status
Not open for further replies.

saikiran@ees

Member level 3
Joined
Oct 2, 2015
Messages
58
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Location
Hyderabad
Activity points
455
Hi,

I interfaced eeprom with i2c with appropriate baud rate and i printed the data in terminal and it's working with external oscillator with 4 PLL .But when i change to 16 PLL,eeprom writing and reading operations are not working and junk is displayed instead of data.Baud rate of i2c is 50 and uart is 207.Fscl = 400 KHz, Fcy=32 MHz.




Thanks and Regards,
M SAI KIRAN.
 

Thats possible! You currently trying to use maximum allowed i2c bus speed, but forgot about pull-up resistors, that greatly effect to rising edge timings. Try to use 1k instead of 4.7k. Possible, you be able to force it to 1MHz depends of your line capacitience.
 

Thank you Easyrider83 ,

I used 4.7k pull up resistors to both scl and sda pins.So I will try.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top