This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

data not updated at transmitter and receiver using TIMAC

Other Parts Discussed in Thread: TIMAC, MSP430F5438, CC2520

HI,

I am working on sending accelerometer sensordata using TIMAC from end device to coordinator .

I am using cc2520+msp430f5438 experimenter board.

the issue i am facing is though i am able to send the data,sometimes the data sent is not updating at transmitter as a result i am getting constant value at the receiver(coordinator).

why is this happening?

i have configured ADC(8 bit) for sampling frequency of 2121 Hz and the transmission packet size i have taken is 6 bytes(4 header + 2 data bytes) i.e 2 bytes to send the sampled ADC values.

  • Hi,

    Have you verified that the problem is in the transmitter side and not in the receiver side?
    In case that you haven't, you can do it by using a sniffer and see if the messages over the air have the constant value or the actual value from the sampled adc. 

    Hector

  • Hi Hector,

    I have tested and it seems the problem is at the transmitter side itself.

    i values at the transmitter side and receiver side are same that means the values being transmitted are itself are not proper.

    i have passed the ADC(8 bit) values to the msa_Data1[ ] array which is then transmitted .

    so can you suggest some thing for this problem.

  • Could your issue be that the ADC is never capturing the data? Or only capturing once?

    Have you confirmed that the data in msa_Data1[ ] is correct (and changing) before transmitting? If you put a break point before transmitting, check the data and then run you should see the same data in the packet sniffer.

    Regards, TC.