Jump to content
ELFORUM - Forumul Electronistilor
Sign in to follow this  
Ashky

I2C Slave

Recommended Posts

Dragi colegi forumisti, am nevoie de un exemplu de cod i2c slave ptr pic 16f690 in asm. Sunt in pana de timp si ca de obicei AN-urile microchip nu functioneaza.

Share this post


Link to post
Share on other sites

Multumesc de raspuns, da, din experienta proprie vorbesc.Poate am avut eu ghinion si ce am testat nu a fost functional.Eu doream (si inca mai doresc) o bucatica de cod testata si functionala.

Share this post


Link to post
Share on other sites

Multumesc de link.Nu e vorba doar de I2C, am incercat mai multe AN-uri de-a lungul timpului, un singur cod a functionat.Stiam de microe, dar nu stiu o boaba de C sau alt limbaj de nivel inalt.In asm ma descurc binisor, dar sunt prea putine informatii in datasheet despre I2C.As vrea sa simulez un DS1621.Am un senzor de temperatura wireless pe 433Mhz, am facut softul de receptie si acum vreau sa trimit mai departe temperatura prin I2C unui ceas.

Share this post


Link to post
Share on other sites

Imi pare rau ca te contrazic, dar mie informatiile de prin data-sheeturi referitoare la i2c mi se par OK. Eu am reusit sa fac picurile si stapani (cu niste senzori) si sclavi (extensie la un lego mindstorms).Ce-i drept stiam deja ce e si cum functioneaza i2c. Documentatie pentru protocol are Philips pe site.Cod am numai in C. Daca e cazul pot posta in weekend.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.