Home arrow Support arrow Forums

Luminary Micro Forums

jellison

Fresh Boarder

2008/10/30 17:11

I2C slave stop bit received

When using the i2c slave module, how does one detect that a stop condition has been sent? I think this needs to be known if the master can send a variable number of bytes. The I2CSCSR register contains a flag indicating that the first byte has been sent, but not the last. Any help appreciated!

login or register to reply

LMI Jon

Senior Boarder

2008/10/31 10:25

Re:I2C slave stop bit received

Some Stellaris devices have the ability to generate an interrupt on an I2C stop condition. This is a feature in DustDevil-class devices (in the datasheet check the Device Identification Register (DID0) description to determine which class of device you're using. Other Stellaris families lack this feature which, as you point out, means the number of bytes must be known in advance. For non DustDevil devices a work-around might be to add a length by to the message.

- Jon

login or register to reply

cb1

Platinum Boarder

2008/10/31 11:14

Re:I2C slave stop bit received

Hi Jon-

Thank you - jelison's question is shared by my firm/others too I suspect.

Forgive me - most LMI users are not as familiar with LMI "class" distinctions as LMI staff. Would you be so kind as to clarify which LMI devices are "Dust-Devil."

For others - I believe that "Sandstorm" are the original 28 & 48 pin parts and that Fury included 64 & 100 pin. How to efficiently determine "who's who" - by class - would be appreciated - especially in light of your new guidance...

login or register to reply

LMI Jon

Senior Boarder

2008/10/31 12:41

Re:I2C slave stop bit received

cb1, good suggestion.

Sandstorm-class:
LM3S101 LM3S102 LM3S300 LM3S301 LM3S308 LM3S310 LM3S315 LM3S316 LM3S317 LM3S328 LM3S600 LM3S601 LM3S608 LM3S610 LM3S611 LM3S612 LM3S613 LM3S615 LM3S617 LM3S618 LM3S628 LM3S800 LM3S801 LM3S808 LM3S811 LM3S812 LM3S815 LM3S817 LM3S818 LM3S828

Fury-class:
LM3S1110 LM3S1133 LM3S1138 LM3S1150 LM3S1162 LM3S1165
LM3S1332 LM3S1435 LM3S1439 LM3S1512 LM3S1538 LM3S1601
LM3S1608 LM3S1620 LM3S1635 LM3S1637 LM3S1751 LM3S1850
LM3S1911 LM3S1918 LM3S1937 LM3S1958 LM3S1960 LM3S1968
LM3S2110 LM3S2139 LM3S2410 LM3S2412 LM3S2432 LM3S2533
LM3S2601 LM3S2608 LM3S2620 LM3S2637 LM3S2651 LM3S2730
LM3S2739 LM3S2911 LM3S2918 LM3S2939 LM3S2948 LM3S2950
LM3S2965 LM3S6100 LM3S6110 LM3S6420 LM3S6422 LM3S6432
LM3S6537 LM3S6610 LM3S6611 LM3S6618 LM3S6633 LM3S6637
LM3S6730 LM3S6753 LM3S6911 LM3S6918 LM3S6938 LM3S6950
LM3S6952 LM3S6965 LM3S8530 LM3S8538 LM3S8630 LM3S8730
LM3S8733 LM3S8738 LM3S8930 LM3S8933 LM3S8938 LM3S8962
LM3S8970 LM3S8971

Dustdevil-class:
LM3S1607 LM3S1625 LM3S1626 LM3S1627 LM3S1776 LM3S2276 LM3S2616 LM3S2671 LM3S2678 LM3S2776 LM3S3651 LM3S3739
LM3S3748 LM3S3749 LM3S3759 LM3S3768 LM3S5632 LM3S5652
LM3S5662 LM3S5732 LM3S5737 LM3S5739 LM3S5747 LM3S5749
LM3S5752 LM3S5757 LM3S5762 LM3S5767 LM3S5768 LM3S5769

Whew. That's all 134 parts!

- Jon

login or register to reply