Hi everybody

 

I ask you about I2C Pins of the MDA300.

I should connect a sensor into my MicaZ network and I see we have I2C pins in the MDA300.

In fact, I’ve a sensor that works as follow:

1)       When an event is detected, the Enable output signal set up (edge). (here I should make an interrupt with my MDA300 Digital Pin D0)

2)       After that, I should create a clock into the Clock pin of my sensor (Fmax=4Mhz)

3)       In the rhythm of this clock, I read the data (32 bits) from the serial data output of my sensor.

4)       At the end, a signal SDRY set up in high level during 100ns to inform the end of transactions.

 

So, can I use the I2C Clock and I2C Data pin in this case, with D0 and D1 for Enable & SDRY signals?

 

Or should I use 4 digital pins of my MDA300 and generate myself the Clock.

 

Someone have an application working with I2C interface?

 

Thanks for your Helps

 

Matt

 

 

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to