CodeWarrior I2C & Processor Expert example for Coldfire

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CodeWarrior I2C & Processor Expert example for Coldfire

6,529件の閲覧回数
skyguy
Contributor III
Can someone suggest an I2C example for Codewarrior?  I'd like to use the Processor Expert, but the only thing it seems to provide is init code, not message code.
Thanks
ラベル(1)
タグ(1)
0 件の賞賛
返信
5 返答(返信)

1,661件の閲覧回数
ZiglioNZ
Contributor I

Depending on the MCU, different beans are provided.

With our MCF545x, there's no driver for I2C or DSPI, just Init Beans. 

Better than nothing.

 

The I2C is a relatively simple interface and you can find plenty of examples out there (the LTIB distribution is one)

0 件の賞賛
返信

1,661件の閲覧回数
skyguy
Contributor III
Thanks.  I've used I2C before, and besides my own code I've found other examples.  The thing I really like about the beans is that I can get the functions of a new processor (MCF52223) running quickly.  I guess I2C will take a little longer.
0 件の賞賛
返信

1,661件の閲覧回数
J2MEJediMaster
Specialist I

Requests for writing and trouble-shooting I2C routines happens periodically in these forums, and doing a search on the forums with the string "I2C" reveals a lot of them. This thread in particular has source code. HTH.

 

---Tom

0 件の賞賛
返信

1,661件の閲覧回数
BillO
Contributor I

Clicking on the thread brings up a "error" screen.

Is there another way to get to the examples.

I am looking for sample code using the SPI bean.

I am having an issue with their receive block function.

 

Thank you

0 件の賞賛
返信

1,661件の閲覧回数
J2MEJediMaster
Specialist I

You are right. That link is broken.

 

Here is a new https://community.freescale.com/message/38555#38555 with I2C code. It does not use ProcessorExpert, however.

 

---Tom

0 件の賞賛
返信