Hi Alex,

The i2c/spi bus does not share any pin on the atmel platforms like
iris (only on msp430 platforms). However, you can do some
modifications to speed up the i2c:
-incrase the i2c clock rate in the
$TOSDIR/chips/atm128/i2c/HplAtm128I2CBusP.nc (TWSR/TWBR registers)
-define TASKLET_IS_TASK. with this, the radio stack will reenable the
global interrupts much earlier (therefor receiving a message could
take much longer).

Andris

On Wed, Nov 23, 2011 at 4:19 PM, Alejandro Correa
<[email protected]> wrote:
> Hello
>
> I'm trying to sample from an external sensor (CSMP09) using the i2c
> interface in the iris mote and the sensorboard mda100.  It seems that
> the SPI bus that use the radio rf230 and the i2c bus share the same
> physicall bus so therefore I'm not able to sample from the sensor more
> that 17 samples/s. Is there any possibility of reducing the use of the
> SPI bus for the radio chip.  Thanks in advance for any idea.
>
> Alex
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

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

Reply via email to