Hi,
Im sampling a signal using the ADC at a rate of 300Hz (and is triggered by a timer). The samples are copied by DMA and I receive an interrupt every 10 samples. At that point, I transmit the data.
Is there a way to synchronize between the ADC and the transmission ? as the ADC is sampling at a fixed rate, im assuming that the OS may decide to transmit exactly in the middle of a sample.
Is there any way to prevent the cc2540 to transmit while an ADC sample is progress ? I am experiencing errors while sampling an there is a transmission in progress.
Or is there a way to flush the transmission buffer so that it will transmit immediatly, rather than wait for packets to be accumulated?
Thanks,
Yadid