programming i2c device with TINIs400 (which adress for SDA/SCL)
Ponsard Raphael <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have some trouble with I2C ... My tini board is a TINIm400 on a TINIs400 socket (out of the box) I have selected 5V pull ups for the I2C bus via the J23-25 solder jumpers. I2C slave is a SAA1064 (4 x 7digit led) I don't understand how to instanciate a com.dalsemi.system.I2CPort() I try to do as in the example i2cTest.java but it does not work.(is void parm. constructor only for 80C390 ?? javadoc is not very clear...) I try several delays... My test application display nothing (the first read over I2C fails). Unfortunatly, I do not have a scope ... If I would use the 2nd constructor (with io adress) which one use ? btw, where can I find memory map and device adress map of the tinis/m400 ? thanks RP _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini