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.

internal i2c eeprom - pic16f88

Status
Not open for further replies.

emkay

Junior Member level 2
Joined
Feb 16, 2005
Messages
21
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,494
pic16f88 i2c

hi everybody..

i'm beginner...i'm looking to the info regarding to handle the i2c routine to store and also read data to/from 24LC512 usning PIC16F88.

i'm prefer to have internal i2c subroutine since PIC16F88 have this features..

pls advice, thanks in advance.
 

i2c pic16f88

Hi,

Have a look at the microchip web site, under application notes. Also look for the PICDEM2 demo board. There you will find also the source code for connecting to the I2C.
Also have a look at: www.microchipc.com.
Good luck.
 

pic16f88 eeprom

Warning!

Do not use this SSP module in slave mode, because it's full of bugs. In case of use in slave mode always use PIC's with MSSp module., It works ok.

Regards!
 

eeprom du pic16f88

Hi tjalps,

emkay only wants to read an external I2C. Lest not confuse him.
Also, if you read the Errata for the PIC16F88 you will see that:
the SSP and/or CCP (capture mode) module
and PORTB pull-ups are enabled, then evaluate
the functionality of the SSP (I2C™/SPI™)
or CCP (Capture mode) module to ensure
proper operation within your application.

Good luck.
 

pic16f88 i2c example

Do not use this SSP module in slave mode, because it's full of bugs. In case of use in slave mode always use PIC's with MSSp module., It works ok.

tjalps, what do you mean? i'm trying to use i2c between 2 PICs (16f876)by HW I2C but the slave can't receive data from master. I'm sure master is ok because it can drive another I2C device correctly.

I'm programming in C.

do I consider to change way of communicating? Have I any hope to manage in it?
 

using an pic16f88 i2c in master mode

Hi Fuzzzy,

I worte the answer in the other forum that you have opend.

Gidimiz.
 

pic16f88 c project

16F876 is OK because it uses MSSp and I now it works properly. I'm using thema as slaves in my aplication . I have 10 slaves on 400k and they work wery well. Post your code and I'll check what is wrong with your code.

Regards!
 

i2c pic 16f88

thanks gidimiz...

if i'm not mistaken...that website provide info on programming using C...but i'm looking programmed usingh assembly languange..

is there any reference project?...

i found Nigel's site that have tutorial on this one but using software routine...i'm prefer to use hardware routine since pic16f88 have internal one...

anybody..pls guide me or give some advice...i'm beginner,
 

eeprom pic16f88

Hello!

Look in datasheet under EEPROM section you will see detailed info on embeded E2PROM programing in assembler!

Regards!
 

i2c master in asm for pic16f88

Hi tjalps,

I found this in my codesample directory. So i dont know even where i got it from...
It for the PIC16F877 and its in ASM... The 16F877 has also MSS, so i hope it will guide you to your path...

Good luck.

Sorry, cant load the code. been trying for 1 hour! its only 100k.
Will load it tomorrow...
 

pic16f88 i2c assembly code

Warning!

Do not use this SSP module in slave mode, because it's full of bugs. In case of use in slave mode always use PIC's with MSSp module., It works ok.

so meaning that for my case...PIC as a master while EEPROm as a slave ...is it also have a bug as mentioned?...

if that , maybe i have to prefer software routine...pls advice..

thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top