I2C question
Archiver
Posts: 46,084
I'm trying to communicate with a 24LC256 EEPROM with the BS2p40
canned functions, I2CIN and I2COUT.
I'm having problems getting these commands to work for me. When I
trouble shoot the situation on a scope, It appears that the Low Byte
of my address is not being sent out.
I2COUT 0,$A0,0,[noparse][[/noparse]80]
I'm using variations of this statement for the output.
what do I have to include in the I2C command to get the low address
byte to appear on the SDA.
thanks,
Mike
canned functions, I2CIN and I2COUT.
I'm having problems getting these commands to work for me. When I
trouble shoot the situation on a scope, It appears that the Low Byte
of my address is not being sent out.
I2COUT 0,$A0,0,[noparse][[/noparse]80]
I'm using variations of this statement for the output.
what do I have to include in the I2C command to get the low address
byte to appear on the SDA.
thanks,
Mike
Comments
the address portion.
I2COUT 0,$A,0/0,[noparse][[/noparse]80]
Original Message
From: "lightningshack" <MikDolan54@a...>
To: <basicstamps@yahoogroups.com>
Sent: Thursday, September 05, 2002 2:11 PM
Subject: [noparse][[/noparse]basicstamps] I2C question
> I'm trying to communicate with a 24LC256 EEPROM with the BS2p40
> canned functions, I2CIN and I2COUT.
>
> I'm having problems getting these commands to work for me. When I
> trouble shoot the situation on a scope, It appears that the Low Byte
> of my address is not being sent out.
>
> I2COUT 0,$A0,0,[noparse][[/noparse]80]
> I'm using variations of this statement for the output.
>
> what do I have to include in the I2C command to get the low address
> byte to appear on the SDA.
>
> thanks,
> Mike
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
Try something like this, I think you are missing your backslash command in
the address portion.
I2COUT 0,$A,0\0,[noparse][[/noparse]80]
Original Message
From: "lightningshack" <MikDolan54@a...>
To: <basicstamps@yahoogroups.com>
Sent: Thursday, September 05, 2002 2:11 PM
Subject: [noparse][[/noparse]basicstamps] I2C question
> I'm trying to communicate with a 24LC256 EEPROM with the BS2p40
> canned functions, I2CIN and I2COUT.
>
> I'm having problems getting these commands to work for me. When I
> trouble shoot the situation on a scope, It appears that the Low Byte
> of my address is not being sent out.
>
> I2COUT 0,$A0,0,[noparse][[/noparse]80]
> I'm using variations of this statement for the output.
>
> what do I have to include in the I2C command to get the low address
> byte to appear on the SDA.
>
> thanks,
> Mike
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>