MSP430F169 I2C slave receiver mode

Gast #177539
Hallo,

I use the µC MSP430F169. I have problems with the hardware I2C, too.
A few axamples I have only found on the TI-site.
I use it in the master mode. Writint to a EEprom is ok, but I can't
read from it.
I can see the coffect answer-byte from the EEprom on the bus on the
oscilloscope but the µC dont't catch it!?!

Do you have example code in "C" for this mode?

Oder irgendjemand auch auf Deutsch; allerdings dennoch in "C" :-)

Gruß Rainer
Gast #177541
Hi,

i dont't have anymore Problems witch the i2c-EEPROM.
The "Receive-Interrupt-Routine" works.

Now I have only problems with the permanent writing to the I2C-LCD.
On every programm-loop there is a comman to write to the LCD.
That takes five or ten minutes good; but then the µP hangs.

And    i    don't    know    why   !

Rainer
Gast #177542
Hi
i use MSP430F169 and i use it in the master mode.i found Slaa 208 code
on TI side .but it does not work and i am not getting any signal on
oscilloscope.Should i change the code? can u plz give me some other
code in `c´for this mode in which i can use EEPROM .

Gruß
 Arshad Mahmood

Antwort schreiben

Eine eigene Frage? Dieser Thread ist über 22 Jahre alt. Stell sie in einem eigenen Thread – dort lesen mehr Leute mit, und sie wird öfter und schneller beantwortet.

Neuen Thread starten

Eine Lösung, Ergänzung oder Rückmeldung zu diesem Thread? Dann antworte hier.

Formatierung
  • [c]C-Code[/c]
  • [code]Code in anderen Sprachen, ASCII-Zeichnungen[/code]
  • [math]Formel in LaTeX-Syntax[/math]
  • [[Titel]] – Link zu einem Artikel
  • Verweis auf einen anderen Beitrag: Rechtsklick auf dessen Beitrags-ID (#8078628), „Adresse kopieren“, in den Text einfügen

Mehr zur Formatierung

Längeren Sourcecode als Anhang, nicht in den Text. JPG nur für Fotos und Scans; Zeichnungen und Screenshots als PNG oder GIF. Siehe Bildformate.

Schon registriert? Anmelden

Wird nicht angezeigt. Wir schicken dir einen Link; sobald du damit bestätigst, erscheint dein Beitrag.

Mit dem Abschicken legst du einen kostenlosen Account an und erkennst die Nutzungsbedingungen und die Datenschutzerklärung an.