en:pfw:i2c_noforth
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
pfw:i2c_noforth [2023-05-12 13:13] – [I2C for noForth on the MSP430] willem | en:pfw:i2c_noforth [2023-09-04 18:16] – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{pfw: | ||
- | |||
- | ====== I2C for noForth on the MSP430 ====== | ||
- | |||
- | {{https:// | ||
- | **I2C on the MSP430G2553** | ||
- | |||
- | All driver files are from the [[https:// | ||
- | |||
- | < | ||
- | \ Example with clock & 24C32 EEPROM | ||
- | : {EEADDR | ||
- | 50 device! | ||
- | |||
- | \ Read data b from 24C32 EEPROM byte-address addr. | ||
- | : EC@ ( addr -- b ) | ||
- | 2 {eeaddr i2c} 1 {i2c-read bus@ i2c} ; | ||
- | |||
- | \ Write data b to 24C32 EEPROM byte-address addr. | ||
- | : EC! ( b addr -- ) | ||
- | 3 {eeaddr | ||
- | </ | ||
- | |||
- | Files: | ||
- | * 24C32 eeprom.f | ||
- | * e37 FR5 - i2c bitbang basics at p1 (asm).f | ||
- | * e37 FR5 - i2c usci-B0 basics.f | ||
- | * e37 G2 - i2c bitbang basics at p1 (asm).f | ||
- | * e37um G2 - basics for usci i2c.f | ||
en/pfw/i2c_noforth.txt · Last modified: 2023-09-04 18:16 by uho