Hi all;

After lot of efforts i've succeed in reading two channels in telosb.
But, if I try to change the "jiffies" to a lower valor all readings
(actually, all of them except the first one) are 0.
This is my actual configuration:

  const msp430adc12_channel_config_t config = {inch: INPUT_CHANNEL_A0,
sref: REFERENCE_AVcc_VREFnegterm,
ref2_5v: REFVOLT_LEVEL_1_5,
adc12ssel: SHT_SOURCE_ACLK,
adc12div: SHT_CLOCK_DIV_1,
sht: SAMPLE_HOLD_4_CYCLES,
sampcon_ssel: SAMPCON_SOURCE_SMCLK,
sampcon_id: SAMPCON_CLOCK_DIV_1};

  uint8_t numMemctl=1;
  uint16_t numSamples=400;
  uint16_t jiffies=1000;

adc12memctl_t memctl = {inch: INPUT_CHANNEL_A1, sref:
REFERENCE_AVcc_VREFnegterm};

When I try to duplicate the frequency (jiffies=500) the implementation stop
working.

Any ideas?

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

Reply via email to